damus

nostr ios client
git clone git://jb55.com/damus
Log | Files | Refs | README | LICENSE

commit 4d01340b909e88598485a6a76cecbec3eee7ab07
parent 61b89c2f547613f4577b55702774979a412c0b7e
Author: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date:   Tue,  3 Dec 2024 17:12:34 -0500

Fix localization issue on Add mute item button

Changelog-Fixed: Fixed localization issue on Add mute item button

Signed-off-by: Terry Yiu <963907+tyiu@users.noreply.github.com>

Diffstat:
Mdamus/Views/Muting/AddMuteItemView.swift | 2+-
Mdamus/en-US.xcloc/Localized Contents/en-US.xliff | 6++++--
Mdamus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings | 2+-
Mdamus/en-US.xcloc/Source Contents/damus/en-US.lproj/Localizable.strings | 0
4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/damus/Views/Muting/AddMuteItemView.swift b/damus/Views/Muting/AddMuteItemView.swift @@ -92,7 +92,7 @@ struct AddMuteItemView: View { dismiss() }) { HStack { - Text(verbatim: "Add mute item") + Text("Add mute item", comment: "Button to an add an item to the user's mutelist.") .bold() } .frame(minWidth: 300, maxWidth: .infinity, alignment: .center) diff --git a/damus/en-US.xcloc/Localized Contents/en-US.xliff b/damus/en-US.xcloc/Localized Contents/en-US.xliff @@ -232,7 +232,8 @@ Sentence composed of 2 variables to describe how many zap payments there are on <trans-unit id="Add mute item" xml:space="preserve"> <source>Add mute item</source> <target>Add mute item</target> - <note>Title text to indicate user to an add an item to their mutelist.</note> + <note>Button to an add an item to the user's mutelist. +Title text to indicate user to an add an item to their mutelist.</note> </trans-unit> <trans-unit id="Add relay" xml:space="preserve"> <source>Add relay</source> @@ -3666,7 +3667,8 @@ Sentence composed of 2 variables to describe how many zap payments there are on <trans-unit id="Add mute item" xml:space="preserve"> <source>Add mute item</source> <target state="new">Add mute item</target> - <note>Title text to indicate user to an add an item to their mutelist.</note> + <note>Button to an add an item to the user's mutelist. +Title text to indicate user to an add an item to their mutelist.</note> </trans-unit> <trans-unit id="Add relay" xml:space="preserve"> <source>Add relay</source> diff --git a/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings b/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings @@ -130,7 +130,7 @@ "comment" : "Button text to add bookmark to a note." }, "Add mute item" : { - "comment" : "Title text to indicate user to an add an item to their mutelist." + "comment" : "Button to an add an item to the user's mutelist.\nTitle text to indicate user to an add an item to their mutelist." }, "Add Photo" : { "comment" : "Label to indicate user can add a photo." 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.