Fix synthesizers typo.

This commit is contained in:
2020-05-23 05:23:50 +01:00
parent 269609826f
commit a72bf6cd78
10 changed files with 16 additions and 16 deletions

View File

@@ -169,7 +169,7 @@ namespace Marechai.Database
Work = 3, Work = 3,
/// <summary>Memory used by the graphics processing units</summary> /// <summary>Memory used by the graphics processing units</summary>
Video = 4, Video = 4,
/// <summary>Memory used by the sound synthetizers</summary> /// <summary>Memory used by the sound synthesizers</summary>
Sound = 5, Sound = 5,
/// <summary>Memory used to store wave tables</summary> /// <summary>Memory used to store wave tables</summary>
Wavetable = 6, Wavetable = 6,
@@ -181,7 +181,7 @@ namespace Marechai.Database
Configuration = 9, Configuration = 9,
/// <summary> /// <summary>
/// Memory accessible directly to any of the processors in the machine, including graphics processors and sound /// Memory accessible directly to any of the processors in the machine, including graphics processors and sound
/// synthetizers /// synthesizers
/// </summary> /// </summary>
Unified = 10 Unified = 10
} }

View File

@@ -80,9 +80,9 @@
<br /> <br />
<a asp-controller="ScreensByMachine">Screens by machine</a> <a asp-controller="ScreensByMachine">Screens by machine</a>
<br /> <br />
<a asp-controller="SoundSynths">Sound synthetizers</a> <a asp-controller="SoundSynths">Sound synthesizers</a>
<br /> <br />
<a asp-controller="SoundByMachine">Sound synthetizers by machine</a> <a asp-controller="SoundByMachine">Sound synthesizers by machine</a>
<br /> <br />
<a asp-controller="StorageByMachines">Storage by machines</a> <a asp-controller="StorageByMachines">Storage by machines</a>
<br /> <br />

View File

@@ -3,7 +3,7 @@
@{ @{
ViewData["Title"] = "Index"; ViewData["Title"] = "Index";
} }
<h1>Sound synthetizers by machine</h1> <h1>Sound synthesizers by machine</h1>
<p> <p>
<a asp-action="Create" class="btn btn-primary"> <a asp-action="Create" class="btn btn-primary">
Create New Create New

View File

@@ -3,7 +3,7 @@
@{ @{
ViewData["Title"] = "Index"; ViewData["Title"] = "Index";
} }
<h1>Sound synthetizers by machine</h1> <h1>Sound synthesizers by machine</h1>
<p> <p>
<a asp-action="Create" class="btn btn-primary"> <a asp-action="Create" class="btn btn-primary">
Create New Create New

View File

@@ -32,9 +32,9 @@
@model IEnumerable<Marechai.Areas.Admin.Models.SoundSynthViewModel> @model IEnumerable<Marechai.Areas.Admin.Models.SoundSynthViewModel>
@{ @{
ViewData["Title"] = "Sound synthetizers (Admin)"; ViewData["Title"] = "Sound synthesizers (Admin)";
} }
<h2>Sound synthetizers</h2> <h2>Sound synthesizers</h2>
<p> <p>
<a asp-action="Create" class="btn btn-primary"> <a asp-action="Create" class="btn btn-primary">
Create New Create New

View File

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

View File

@@ -611,18 +611,18 @@
</td> </td>
</tr> </tr>
} }
@if (_machine.SoundSynthetizers.Count > 0) @if (_machine.SoundSynthesizers.Count > 0)
{ {
<tr> <tr>
<th scope=row> <th scope=row>
<div align=right> <div align=right>
@L["Sound synthetizers"] @L["Sound synthesizers"]
</div> </div>
</th> </th>
<td> <td>
<table> <table>
@{ counter = 0; } @{ counter = 0; }
@foreach (var sound in _machine.SoundSynthetizers) @foreach (var sound in _machine.SoundSynthesizers)
{ {
<tr> <tr>
@if (sound.Id == -2) @if (sound.Id == -2)

View File

@@ -354,9 +354,9 @@
<value>Esta máquina dibuja los píxeles directamente del software a una región de memoria que es convertida a una señal analógica sin ninguna unidad de proceso de gráficos.</value> <value>Esta máquina dibuja los píxeles directamente del software a una región de memoria que es convertida a una señal analógica sin ninguna unidad de proceso de gráficos.</value>
<comment>Description of what a framebuffer is</comment> <comment>Description of what a framebuffer is</comment>
</data> </data>
<data name="Sound synthetizers" xml:space="preserve"> <data name="Sound synthesizers" xml:space="preserve">
<value>Sintetizadores de sonido</value> <value>Sintetizadores de sonido</value>
<comment>Sound synthetizers</comment> <comment>Sound synthesizers</comment>
</data> </data>
<data name="Software" xml:space="preserve"> <data name="Software" xml:space="preserve">
<value>Software</value> <value>Software</value>

View File

@@ -94,7 +94,7 @@ namespace Marechai.Services
Select(e => e.Extension.Extension).ToList() Select(e => e.Extension.Extension).ToList()
}).ToListAsync(); }).ToListAsync();
model.SoundSynthetizers = model.SoundSynthesizers =
await _context.SoundByMachine.Where(s => s.MachineId == machine.Id).Select(s => s.SoundSynth). await _context.SoundByMachine.Where(s => s.MachineId == machine.Id).Select(s => s.SoundSynth).
Select(s => new SoundSynthViewModel Select(s => new SoundSynthViewModel
{ {

View File

@@ -17,7 +17,7 @@ namespace Marechai.ViewModels
public List<GpuViewModel> Gpus { get; set; } public List<GpuViewModel> Gpus { get; set; }
public List<MemoryViewModel> Memory { get; set; } public List<MemoryViewModel> Memory { get; set; }
public List<ProcessorViewModel> Processors { get; set; } public List<ProcessorViewModel> Processors { get; set; }
public List<SoundSynthViewModel> SoundSynthetizers { get; set; } public List<SoundSynthViewModel> SoundSynthesizers { get; set; }
public List<StorageViewModel> Storage { get; set; } public List<StorageViewModel> Storage { get; set; }
} }
} }