Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
I have decompiled this mod and made some minor changes regarding translation capability (I dare to hope my actions are OK with you) and hope you find these changes acceptable.
I have to note also that with these changes applied, English language users will not notice any difference.
Under this link[github.com] there are English and Russian translation files along with the lines of code that need to be changed and some comments on important points.
As for the <Quick_Stockpile_Creation>Quick Stockpile Creation</Quick_Stockpile_Creation> - let this line remain untranslated to Russian (at least).
I thank you for your willingness to make changes regarding the translation options.
<LanguageData>
<!--Controller-->
<Quick_Stockpile_Creation>Quick Stockpile Creation</Quick_Stockpile_Creation>
<Create_new_stockpiles_at_this_priority>Создавать новые склады с этим приоритетом</Create_new_stockpiles_at_this_priority>
<Where_items_are_already_in_stockpiles_create_a_stockpile_at_a_higher_priority_overriding_the_value_above>Если предмет уже находится на складе, создать для него другой склад с более высоким приоритетом, переопределяя значение выше</Where_items_are_already_in_stockpiles_create_a_stockpile_at_a_higher_priority_overriding_the_value_above>
<!--ThingExtensions-->
<Unable_to_use_a_higher_priority_for_new_stockpile_item_was_already_in_a_maximumPriority_priority_stockpile>Невозможно использовать более высокий приоритет для нового склада, предмет уже находится на складе с приоритетом "{maximumPriority}"</Unable_to_use_a_higher_priority_for_new_stockpile_item_was_already_in_a_maximumPriority_priority_stockpile>
<!--ReallowInStockpileGizmo-->
<Reallow_in_stockpile>Разрешить на складе</Reallow_in_stockpile>
<Reallow_this_item_in_its_stockpile>Разрешить этот предмет на текущем складе.</Reallow_this_item_in_its_stockpile>
<Stockpile_will_again_allow_thing_in_it>"{zoneStockpileLabel}" снова принимает предметы "{thingLabel}"</Stockpile_will_again_allow_thing_in_it>
<!--RemoveFromStockpileGizmo-->
<Disallow_in_stockpile>Запретить на складе</Disallow_in_stockpile>
<Disallow_this_item_in_its_current_stockpile>Запретить этот предмет на текущем складе.</Disallow_this_item_in_its_current_stockpile>
<Disallow_label_in_its_current_stockpile>Запретить предметы "{label}" на текущем складе</Disallow_label_in_its_current_stockpile>
<Stockpile_will_no_longer_allow_label_in_it>"{stockpile}" больше не принимает предметы "{label}"</Stockpile_will_no_longer_allow_label_in_it>
<!--SmartStockpileFloatMenuOption-->
<Create_thing_stockpile>Создать склад для "{thing}"</Create_thing_stockpile>
<!--SmartStockpileGizmo-->
<Create_stockpile>Создать склад</Create_stockpile>
<Create_a_stockpile_specifically_for_this_item_type>Создать склад исключительно для этого типа предметов.</Create_a_stockpile_specifically_for_this_item_type>
<There_are_no_shared_categories_for_the_items_selected>Для выбранных предметов нет общих категорий.</There_are_no_shared_categories_for_the_items_selected>
</LanguageData>
There are also a several more strings left that were not mentioned (unless you deleted some of them):
<!--SmartStockpileGizmo-->
<!-- EN -->
<Multiple_item>Multiple item</Multiple_item>
<!-- RU -->
<Multiple_item>Несколько предметов</Multiple_item>
<!--SmartStockpileDesignator-->
<!-- EN -->
<Room_label_stockpile_zone>{0}{1} stockpile zone</Room_label_stockpile_zone>
<Room_>{0} </Room_><!-- This string is used as the first argument of Room_label_stockpile_zone -->
<!-- RU -->
<Room_label_stockpile_zone>Склад "{1}"{0}</Room_label_stockpile_zone>
<Room_> - {0}</Room_>
There are two substrings for flexibility (due to differences in language structures in various languages)
((room.Role.defName != "None" && room.Role.defName != "Room") ? ("Room_".Translate(room.Role.label).ToString()) : ""),
_stockpileContentsLabel).CapitalizeFirst();
ThingExtensions.maximumPriority:
EN "Critical"; RU "Critical"
ThingExtensions.maximumPriority.Label():
EN "critical"; RU "максимальный"
Under spoiler is boring/unnecessary information, where I tried to explain why it is needed to rename the folder:
The official translation for the game on github is updated periodically, while the one that comes out during the game's release becomes partially outdated, so there is a possibility of two game language options: [Russian (Русский)] and [Russian]
If I set game language to [Russian (Русский)], the game will consider all the mod language folder names: [Russian (Русский)] or [Russian], but if I set game language to [Russian], the game will only search for the translation inside the folder named [Russian].
So the folder name [Russian] will be more universal:
[../Quick Stockpile Creation/Languages/Russian/Keyed/]
Due to the fact that it is quite difficult to implement noun declension in the current context, the best solution I found is to use quotation marks for the stockpile contents (string for replace):
<Stockpile_name_template>Склад "{stockpileContents}" - {nonGenericRoomType}</Stockpile_name_template>
One settings string, as it turned out, does not fit into the allotted space a little and looked cropped, so here's the string for replace:
<Where_items_are_already_in_stockpiles_create_a_stockpile_at_a_higher_priority_overriding_the_value_above>Если предмет уже находится на складе, создать для него другой склад с более высоким приоритетом</Where_items_are_already_in_stockpiles_create_a_stockpile_at_a_higher_priority_overriding_the_value_above>
Thank you again and sorry for bothering you.
And though you asked not to thank you, I'm very grateful to you.