Skip to content

Commit

Permalink
show mod name on top of the customize mod panel
Browse files Browse the repository at this point in the history
  • Loading branch information
Shazbot committed Nov 10, 2023
1 parent eda757e commit 1845080
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"mergeModsHelp3": "When mods get updated the merged pack will have the old outdated mod inside it. You should get a warning in red (it'll be above the Play button) warning you about this and you can then right click the merged pack and use the Update (Re-merge) option which will update the merged pack. The warning can appear when you start the app but disappears once we get newer info from the workshop, you don't have to update it in that case.",
"mergeModsHelp4": "You can leave the mods that have been merged enabled in the mod manager, the manager will automatically skip them if they're already present in a merged mod you have enabled. This is reliant on the .json file, if it's missing you'll have to disable those mods or the game will crash since it doesn't like duplicate files in mods.",
"language": "Language:",
"customizeMod": "Customize Mod",
"customize": "Customize",
"groupingsUnitPermissions": "Units, Per Group",
"buildingsPermissions": "Buildings",
"unit": "Unit",
Expand Down
3 changes: 3 additions & 0 deletions locales/en/translation.missing.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"customize": "customize"
}
2 changes: 1 addition & 1 deletion locales/zh/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@
"mergeModsHelp3": "当模组有新的更新时,合并模组包中将会存在过期的模组。你会在启动游戏按钮上得到红色的警告,你可以通过右键点击合并模组包,并且使用更新(重新合并)选项,这将会更新合并包。这个警告可能会在你启动app时出现,同时也会随着软件更新创意工坊内容后消失,这种情况下你不必执行更新。",
"mergeModsHelp4": "你可以在管理器中保持那些已被合并过的(单个)模组的启用状态,管理器如果发现已启用的模组被包含在一个合并包中,会自动跳过他们。这个功能依赖于.json文件,如果json文件缺失,那你就必须得手动禁用那些模组,否则游戏将可能由于重复文件而崩溃。",
"language": "语言:",
"customizeMod": "Customize Mod",
"customize": "Customize",
"groupingsUnitPermissions": "Units, Per Group",
"buildingsPermissions": "Buildings",
"unit": "Unit",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ModCustomization.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ const ModCustomization = React.memo(() => {
]}
>
<Modal.Header>
<span>{localized.customizeMod}</span>
<span>{`${localized.customize} ${modBeingCustomized.name}`}</span>
</Modal.Header>
<Modal.Body>
<Tabs.Group style="underline">
Expand Down
2 changes: 1 addition & 1 deletion src/localizationContext.ts
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ export const staticTextIds: Record<string, string | number> = {
mergeModsHelp4:
"You can leave the mods that have been merged enabled in the mod manager, the manager will automatically skip them if they're already present in a merged mod you have enabled. This is reliant on the .json file, if it's missing you'll have to disable those mods or the game will crash since it doesn't like duplicate files in mods.",
language: "Language:",
customizeMod: "Customize Mod",
customize: "Customize",
groupingsUnitPermissions: "Units, Per Group",
buildingsPermissions: "Buildings",
unit: "Unit",
Expand Down

0 comments on commit 1845080

Please sign in to comment.