commit 92121e3b2d22263f26980f75942a681b1a622456
parent c92094823e2b50e3fa767c1bed2fa50aa20fc74d
Author: Terry Yiu <git@tyiu.xyz>
Date: Mon, 16 Jun 2025 12:32:02 -0400
Export strings for translation
Signed-off-by: Terry Yiu <git@tyiu.xyz>
Diffstat:
5 files changed, 108 insertions(+), 9 deletions(-)
diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff
@@ -2,7 +2,7 @@
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="1.2" xsi:schemaLocation="urn:oasis:names:tc:xliff:document:1.2 http://docs.oasis-open.org/xliff/v1.2/os/xliff-core-1.2-strict.xsd">
<file original="damus/en-US.lproj/InfoPlist.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -44,7 +44,7 @@
</file>
<file original="damus/en-US.lproj/Localizable.strings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="#%@" xml:space="preserve">
@@ -1288,6 +1288,11 @@ This is my first post on Damus, I am happy to meet you all 🤙. What’s up?
<target>Hide all 🤙's</target>
<note>Section footer describing OnlyZaps mode</note>
</trans-unit>
+ <trans-unit id="Hide balance" xml:space="preserve">
+ <source>Hide balance</source>
+ <target>Hide balance</target>
+ <note>Setting to hide wallet balance.</note>
+ </trans-unit>
<trans-unit id="Hide notes with #nsfw tags" xml:space="preserve">
<source>Hide notes with #nsfw tags</source>
<target>Hide notes with #nsfw tags</target>
@@ -1830,6 +1835,21 @@ Label for filter for seeing only notes (instead of notes and replies).</note>
<target>Notes & Replies</target>
<note>Label for filter for seeing notes and replies (instead of only notes).</note>
</trans-unit>
+ <trans-unit id="Notes from %@" xml:space="preserve">
+ <source>Notes from %@</source>
+ <target>Notes from %@</target>
+ <note>Text to indicate that notes from one pubkey in our trusted network are shown below.</note>
+ </trans-unit>
+ <trans-unit id="Notes from %@ & %@" xml:space="preserve">
+ <source>Notes from %1$@ & %2$@</source>
+ <target>Notes from %1$@ & %2$@</target>
+ <note>Text to indicate that notes from two pubkeys in our trusted network are shown below.</note>
+ </trans-unit>
+ <trans-unit id="Notes from %@, %@ & %@" xml:space="preserve">
+ <source>Notes from %1$@, %2$@ & %3$@</source>
+ <target>Notes from %1$@, %2$@ & %3$@</target>
+ <note>Text to indicate that notes from three pubkeys in our trusted network are shown below.</note>
+ </trans-unit>
<trans-unit id="Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content" xml:space="preserve">
<source>Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content</source>
<target>Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content</target>
@@ -3720,7 +3740,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/en-US.lproj/Localizable.stringsdict" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="/followed_by_three_and_others:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
@@ -3798,6 +3818,21 @@ String indicating that a given timestamp just occurred</note>
<target>%#@IMPORTS@</target>
<note/>
</trans-unit>
+ <trans-unit id="/notes_from_three_and_others:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
+ <source>%#@OTHERS@</source>
+ <target>%#@OTHERS@</target>
+ <note/>
+ </trans-unit>
+ <trans-unit id="/notes_from_three_and_others:dict/OTHERS:dict/one:dict/:string" xml:space="preserve">
+ <source>Notes from %2$@, %3$@, %4$@ & %1$d other in your trusted network</source>
+ <target>Notes from %2$@, %3$@, %4$@ & %1$d other in your trusted network</target>
+ <note/>
+ </trans-unit>
+ <trans-unit id="/notes_from_three_and_others:dict/OTHERS:dict/other:dict/:string" xml:space="preserve">
+ <source>Notes from %2$@, %3$@, %4$@ & %1$d others in your trusted network</source>
+ <target>Notes from %2$@, %3$@, %4$@ & %1$d others in your trusted network</target>
+ <note/>
+ </trans-unit>
<trans-unit id="/people_reposted_count:dict/NSStringLocalizedFormatKey:dict/:string" xml:space="preserve">
<source>%#@REPOSTED@</source>
<target>%#@REPOSTED@</target>
@@ -4132,7 +4167,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -4154,7 +4189,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/Localizable.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="" xml:space="preserve">
@@ -5406,6 +5441,11 @@ This is my first post on Damus, I am happy to meet you all 🤙. What’s up?
<target state="new">Hide all 🤙's</target>
<note>Section footer describing OnlyZaps mode</note>
</trans-unit>
+ <trans-unit id="Hide balance" xml:space="preserve">
+ <source>Hide balance</source>
+ <target state="new">Hide balance</target>
+ <note>Setting to hide wallet balance.</note>
+ </trans-unit>
<trans-unit id="Hide notes with #nsfw tags" xml:space="preserve">
<source>Hide notes with #nsfw tags</source>
<target state="new">Hide notes with #nsfw tags</target>
@@ -5943,6 +5983,21 @@ Label for filter for seeing only notes (instead of notes and replies).</note>
<target state="new">Notes & Replies</target>
<note>Label for filter for seeing notes and replies (instead of only notes).</note>
</trans-unit>
+ <trans-unit id="Notes from %@" xml:space="preserve">
+ <source>Notes from %@</source>
+ <target state="new">Notes from %@</target>
+ <note>Text to indicate that notes from one pubkey in our trusted network are shown below.</note>
+ </trans-unit>
+ <trans-unit id="Notes from %@ & %@" xml:space="preserve">
+ <source>Notes from %1$@ & %2$@</source>
+ <target state="new">Notes from %1$@ & %2$@</target>
+ <note>Text to indicate that notes from two pubkeys in our trusted network are shown below.</note>
+ </trans-unit>
+ <trans-unit id="Notes from %@, %@ & %@" xml:space="preserve">
+ <source>Notes from %1$@, %2$@ & %3$@</source>
+ <target state="new">Notes from %1$@, %2$@ & %3$@</target>
+ <note>Text to indicate that notes from three pubkeys in our trusted network are shown below.</note>
+ </trans-unit>
<trans-unit id="Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content" xml:space="preserve">
<source>Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content</source>
<target state="new">Notes with the #nsfw tag usually contains adult content or other "Not safe for work" content</target>
@@ -7698,7 +7753,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="damus/Resources/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
@@ -7720,7 +7775,7 @@ String indicating that a given timestamp just occurred</note>
</file>
<file original="highlighter action extension/InfoPlist.xcstrings" source-language="en-US" target-language="en-US" datatype="plaintext">
<header>
- <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.3" build-num="16E140"/>
+ <tool tool-id="com.apple.dt.xcode" tool-name="Xcode" tool-version="16.4" build-num="16F6"/>
</header>
<body>
<trans-unit id="CFBundleDisplayName" xml:space="preserve">
diff --git a/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings b/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings
@@ -763,6 +763,9 @@
"Hide all 🤙's" : {
"comment" : "Section footer describing OnlyZaps mode"
},
+ "Hide balance" : {
+ "comment" : "Setting to hide wallet balance."
+ },
"Hide notes with #nsfw tags" : {
"comment" : "Setting to hide notes with the #nsfw (not safe for work) tags"
},
@@ -1090,6 +1093,31 @@
"Notes & Replies" : {
"comment" : "Label for filter for seeing notes and replies (instead of only notes)."
},
+ "Notes from %@" : {
+ "comment" : "Text to indicate that notes from one pubkey in our trusted network are shown below."
+ },
+ "Notes from %@ & %@" : {
+ "comment" : "Text to indicate that notes from two pubkeys in our trusted network are shown below.",
+ "localizations" : {
+ "en-US" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "Notes from %1$@ & %2$@"
+ }
+ }
+ }
+ },
+ "Notes from %@, %@ & %@" : {
+ "comment" : "Text to indicate that notes from three pubkeys in our trusted network are shown below.",
+ "localizations" : {
+ "en-US" : {
+ "stringUnit" : {
+ "state" : "new",
+ "value" : "Notes from %1$@, %2$@ & %3$@"
+ }
+ }
+ }
+ },
"Notes with the #nsfw tag usually contains adult content or other \"Not safe for work\" content" : {
"comment" : "Section footer clarifying what #nsfw (not safe for work) tags mean"
},
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
@@ -82,6 +82,22 @@
<string>Imports</string>
</dict>
</dict>
+ <key>notes_from_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>Notes from %2$@, %3$@, %4$@ & %1$d other in your trusted network</string>
+ <key>other</key>
+ <string>Notes from %2$@, %3$@, %4$@ & %1$d others in your trusted network</string>
+ </dict>
+ </dict>
<key>people_reposted_count</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
diff --git a/damus/en-US.xcloc/contents.json b/damus/en-US.xcloc/contents.json
@@ -3,10 +3,10 @@
"project" : "damus.xcodeproj",
"targetLocale" : "en-US",
"toolInfo" : {
- "toolBuildNumber" : "16E140",
+ "toolBuildNumber" : "16F6",
"toolID" : "com.apple.dt.xcode",
"toolName" : "Xcode",
- "toolVersion" : "16.3"
+ "toolVersion" : "16.4"
},
"version" : "1.0"
}
\ No newline at end of file