Skip to content

Commit

Permalink
Added translation for tray menu
Browse files Browse the repository at this point in the history
  • Loading branch information
yar2000T committed Jan 27, 2025
1 parent 3da1d4f commit 4aad230
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion locales/en/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,10 @@
},
"main": {
"failed-to-start-header": "Kando failed to start",
"show-settings": "Show settings",
"un-inhibit-shortcuts": "Re-enable Shortcuts",
"inhibit-shortcuts": "Temporarily Disable Shortcuts"
"inhibit-shortcuts": "Temporarily Disable Shortcuts",
"quit": "Quit"
},
"properties": {
"common": {
Expand Down
4 changes: 2 additions & 2 deletions src/main/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,7 @@ export class KandoApp {

// Add an entry to show the editor.
template.push({
label: 'Show Settings',
label: i18next.t('main.show-settings'),
click: () => this.showEditor(),
});

Expand Down Expand Up @@ -1111,7 +1111,7 @@ export class KandoApp {

// Add an entry to quit the application.
template.push({
label: 'Quit',
label: i18next.t('main.quit'),
role: 'quit',
});

Expand Down

0 comments on commit 4aad230

Please sign in to comment.