From 4d01340b909e88598485a6a76cecbec3eee7ab07 Mon Sep 17 00:00:00 2001
From: Terry Yiu <963907+tyiu@users.noreply.github.com>
Date: Tue, 3 Dec 2024 17:12:34 -0500
Subject: [PATCH] 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>
---
damus/Views/Muting/AddMuteItemView.swift | 2 +-
.../Localized Contents/en-US.xliff | 6 ++++--
.../damus/Localizable.xcstrings | 2 +-
.../damus/en-US.lproj/Localizable.strings | Bin 168794 -> 168898 bytes
4 files changed, 6 insertions(+), 4 deletions(-)
diff --git a/damus/Views/Muting/AddMuteItemView.swift b/damus/Views/Muting/AddMuteItemView.swift
index 1302534d..e1b802ae 100644
--- 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
index 23f85379..9ba27571 100644
--- 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
Add mute itemAdd mute item
- Title text to indicate user to an add an item to their mutelist.
+ Button to an add an item to the user's mutelist.
+Title text to indicate user to an add an item to their mutelist.Add relay
@@ -3666,7 +3667,8 @@ Sentence composed of 2 variables to describe how many zap payments there are on
Add mute itemAdd mute item
- Title text to indicate user to an add an item to their mutelist.
+ Button to an add an item to the user's mutelist.
+Title text to indicate user to an add an item to their mutelist.Add relay
diff --git a/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings b/damus/en-US.xcloc/Source Contents/damus/Localizable.xcstrings
index cb658311..62942d6d 100644
--- 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
index 76e31749865b33e2045d0d604bb8df198af1fbbe..9930e326c1237013b28fab316fa58ec1326b6ff7 100644
GIT binary patch
delta 51
zcmV-30L=f|rV7HR3b0^6lTfV`lXyZ9ldeD-m(T(M3X^WR29q3p8k0IgPJ^yMhps>Y
Jx2`|}tWqR+6iomC
delta 31
ncmX@Koa@#yt_=we(*+zDc_y!Oa%vWHY!`E6+%D$Gv?d4u!14;t