Translate Aaru.Filters to Spanish (Spain).

This commit is contained in:
2023-09-27 00:44:43 +01:00
parent f67ebd60c4
commit b8a46c1024
5 changed files with 272 additions and 121 deletions

View File

@@ -11,32 +11,46 @@ namespace Aaru.Filters {
using System;
[System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
[System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
internal class Localization {
private static System.Resources.ResourceManager resourceMan;
private static global::System.Resources.ResourceManager resourceMan;
private static System.Globalization.CultureInfo resourceCulture;
private static global::System.Globalization.CultureInfo resourceCulture;
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Localization() {
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
internal static System.Resources.ResourceManager ResourceManager {
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.Equals(null, resourceMan)) {
System.Resources.ResourceManager temp = new System.Resources.ResourceManager("Aaru.Filters.Localization.Localization", typeof(Localization).Assembly);
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("Aaru.Filters.Localization.Localization", typeof(Localization).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Advanced)]
internal static System.Globalization.CultureInfo Culture {
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
internal static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
@@ -45,138 +59,198 @@ namespace Aaru.Filters {
}
}
/// <summary>
/// Looks up a localized string similar to AppleDouble.
/// </summary>
internal static string AppleDouble_Name {
get {
return ResourceManager.GetString("AppleDouble_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to AppleSingle.
/// </summary>
internal static string AppleSingle_Name {
get {
return ResourceManager.GetString("AppleSingle_Name", resourceCulture);
}
}
internal static string BZip2_Name {
get {
return ResourceManager.GetString("BZip2_Name", resourceCulture);
}
}
internal static string Cannot_seek_before_stream_start {
get {
return ResourceManager.GetString("Cannot_seek_before_stream_start", resourceCulture);
}
}
internal static string Cannot_seek_after_stream_end {
get {
return ResourceManager.GetString("Cannot_seek_after_stream_end", resourceCulture);
}
}
internal static string GZip_Name {
get {
return ResourceManager.GetString("GZip_Name", resourceCulture);
}
}
internal static string LZip_Name {
get {
return ResourceManager.GetString("LZip_Name", resourceCulture);
}
}
internal static string MacBinary_Name {
get {
return ResourceManager.GetString("MacBinary_Name", resourceCulture);
}
}
internal static string Start_cant_be_a_negative_number {
get {
return ResourceManager.GetString("Start_cant_be_a_negative_number", resourceCulture);
}
}
internal static string End_cant_be_a_negative_number {
get {
return ResourceManager.GetString("End_cant_be_a_negative_number", resourceCulture);
}
}
internal static string End_is_after_stream_end {
get {
return ResourceManager.GetString("End_is_after_stream_end", resourceCulture);
}
}
internal static string Cannot_set_position_past_stream_end {
get {
return ResourceManager.GetString("Cannot_set_position_past_stream_end", resourceCulture);
}
}
internal static string Cannot_read_past_stream_end {
get {
return ResourceManager.GetString("Cannot_read_past_stream_end", resourceCulture);
}
}
internal static string Cannot_write_past_stream_end {
get {
return ResourceManager.GetString("Cannot_write_past_stream_end", resourceCulture);
}
}
internal static string Cannot_seek_past_stream_end {
get {
return ResourceManager.GetString("Cannot_seek_past_stream_end", resourceCulture);
}
}
internal static string Growing_OffsetStream_is_not_supported {
get {
return ResourceManager.GetString("Growing_OffsetStream_is_not_supported", resourceCulture);
}
}
internal static string PcExchange_Name {
get {
return ResourceManager.GetString("PcExchange_Name", resourceCulture);
}
}
internal static string Non_seekable_streams_are_not_supported {
get {
return ResourceManager.GetString("Non_seekable_streams_are_not_supported", resourceCulture);
}
}
internal static string Non_readable_streams_are_not_supported {
get {
return ResourceManager.GetString("Non_readable_streams_are_not_supported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Asynchronous I/O is not supported..
/// </summary>
internal static string Asynchronous_IO_is_not_supported {
get {
return ResourceManager.GetString("Asynchronous_IO_is_not_supported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to BZip2.
/// </summary>
internal static string BZip2_Name {
get {
return ResourceManager.GetString("BZip2_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot read past stream end..
/// </summary>
internal static string Cannot_read_past_stream_end {
get {
return ResourceManager.GetString("Cannot_read_past_stream_end", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot seek after stream end..
/// </summary>
internal static string Cannot_seek_after_stream_end {
get {
return ResourceManager.GetString("Cannot_seek_after_stream_end", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot seek before stream start..
/// </summary>
internal static string Cannot_seek_before_stream_start {
get {
return ResourceManager.GetString("Cannot_seek_before_stream_start", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot set position past stream end..
/// </summary>
internal static string Cannot_set_position_past_stream_end {
get {
return ResourceManager.GetString("Cannot_set_position_past_stream_end", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cannot write past stream end..
/// </summary>
internal static string Cannot_write_past_stream_end {
get {
return ResourceManager.GetString("Cannot_write_past_stream_end", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to End can&apos;t be a negative number..
/// </summary>
internal static string End_cant_be_a_negative_number {
get {
return ResourceManager.GetString("End_cant_be_a_negative_number", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to End is after stream end..
/// </summary>
internal static string End_is_after_stream_end {
get {
return ResourceManager.GetString("End_is_after_stream_end", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Growing OffsetStream is not supported..
/// </summary>
internal static string Growing_OffsetStream_is_not_supported {
get {
return ResourceManager.GetString("Growing_OffsetStream_is_not_supported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to GZip.
/// </summary>
internal static string GZip_Name {
get {
return ResourceManager.GetString("GZip_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to LZip.
/// </summary>
internal static string LZip_Name {
get {
return ResourceManager.GetString("LZip_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to MacBinary.
/// </summary>
internal static string MacBinary_Name {
get {
return ResourceManager.GetString("MacBinary_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Non-readable streams are not supported.
/// </summary>
internal static string Non_readable_streams_are_not_supported {
get {
return ResourceManager.GetString("Non_readable_streams_are_not_supported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Non-seekable streams are not supported.
/// </summary>
internal static string Non_seekable_streams_are_not_supported {
get {
return ResourceManager.GetString("Non_seekable_streams_are_not_supported", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to PCExchange.
/// </summary>
internal static string PcExchange_Name {
get {
return ResourceManager.GetString("PcExchange_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Start can&apos;t be a negative number..
/// </summary>
internal static string Start_cant_be_a_negative_number {
get {
return ResourceManager.GetString("Start_cant_be_a_negative_number", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This stream is read-only.
/// </summary>
internal static string This_stream_is_read_only {
get {
return ResourceManager.GetString("This_stream_is_read_only", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to XZ.
/// </summary>
internal static string XZ_Name {
get {
return ResourceManager.GetString("XZ_Name", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No filter.
/// </summary>
internal static string ZZZNoFilter_Name {
get {
return ResourceManager.GetString("ZZZNoFilter_Name", resourceCulture);

View File

@@ -0,0 +1,80 @@
<root>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>1.3</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="AppleDouble_Name" xml:space="preserve">
<value>AppleDouble</value>
</data>
<data name="AppleSingle_Name" xml:space="preserve">
<value>AppleSingle</value>
</data>
<data name="Asynchronous_IO_is_not_supported" xml:space="preserve">
<value>E/S asíncrona no soportada.</value>
</data>
<data name="BZip2_Name" xml:space="preserve">
<value>BZip2</value>
</data>
<data name="Cannot_read_past_stream_end" xml:space="preserve">
<value>No se puede leer más allá del final de la secuencia.</value>
</data>
<data name="Cannot_seek_after_stream_end" xml:space="preserve">
<value>No se puede posicionar después del final de la secuencia.</value>
</data>
<data name="Cannot_seek_before_stream_start" xml:space="preserve">
<value>No se puede posicionar antes del comienzo de la secuencia.</value>
</data>
<data name="Cannot_set_position_past_stream_end" xml:space="preserve">
<value>No se puede establecer la posición más allá del final de la secuencia.</value>
</data>
<data name="Cannot_write_past_stream_end" xml:space="preserve">
<value>No se puede escribir después del final de la secuencia.</value>
</data>
<data name="End_cant_be_a_negative_number" xml:space="preserve">
<value>El final no puede ser un número negativo.</value>
</data>
<data name="End_is_after_stream_end" xml:space="preserve">
<value>El final está después del final de la secuencia.</value>
</data>
<data name="Growing_OffsetStream_is_not_supported" xml:space="preserve">
<value>No se puede agrandar un OffsetStream.</value>
</data>
<data name="GZip_Name" xml:space="preserve">
<value>GZip</value>
</data>
<data name="LZip_Name" xml:space="preserve">
<value>LZip</value>
</data>
<data name="MacBinary_Name" xml:space="preserve">
<value>MacBinary</value>
</data>
<data name="Non_readable_streams_are_not_supported" xml:space="preserve">
<value>Las secuencias no legíbles no están soportadas.</value>
</data>
<data name="Non_seekable_streams_are_not_supported" xml:space="preserve">
<value>Las secuencias no posicionables no están soportadas.</value>
</data>
<data name="PcExchange_Name" xml:space="preserve">
<value>PCExchange</value>
</data>
<data name="Start_cant_be_a_negative_number" xml:space="preserve">
<value>El comienzo no puede ser un número negativo.</value>
</data>
<data name="This_stream_is_read_only" xml:space="preserve">
<value>Esta secuencia es de sólo lectura.</value>
</data>
<data name="XZ_Name" xml:space="preserve">
<value>XZ</value>
</data>
<data name="ZZZNoFilter_Name" xml:space="preserve">
<value>Sin filtro</value>
</data>
</root>

View File

@@ -63,9 +63,6 @@
<data name="Cannot_write_past_stream_end" xml:space="preserve">
<value>Cannot write past stream end.</value>
</data>
<data name="Cannot_seek_past_stream_end" xml:space="preserve">
<value>Cannot seek past stream end.</value>
</data>
<data name="Growing_OffsetStream_is_not_supported" xml:space="preserve">
<value>Growing OffsetStream is not supported.</value>
</data>

View File

@@ -652,7 +652,7 @@ namespace Aaru.Filters
{
case SeekOrigin.Begin:
if(offset + _streamStart > _streamEnd)
throw new IOException(Localization.Cannot_seek_past_stream_end);
throw new IOException(Localization.Cannot_seek_after_stream_end);
return _baseStream.Seek(offset + _streamStart, SeekOrigin.Begin) - _streamStart;
case SeekOrigin.End:
@@ -662,7 +662,7 @@ namespace Aaru.Filters
return _baseStream.Seek(offset - (_baseStream.Length - _streamEnd), SeekOrigin.End) - _streamStart;
default:
if(offset + _baseStream.Position > _streamEnd)
throw new IOException(Localization.Cannot_seek_past_stream_end);
throw new IOException(Localization.Cannot_seek_after_stream_end);
return _baseStream.Seek(offset, SeekOrigin.Current) - _streamStart;
}

View File

@@ -343,7 +343,7 @@ public class SplitJoinStream : Stream
{
case SeekOrigin.Begin:
if(offset >= _streamLength)
throw new IOException(Localization.Cannot_seek_past_stream_end);
throw new IOException(Localization.Cannot_seek_after_stream_end);
_position = offset;
@@ -357,7 +357,7 @@ public class SplitJoinStream : Stream
break;
default:
if(_position + offset >= _streamLength)
throw new IOException(Localization.Cannot_seek_past_stream_end);
throw new IOException(Localization.Cannot_seek_after_stream_end);
_position += offset;