Skip to content

Commit 69bcc28

Browse files
committed
update translation for 0.49.5
1 parent 0abd050 commit 69bcc28

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

translations.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1318,4 +1318,8 @@
13181318
'status': '',
13191319
'Protecting': '',
13201320
'Unprotecting': '',
1321+
'Edit a read-only note': '',
1322+
'Ribbon tabs': '',
1323+
"`${resp.count} backlink`
1324+
+ (resp.count === 1 ? '' : 's')": '',
13211325
}

trilium_trans.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1297,6 +1297,12 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
12971297
]
12981298
replace_in_file(file_path, translation)
12991299

1300+
file_path = 'src/public/app/widgets/backlinks.js'
1301+
translation = [
1302+
"{{`${resp.count} backlink`\n + (resp.count === 1 ? '' : 's')}}",
1303+
]
1304+
replace_in_file(file_path, translation)
1305+
13001306
file_path = 'src/public/app/widgets/bookmark_switch.js'
13011307
translation = [
13021308
'title="{{Bookmark this note to the left side panel}}"',
@@ -2708,6 +2714,7 @@ def replace_in_file(file_path, translation, base_path=BASE_PATH):
27082714
'description: "{{Pastes Markdown from clipboard into text note}}"',
27092715
'description: "{{Cuts the selection from the current note and creates subnote with the selected text}}"',
27102716
'description: "{{Opens the dialog to include a note}}"',
2717+
'description: "{{Edit a read-only note}}"',
27112718
'description: "{{Put focus into attribute editor}}"',
27122719
'description: "{{Create new label}}"',
27132720
'description: "{{Create new relation}}"',

0 commit comments

Comments
 (0)