Memory speed is stored as hertz in the database. Fixes #5

This commit is contained in:
2020-06-09 02:41:16 +01:00
parent ad95759ed0
commit aa9f535d18
3 changed files with 11 additions and 3 deletions

View File

@@ -2,7 +2,7 @@
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>netcoreapp3.1</TargetFramework>
<Version>4.0.0.1574</Version>
<Version>4.0.0.1575</Version>
<Company>Canary Islands Computer Museum</Company>
<Copyright>Copyright © 2003-2020 Natalia Portillo</Copyright>
<Product>Canary Islands Computer Museum Website</Product>

View File

@@ -370,7 +370,7 @@
</Select>
</Field>
<Field>
<FieldLabel>@L["Nominal speed (MHz)"]</FieldLabel>
<FieldLabel>@L["Nominal speed (Hz)"]</FieldLabel>
<Check TValue="bool" @bind-Checked="@_unknownMemorySpeed">@L["Unknown (memory by machine speed)"]</Check>
@if (!_unknownMemorySpeed)
{
@@ -445,7 +445,7 @@
<td>
@if (item.Speed.HasValue)
{
@string.Format(L["{0:F3} MHz"], item.Speed)
@string.Format(L["{0:F3} Hz"], item.Speed)
}
else
{

View File

@@ -582,6 +582,10 @@
<value>Velocidad nominal (MHz)</value>
<comment>Nominal speed (MHz)</comment>
</data>
<data name="Nominal speed (Hz)" xml:space="preserve">
<value>Velocidad nominal (Hz)</value>
<comment>Nominal speed (Hz)</comment>
</data>
<data name="Please enter a valid speed for this processor." xml:space="preserve">
<value>Por favor introduce una velocidad válida para este procesador.</value>
<comment>Please enter a valid speed for this processor.</comment>
@@ -594,6 +598,10 @@
<value>{0:F3} MHz</value>
<comment>{0:F3} MHz</comment>
</data>
<data name="{0:F3} Hz" xml:space="preserve">
<value>{0:F3} Hz</value>
<comment>{0:F3} Hz</comment>
</data>
<data name="Memory belonging to this machine" xml:space="preserve">
<value>Memoria perteneciente a esta máquina</value>
<comment>Memory belonging to this machine</comment>