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,7 +15,7 @@
<key>one</key> <key>one</key>
<string>%lld nouveau post</string> <string>%lld nouveau post</string>
<key>other</key> <key>other</key>
<string>%lld nouveaux postes</string> <string>%lld nouveaux posts</string>
</dict> </dict>
</dict> </dict>
<key>notifications-others-count %lld</key> <key>notifications-others-count %lld</key>

View file

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

View file

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