Update source English strings per feedback from translators

This commit is contained in:
2023-02-25 10:29:55 +13:00
parent 75fd8de456
commit f840fe9c80
4 changed files with 31 additions and 29 deletions

View File

@@ -47,9 +47,9 @@ struct EventMenuContext: View {
notify(.update_bookmarks, event) notify(.update_bookmarks, event)
} label: { } label: {
let imageName = isBookmarked ? "bookmark.fill" : "bookmark" let imageName = isBookmarked ? "bookmark.fill" : "bookmark"
let unBookmarkString = NSLocalizedString("Un-Bookmark", comment: "Context menu option for un-bookmarking a note") let removeBookmarkString = NSLocalizedString("Remove Bookmark", comment: "Context menu option for removing a note bookmark.")
let bookmarkString = NSLocalizedString("Bookmark", comment: "Context menu option for bookmarking a note") let addBookmarkString = NSLocalizedString("Add Bookmark", comment: "Context menu option for adding a note bookmark.")
Label(isBookmarked ? unBookmarkString : bookmarkString, systemImage: imageName) Label(isBookmarked ? removeBookmarkString : addBookmarkString, systemImage: imageName)
} }
.onAppear { .onAppear {
DispatchQueue.main.asyncAfter(deadline: .now() + 1) { DispatchQueue.main.asyncAfter(deadline: .now() + 1) {

View File

@@ -119,6 +119,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<note>Button to add recommended relay server. <note>Button to add recommended relay server.
Button to confirm adding user inputted relay.</note> Button to confirm adding user inputted relay.</note>
</trans-unit> </trans-unit>
<trans-unit id="Add Bookmark" xml:space="preserve">
<source>Add Bookmark</source>
<target>Add Bookmark</target>
<note>Context menu option for adding a note bookmark.</note>
</trans-unit>
<trans-unit id="Add Relay" xml:space="preserve"> <trans-unit id="Add Relay" xml:space="preserve">
<source>Add Relay</source> <source>Add Relay</source>
<target>Add Relay</target> <target>Add Relay</target>
@@ -201,11 +206,6 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Blue Wallet</target> <target>Blue Wallet</target>
<note>Dropdown option label for Lightning wallet, Blue Wallet.</note> <note>Dropdown option label for Lightning wallet, Blue Wallet.</note>
</trans-unit> </trans-unit>
<trans-unit id="Bookmark" xml:space="preserve">
<source>Bookmark</source>
<target>Bookmark</target>
<note>Context menu option for bookmarking a note</note>
</trans-unit>
<trans-unit id="Bookmarks" xml:space="preserve"> <trans-unit id="Bookmarks" xml:space="preserve">
<source>Bookmarks</source> <source>Bookmarks</source>
<target>Bookmarks</target> <target>Bookmarks</target>
@@ -785,6 +785,11 @@ Label for filter for seeing your posts and replies (instead of only your posts).
<target>Relays have been notified and clients will be able to use this information to filter content. Thank you!</target> <target>Relays have been notified and clients will be able to use this information to filter content. Thank you!</target>
<note>Description of what was done as a result of sending a report to relay servers.</note> <note>Description of what was done as a result of sending a report to relay servers.</note>
</trans-unit> </trans-unit>
<trans-unit id="Remove Bookmark" xml:space="preserve">
<source>Remove Bookmark</source>
<target>Remove Bookmark</target>
<note>Context menu option for removing a note bookmark.</note>
</trans-unit>
<trans-unit id="Remove all" xml:space="preserve"> <trans-unit id="Remove all" xml:space="preserve">
<source>Remove all</source> <source>Remove all</source>
<target>Remove all</target> <target>Remove all</target>
@@ -1052,11 +1057,6 @@ Label for filter for seeing your posts and replies (instead of only your posts).
<target>URL</target> <target>URL</target>
<note>Example URL to LibreTranslate server</note> <note>Example URL to LibreTranslate server</note>
</trans-unit> </trans-unit>
<trans-unit id="Un-Bookmark" xml:space="preserve">
<source>Un-Bookmark</source>
<target>Un-Bookmark</target>
<note>Context menu option for un-bookmarking a note</note>
</trans-unit>
<trans-unit id="Unfollow" xml:space="preserve"> <trans-unit id="Unfollow" xml:space="preserve">
<source>Unfollow</source> <source>Unfollow</source>
<target>Unfollow</target> <target>Unfollow</target>

View File

@@ -4,25 +4,27 @@ git:
file_format: STRINGSDICT file_format: STRINGSDICT
source_file_extension: stringsdict source_file_extension: stringsdict
source_language: en_US source_language: en_US
source_file_dir: damus/en-US.xcloc/Source Contents/damus/en-US.lproj/ source_file_dir: 'damus/en-US.xcloc/Source Contents/damus/en-US.lproj/'
translation_files_expression: damus/<lang>.lproj/ translation_files_expression: 'damus/<lang>.lproj/'
- filter_type: dir - filter_type: dir
file_format: STRINGS file_format: STRINGS
source_file_extension: strings source_file_extension: strings
source_language: en_US source_language: en_US
source_file_dir: damus/en-US.xcloc/Source Contents/damus/en-US.lproj/ source_file_dir: 'damus/en-US.xcloc/Source Contents/damus/en-US.lproj/'
translation_files_expression: damus/<lang>.lproj/ translation_files_expression: 'damus/<lang>.lproj/'
settings: settings:
language_mapping: language_mapping:
de_AT: de-AT en_US: en-US
el_GR: el-GR el_GR: el-GR
es_419: es-419 es_419: es-419
fr_FR: fr-FR fr_FR: fr-FR
it_IT: it-IT it_IT: it-IT
lv_LV: lv-LV lv_LV: lv-LV
pl_PL: pl-PL pl_PL: pl-PL
pt_PT: pt-PT pt_PT: pt-PT
tr_TR: tr-TR tr_TR: tr-TR
zh_CN: zh-CN zh_CN: zh-CN
zh_HK: zh-HK
zh_TW: zh-TW