From d01e7c059540cc4986a1fd269638631767c46599 Mon Sep 17 00:00:00 2001
From: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date: Fri, 13 Jan 2023 23:35:43 -0500
Subject: [PATCH] Fix localization bugs and export localizations
Changelog-Fixes: Fix some localization bugs
Closes: #320
---
.../Localized Contents/en-US.xliff | 229 +++++++++++++++---
.../damus/en-US.lproj/Localizable.strings | Bin 19790 -> 22588 bytes
.../damus/en-US.lproj/Localizable.stringsdict | 102 +++++++-
.../Localized Contents/es-419.xliff | 187 +++++++++++---
.../damus/en-US.lproj/Localizable.strings | Bin 19790 -> 22588 bytes
.../damus/en-US.lproj/Localizable.stringsdict | 102 +++++++-
damus/Models/FollowersModel.swift | 6 +-
damus/Views/ActionBar/EventActionBar.swift | 4 +-
damus/Views/ActionBar/EventDetailBar.swift | 15 +-
damus/Views/ConfigView.swift | 2 +-
damus/Views/ProfileView.swift | 7 +-
damus/Views/PubkeyView.swift | 2 +-
damus/Views/ReactionsView.swift | 2 +-
damus/Views/ReplyQuoteView.swift | 2 +-
damus/Views/SaveKeysView.swift | 2 +-
damus/Views/SetupView.swift | 2 +-
damus/Views/SideMenuView.swift | 14 +-
damus/en-US.lproj/Localizable.stringsdict | 102 +++++++-
damus/es-419.lproj/Localizable.stringsdict | 6 +-
19 files changed, 664 insertions(+), 122 deletions(-)
diff --git a/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff b/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff
index 4f629f5..fc098ab 100644
--- a/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff
+++ b/damus Localizations/en-US.xcloc/Localized Contents/en-US.xliff
@@ -35,12 +35,14 @@
%@
- Number of people following a user.
+ Amount of time that has passed since reply quote event occurred.
+Abbreviated version of a nostr public key.%@ %@
- Sentence composed of 2 variables to describe how many profiles a user is following. In source English, the first variable is the number of profiles being followed, and the second variable is 'Following'.
+ 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'.
+Sentence composed of 2 variables to describe how many profiles a user is following. In source English, the first variable is the number of profiles being followed, and the second variable is 'Following'.
@@ -60,18 +62,14 @@
%lld
- Number of profiles a user is following.
+ Number of reposts.
+Number of profiles a user is following.%lld/%lldFraction of how many of the user's relay servers that are operational.
-
-
-
- No comment provided by engineer.
- '%@' at '%@' will be used for verification
@@ -148,10 +146,15 @@
AnyAny amount of sats
-
-
- Are you sure you want to boost this post?
- Alert message to ask if user wants to boost a post.
+
+
+ Are you sure you want to repost this?
+ Alert message to ask if user wants to repost a post.
+
+
+
+ Banner Image
+ Label for Banner Image section of user profile form.
@@ -178,17 +181,6 @@
Blue WalletDropdown option label for Lightning wallet, Blue Wallet.
-
-
- Boost
- Button to confirm boosting a post.
- Title of alert for confirming to boost a post.
-
-
-
- Boosted
- Text indicating that the post was boosted (i.e. re-shared).
- Breez
@@ -203,6 +195,7 @@
CancelButton to cancel out of posting a note.
+ Button to cancel out of reposting a post.
Button to cancel out of view adding user inputted relay.
Cancel out of logging out the user.
@@ -342,11 +335,6 @@
EditButton to edit user's profile.
-
-
- Edit Profile
- Title of navigation view for Edit Profile.
- Encrypted
@@ -428,6 +416,11 @@ Part of a larger sentence to describe how many profiles a user is following.LNLink
Dropdown option label for Lightning wallet, LNLink.
+
+
+ Left Handed
+ Moves the post button to the left side of the screen
+ Let's go!
@@ -451,7 +444,8 @@ Part of a larger sentence to describe how many profiles a user is following.
Login
- Button to log into account.
+ Button to log into account.
+ Button to log into an account.
@@ -530,6 +524,11 @@ Part of a larger sentence to describe how many profiles a user is following.PrivateKey
Title of the secure field that holds the user's private key.
+
+
+ Profile
+ Sidebar menu label for Profile view.
+ Profile Picture
@@ -555,6 +554,11 @@ Part of a larger sentence to describe how many profiles a user is following.Public key
Label indicating that the text is a user's public account key.
+
+
+ Reactions
+ Navigation bar title for Reactions view.
+ Recommended Relays
@@ -568,8 +572,7 @@ Part of a larger sentence to describe how many profiles a user is following.
Relays
- Header text for relay server list for configuration.
-Part of a larger sentence to describe how many relay servers a user is connected.
+ Sidebar menu label for Relay servers view
@@ -586,11 +589,27 @@ Part of a larger sentence to describe how many relay servers a user is connected
Replying to:Indicating that the user is replying to the following listed people.
+
+
+ Repost
+ Button to confirm reposting a post.
+ Title of alert for confirming to repost a post.
+
+
+
+ Reposted
+ Text indicating that the post was reposted (i.e. re-shared).
+ ResetSection title for resetting the user
+
+
+ Retry
+ Button to retry completing account creation after an error occurred.
+ River
@@ -644,7 +663,8 @@ Part of a larger sentence to describe how many relay servers a user is connected
Settings
- Navigation title for Settings view.
+ Navigation title for Settings view.
+ Sidebar menu label for accessing the app settings
@@ -661,6 +681,11 @@ Part of a larger sentence to describe how many relay servers a user is connected
Show wallet selectorToggle to show or hide selection of wallet.
+
+
+ Sign out
+ Sidebar menu label to sign out of the account.
+ Strike
@@ -723,6 +748,11 @@ Part of a larger sentence to describe how many relay servers a user is connected
Label for Username section of user profile form.
Label to prompt username entry.
+
+
+ Wallet
+ Sidebar menu label for Wallet view.
+ Wallet Of Satoshi
@@ -768,6 +798,11 @@ Part of a larger sentence to describe how many relay servers a user is connected
collapsed_event_view_other_notesText to indicate that the thread was collapsed and that there are other notes to view if tapped. (Key in .stringsdict)
+
+
+ followers_count
+ Part of a larger sentence to describe how many people are following a user. (Key in .stringsdict)
+ https://example.com/pic.jpg
@@ -803,6 +838,16 @@ Part of a larger sentence to describe how many relay servers a user is connected
optionalLabel indicating that a form input is optional.
+
+
+ reactions_count
+ Part of a larger sentence to describe how many reactions there are on a post. (Key in .stringsdict)
+
+
+
+ relays_count
+ Part of a larger sentence to describe how many relay servers a user is connected. (Key in .stringsdict)
+ replying_to_one_and_others
@@ -813,11 +858,26 @@ Part of a larger sentence to describe how many relay servers a user is connected
replying_to_two_and_othersLabel to indicate that the user is replying to 2 users and others. (Key in .stringsdict)
+
+
+ reposts_count
+ Part of a larger sentence to describe how many reposts there are. (Key in .stringsdict)
+ satoshiExample username of Bitcoin creator(s), Satoshi Nakamoto.
+
+
+ tips_count
+ Part of a larger sentence to describe how many tip payments there are on a post. (Key in .stringsdict)
+
+
+
+ u{00A0}
+ Non-breaking space character to fill in blank space next to event action button icons.
+ wss://some.relay.com
@@ -828,11 +888,6 @@ Part of a larger sentence to describe how many relay servers a user is connected
youYou, in this context, is the person who controls their own social network. You is used in the context of a larger sentence that welcomes the reader to the social network that they control themself.
-
-
- 馃
- Button with emoji to like an event.
-