安装 Steam
登录
|
语言
繁體中文(繁体中文)
日本語(日语)
한국어(韩语)
ไทย(泰语)
български(保加利亚语)
Čeština(捷克语)
Dansk(丹麦语)
Deutsch(德语)
English(英语)
Español-España(西班牙语 - 西班牙)
Español - Latinoamérica(西班牙语 - 拉丁美洲)
Ελληνικά(希腊语)
Français(法语)
Italiano(意大利语)
Bahasa Indonesia(印度尼西亚语)
Magyar(匈牙利语)
Nederlands(荷兰语)
Norsk(挪威语)
Polski(波兰语)
Português(葡萄牙语 - 葡萄牙)
Português-Brasil(葡萄牙语 - 巴西)
Română(罗马尼亚语)
Русский(俄语)
Suomi(芬兰语)
Svenska(瑞典语)
Türkçe(土耳其语)
Tiếng Việt(越南语)
Українська(乌克兰语)
报告翻译问题
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.