Skip to content

Commit

Permalink
Missing translations
Browse files Browse the repository at this point in the history
  • Loading branch information
Emiliopg91 committed Sep 12, 2024
1 parent 32261e3 commit 0fe9810
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions assets/translations.i18n.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,21 @@
"main.menu": {
"en": "main menu",
"es": "menú principal"
},
"mode.SILENT":{
"en":"SILENT",
"es":"SILENCIOSO"
},
"mode.PERFORMANCE":{
"en":"PERFORMANCE",
"es":"RENDIMIENTO"
},
"mode.TURBO":{
"en":"TURBO",
"es":"TURBO"
},
"mode.CUSTOM":{
"en":"CUSTOM",
"es":"PERSONALIZADO"
}
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "ally-decky-companion",
"version": "1.0.4",
"version": "1.0.5",
"description": "Rog Ally and Ally X Decky plugin companion",
"scripts": {
"build": "shx rm -rf dist && rollup -c --silent",
Expand Down
2 changes: 1 addition & 1 deletion src/components/cpuBlock.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export const CpuBlock: VFC<{ collapsed: boolean, onCollapse: () => void }> = ({
notchLabels.push({
notchIndex: notchIdx,
value: notchIdx,
label: String(value).substring(0, 1) + String(value).substring(1).toLowerCase()
label: Translator.translate("mode." + String(value).substring(0, 1))
});
notchIdx++;
});
Expand Down

0 comments on commit 0fe9810

Please sign in to comment.