| - @processor.DataBus-bit data + @string.Format(L["{0}-bit data."], processor.DataBus) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| - @processor.AddrBus-bit address + @string.Format(L["{0}-bit address."], processor.AddrBus) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Cache | +@L["Cache"] |
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
- Graphics processing units
+ @L["Graphics processing units"]
|
@@ -473,14 +500,13 @@ if (gpu.Id == -2) { |
- Framebuffer
+ @L["Framebuffer"]
- +info
+ @L["+info"]
- This computer directly draws pixels from software to a memory region that's converted to video output by a
- DAC or similar without using any specific graphics processing unit.
+ @L["This machine directly draws pixels from software to a memory region that's converted to video output by a DAC or similar without using any specific graphics processing unit."]
|
@@ -490,7 +516,7 @@
@($"{gpu.Name}")
- +info
+ @L["+info"]
@@ -499,12 +525,12 @@
gpu.ModelCode != gpu.Name)
{
Model |
+ @L["Model"] |
@gpu.ModelCode |
Manufacturer |
+ @L["Manufacturer"] |
@gpu.Company
@@ -513,14 +539,14 @@
@if (gpu.Introduced != null)
{
| Introduction date |
+ @L["Introduction date"] |
@($"{gpu.Introduced:yyyy}") |
Package |
+ @L["Package"] |
@gpu.Package |
Manufacturing process |
+ @L["Manufacturing process"] |
@if (gpu.Process != null &&
gpu.ProcessNm > 0)
{
- @gpu.Process
- @("@")
- @(gpu.ProcessNm > 100 ? $"{gpu.ProcessNm / 100}µm" : $"{gpu.ProcessNm}nm")
+ if (gpu.ProcessNm > 100)
+ {
+ @(string.Format(L["{0} @ {1}µm"], gpu.Process, gpu.ProcessNm / 100))
+ }
+ else
+ {
+ @(string.Format(L["{0} @ {1}nm"], gpu.Process, gpu.ProcessNm))
+ }
}
else if (gpu.ProcessNm > 0)
{
- @(gpu.ProcessNm > 100 ? $"{gpu.ProcessNm / 100}µm" : $"{gpu.ProcessNm}nm")
+ if (gpu.ProcessNm > 100)
+ {
+ @(string.Format(L["{0}µm"], gpu.ProcessNm / 100))
+ }
+ else
+ {
+ @(string.Format(L["{0}nm"], gpu.ProcessNm))
+ }
}
else
{
@@ -551,14 +589,14 @@
@if (gpu.DieSize > 0)
{
| Die size |
- @gpu.DieSize mm² |
+ @L["Die size"] |
+ @string.Format(L["{0} mm²"], gpu.DieSize) |
Transistors |
+ @L["Transistors"] |
@gpu.Transistors |
|
- Sound synthetizers
+ @L["Sound synthetizers"]
@@ -590,14 +628,13 @@
@if (sound.Id == -2)
{
|
- Software
+ @L["Software"]
- +info
+ @L["+info"]
|
@@ -607,7 +644,7 @@
- This computer directly sends data to a
- DAC or similar connected to the audio output.
+ @L["This machine directly sends data to a DAC or similar connected to the audio output."]
@($"{sound.Name}")
- +info
+ @L["+info"]
|
@@ -616,14 +653,14 @@
sound.ModelCode != sound.Name)
{
Model |
+ @L["Model"] |
@sound.ModelCode |
Manufacturer |
+ @L["Manufacturer"] |
@sound.CompanyName
@@ -633,7 +670,7 @@
@if (sound.Introduced != null)
{
| Introduction date |
+ @L["Introduction date"] |
@($"{sound.Introduced:yyyy}") |
Generators |
+ @L["Generators"] |
|
Sample rate |
+ @L["Sample rate"] |
|
Synthetizer type |
+ @L["Synthesizer type"] |
@sound.Type
|
@@ -723,7 +778,7 @@
|
- Storage
+ @L["Storage"]
@@ -736,25 +791,25 @@
{
if (storage.Type == StorageType.CompactCassette)
{
- capString = $"{storage.Capacity} bps";
+ capString = string.Format(L["{0} bps"], storage.Capacity);
}
else
{
if (storage.Capacity > 1073741824)
{
- capString = $"{storage.Capacity / 1073741824} GiB";
+ capString = string.Format(L["{0} GiB"], storage.Capacity / 1073741824);
}
else if (storage.Capacity > 1048576)
{
- capString = $"{storage.Capacity / 1048576} MiB";
+ capString = string.Format(L["{0} MiB"], storage.Capacity / 1048576);
}
else if (storage.Capacity > 1024)
{
- capString = $"{storage.Capacity / 1024} KiB";
+ capString = string.Format(L["{0} KiB"], storage.Capacity / 1024);
}
else if (storage.Capacity > 0)
{
- capString = $"{storage.Capacity} bytes";
+ capString = string.Format(L["{0} bytes"], storage.Capacity);
}
else
{
@@ -768,17 +823,17 @@
{
if (storage.Type == StorageType.Empty)
{
- | Available @storage.Interface interface. |
+ @string.Format(L["Available {0} interface."], storage.Interface) |
}
else
{
if (capString != null)
{
- @storage.Type connected thru a @storage.Interface interface with a nominal capacity of @capString |
+ @string.Format(L["{0} connected thru a {1} interface with a nominal capacity of {2}"], storage.Type, storage.Interface, capString) |
}
else
{
- @storage.Type connected thru a @storage.Interface interface |
+ @string.Format(L["{0} connected thru a {1} interface"], storage.Type, storage.Interface) |
}
}
}
@@ -786,7 +841,7 @@
{
if (capString != null)
{
- @storage.Type with a nominal capacity of @capString |
+ @string.Format(L["{0} with a nominal capacity of {1}"], storage.Type, capString) |
}
else
{
diff --git a/Marechai/Resources/Services/MachinesService.es.resx b/Marechai/Resources/Services/MachinesService.es.resx
new file mode 100644
index 00000000..f5e1a9b7
--- /dev/null
+++ b/Marechai/Resources/Services/MachinesService.es.resx
@@ -0,0 +1,429 @@
+
+
+ |
|---|