From 45704e6d0dc6dec2b92b69db3dfc99f8ffd167b0 Mon Sep 17 00:00:00 2001 From: Thomas Ricouard Date: Sat, 28 Jan 2023 18:47:22 +0100 Subject: [PATCH] Fix Catalan addition --- .../ca.lproj/InfoPlist.strings | 9 +++++ IceCubesApp.xcodeproj/project.pbxproj | 7 ++++ .../Plurals/ca.lproj/Localizable.stringsdict | 38 +++++++++++++++++++ .../Plurals/{ => ca.lproj}/ca.lproj | 0 .../Localization/ca.lproj/Localizable.strings | 11 +++--- 5 files changed, 59 insertions(+), 6 deletions(-) create mode 100644 IceCubesActionExtension/ca.lproj/InfoPlist.strings create mode 100644 IceCubesApp/Resources/Localization/Plurals/ca.lproj/Localizable.stringsdict rename IceCubesApp/Resources/Localization/Plurals/{ => ca.lproj}/ca.lproj (100%) diff --git a/IceCubesActionExtension/ca.lproj/InfoPlist.strings b/IceCubesActionExtension/ca.lproj/InfoPlist.strings new file mode 100644 index 00000000..562aa6ea --- /dev/null +++ b/IceCubesActionExtension/ca.lproj/InfoPlist.strings @@ -0,0 +1,9 @@ +/* + InfoPlist.strings + IceCubesApp + + Created by Thomas Durand on 27/01/2023. + +*/ + +"CFBundleDisplayName" = "Open in Ice Cubes"; diff --git a/IceCubesApp.xcodeproj/project.pbxproj b/IceCubesApp.xcodeproj/project.pbxproj index 4dbaf9ab..f04c817f 100644 --- a/IceCubesApp.xcodeproj/project.pbxproj +++ b/IceCubesApp.xcodeproj/project.pbxproj @@ -198,6 +198,9 @@ 9FCBB3D02984EFD5009B77EE /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = pl; path = pl.lproj/Localizable.stringsdict; sourceTree = ""; }; 9FCBB3D12984EFD5009B77EE /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/Localizable.strings; sourceTree = ""; }; 9FCBB3D22984EFD5009B77EE /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = ""; }; + 9FCBB3D329859615009B77EE /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/Localizable.strings; sourceTree = ""; }; + 9FCBB3D429859615009B77EE /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/InfoPlist.strings; sourceTree = ""; }; + 9FCBB3D52985965D009B77EE /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.stringsdict; name = ca; path = ca.lproj/Localizable.stringsdict; sourceTree = ""; }; 9FD34822293D06E800DB0EE9 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 9FD542E52962D2CE0045321A /* Lists */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = Lists; path = Packages/Lists; sourceTree = ""; }; 9FE151A5293C90F900E9683D /* IconSelectorView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IconSelectorView.swift; sourceTree = ""; }; @@ -607,6 +610,7 @@ "pt-BR", nb, pl, + ca, ); mainGroup = 9FBFE630292A715500C250E9; packageReferences = ( @@ -765,6 +769,7 @@ 56B5BC132984206F00CF3A98 /* pt-BR */, 8C27D977298471E900CDF593 /* nb */, 9FCBB3D02984EFD5009B77EE /* pl */, + 9FCBB3D52985965D009B77EE /* ca */, ); name = Localizable.stringsdict; sourceTree = ""; @@ -775,6 +780,7 @@ E970C10929845A9400E88A8C /* en */, 8C27D979298471E900CDF593 /* nb */, 9FCBB3D22984EFD5009B77EE /* pl */, + 9FCBB3D429859615009B77EE /* ca */, ); name = InfoPlist.strings; sourceTree = ""; @@ -794,6 +800,7 @@ 56B5BC142984206F00CF3A98 /* pt-BR */, 8C27D978298471E900CDF593 /* nb */, 9FCBB3D12984EFD5009B77EE /* pl */, + 9FCBB3D329859615009B77EE /* ca */, ); name = Localizable.strings; sourceTree = ""; diff --git a/IceCubesApp/Resources/Localization/Plurals/ca.lproj/Localizable.stringsdict b/IceCubesApp/Resources/Localization/Plurals/ca.lproj/Localizable.stringsdict new file mode 100644 index 00000000..f626910d --- /dev/null +++ b/IceCubesApp/Resources/Localization/Plurals/ca.lproj/Localizable.stringsdict @@ -0,0 +1,38 @@ + + + + + timeline-new-posts %lld + + NSStringLocalizedFormatKey + %#@timelineNewPosts@ + timelineNewPosts + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + lld + one + %lld new post + other + %lld new posts + + + notifications-others-count %lld + + NSStringLocalizedFormatKey + %#@noficationsOthersCount@ + noficationsOthersCount + + NSStringFormatSpecTypeKey + NSStringPluralRuleType + NSStringFormatValueTypeKey + lld + one + and %lld other + other + and %lld others + + + + diff --git a/IceCubesApp/Resources/Localization/Plurals/ca.lproj b/IceCubesApp/Resources/Localization/Plurals/ca.lproj/ca.lproj similarity index 100% rename from IceCubesApp/Resources/Localization/Plurals/ca.lproj rename to IceCubesApp/Resources/Localization/Plurals/ca.lproj/ca.lproj diff --git a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings index d7214f21..d28e1302 100644 --- a/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings +++ b/IceCubesApp/Resources/Localization/ca.lproj/Localizable.strings @@ -1,4 +1,3 @@ -// MARK: Common strings "action.cancel" = "Cancel·la"; "action.delete" = "Elimina"; "action.save" = "Desa"; @@ -15,7 +14,7 @@ "see-more" = "Mostra'n més"; // MARK: Common strings -"account.add.error.instance-not-supported" = "Aquesta instància no està suportada actualment." +"account.add.error.instance-not-supported" = "Aquesta instància no està suportada actualment."; "account.add.navigation-title" = "Afegeix un compte"; "account.add.sign-in" = "Inicia sessió"; @@ -40,7 +39,7 @@ "instance.info.section.rules" = "Normes de la instància"; "instance.info.users" = "Usuaris"; "instance.info.version" = "Versió"; -"instance.list.posts-%@" = "%" publicacions"; +"instance.list.posts-%@" = "% publicacions"; "instance.list.users-%@" = "%@ usuaris"; "instance.suggestions" = "Suggeriments"; "instance.url" = "URL de la instància"; @@ -176,7 +175,7 @@ "account.edit.account-settings.private" = "Privat"; "account.edit.account-settings.section-title" = "Configuració del compte"; "account.edit.display-name" = "Nom a mostrar"; -"account.edit.error.save.message" = "Error en desar el perfil, torneu-ho a provar." +"account.edit.error.save.message" = "Error en desar el perfil, torneu-ho a provar."; "account.edit.error.save.title" = "Error en desar el perfil"; "account.edit.navigation-title" = "Edita el perfil"; "account.edit.post-settings.privacy" = " Privadesa per defecte"; @@ -189,7 +188,7 @@ "account.follow-request.accept" = "Accepta"; "account.follow-request.reject" = "Rebutja"; "account.follow-requests.pending-requests" = "Sol·licituds pendents"; -"account.follow-requests.instructions" = "Aquests usuaris no veuran les vostres entrades fins que les accepteu." +"account.follow-requests.instructions" = "Aquests usuaris no veuran les vostres entrades fins que les accepteu."; "compte.followers" = "Seguidors"; "account.following" = "Seguits"; "account.list.create" = "Crea una llista"; @@ -206,7 +205,7 @@ // MARK: Package: Conversations "conversations.action.delete" = "Elimina"; "conversations.action.mark-read" = "Marca com a llegit"; -"conversations.empty.message" = "Esteu buscant l'amor a les xarxes socials?" Aquí trobareu tots els vostres missatges directes i mencions privades. Bona conversa! 📱❤️"; +"conversations.empty.message" = "Esteu buscant l'amor a les xarxes socials? Aquí trobareu tots els vostres missatges directes i mencions privades. Bona conversa! 📱❤️"; "conversations.empty.title" = "Safata d'entrada"; "conversations.error.button" = "Reintenta"; "conversations.error.message" = "Error en carregar els missatges";