From e0df2f353b5de7da55ff6466f6ffac9a9e3eb05c Mon Sep 17 00:00:00 2001 From: Pierre-Yves Lapersonne Date: Mon, 11 May 2026 17:24:07 +0200 Subject: [PATCH] fix: missing french translations for at least toot toast publications (Dimillian/IceCubesApp#2430) Some translations were missing in french. It implied some issues for example in the bug Dimillian/IceCubesApp#2430, where toast of publications status were not translated and wordking key displayed instead. In addition, for notifications pane, two wordings were hard-coded in english. Thus two new entries have been added in the localizables file. Translations have been brought for english and french. For other languages, to preven the display of the wording key and keep the english wording displayed, the english wordings have been copied. Related to Dimillian/IceCubesApp#2430 Signed-off-by: Pierre-Yves Lapersonne --- .../Localization/Localizable.xcstrings | 532 +++++++++++++++++- .../Models/NotificationTypeExt.swift | 20 +- 2 files changed, 536 insertions(+), 16 deletions(-) diff --git a/IceCubesApp/Resources/Localization/Localizable.xcstrings b/IceCubesApp/Resources/Localization/Localizable.xcstrings index 862717ab9..ff7cc3d09 100644 --- a/IceCubesApp/Resources/Localization/Localizable.xcstrings +++ b/IceCubesApp/Resources/Localization/Localizable.xcstrings @@ -27,6 +27,12 @@ "value" : "" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -921,6 +927,12 @@ "value" : "%lld" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -20558,6 +20570,12 @@ "value" : "Añadir @ y # directamente al teclado para menciones y hashtags más rápidos" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Ajoute les touches @ et # directement sur le clavier pour faire plus rapidement des mentions et des hashtags." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -20816,6 +20834,12 @@ "value" : "Texto ALT para la imagen" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Texte alternatif pour les images" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -20920,6 +20944,12 @@ "value" : "Versiones de la API" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Versions des API" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -21214,6 +21244,12 @@ "value" : "Comportamiento del botón de Republicar" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Comportement du bouton de boost" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -21248,6 +21284,12 @@ "value" : "Leyenda" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Légende" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -21282,6 +21324,12 @@ "value" : "Leyenda para tu publicación" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Légende pour votre publication" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -23177,6 +23225,12 @@ "value" : "Descripciones (ALT) para tus imágenes en orden" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Descriptions (ALT) pour vos images" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -27586,6 +27640,12 @@ "value" : "Error: %@" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Erreur : %@" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -29271,8 +29331,8 @@ }, "fr" : { "stringUnit" : { - "state" : "needs_review", - "value" : "Liens tendance" + "state" : "translated", + "value" : "Nouveautés" } }, "it" : { @@ -29906,6 +29966,12 @@ "value" : "Obtiene todas las nuevas publicaciones de la cronología (hasta 800) en lugar de las últimas 40, permitiendo rellenar los huecos" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Récupère toutes les nouveaux fils d’actualités (jusque 800) plutôt qu’uniquement les 40 derniers, et charge manuellement la différence." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32324,6 +32390,12 @@ "value" : "Obtener toda la cronología" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Récupération de tout le fil d’actualité" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32486,6 +32558,12 @@ "value" : "Descripción de la imagen" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Description de l’image" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32520,6 +32598,12 @@ "value" : "Descripciones de las imágenes" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Descriptions de l’image" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32618,6 +32702,12 @@ "value" : "Imagen(es) para publicar en Mastodon" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Image(s) à publier sur Mastodon" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32652,6 +32742,12 @@ "value" : "Imágenes" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Images" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -32757,6 +32853,12 @@ "value" : "Administrador de la Instancia" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Administrateur de l’instance" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -34388,6 +34490,12 @@ "value" : "Mantiene tu cronología de inicio en tiempo real usando streaming cuando esté disponible. Deshabilitar en caso de problemas de rendimiento." } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Maintient votre fil d'actualité personnel à jour en temps réel grâce au streaming (lorsqu'il est disponible). Désactivez cette fonction en cas de problèmes de performance." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37180,6 +37288,12 @@ "value" : "Métricas" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Métriques" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37202,6 +37316,12 @@ "value" : "Usuarios Activos Mensuales" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Utilisateurs mensuels actifs" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37306,6 +37426,12 @@ "value" : "Ninguna imagen proporcionada para publicar." } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Pas d’image fournies à publier" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37758,6 +37884,12 @@ "value" : "Cuentas moderadas" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Comptes modérés" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37787,6 +37919,12 @@ "value" : "Limitado por los moderadores del servidor" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Limité par les modérateurs du serveur" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -37935,6 +38073,12 @@ "value" : "Creado durante los últimos 30 días" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Crées ces 30 derniers jours" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -38083,6 +38227,12 @@ "value" : "Y siguiéndote desde hace menos de tres días" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Et vous suivant depuis moins de 3 jours" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -38231,6 +38381,12 @@ "value" : "Hasta tu aprobación manual" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Jusque ce que vous les approuvez manuellement" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -38379,6 +38535,12 @@ "value" : "Salvo si estás respondiendo a tu propia mención o si sigues al remitente" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sauf si c'est en réponse à votre propre mention ou si vous suivez l'expéditeur." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -38527,6 +38689,12 @@ "value" : "Seleccionar" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sélectionner" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -38556,6 +38724,12 @@ "value" : "Seleccionar todo" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tout sélectionner" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -41995,6 +42169,244 @@ } } }, + "notifications.menu-title.quote" : { + "extractionState" : "manual", + "localizations" : { + "be" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "ca" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "en-GB" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "eu" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Citation" + } + }, + "it" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "ko" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "nb" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "nl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "pl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "tr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "uk" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "Quote" + } + } + } + }, + "notifications.menu-title.quote-updated" : { + "extractionState" : "manual", + "localizations" : { + "be" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "ca" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "de" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "en-GB" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "es" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "eu" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Citation mise à jour" + } + }, + "it" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "ja" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "ko" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "nb" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "nl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "pl" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "tr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "uk" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "translated", + "value" : "Updated quote" + } + } + } + }, "notifications.menu-title.reblog" : { "extractionState" : "manual", "localizations" : { @@ -43443,6 +43855,12 @@ "value" : "%lld imagen(es) publicada(s) en Mastodon" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Publier %lld image(s) sur Mastodon" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -44621,6 +45039,12 @@ "value" : "Envía una imagen o múltiples imágenes a Mastodon con Ice Cubes sin abrir la aplicación" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Envoyez une ou plusieurs images à Mastodon avec Ice Cubes sans ouvrir l'application." + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -44655,6 +45079,12 @@ "value" : "Enviar imagen(es) (segundo plano)" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Envoyer les images (en arrière plan)" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -44689,6 +45119,12 @@ "value" : "Enviar imagen(es) a Mastodon" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Envoyer les images sur Mastodon" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -48875,6 +49311,12 @@ "value" : "Avatares y encabezados animados" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Avatars animés et en-têtes" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -55264,6 +55706,12 @@ "value" : "Habilitar emojis animados" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Activer les emojis animés" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -77946,6 +78394,24 @@ } } }, + "fr" : { + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld citation" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%lld citations" + } + } + } + } + }, "it" : { "variations" : { "plural" : { @@ -78833,6 +79299,12 @@ "value" : "Actualizar cronología principal en tiempo real" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Streaming du file d’actualité principal" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -82374,6 +82846,12 @@ "value" : "Hide posts from bots" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Cacher les publications des robots" + } + }, "nl" : { "stringUnit" : { "state" : "translated", @@ -82428,8 +82906,8 @@ }, "fr" : { "stringUnit" : { - "state" : "needs_review", - "value" : "Hide posts with media" + "state" : "translated", + "value" : "Cacher les publications avec des médias" } }, "it" : { @@ -83022,7 +83500,7 @@ "fr" : { "stringUnit" : { "state" : "translated", - "value" : "Afficher les Réponses" + "value" : "Afficher les réponses" } }, "it" : { @@ -83141,7 +83619,7 @@ "fr" : { "stringUnit" : { "state" : "translated", - "value" : "Afficher Threads" + "value" : "Afficher les fils" } }, "it" : { @@ -85053,6 +85531,12 @@ "value" : "Guardado como borrador" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Sauvegardé dans les brouillons" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85088,6 +85572,12 @@ "value" : "Publicación enviada" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Publication envoyée" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85123,6 +85613,12 @@ "value" : "Publicando" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Envoi de la publication" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85158,6 +85654,12 @@ "value" : "No fue posible eliminar la publicación" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Impossible de supprimer la publication" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85193,6 +85695,12 @@ "value" : "Publicación eliminada" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Publication supprimée" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85228,6 +85736,12 @@ "value" : "Eliminando publicación" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Suppression de la publication" + } + }, "it" : { "stringUnit" : { "state" : "translated", @@ -85820,6 +86334,12 @@ "value" : "Truncar contenido del estado" } }, + "fr" : { + "stringUnit" : { + "state" : "translated", + "value" : "Tronquer le contenu des publications" + } + }, "it" : { "stringUnit" : { "state" : "translated", diff --git a/Packages/Notifications/Sources/Notifications/Models/NotificationTypeExt.swift b/Packages/Notifications/Sources/Notifications/Models/NotificationTypeExt.swift index 0177ab016..d29889b7a 100644 --- a/Packages/Notifications/Sources/Notifications/Models/NotificationTypeExt.swift +++ b/Packages/Notifications/Sources/Notifications/Models/NotificationTypeExt.swift @@ -99,25 +99,25 @@ extension Models.Notification.NotificationType { func menuTitle() -> LocalizedStringKey { switch self { case .status: - "notifications.menu-title.status" + "notifications.menu-title.status" case .mention: - "notifications.menu-title.mention" + "notifications.menu-title.mention" case .reblog: - "notifications.menu-title.reblog" + "notifications.menu-title.reblog" case .follow: - "notifications.menu-title.follow" + "notifications.menu-title.follow" case .follow_request: - "notifications.menu-title.follow-request" + "notifications.menu-title.follow-request" case .favourite: - "notifications.menu-title.favorite" + "notifications.menu-title.favorite" case .poll: - "notifications.menu-title.poll" + "notifications.menu-title.poll" case .update: - "notifications.menu-title.update" + "notifications.menu-title.update" case .quote: - "Quote" + "notifications.menu-title.quote" case .quoted_update: - "Quote updated" + "notifications.menu-title.quote-updated" } } }