mirror of
https://github.com/aaru-dps/Aaru.git
synced 2026-02-04 00:54:33 +00:00
[VirtualPC disk image] Translate new strings to Spanish.
This commit is contained in:
45
Aaru.Images/Localization/Localization.Designer.cs
generated
45
Aaru.Images/Localization/Localization.Designer.cs
generated
@@ -504,6 +504,15 @@ namespace Aaru.Images {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Block size too small for number of sectors, try with a bigger value..
|
||||
/// </summary>
|
||||
internal static string Block_size_too_small_for_number_of_sectors {
|
||||
get {
|
||||
return ResourceManager.GetString("Block_size_too_small_for_number_of_sectors", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Block type {0} with data type {1} is indexed to be at {2}.
|
||||
/// </summary>
|
||||
@@ -1602,6 +1611,15 @@ namespace Aaru.Images {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Create a dynamic image, empty sectors are ignored.
|
||||
/// </summary>
|
||||
internal static string Create_a_dynamic_image {
|
||||
get {
|
||||
return ResourceManager.GetString("Create_a_dynamic_image", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Creator: "{0}".
|
||||
/// </summary>
|
||||
@@ -4699,6 +4717,15 @@ namespace Aaru.Images {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Invalid block size..
|
||||
/// </summary>
|
||||
internal static string Invalid_block_size {
|
||||
get {
|
||||
return ResourceManager.GetString("Invalid_block_size", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Invalid compression type {0} for block with data type {1}, continuing....
|
||||
/// </summary>
|
||||
@@ -4807,6 +4834,15 @@ namespace Aaru.Images {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Invalid value for dynamic option..
|
||||
/// </summary>
|
||||
internal static string Invalid_value_for_dynamic_option {
|
||||
get {
|
||||
return ResourceManager.GetString("Invalid_value_for_dynamic_option", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Invalid value for hwversion option.
|
||||
/// </summary>
|
||||
@@ -8235,6 +8271,15 @@ namespace Aaru.Images {
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Block size. Must be a power of 2. Only 2MiB and 512KiB are supported by VirtualPC.
|
||||
/// </summary>
|
||||
internal static string Vhd_Block_size_Must_be_a_power_of_2 {
|
||||
get {
|
||||
return ResourceManager.GetString("Vhd_Block_size_Must_be_a_power_of_2", resourceCulture);
|
||||
}
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Looks up a localized string similar to Virtual PC.
|
||||
/// </summary>
|
||||
|
||||
@@ -2934,4 +2934,19 @@
|
||||
<data name="_5_6_or_7" xml:space="preserve">
|
||||
<value>5, 6 ó 7</value>
|
||||
</data>
|
||||
<data name="Block_size_too_small_for_number_of_sectors" xml:space="preserve">
|
||||
<value>Tamaño del bloque demasiado pequeño para el número de sectores, intenta uno mayor.</value>
|
||||
</data>
|
||||
<data name="Invalid_block_size" xml:space="preserve">
|
||||
<value>Tamaño de bloque no válido.</value>
|
||||
</data>
|
||||
<data name="Invalid_value_for_dynamic_option" xml:space="preserve">
|
||||
<value>Valor no válido para opción dinámica.</value>
|
||||
</data>
|
||||
<data name="Vhd_Block_size_Must_be_a_power_of_2" xml:space="preserve">
|
||||
<value>Tamaño de bloque. Debe ser potencia de 2. VirtualPC sólo soporta 2MiB y 512KiB</value>
|
||||
</data>
|
||||
<data name="Create_a_dynamic_image" xml:space="preserve">
|
||||
<value>Crear una imagen dinámica, los sectores vacíos se ignoran</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -2944,4 +2944,19 @@
|
||||
<data name="A2R_Name" xml:space="preserve">
|
||||
<value>A2R</value>
|
||||
</data>
|
||||
<data name="Invalid_block_size" xml:space="preserve">
|
||||
<value>Invalid block size.</value>
|
||||
</data>
|
||||
<data name="Invalid_value_for_dynamic_option" xml:space="preserve">
|
||||
<value>Invalid value for dynamic option.</value>
|
||||
</data>
|
||||
<data name="Block_size_too_small_for_number_of_sectors" xml:space="preserve">
|
||||
<value>Block size too small for number of sectors, try with a bigger value.</value>
|
||||
</data>
|
||||
<data name="Create_a_dynamic_image" xml:space="preserve">
|
||||
<value>Create a dynamic image, empty sectors are ignored</value>
|
||||
</data>
|
||||
<data name="Vhd_Block_size_Must_be_a_power_of_2" xml:space="preserve">
|
||||
<value>Block size. Must be a power of 2. Only 2MiB and 512KiB are supported by VirtualPC</value>
|
||||
</data>
|
||||
</root>
|
||||
@@ -88,9 +88,8 @@ public sealed partial class Vhd
|
||||
/// <inheritdoc />
|
||||
public IEnumerable<(string name, Type type, string description, object @default)> SupportedOptions => new[]
|
||||
{
|
||||
("dynamic", typeof(bool), "Create a dynamic image, empty sectors are ignored", (object)true),
|
||||
("block_size", typeof(uint),
|
||||
"Block size. Must be a power of 2. Only 2MiB and 512KiB are supported by VirtualPC", 2097152)
|
||||
("dynamic", typeof(bool), Localization.Create_a_dynamic_image, (object)true),
|
||||
("block_size", typeof(uint), Localization.Vhd_Block_size_Must_be_a_power_of_2, 2097152)
|
||||
};
|
||||
|
||||
/// <inheritdoc />
|
||||
|
||||
@@ -62,7 +62,7 @@ public sealed partial class Vhd
|
||||
{
|
||||
if(!uint.TryParse(tmpValue, out _blockSize))
|
||||
{
|
||||
ErrorMessage = "Invalid block size.";
|
||||
ErrorMessage = Localization.Invalid_block_size;
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -74,7 +74,7 @@ public sealed partial class Vhd
|
||||
{
|
||||
if(!bool.TryParse(tmpValue, out _dynamic))
|
||||
{
|
||||
ErrorMessage = "Invalid option for dynamic image.";
|
||||
ErrorMessage = Localization.Invalid_value_for_dynamic_option;
|
||||
|
||||
return false;
|
||||
}
|
||||
@@ -155,7 +155,7 @@ public sealed partial class Vhd
|
||||
|
||||
if(numberOfBlocks > uint.MaxValue)
|
||||
{
|
||||
ErrorMessage = "Block size too small for number of sectors, try with a bigger value.";
|
||||
ErrorMessage = Localization.Block_size_too_small_for_number_of_sectors;
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -231,7 +231,7 @@ public sealed partial class Vhd
|
||||
_writingStream.Seek((long)(0 + sectorAddress * 512), SeekOrigin.Begin);
|
||||
_writingStream.Write(data, 0, data.Length);
|
||||
|
||||
ErrorMessage = "";
|
||||
ErrorMessage = string.Empty;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -389,7 +389,7 @@ public sealed partial class Vhd
|
||||
_writingStream.Seek((long)(0 + sectorAddress * 512), SeekOrigin.Begin);
|
||||
_writingStream.Write(data, 0, data.Length);
|
||||
|
||||
ErrorMessage = "";
|
||||
ErrorMessage = string.Empty;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -426,7 +426,7 @@ public sealed partial class Vhd
|
||||
_writingStream.Close();
|
||||
|
||||
IsWriting = false;
|
||||
ErrorMessage = "";
|
||||
ErrorMessage = string.Empty;
|
||||
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user