Fix french localizations (#476)

* Fix french plurals

* Fix english

* More French translations fixes

* Switching relative date formatter

---------

Co-authored-by: Thomas Ricouard <ricouard77@gmail.com>
This commit is contained in:
Jérôme Danthinne 2023-01-28 18:40:23 +01:00 committed by GitHub
parent 256634f0c9
commit 2360c5f4db
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 91 additions and 91 deletions

View file

@ -15,88 +15,88 @@
<key>one</key>
<string>%lld nouveau post</string>
<key>other</key>
<string>%lld nouveaux postes</string>
<string>%lld nouveaux posts</string>
</dict>
</dict>
<key>notifications-others-count %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@noficationsOthersCount@</string>
<key>noficationsOthersCount</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string> et %lld autre </string>
<key>other</key>
<string> et %lld autres </string>
</dict>
</dict>
<key>notifications.label.mention %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>vous a mentionné</string>
<key>other</key>
<string>vous ont mentionné</string>
</dict>
</dict>
<key>notifications.label.follow %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>vous suit</string>
<key>other</key>
<string>vous suivent</string>
</dict>
</dict>
<key>notifications.label.reblog %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>a boosté</string>
<key>other</key>
<string>ont boosté</string>
</dict>
</dict>
<key>notifications.label.favorite %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>aime</string>
<key>other</key>
<string>aiment</string>
</dict>
</dict>
<key>notifications-others-count %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@noficationsOthersCount@</string>
<key>noficationsOthersCount</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string> et %lld autre </string>
<key>other</key>
<string> et %lld autres </string>
</dict>
</dict>
<key>notifications.label.mention %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>vous a mentionné</string>
<key>other</key>
<string>vous ont mentionné</string>
</dict>
</dict>
<key>notifications.label.follow %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>vous suit</string>
<key>other</key>
<string>vous suivent</string>
</dict>
</dict>
<key>notifications.label.reblog %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>a boosté</string>
<key>other</key>
<string>ont boosté</string>
</dict>
</dict>
<key>notifications.label.favorite %lld</key>
<dict>
<key>NSStringLocalizedFormatKey</key>
<string>%#@count@</string>
<key>count</key>
<dict>
<key>NSStringFormatSpecTypeKey</key>
<string>NSStringPluralRuleType</string>
<key>NSStringFormatValueTypeKey</key>
<string>lld</string>
<key>one</key>
<string>aime</string>
<key>other</key>
<string>aiment</string>
</dict>
</dict>
</dict>
</plist>

View file

@ -9,8 +9,8 @@
"alert.button.ok" = "OK";
"alert.error" = "Erreur!";
"placeholder.loading.long" = "Chargement, chargement, chargement ...";
"placeholder.loading.short" = "Chargement ...";
"placeholder.loading.long" = "Chargement, chargement, chargement";
"placeholder.loading.short" = "Chargement";
"see-more" = "Voir plus";
@ -22,7 +22,7 @@
// MARK: Enums
"enum.avatar-position.leading" = "En tête";
"enum.avatar-position.top" = "En haut";
"enum.avatar-shape.circle" = "Cercle";
"enum.avatar-shape.circle" = "Rond";
"enum.avatar-shape.rounded" = "Arrondi";
"enum.status-actions-display.all" = "Tout";
"enum.status-actions-display.no-buttons" = "Pas de boutons";
@ -112,7 +112,7 @@
"settings.support.navigation-title" = "Soutenez Ice Cubes";
"settings.support.one.subtitle" = "Petit, mais mignon, et c'est bon !";
"settings.support.one.title" = "🍬 Petite contribution";
"settings.support.placeholder.loading-subtitle" = "Chargement sous-titre ...";
"settings.support.placeholder.loading-subtitle" = "Chargement sous-titre";
"settings.support.three.subtitle" = "Vous êtes fou, merci beaucoup !";
"settings.support.three.title" = "🤯 Contribution généreuse";
"settings.support.two.subtitle" = "J'aime le goût d'un café chic ❤️";
@ -366,11 +366,11 @@
"filter.edit.contexts" = "Contextes du filtre";
"filter.edit.action" = "Action du filtre";
"account.action.edit-filters" = "Éditer les filtres";
"filter.contexts.home" = "Home and lists";
"filter.contexts.home" = "Accueil et listes";
"filter.contexts.notifications" = "Notifications";
"filter.contexts.public" = "Public timelines";
"filter.contexts.public" = "Chronologie publique";
"filter.contexts.conversations" = "Conversations";
"filter.contexts.profiles" = "Profiles";
"filter.action.warning" = "Hide with a warning";
"filter.action.hide" = "Hide completely";
"filter.contexts.profiles" = "Profils";
"filter.action.warning" = "Cacher avec avertissement";
"filter.action.hide" = "Cacher complètement";

View file

@ -13,7 +13,7 @@ extension ServerDate {
private static var createdAtRelativeFormatter: RelativeDateTimeFormatter = {
let dateFormatter = RelativeDateTimeFormatter()
dateFormatter.unitsStyle = .abbreviated
dateFormatter.unitsStyle = .short
return dateFormatter
}()