From 6163872de895ab46407618d7fed5057e623ba6eb Mon Sep 17 00:00:00 2001 From: Josh Brown Date: Fri, 26 Apr 2024 15:08:39 -0400 Subject: [PATCH 1/2] =?UTF-8?q?#1081:=20Change=20=E2=80=9CReport=20user?= =?UTF-8?q?=E2=80=9D=20to=20=E2=80=9CFlag=20this=20user=E2=80=9D;=20make?= =?UTF-8?q?=20it=20non-destructive?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Nos/Assets/Localization/Localizable.xcstrings | 106 +++++++++--------- Nos/Views/Profile/ProfileView.swift | 2 +- 2 files changed, 54 insertions(+), 54 deletions(-) diff --git a/Nos/Assets/Localization/Localizable.xcstrings b/Nos/Assets/Localization/Localizable.xcstrings index 5851713ef..0ebbc763b 100644 --- a/Nos/Assets/Localization/Localizable.xcstrings +++ b/Nos/Assets/Localization/Localizable.xcstrings @@ -4231,6 +4231,59 @@ } } }, + "flagUser" : { + "extractionState" : "manual", + "localizations" : { + "de" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Benutzer melden" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Flag this user" + } + }, + "fa" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "گزارش کاربر" + } + }, + "ja" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "ユーザーを報告する" + } + }, + "nl" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Rapporteer gebruiker" + } + }, + "sv" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "Rapportera användare" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "举报用户" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "needs_review", + "value" : "舉報用戶" + } + } + } + }, "follow" : { "extractionState" : "manual", "localizations" : { @@ -10096,59 +10149,6 @@ } } }, - "reportUser" : { - "extractionState" : "manual", - "localizations" : { - "de" : { - "stringUnit" : { - "state" : "translated", - "value" : "Benutzer melden" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Report user" - } - }, - "fa" : { - "stringUnit" : { - "state" : "translated", - "value" : "گزارش کاربر" - } - }, - "ja" : { - "stringUnit" : { - "state" : "translated", - "value" : "ユーザーを報告する" - } - }, - "nl" : { - "stringUnit" : { - "state" : "translated", - "value" : "Rapporteer gebruiker" - } - }, - "sv" : { - "stringUnit" : { - "state" : "translated", - "value" : "Rapportera användare" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "translated", - "value" : "举报用户" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "translated", - "value" : "舉報用戶" - } - } - } - }, "repost" : { "extractionState" : "manual", "localizations" : { diff --git a/Nos/Views/Profile/ProfileView.swift b/Nos/Views/Profile/ProfileView.swift index 640768185..cb6b823e0 100644 --- a/Nos/Views/Profile/ProfileView.swift +++ b/Nos/Views/Profile/ProfileView.swift @@ -178,7 +178,7 @@ struct ProfileView: View { } } - Button(String(localized: .localizable.reportUser), role: .destructive) { + Button(String(localized: .localizable.flagUser)) { showingReportMenu = true } } From d5ec4fb7d6edaa46a67fb921f501de8e62b40608 Mon Sep 17 00:00:00 2001 From: Josh Brown Date: Fri, 26 Apr 2024 15:14:38 -0400 Subject: [PATCH 2/2] update CHANGELOG --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f7dfbaa6e..8f98769a4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed an issue where users named with valid urls were unable to be mentioned correctly. - Fixed an issue where pasting an npub while composing a note created an invalid mention. - Changed "Report note" button to "Flag this content" +- Changed "Report user" button to "Flag this user" - We are now publishing the relay list when registering a new NIP-05 username so that other users can find you more easily.