Skip to content
This repository has been archived by the owner on Dec 3, 2022. It is now read-only.

Commit

Permalink
Adding Japanese and fixing Rename
Browse files Browse the repository at this point in the history
  • Loading branch information
KiameV committed Aug 15, 2017
1 parent 476bf89 commit 292e430
Show file tree
Hide file tree
Showing 6 changed files with 73 additions and 1 deletion.
1 change: 1 addition & 0 deletions About/About.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ duduluu - Chinese
phmalu - Portuguese
Breakyt - French
Ɲơɴɑɱɛ - German
KondenEinenShizainoLaw - Japanese

Thanks to everyone who's added/edited code!
towhead - Made the fridges hide the uglyness of food
Expand Down
23 changes: 23 additions & 0 deletions Languages/Japanese/DefInjected/ThingDef/Fridge_Building.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<RimFridge_Refrigerator.label>冷蔵庫</RimFridge_Refrigerator.label>
<RimFridge_Refrigerator.description>この中に保管された食料は腐りません。</RimFridge_Refrigerator.description>
<RimFridge_Refrigerator_Blueprint.label>冷蔵庫(設計)</RimFridge_Refrigerator_Blueprint.label>
<RimFridge_Refrigerator_Blueprint_Install.label>冷蔵庫(設計)</RimFridge_Refrigerator_Blueprint_Install.label>
<RimFridge_Refrigerator_Frame.label>冷蔵庫(施工)</RimFridge_Refrigerator_Frame.label>

<RimFridge_SingleRefrigerator.label>小冷蔵庫</RimFridge_SingleRefrigerator.label>
<RimFridge_SingleRefrigerator.description>より小さな冷蔵庫。この中に保管された食料は腐りません。</RimFridge_SingleRefrigerator.description>
<RimFridge_SingleRefrigerator_Blueprint.label>小冷蔵庫(設計)</RimFridge_SingleRefrigerator_Blueprint.label>
<RimFridge_SingleRefrigerator_Blueprint_Install.label>小冷蔵庫(設計)</RimFridge_SingleRefrigerator_Blueprint_Install.label>
<RimFridge_SingleRefrigerator_Frame.label>小冷蔵庫(施工)</RimFridge_SingleRefrigerator_Frame.label>

<RimFridge_QuadRefrigerator.label>大冷蔵庫</RimFridge_SingleRefrigerator.label>
<RimFridge_QuadRefrigerator.description>大量に保存できる大きな冷蔵庫。この中に保管された食料は腐りません。</RimFridge_QuadRefrigerator.description>
<RimFridge_QuadRefrigerator_Blueprint.label>大冷蔵庫(設計)</RimFridge_QuadRefrigerator_Blueprint.label>
<RimFridge_QuadRefrigerator_Blueprint_Install.label>大冷蔵庫(設計)</RimFridge_QuadRefrigerator_Blueprint_Install.label>
<RimFridge_QuadRefrigerator_Frame.label>大冷蔵庫(施工)</RimFridge_QuadRefrigerator_Frame.label>


</LanguageData>
8 changes: 8 additions & 0 deletions Languages/Japanese/DefInjected/ThoughtDef/FrostyBeer.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>

<FrostyBeer.stages.0.label>冷たいビールを飲んだ</FrostyBeer.stages.0.label>
<FrostyBeer.stages.0.description>キンキンに冷えた飲み物は最高です!</FrostyBeer.stages.0.description>


</LanguageData>
7 changes: 7 additions & 0 deletions Languages/Japanese/Keyed/RimFridge.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<LanguageData>
<RimFridge.TargetTemperature>設定温度</RimFridge.TargetTemperature>
<RimFridge.CurrentTemperature>現在の温度</RimFridge.CurrentTemperature>
<RimFridge.Power>d電源SW</RimFridge.Power>

</LanguageData>
32 changes: 32 additions & 0 deletions Languages/Japanese/Workshop description.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
腐敗する食料や物品を保管するための冷蔵庫を追加します。ダイニングに設置したり、牢に置いて囚人への給仕に使ったり、コックの手元に食料を保存したりできます。

1x1の小冷蔵庫と2x1の冷蔵庫、さらに2x2の大冷蔵庫があります。

保存できる品物:
-生肉
-死体
-ドラッグ
-有精卵
-無精卵
-調理済みの食事
-薬品
-植物原料
-生野菜
-その他、腐敗するアイテム

ダウンロード: https://github.com/KiameV/rimworld-rimfridge/releases/download/20170729/RimFridge.zip

GitHub: https://github.com/KiameV/rimworld-rimfridge

Ludeonスレッド: https://ludeon.com/forums/index.php?topic=32980.0

このModを翻訳してくださった方々に感謝!
Dragomano - ロシア語
53N4 - スペイン語
duduluu - 中国語
phmalu - ポルトガル語
Breakyt - フランス語
Ɲơɴɑɱɛ - ドイツ語

主作者: Vendan
貢献者: Xen, historic
3 changes: 2 additions & 1 deletion Source/Building_Refrigerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -74,9 +74,10 @@ public override void ExposeData()
Scribe_Values.Look<float>(ref this.Temp, "temp", -3000f, false);

string label = this.Label;
if (Scribe.mode != LoadSaveMode.Saving || this.label != null)
if (Scribe.mode == LoadSaveMode.LoadingVars || (Scribe.mode == LoadSaveMode.Saving && this.label != null))
{
Scribe_Values.Look<string>(ref label, "label", base.def.label, false);
this.label = label;
}

if (Scribe.mode == LoadSaveMode.LoadingVars)
Expand Down

0 comments on commit 292e430

Please sign in to comment.