Skip to content

Commit

Permalink
feat(i18n): Ignore overheat
Browse files Browse the repository at this point in the history
  • Loading branch information
hyx3179 authored and oliversalzburg committed Apr 25, 2024
1 parent 21bc0a5 commit ccf8c6f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions packages/kitten-scientists/source/i18n/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"option.shipOverride": "Force Ships to 243",
"option.steamworks": "Turn on Steamworks",
"option.time.reset": "Reset Timeline (Danger!)",
"option.time.skip.ignoreOverheat": "Ignore overheat",
"option.time.skip": "Time Skip",
"reset.after": "Nice to meet you, the cute Kittens Scientists will serve you",
"reset.cancel.activity": "Meoston, We Have a Problem",
Expand Down
1 change: 1 addition & 0 deletions packages/kitten-scientists/source/i18n/zh.json
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
"option.shipOverride": "强制243船",
"option.steamworks": "启动蒸汽工房",
"option.time.reset": "重启时间线 (危险!)",
"option.time.skip.ignoreOverheat": "忽略过热",
"option.time.skip": "时间跳转",
"reset.after": "初次见面,可爱的猫猫科学家为您服务",
"reset.cancel.activity": "喵斯顿,我们有麻烦了",
Expand Down
6 changes: 5 additions & 1 deletion packages/kitten-scientists/source/ui/TimeSkipSettingsUi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ export class TimeSkipSettingsUi extends SettingsPanel<TimeSkipSettings> {
new ButtonListItem(host, this._maximum, { delimiter: true }),
this._cycles,
this._seasons,
new SettingListItem(this._host, "Ignore overheat", this.setting.ignoreOverheat),
new SettingListItem(
this._host,
this._host.engine.i18n("option.time.skip.ignoreOverheat"),
this.setting.ignoreOverheat,
),
],
hasDisableAll: false,
hasEnableAll: false,
Expand Down

0 comments on commit ccf8c6f

Please sign in to comment.