commit e220b0756f4641d335a078c5d76d3b4f80b38950
parent 83abedb4d68542cb0f08364f0bbd084fe2a4d210
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date: Sun, 25 Jun 2023 23:46:53 -0400
Export strings for translation
Diffstat:
3 files changed, 62 insertions(+), 11 deletions(-)
diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff
@@ -45,7 +45,7 @@
<trans-unit id="%@ %@" xml:space="preserve">
<source>%@ %@</source>
<target>%@ %@</target>
- <note>Sentence composed of 2 variables to describe how many reposts. In source English, the first variable is the number of reposts, and the second variable is 'Repost' or 'Reposts'.
+ <note>Sentence composed of 2 variables to describe how many zap payments there are on a post. In source English, the first variable is the number of zap payments, and the second variable is 'Zap' or 'Zaps'.
Sentence composed of 2 variables to describe how many people are following a user. In source English, the first variable is the number of followers, and the second variable is 'Follower' or 'Followers'.</note>
</trans-unit>
<trans-unit id="%@ has been muted" xml:space="preserve">
@@ -276,11 +276,6 @@ Sentence composed of 2 variables to describe how many people are following a use
<note>Sidebar menu label for Bookmarks view.
Title of bookmarks view</note>
</trans-unit>
- <trans-unit id="Boosts" xml:space="preserve">
- <source>Boosts</source>
- <target>Boosts</target>
- <note>Accessibility label for boosts button</note>
- </trans-unit>
<trans-unit id="Broadcast" xml:space="preserve">
<source>Broadcast</source>
<target>Broadcast</target>
@@ -576,11 +571,31 @@ Sentence composed of 2 variables to describe how many people are following a use
<target>Follow me on Nostr</target>
<note>Text on QR code view to prompt viewer looking at screen to follow the user.</note>
</trans-unit>
+ <trans-unit id="Followed by %@" xml:space="preserve">
+ <source>Followed by %@</source>
+ <target>Followed by %@</target>
+ <note>Text to indicate that the user is followed by one of our follows.</note>
+ </trans-unit>
+ <trans-unit id="Followed by %@ & %@" xml:space="preserve">
+ <source>Followed by %1$@ & %2$@</source>
+ <target>Followed by %1$@ & %2$@</target>
+ <note>Text to indicate that the user is followed by two of our follows.</note>
+ </trans-unit>
+ <trans-unit id="Followed by %@, %@ & %@" xml:space="preserve">
+ <source>Followed by %1$@, %2$@ & %3$@</source>
+ <target>Followed by %1$@, %2$@ & %3$@</target>
+ <note>Text to indicate that the user is followed by three of our follows.</note>
+ </trans-unit>
<trans-unit id="Followers" xml:space="preserve">
<source>Followers</source>
<target>Followers</target>
<note>Navigation bar title for view that shows who is following a user.</note>
</trans-unit>
+ <trans-unit id="Followers You Know" xml:space="preserve">
+ <source>Followers You Know</source>
+ <target>Followers You Know</target>
+ <note>Navigation bar title for view that shows who is following a user.</note>
+ </trans-unit>
<trans-unit id="Following" xml:space="preserve">
<source>Following</source>
<target>Following</target>
@@ -1151,7 +1166,8 @@ Button text to indicate that the zap type is a private zap.</note>
<trans-unit id="Reposts" xml:space="preserve">
<source>Reposts</source>
<target>Reposts</target>
- <note>Navigation bar title for Reposts view.
+ <note>Accessibility label for boosts button
+ Navigation bar title for Reposts view.
Setting to enable Repost Local Notification</note>
</trans-unit>
<trans-unit id="Requests" xml:space="preserve">
@@ -1230,9 +1246,9 @@ Button text to indicate that the zap type is a private zap.</note>
<target>Send a message to start the conversation...</target>
<note>Text prompt for user to send a message to the other user.</note>
</trans-unit>
- <trans-unit id="Send a reply with your zap..." xml:space="preserve">
- <source>Send a reply with your zap...</source>
- <target>Send a reply with your zap...</target>
+ <trans-unit id="Send a message with your zap..." xml:space="preserve">
+ <source>Send a message with your zap...</source>
+ <target>Send a message with your zap...</target>
<note>Placeholder text for a comment to send as part of a zap to the user.</note>
</trans-unit>
<trans-unit id="Server" xml:space="preserve">
@@ -1620,9 +1636,13 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<source>Zap</source>
<target>Zap</target>
<note>Accessibility label for zap button
- Button to send a zap.
Title of notification when a non-private zap is received.</note>
</trans-unit>
+ <trans-unit id="Zap User" xml:space="preserve">
+ <source>Zap User</source>
+ <target>Zap User</target>
+ <note>Button to send a zap.</note>
+ </trans-unit>
<trans-unit id="Zap Vibration" xml:space="preserve">
<source>Zap Vibration</source>
<target>Zap Vibration</target>
@@ -1834,6 +1854,21 @@ YOU WILL NO LONGER BE ABLE TO LOG INTO DAMUS USING THIS ACCOUNT KEY.
<target>%#@NOTES@</target>
<note/>
</trans-unit>
+ <trans-unit id="/followed_by_three_and_others:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
+ <source>%#@OTHERS@</source>
+ <target>%#@OTHERS@</target>
+ <note/>
+ </trans-unit>
+ <trans-unit id="/followed_by_three_and_others:dict/OTHERS:dict/one:dict/:string" xml:space="preserve">
+ <source>Followed by %2$@, %3$@, %4$@ & %1$d other</source>
+ <target>Followed by %2$@, %3$@, %4$@ & %1$d other</target>
+ <note/>
+ </trans-unit>
+ <trans-unit id="/followed_by_three_and_others:dict/OTHERS:dict/other:dict/:string" xml:space="preserve">
+ <source>Followed by %2$@, %3$@, %4$@ & %1$d others</source>
+ <target>Followed by %2$@, %3$@, %4$@ & %1$d others</target>
+ <note/>
+ </trans-unit>
<trans-unit id="/followers_count:dict/FOLLOWERS:dict/one:dict/:string" xml:space="preserve">
<source>Follower</source>
<target>Follower</target>
diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings
Binary files differ.
diff --git a/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.stringsdict b/damus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.stringsdict
@@ -18,6 +18,22 @@
<string>... %d other notes ...</string>
</dict>
</dict>
+ <key>followed_by_three_and_others</key>
+ <dict>
+ <key>NSStringLocalizedFormatKey</key>
+ <string>%#@OTHERS@</string>
+ <key>OTHERS</key>
+ <dict>
+ <key>NSStringFormatSpecTypeKey</key>
+ <string>NSStringPluralRuleType</string>
+ <key>NSStringFormatValueTypeKey</key>
+ <string>d</string>
+ <key>one</key>
+ <string>Followed by %2$@, %3$@, %4$@ & %1$d other</string>
+ <key>other</key>
+ <string>Followed by %2$@, %3$@, %4$@ & %1$d others</string>
+ </dict>
+ </dict>
<key>followers_count</key>
<dict>
<key>NSStringLocalizedFormatKey</key>