From 3d63ea4642d0a6ff5402caa5eb8b1e01960b7241 Mon Sep 17 00:00:00 2001 From: Chanhwi Joo <56245920+te6-in@users.noreply.github.com> Date: Sun, 26 Mar 2023 01:16:22 +0900 Subject: [PATCH] Make "Edit History" navigation title localizable (#1302) --- IceCubesApp/Resources/Localization/be.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/de.lproj/Localizable.strings | 1 + .../Resources/Localization/en-GB.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/en.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/es.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/it.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings | 1 + .../Resources/Localization/pt-BR.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings | 1 + IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings | 1 + .../Resources/Localization/zh-Hans.lproj/Localizable.strings | 1 + .../Resources/Localization/zh-Hant.lproj/Localizable.strings | 1 + .../Status/Sources/Status/History/StatusEditHistoryView.swift | 2 +- 20 files changed, 20 insertions(+), 1 deletion(-) diff --git a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings index d899669f..1f9ffe47 100644 --- a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings @@ -487,6 +487,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld павышаных"; "status.summary.n-favorites %lld" = "%lld улюбёных"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Прыватны"; "status.visibility.follower" = "Паслядоўнікі"; "status.visibility.public" = "Усе"; diff --git a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings index 91fb0991..4ae1a6ba 100644 --- a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings @@ -481,6 +481,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld impulsos"; "status.summary.n-favorites %lld" = "%lld preferits"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privat"; "status.visibility.follower" = "Seguidors"; "status.visibility.public" = "Tothom"; diff --git a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings index ec13e7a6..baa4692e 100644 --- a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings @@ -478,6 +478,7 @@ "status.summary.n-boosts %lld" = "%lld Boosts"; "status.summary.n-favorites %lld" = "%lld Favoriten"; "status.summary.edited-time" = "Zuletzt bearbeitet: "; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Direkt"; "status.visibility.follower" = "Follower"; "status.visibility.public" = "Öffentlich"; diff --git a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings index 82a64759..d1afec32 100644 --- a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favourites"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Private"; "status.visibility.follower" = "Followers"; "status.visibility.public" = "Everyone"; diff --git a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings index b438594d..7324bee5 100644 --- a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings @@ -483,6 +483,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favorites"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Private"; "status.visibility.follower" = "Followers"; "status.visibility.public" = "Everyone"; diff --git a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings index 69f4b784..853fccfc 100644 --- a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings @@ -483,6 +483,7 @@ "status.summary.n-replies %lld" = "%lld respuestas"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favoritos"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privado"; "status.visibility.follower" = "Sólo seguidores"; "status.visibility.public" = "Todo el mundo"; diff --git a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings index aaf347ca..48281a1d 100644 --- a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings @@ -472,6 +472,7 @@ "status.show-full-post" = "Erakutsi osorik"; "status.summary.at-time" = " · "; "status.summary.edited-time" = "Azkenekoz editatua: "; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Aipatutakoak"; "status.visibility.follower" = "Jarraitzaileak"; "status.visibility.public" = "Publikoa"; diff --git a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings index fe7b3636..ce69b0e2 100644 --- a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings @@ -478,6 +478,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favoris"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privé"; "status.visibility.follower" = "Abonnés"; "status.visibility.public" = "Tout le monde"; diff --git a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings index ac716279..76a5745f 100644 --- a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld condivisioni"; "status.summary.n-favorites %lld" = "%lld preferiti"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privato"; "status.visibility.follower" = "Solo ai follower"; "status.visibility.public" = "A tutti"; diff --git a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings index ca6f03ed..c7f88253 100644 --- a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld 件の返信"; "status.summary.n-boosts %lld" = "%lld ブースト"; "status.summary.n-favorites %lld" = "%lld お気に入り"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "指定された相手のみ"; "status.visibility.follower" = "フォロワーのみ"; "status.visibility.public" = "公開"; diff --git a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings index 9fe99f25..5dadfe0e 100644 --- a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings @@ -484,6 +484,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "부스트 %lld회"; "status.summary.n-favorites %lld" = "좋아요 %lld회"; +"status.summary.edit-history" = "글 수정 기록"; "status.visibility.direct" = "언급된 사용자만"; "status.visibility.follower" = "팔로워만"; "status.visibility.public" = "공개"; diff --git a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings index 65a6b3bc..245aa00b 100644 --- a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld forsterkninger"; "status.summary.n-favorites %lld" = "%lld favoritter"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privat"; "status.visibility.follower" = "Følgere"; "status.visibility.public" = "Alle"; diff --git a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings index ee1eb5d2..c3861453 100644 --- a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings @@ -476,6 +476,7 @@ "status.summary.n-replies %lld" = "%lld antwoorden"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favorieten"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Direct bericht"; "status.visibility.follower" = "Alleen volgers"; "status.visibility.public" = "Openbaar"; diff --git a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings index 36d6f4a6..74312fe0 100644 --- a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings @@ -473,6 +473,7 @@ "status.show-full-post" = "Pokaż cały post"; "status.summary.at-time" = " o "; "status.summary.edited-time" = "Ostatnia edycja: "; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Post bezpośredni"; "status.visibility.follower" = "Tylko obserwujący"; "status.visibility.public" = "Publiczny"; diff --git a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings index fcf54307..ba732297 100644 --- a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld boosts"; "status.summary.n-favorites %lld" = "%lld favoritos"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Privado"; "status.visibility.follower" = "Seguidores"; "status.visibility.public" = "Todos"; diff --git a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings index 5a2a4185..36d0a618 100644 --- a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings @@ -478,6 +478,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld yükseltmeler"; "status.summary.n-favorites %lld" = "%lld favoriler"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Gizli"; "status.visibility.follower" = "Takipçiler"; "status.visibility.public" = "Herkes"; diff --git a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings index 57b9cdfd..dfec4d8c 100644 --- a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings @@ -483,6 +483,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld поширень"; "status.summary.n-favorites %lld" = "%lld вподобань"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "Особисте"; "status.visibility.follower" = "Підписникам"; "status.visibility.public" = "Усім"; diff --git a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings index d5222f08..9fd5d72a 100644 --- a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings @@ -481,6 +481,7 @@ "status.summary.n-replies %lld" = "%lld 个回复"; "status.summary.n-boosts %lld" = "%lld 转发"; "status.summary.n-favorites %lld" = "%lld 喜欢"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "私密"; "status.visibility.follower" = "粉丝"; "status.visibility.public" = "所有人"; diff --git a/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings index ee01449a..d50bd5f8 100644 --- a/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings @@ -482,6 +482,7 @@ "status.summary.n-replies %lld" = "%lld replies"; "status.summary.n-boosts %lld" = "%lld 轉嘟"; "status.summary.n-favorites %lld" = "%lld 最愛"; +"status.summary.edit-history" = "Edit History"; "status.visibility.direct" = "私訊"; "status.visibility.follower" = "跟隨者"; "status.visibility.public" = "所有人"; diff --git a/Packages/Status/Sources/Status/History/StatusEditHistoryView.swift b/Packages/Status/Sources/Status/History/StatusEditHistoryView.swift index 986c46e1..fa7eedfe 100644 --- a/Packages/Status/Sources/Status/History/StatusEditHistoryView.swift +++ b/Packages/Status/Sources/Status/History/StatusEditHistoryView.swift @@ -51,7 +51,7 @@ public struct StatusEditHistoryView: View { Button("action.done", action: { dismiss() }) } } - .navigationTitle("Edit History") + .navigationTitle("status.summary.edit-history") .navigationBarTitleDisplayMode(.inline) .task { do {