Fix localization issues and export strings for translation

Changelog-Fixed: Fix localization issues and export strings for translation
Signed-off-by: Terry Yiu <git@tyiu.xyz>
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
2023-07-14 00:21:08 -04:00
committed by William Casarin
parent 4830a6f3b7
commit 8a9e3ea76b
21 changed files with 148 additions and 215 deletions

View File

@@ -603,6 +603,11 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Follow Back</target>
<note>Button to follow a user back.</note>
</trans-unit>
<trans-unit id="Follow hashtag" xml:space="preserve">
<source>Follow hashtag</source>
<target>Follow hashtag</target>
<note>Button to follow a given hashtag.</note>
</trans-unit>
<trans-unit id="Follow me on Nostr" xml:space="preserve">
<source>Follow me on Nostr</source>
<target>Follow me on Nostr</target>
@@ -769,11 +774,6 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Likes</target>
<note>Setting to enable Like Local Notification</note>
</trans-unit>
<trans-unit id="Load %lld more" xml:space="preserve">
<source>Load %lld more</source>
<target>Load %lld more</target>
<note>Button text for loading more events, where the variable is the number of events.</note>
</trans-unit>
<trans-unit id="Local Notifications" xml:space="preserve">
<source>Local Notifications</source>
<target>Local Notifications</target>
@@ -1559,6 +1559,11 @@ Label for filter for seeing your notes and replies (instead of only your notes).
<target>Unfollow</target>
<note>Button to unfollow a user.</note>
</trans-unit>
<trans-unit id="Unfollow hashtag" xml:space="preserve">
<source>Unfollow hashtag</source>
<target>Unfollow hashtag</target>
<note>Button to unfollow a given hashtag.</note>
</trans-unit>
<trans-unit id="Unfollowing..." xml:space="preserve">
<source>Unfollowing...</source>
<target>Unfollowing...</target>
@@ -1579,6 +1584,11 @@ Label for filter for seeing your notes and replies (instead of only your notes).
<target>Unmute conversation</target>
<note>Context menu option for unmuting a conversation.</note>
</trans-unit>
<trans-unit id="Untitled" xml:space="preserve">
<source>Untitled</source>
<target>Untitled</target>
<note>Text indicating that the long-form note title is untitled.</note>
</trans-unit>
<trans-unit id="Upload" xml:space="preserve">
<source>Upload</source>
<target>Upload</target>
@@ -2161,6 +2171,21 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>%2$@ sats</target>
<note/>
</trans-unit>
<trans-unit id="/word_count:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
<source>%#@WORDS@</source>
<target>%#@WORDS@</target>
<note/>
</trans-unit>
<trans-unit id="/word_count:dict/WORDS:dict/one:dict/:string" xml:space="preserve">
<source>%d Word</source>
<target>%d Word</target>
<note/>
</trans-unit>
<trans-unit id="/word_count:dict/WORDS:dict/other:dict/:string" xml:space="preserve">
<source>%d Words</source>
<target>%d Words</target>
<note/>
</trans-unit>
<trans-unit id="/zap_notification_no_message:dict/NOTIFICATION:dict/one:dict/:string" xml:space="preserve">
<source>You received %2$@ sat from %3$@</source>
<target>You received %2$@ sat from %3$@</target>

View File

@@ -258,6 +258,22 @@
<string>%2$@ sats</string>
</dict>
</dict>
<key>word_count</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@WORDS@</string>
<key>WORDS</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>d</string>
<key>one</key>
<string>%d Word</string>
<key>other</key>
<string>%d Words</string>
</dict>
</dict>
<key>zap_notification_no_message</key>
<dict>
<key>NSStringLocalizedFormatKey</key>