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>
This commit is contained in:
2024-12-03 17:12:34 -05:00
committed by Daniel D’Aquino
parent 61b89c2f54
commit 4d01340b90
4 changed files with 6 additions and 4 deletions

View File

@@ -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)

View File

@@ -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>

View File

@@ -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."