Skip to content

Commit

Permalink
translate cargo panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Rinary1 committed Jul 23, 2024
1 parent 0995a2e commit 67db2f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Content.Shared/Cargo/Prototypes/CargoProductPrototype.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public string Name

if (IoCManager.Resolve<IPrototypeManager>().TryIndex(Product, out EntityPrototype? prototype))
{
_name = prototype.Name;
_name = Loc.GetString($"cargoproduct-name-{prototype.Name.ToLower().Replace(" ", "-")}");
}

return _name;
Expand All @@ -58,7 +58,7 @@ public string Description

if (IoCManager.Resolve<IPrototypeManager>().TryIndex(Product, out EntityPrototype? prototype))
{
_description = prototype.Description;
_description = Loc.GetString($"cargoproduct-description-{prototype.Name.ToLower().Replace(" ", "-")}");
}

return _description;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
cargoproduct-name-emitter-crate = ящик с эмиттером
cargoproduct-description-emitter-crate = Эмиттер, использующийся в сингулярном двигателе.
cargoproduct-name-space-heater-crate = упаковка термостата
cargoproduct-description-space-heater-crate = Универсально-сборная упаковка, используемая для сборки термостата.
cargoproduct-name-condiment-station-restock-crate = ящик пополнения Островок соусов
cargoproduct-name-chefvend-restock-crate = ящик пополнения ШефВенд

0 comments on commit 67db2f7

Please sign in to comment.