diff --git a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings index 23c7435b..af462436 100644 --- a/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/be.lproj/Localizable.strings @@ -464,6 +464,7 @@ "status.error.loading.message" = "Пры загрузцы паведамленняў адбылася памылка, паўтарыце спробу."; "status.error.message" = "Адбылася памылка ў кантэксце гэтай публікацыі, паспрабуйце яшчэ раз."; "status.error.title" = "Узнікла памылка"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Адфільтравана па: %@"; "status.filter.show-anyway" = "Паказваць у любым выпадку"; "status.image.alt-text.abbreviation" = "Альт."; diff --git a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings index 5e7494a4..dc1bffd1 100644 --- a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings @@ -458,6 +458,7 @@ "status.error.loading.message" = "S'ha produït un error en carregar les publicacions, torneu-ho a provar."; "status.error.message" = "S'ha produït un error en el context d'aquesta publicació, torneu-ho a provar."; "status.error.title" = "S'ha produït un error"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrat per: %@"; "status.filter.show-anyway" = "Mostra de totes maneres"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings index 21f4860a..1cb1a5d8 100644 --- a/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/de.lproj/Localizable.strings @@ -453,6 +453,7 @@ "status.error.loading.message" = "Beim Laden der Beiträge ist ein Fehler aufgetreten. Bitte versuche es erneut."; "status.error.message" = "Es ist ein Fehler aufgetreten. Bitte versuche es erneut."; "status.error.title" = "Ein Fehler ist aufgetreten"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Gefiltert von: %@"; "status.filter.show-anyway" = "Trotzdem anzeigen"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings index 16b9905b..96516c9f 100644 --- a/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en-GB.lproj/Localizable.strings @@ -459,6 +459,7 @@ "status.error.loading.message" = "An error occurred while loading posts, please try again."; "status.error.message" = "An error occurred in the context of this post, please try again."; "status.error.title" = "An error occurred"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtered by: %@"; "status.filter.show-anyway" = "Show anyway"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings index 63628be1..9d4181ee 100644 --- a/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/en.lproj/Localizable.strings @@ -460,6 +460,7 @@ "status.error.loading.message" = "An error occurred while loading posts, please try again."; "status.error.message" = "An error occurred in the context of this post, please try again."; "status.error.title" = "An error occurred"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtered by: %@"; "status.filter.show-anyway" = "Show anyway"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings index 331278f1..1a7c6430 100644 --- a/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/es.lproj/Localizable.strings @@ -460,6 +460,7 @@ "status.error.loading.message" = "Ha ocurrido un error al cargar las publicaciones, por favor, vuelve a intentarlo."; "status.error.message" = "Ha ocurrido un error al cargar el contexto de esta publicación, por favor, vuelve a intentarlo."; "status.error.title" = "Ha ocurrido un error"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrado por: %@"; "status.filter.show-anyway" = "Mostrar de todas formas"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings index 7cc39c9b..d03f66c2 100644 --- a/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/eu.lproj/Localizable.strings @@ -453,6 +453,7 @@ "status.error.loading.message" = "Errorea bidalketak kargatzean; saiatu berriro."; "status.error.message" = "Errorea bidalketa honen testuinguruan; saiatu berriro."; "status.error.title" = "Errorea gertatu da"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Iragazkia: %@"; "status.filter.show-anyway" = "Erakutsi edonola ere"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings index 19cc5956..26ad79ed 100644 --- a/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/fr.lproj/Localizable.strings @@ -455,6 +455,7 @@ "status.error.loading.message" = "Une erreur s'est produite lors du chargement des publications, veuillez réessayer."; "status.error.message" = "Une erreur s'est produite dans le contexte de cette publication, veuillez réessayer."; "status.error.title" = "Une erreur s'est produite"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtré par : %@"; "status.filter.show-anyway" = "Montrer quand même"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings index ba4007b2..a60fa73e 100644 --- a/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/it.lproj/Localizable.strings @@ -459,6 +459,7 @@ "status.error.loading.message" = "Si è verificato un errore durante il caricamento dei post, per favore riprova."; "status.error.message" = "Si è verificato un errore durante il caricamento del post, per favore riprova."; "status.error.title" = "Si è verificato un errore"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrato da: %@"; "status.filter.show-anyway" = "Mostra comunque"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings index c5ddef3a..0aac33c3 100644 --- a/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ja.lproj/Localizable.strings @@ -458,6 +458,7 @@ "status.error.loading.message" = "投稿の読み込み中にエラーが発生しました、もう一度試してください"; "status.error.message" = "この投稿のコンテキストでエラーが発生しました、もう一度試してください"; "status.error.title" = "エラーが発生しました"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "%@ :によりフィルターされました"; "status.filter.show-anyway" = "とりあえず表示"; "status.image.alt-text.abbreviation" = "注釈"; diff --git a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings index beefd73c..148c7f8b 100644 --- a/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ko.lproj/Localizable.strings @@ -462,6 +462,7 @@ "status.error.loading.message" = "글을 불러오지 못했습니다. 다시 시도해주세요."; "status.error.message" = "글의 상세 정보를 불러오지 못했습니다. 다시 시도해주세요."; "status.error.title" = "오류"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "%@ 필터에 의해 가려짐"; "status.filter.show-anyway" = "표시하기"; "status.image.alt-text.abbreviation" = "설명"; diff --git a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings index 29b33707..d18f36e8 100644 --- a/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nb.lproj/Localizable.strings @@ -459,6 +459,7 @@ "status.error.loading.message" = "Det oppsto en feil under innlasting av innlegg, prøv igjen."; "status.error.message" = "Det oppsto en feil i forbindelse med dette innlegget, prøv igjen."; "status.error.title" = "En feil oppstod"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrert etter: %@"; "status.filter.show-anyway" = "Vis uansett"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings index 7b4deda5..34523f8f 100644 --- a/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/nl.lproj/Localizable.strings @@ -453,6 +453,7 @@ "status.error.loading.message" = "Er heeft zich een fout voorgedaan tijdens het laden van je posts. Probeer het nogmaals."; "status.error.message" = "Er heeft zich een fout voorgedaan. Probeer het nogmaals."; "status.error.title" = "Er heeft zich een fout voorgedaan"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Gefilterd op: %@"; "status.filter.show-anyway" = "Laat toch zien"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings index fbed36d3..14fd4e5a 100644 --- a/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pl.lproj/Localizable.strings @@ -455,6 +455,7 @@ "status.error.loading.message" = "Wystąpił błąd podczas ładowania postów, spróbuj ponownie."; "status.error.message" = "Wystąpił błąd dotyczący tego postu, proszę spróbuj ponownie."; "status.error.title" = "Wystąpił błąd"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrowany przez: %@"; "status.filter.show-anyway" = "Pokaż mimo wszystko"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings index 2dcb4aec..2b0bf566 100644 --- a/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/pt-BR.lproj/Localizable.strings @@ -459,6 +459,7 @@ "status.error.loading.message" = "Ocorreu um erro enquanto as postagens eram carregadas, por favor, tente novamente."; "status.error.message" = "Ocorreu um erro com esta postagem, por favor, tente novamente."; "status.error.title" = "Ocorreu um erro"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Filtrado por: %@"; "status.filter.show-anyway" = "Mostrar mesmo assim"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings index 72b777c2..1ff115a4 100644 --- a/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/tr.lproj/Localizable.strings @@ -455,6 +455,7 @@ "status.error.loading.message" = "Gönderi yüklenirken bir hata oluştu, lütfen tekrar deneyin."; "status.error.message" = "Bu gönderi bağlamında bir hata oluştu, lütfen tekrar deneyin."; "status.error.title" = "Bir hata oluştu"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Tarafından filtrelendi: %@"; "status.filter.show-anyway" = "Yine de göster"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings index 55d414f3..9a8d68f9 100644 --- a/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/uk.lproj/Localizable.strings @@ -460,6 +460,7 @@ "status.error.loading.message" = "An error occurred while loading posts, please try again."; "status.error.message" = "An error occurred in the context of this post, please try again."; "status.error.title" = "An error occurred"; +"status.error.posting.title" = "Error while posting"; "status.filter.filtered-by-%@" = "Відфільровано: %@"; "status.filter.show-anyway" = "Всерівно показати"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings index 9b0e1d9f..d77e2bb2 100644 --- a/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/zh-Hans.lproj/Localizable.strings @@ -458,6 +458,7 @@ "status.error.loading.message" = "加载嘟文时发生错误,请重试。"; "status.error.message" = "嘟文的上下文出现了错误,请重试。"; "status.error.title" = "发生了一个错误"; +"status.error.posting.title" = "无法发送嘟文"; "status.filter.filtered-by-%@" = "被 %@ 过滤"; "status.filter.show-anyway" = "仍然显示"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings index aa3c6ca1..a7fea8a0 100644 --- a/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/zh-Hant.lproj/Localizable.strings @@ -461,6 +461,7 @@ "status.error.loading.message" = "下載嘟文時發生錯誤,請再試一次。"; "status.error.message" = "嘟文上下文發生錯誤,請再試一次。"; "status.error.title" = "發生錯誤"; +"status.error.posting.title" = "無法發表嘟文"; "status.filter.filtered-by-%@" = "依 %@ 過濾"; "status.filter.show-anyway" = "仍然顯示"; "status.image.alt-text.abbreviation" = "ALT"; diff --git a/Packages/Status/Sources/Status/Editor/StatusEditorView.swift b/Packages/Status/Sources/Status/Editor/StatusEditorView.swift index bf120800..b8b14bd0 100644 --- a/Packages/Status/Sources/Status/Editor/StatusEditorView.swift +++ b/Packages/Status/Sources/Status/Editor/StatusEditorView.swift @@ -96,10 +96,10 @@ public struct StatusEditorView: View { .background(theme.primaryBackgroundColor) .navigationTitle(viewModel.mode.title) .navigationBarTitleDisplayMode(.inline) - .alert("Error while posting", + .alert("status.error.posting.title", isPresented: $viewModel.showPostingErrorAlert, actions: { - Button("Ok") {} + Button("OK") {} }, message: { Text(viewModel.postingError ?? "") })