Skip to content

Commit

Permalink
update translation for tray icon
Browse files Browse the repository at this point in the history
  • Loading branch information
Nriver committed Jan 7, 2022
1 parent ee66937 commit 2dcb5d5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions translations.py
Original file line number Diff line number Diff line change
Expand Up @@ -596,6 +596,7 @@
'Minimize/maximize widget': '',
'Hide': '',
'Show': '',
'Quit': '',
'Edited notes on this day': '',
'No edited notes on this day yet ...': '',
'This contains a list of notes created or updated on this day.': '',
Expand Down
10 changes: 10 additions & 0 deletions trilium_trans.py
Original file line number Diff line number Diff line change
Expand Up @@ -866,6 +866,16 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
replace_in_file(file_path, translation, TARGET_PATH)


file_path = 'src/services/tray.js'
translation = [
'{{Cannot move root note.}}',
"? '{{Hide}}'",
": '{{Show}}'",
"label: '{{Quit}}',",
]
replace_in_file(file_path, translation, TARGET_PATH)


file_path = 'src/services/tree.js'
translation = [
'{{Cannot move root note.}}',
Expand Down

0 comments on commit 2dcb5d5

Please sign in to comment.