From 7d6c8f5ee143ebccedc648d656873201fb30e020 Mon Sep 17 00:00:00 2001 From: sahil-sahu-dev Date: Sat, 7 Jan 2023 20:35:10 +0530 Subject: [PATCH 1/5] Added 2 placeholder texts in the compose view. Showing one of three options randomly --- .../xcshareddata/xcschemes/Mastodon.xcscheme | 1 + .../xcshareddata/swiftpm/Package.resolved | 12 ++++++------ .../AutoGenerateTableViewDelegate.generated.swift | 2 +- .../MastodonLocalization/Generated/Strings.swift | 4 ++++ .../Resources/Base.lproj/Localizable.strings | 2 ++ .../Resources/ar.lproj/Localizable.strings | 4 +++- .../Resources/ca.lproj/Localizable.strings | 4 +++- .../Resources/ckb.lproj/Localizable.strings | 4 +++- .../Resources/cs.lproj/Localizable.strings | 4 +++- .../Resources/de.lproj/Localizable.strings | 4 +++- .../Resources/en.lproj/Localizable.strings | 4 +++- .../Resources/es.lproj/Localizable.strings | 4 +++- .../Resources/eu.lproj/Localizable.strings | 4 +++- .../Resources/fi.lproj/Localizable.strings | 4 +++- .../Resources/fr.lproj/Localizable.strings | 4 +++- .../Resources/gd.lproj/Localizable.strings | 4 +++- .../Resources/gl.lproj/Localizable.strings | 4 +++- .../Resources/it.lproj/Localizable.strings | 4 +++- .../Resources/ja.lproj/Localizable.strings | 4 +++- .../Resources/kab.lproj/Localizable.strings | 4 +++- .../Resources/ku-TR.lproj/Localizable.strings | 4 +++- .../Resources/ku.lproj/Localizable.strings | 4 +++- .../Resources/nl.lproj/Localizable.strings | 4 +++- .../Resources/ru.lproj/Localizable.strings | 4 +++- .../Resources/sl.lproj/Localizable.strings | 4 +++- .../Resources/sv.lproj/Localizable.strings | 4 +++- .../Resources/th.lproj/Localizable.strings | 4 +++- .../Resources/tr.lproj/Localizable.strings | 4 +++- .../Resources/vi.lproj/Localizable.strings | 4 +++- .../Resources/zh-Hans.lproj/Localizable.strings | 4 +++- .../Resources/zh-Hant.lproj/Localizable.strings | 4 +++- .../ComposeContent/View/ComposeContentView.swift | 5 +++-- Podfile.lock | 8 ++++---- 33 files changed, 99 insertions(+), 39 deletions(-) diff --git a/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme b/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme index 08fafb5abc..758f604c94 100644 --- a/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme +++ b/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme @@ -73,6 +73,7 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "de" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" diff --git a/Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved index 75afbc5059..27973e41dc 100644 --- a/Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Mastodon.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/Alamofire/Alamofire.git", "state" : { - "revision" : "8dd85aee02e39dd280c75eef88ffdb86eed4b07b", - "version" : "5.6.2" + "revision" : "78424be314842833c04bc3bef5b72e85fff99204", + "version" : "5.6.4" } }, { @@ -140,8 +140,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/SDWebImage/SDWebImage.git", "state" : { - "revision" : "3312bf5e67b52fbce7c3caf431b0cda721a9f7bb", - "version" : "5.14.2" + "revision" : "4178d12a44691182c2eb79c70281b14cb73f4cbf", + "version" : "5.14.3" } }, { @@ -158,8 +158,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-collections.git", "state" : { - "revision" : "f504716c27d2e5d4144fa4794b12129301d17729", - "version" : "1.0.3" + "revision" : "937e904258d22af6e447a0b72c0bc67583ef64a2", + "version" : "1.0.4" } }, { diff --git a/Mastodon/Generated/AutoGenerateTableViewDelegate.generated.swift b/Mastodon/Generated/AutoGenerateTableViewDelegate.generated.swift index 72560b8963..3b72c900a2 100644 --- a/Mastodon/Generated/AutoGenerateTableViewDelegate.generated.swift +++ b/Mastodon/Generated/AutoGenerateTableViewDelegate.generated.swift @@ -1,4 +1,4 @@ -// Generated using Sourcery 1.9.0 — https://github.com/krzysztofzablocki/Sourcery +// Generated using Sourcery 1.9.2 — https://github.com/krzysztofzablocki/Sourcery // DO NOT EDIT // sourcery:inline:DiscoveryCommunityViewController.AutoGenerateTableViewDelegate diff --git a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift index b974ba7bcc..677bf71100 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift +++ b/MastodonSDK/Sources/MastodonLocalization/Generated/Strings.swift @@ -489,6 +489,10 @@ public enum L10n { public static let composeAction = L10n.tr("Localizable", "Scene.Compose.ComposeAction", fallback: "Publish") /// Type or paste what’s on your mind public static let contentInputPlaceholder = L10n.tr("Localizable", "Scene.Compose.ContentInputPlaceholder", fallback: "Type or paste what’s on your mind") + /// Express what's on your mind + public static let contentInputPlaceholder2 = L10n.tr("Localizable", "Scene.Compose.ContentInputPlaceholder2", fallback: "Express what's on your mind") + /// Tell us what you think + public static let contentInputPlaceholder3 = L10n.tr("Localizable", "Scene.Compose.ContentInputPlaceholder3", fallback: "Tell us what you think") /// replying to %@ public static func replyingToUser(_ p1: Any) -> String { return L10n.tr("Localizable", "Scene.Compose.ReplyingToUser", String(describing: p1), fallback: "replying to %@") diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings index fb3e483cfc..ceffdd97a0 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/Base.lproj/Localizable.strings @@ -197,6 +197,8 @@ uploaded to Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Space to add"; "Scene.Compose.ComposeAction" = "Publish"; "Scene.Compose.ContentInputPlaceholder" = "Type or paste what’s on your mind"; +"Scene.Compose.ContentInputPlaceholder2" = "Express what's on your mind"; +"Scene.Compose.ContentInputPlaceholder3" = "Tell us what you think"; "Scene.Compose.ContentWarning.Placeholder" = "Write an accurate warning here..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Add Attachment - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Discard Post"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ar.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ar.lproj/Localizable.strings index 8ecefd32e7..2aab1a8c0e 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ar.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ar.lproj/Localizable.strings @@ -193,6 +193,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "انقر على مساحة لإضافتِها"; "Scene.Compose.ComposeAction" = "نَشر"; "Scene.Compose.ContentInputPlaceholder" = "عَبِّر عَمَّ يَجُولُ فِي ذِهنِك"; +"Scene.Compose.ContentInputPlaceholder2" = "عبر عما يدور في ذهنك"; +"Scene.Compose.ContentInputPlaceholder3" = "اخبرنا ماذا تعتقد"; "Scene.Compose.ContentWarning.Placeholder" = "اكتب تَحذيرًا دَقيقًا هُنا..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "إضافة مُرفَق - %@"; "Scene.Compose.Keyboard.DiscardPost" = "تجاهُل المنشور"; @@ -482,4 +484,4 @@ مرة أُخرى بين يديك."; "Scene.Wizard.AccessibilityHint" = "انقر نقرًا مزدوجًا لتجاهُل النافذة المنبثقة"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "بدِّل بين حسابات متعددة عبر الاستمرار بالضغط على زر الملف الشخصي."; -"Scene.Wizard.NewInMastodon" = "جديد في ماستودون"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "جديد في ماستودون"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ca.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ca.lproj/Localizable.strings index acd53cc032..8265e01cab 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ca.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ca.lproj/Localizable.strings @@ -193,6 +193,8 @@ carregat a Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Espai per afegir"; "Scene.Compose.ComposeAction" = "Publica"; "Scene.Compose.ContentInputPlaceholder" = "Escriu o enganxa el que tinguis en ment"; +"Scene.Compose.ContentInputPlaceholder2" = "Expressa el que tens al cap"; +"Scene.Compose.ContentInputPlaceholder3" = "Diguen's el que penses"; "Scene.Compose.ContentWarning.Placeholder" = "Escriu un advertiment precís aquí..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Afegeix Adjunt - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Descarta el Tut"; @@ -481,4 +483,4 @@ carregat a Mastodon."; de nou a les teves mans."; "Scene.Wizard.AccessibilityHint" = "Toca dues vegades per descartar l'assistent"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Commuta entre diversos comptes mantenint premut el botó del perfil."; -"Scene.Wizard.NewInMastodon" = "Nou a Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nou a Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ckb.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ckb.lproj/Localizable.strings index 5f6f124a1f..cd7be2589d 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ckb.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ckb.lproj/Localizable.strings @@ -192,6 +192,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "بۆشایی دابنێ بۆ زیادکردن"; "Scene.Compose.ComposeAction" = "بڵاوی بکەوە"; "Scene.Compose.ContentInputPlaceholder" = "دەتەوێت چی پۆست بکەیت؟"; +"Scene.Compose.ContentInputPlaceholder2" = "ئەوەی لە مێشکتدایە دەرببڕە"; +"Scene.Compose.ContentInputPlaceholder3" = "پێمان بڵێ بير لەچی ئەکەیتەوه"; "Scene.Compose.ContentWarning.Placeholder" = "ئاگادارییەکەت لێرە بنووسە..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "پێوەکراوی پێوە بکە - %@"; "Scene.Compose.Keyboard.DiscardPost" = "پۆستەکە هەڵوەشێنەوە"; @@ -480,4 +482,4 @@ لەژێر دەستەکانت."; "Scene.Wizard.AccessibilityHint" = "دوو جار دەستی پیا بنێ بۆ داخستنی"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "هەژمارەکەت بگۆڕە بە دەستڕاگرتن لەسەر دوگمەی پرۆفایلەکە."; -"Scene.Wizard.NewInMastodon" = "نوێ"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "نوێ"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/cs.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/cs.lproj/Localizable.strings index 8a8a977b71..d0cbd91fcb 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/cs.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/cs.lproj/Localizable.strings @@ -189,6 +189,8 @@ nahrán do Mastodonu."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Mezera k přidání"; "Scene.Compose.ComposeAction" = "Zveřejnit"; "Scene.Compose.ContentInputPlaceholder" = "Napište nebo vložte, co je na mysli"; +"Scene.Compose.ContentInputPlaceholder2" = "Vyjádřete, co máte na srdci"; +"Scene.Compose.ContentInputPlaceholder3" = "Řekni nám, co si myslíš"; "Scene.Compose.ContentWarning.Placeholder" = "Zde napište přesné varování..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Přidat přílohu - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Zahodit příspěvek"; @@ -476,4 +478,4 @@ nahrán do Mastodonu."; "Scene.Welcome.Slogan" = "Sociální sítě opět ve vašich rukou."; "Scene.Wizard.AccessibilityHint" = "Dvojitým poklepáním tohoto průvodce odmítnete"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Přepínání mezi více účty podržením tlačítka profilu."; -"Scene.Wizard.NewInMastodon" = "Nový v Mastodonu"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nový v Mastodonu"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/de.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/de.lproj/Localizable.strings index 74dbaeea6a..ea37d1309f 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/de.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/de.lproj/Localizable.strings @@ -193,6 +193,8 @@ kann nicht auf Mastodon hochgeladen werden."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Leerzeichen um hinzuzufügen"; "Scene.Compose.ComposeAction" = "Veröffentlichen"; "Scene.Compose.ContentInputPlaceholder" = "Tippe oder füge ein, was dir am Herzen liegt"; +"Scene.Compose.ContentInputPlaceholder2" = "Drücken Sie aus, was Sie denken"; +"Scene.Compose.ContentInputPlaceholder3" = "Sagen Sie uns was Sie denken"; "Scene.Compose.ContentWarning.Placeholder" = "Hier eine Inhaltswarnung schreiben …"; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Anhang hinzufügen - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Beitrag verwerfen"; @@ -481,4 +483,4 @@ beliebigen Server."; "Scene.Welcome.Slogan" = "Soziale Netzwerke wieder in deinen Händen."; "Scene.Wizard.AccessibilityHint" = "Doppeltippen, um diesen Assistenten zu schließen"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Wechsel zwischen mehreren Konten durch Drücken der Profil-Schaltfläche."; -"Scene.Wizard.NewInMastodon" = "Neu in Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Neu in Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings index 3ba305a4ba..cf37680fa8 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/en.lproj/Localizable.strings @@ -191,6 +191,8 @@ uploaded to Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Space to add"; "Scene.Compose.ComposeAction" = "Publish"; "Scene.Compose.ContentInputPlaceholder" = "Type or paste what’s on your mind"; +"Scene.Compose.ContentInputPlaceholder" = "Express what's on your mind"; +"Scene.Compose.ContentInputPlaceholder" = "Tell us what you think"; "Scene.Compose.ContentWarning.Placeholder" = "Write an accurate warning here..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Add Attachment - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Discard Post"; @@ -479,4 +481,4 @@ uploaded to Mastodon."; back in your hands."; "Scene.Wizard.AccessibilityHint" = "Double tap to dismiss this wizard"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Switch between multiple accounts by holding the profile button."; -"Scene.Wizard.NewInMastodon" = "New in Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "New in Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/es.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/es.lproj/Localizable.strings index d9d6a6ff66..2eb16d1d8d 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/es.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/es.lproj/Localizable.strings @@ -193,6 +193,8 @@ subirse a Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Espacio para añadir"; "Scene.Compose.ComposeAction" = "Publicar"; "Scene.Compose.ContentInputPlaceholder" = "Escribe o pega lo que tengas en mente"; +"Scene.Compose.ContentInputPlaceholder2" = "Expresar lo que está en tu mente"; +"Scene.Compose.ContentInputPlaceholder3" = "Dinos qué piensas"; "Scene.Compose.ContentWarning.Placeholder" = "Escribe una advertencia precisa aquí..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Añadir Adjunto - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Descartar Publicación"; @@ -483,4 +485,4 @@ cualquier servidor."; de nuevo en tus manos."; "Scene.Wizard.AccessibilityHint" = "Haz doble toque para descartar este asistente"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Cambie entre varias cuentas manteniendo presionado el botón de perfil."; -"Scene.Wizard.NewInMastodon" = "Nuevo en Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nuevo en Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/eu.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/eu.lproj/Localizable.strings index 882e05ec67..a8ca941ec9 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/eu.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/eu.lproj/Localizable.strings @@ -193,6 +193,8 @@ Mastodonera igo."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Sakatu zuriunea gehitzeko"; "Scene.Compose.ComposeAction" = "Argitaratu"; "Scene.Compose.ContentInputPlaceholder" = "Idatzi edo itsatsi buruan duzuna"; +"Scene.Compose.ContentInputPlaceholder2" = "Adierazi buruan duzuna"; +"Scene.Compose.ContentInputPlaceholder3" = "Esaiguzu zer iruditzen zaizun"; "Scene.Compose.ContentWarning.Placeholder" = "Idatzi abisu zehatz bat hemen..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Gehitu eranskina - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Baztertu bidalketa"; @@ -482,4 +484,4 @@ edozein zerbitzari."; berriz zure eskuetan."; "Scene.Wizard.AccessibilityHint" = "Ukitu birritan morroi hau baztertzeko"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Aldatu hainbat konturen artean profilaren botoia sakatuta edukiz."; -"Scene.Wizard.NewInMastodon" = "Berria Mastodonen"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Berria Mastodonen"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/fi.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/fi.lproj/Localizable.strings index de4bf3101e..9fe2675727 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/fi.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/fi.lproj/Localizable.strings @@ -193,6 +193,8 @@ uploaded to Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Space to add"; "Scene.Compose.ComposeAction" = "Julkaise"; "Scene.Compose.ContentInputPlaceholder" = "Kirjoita tai liitä, siitä mitä ajattelet"; +"Scene.Compose.ContentInputPlaceholder2" = "Ilmaise mitä ajattelet"; +"Scene.Compose.ContentInputPlaceholder3" = "Kerro meille mielipiteesi"; "Scene.Compose.ContentWarning.Placeholder" = "Kirjoita tarkka varoitus tähän..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Lisää liite - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Hylkää julkaisu"; @@ -482,4 +484,4 @@ mikä tahansa palvelin."; takaisin käsissäsi."; "Scene.Wizard.AccessibilityHint" = "Hylkää tämä ohjattu toiminto kaksoisnapauttamalla"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Vaihda useiden tilien välillä pitämällä profiilipainiketta painettuna."; -"Scene.Wizard.NewInMastodon" = "Uutta Mastodonissa"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Uutta Mastodonissa"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/fr.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/fr.lproj/Localizable.strings index 0bc619b344..aa64112b6e 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/fr.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/fr.lproj/Localizable.strings @@ -193,6 +193,8 @@ téléversé sur Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Espace à ajouter"; "Scene.Compose.ComposeAction" = "Publier"; "Scene.Compose.ContentInputPlaceholder" = "Tapez ou collez ce qui est sur votre esprit"; +"Scene.Compose.ContentInputPlaceholder2" = "Exprimez ce que vous pensez"; +"Scene.Compose.ContentInputPlaceholder3" = "Dites-nous ce que vous pensez"; "Scene.Compose.ContentWarning.Placeholder" = "Écrivez un avertissement précis ici..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Ajouter une pièce jointe - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Rejeter la publication"; @@ -481,4 +483,4 @@ n'importe quel serveur."; "Scene.Welcome.Slogan" = "Le réseau social qui vous rend le contrôle."; "Scene.Wizard.AccessibilityHint" = "Tapotez deux fois pour fermer cet assistant"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Basculez entre plusieurs comptes en appuyant de maniere prolongée sur le bouton profil."; -"Scene.Wizard.NewInMastodon" = "Nouveau dans Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nouveau dans Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/gd.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/gd.lproj/Localizable.strings index e37be3344e..b0bf2fa57c 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/gd.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/gd.lproj/Localizable.strings @@ -193,6 +193,8 @@ a luchdadh suas gu Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Brùth air Space gus a chur ris"; "Scene.Compose.ComposeAction" = "Foillsich"; "Scene.Compose.ContentInputPlaceholder" = "Sgrìobh no cuir ann na tha air d’ aire"; +"Scene.Compose.ContentInputPlaceholder2" = "Cuir an cèill na tha nad inntinn"; +"Scene.Compose.ContentInputPlaceholder3" = "Inns dhuinn dè do bheachd"; "Scene.Compose.ContentWarning.Placeholder" = "Sgrìobh rabhadh pongail an-seo…"; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Cuir ceanglachan ris – %@"; "Scene.Compose.Keyboard.DiscardPost" = "Tilg air falbh am post"; @@ -481,4 +483,4 @@ a luchdadh suas gu Mastodon."; ’nad làmhan fhèin."; "Scene.Wizard.AccessibilityHint" = "Thoir gnogag dhùbailte a’ leigeil seachad an draoidh seo"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Geàrr leum eadar iomadh cunntas le cumail sìos putan na pròifil."; -"Scene.Wizard.NewInMastodon" = "Na tha ùr ann am Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Na tha ùr ann am Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/gl.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/gl.lproj/Localizable.strings index 35a465661f..17ef9601e7 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/gl.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/gl.lproj/Localizable.strings @@ -193,6 +193,8 @@ ser subido a Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Barra de espazo engade"; "Scene.Compose.ComposeAction" = "Publicar"; "Scene.Compose.ContentInputPlaceholder" = "Escribe o que che apeteza"; +"Scene.Compose.ContentInputPlaceholder2" = "Expresa o que estás na túa mente"; +"Scene.Compose.ContentInputPlaceholder3" = "Cóntanos o que pensas"; "Scene.Compose.ContentWarning.Placeholder" = "Escribe o teu aviso aquí..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Engadir anexo - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Descartar publicación"; @@ -481,4 +483,4 @@ ser subido a Mastodon."; de volta ás túas mans."; "Scene.Wizard.AccessibilityHint" = "Dobre toque para desbotar este asistente"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Cambia dunha conta a outra mantendo preso o botón do perfil."; -"Scene.Wizard.NewInMastodon" = "Novidade en Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Novidade en Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/it.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/it.lproj/Localizable.strings index 96af84e227..a9acf13b9c 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/it.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/it.lproj/Localizable.strings @@ -193,6 +193,8 @@ caricato su Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Spazio da aggiungere"; "Scene.Compose.ComposeAction" = "Pubblica"; "Scene.Compose.ContentInputPlaceholder" = "Digita o incolla quello che hai in mente"; +"Scene.Compose.ContentInputPlaceholder2" = "Esprimi ciò che hai in mente"; +"Scene.Compose.ContentInputPlaceholder3" = "Diteci cosa ne pensate"; "Scene.Compose.ContentWarning.Placeholder" = "Scrivi un avviso accurato qui..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Aggiungi allegato - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Scarta post"; @@ -480,4 +482,4 @@ caricato su Mastodon."; "Scene.Welcome.Slogan" = "Il social network, di nuovo nelle tue mani."; "Scene.Wizard.AccessibilityHint" = "Doppio tocco per eliminare questa procedura guidata"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Passa tra più account tenendo premuto il pulsante del profilo."; -"Scene.Wizard.NewInMastodon" = "Nuovo su Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nuovo su Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ja.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ja.lproj/Localizable.strings index 3d32c96d1d..53a1ff2f65 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ja.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ja.lproj/Localizable.strings @@ -188,6 +188,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "スペースを追加"; "Scene.Compose.ComposeAction" = "投稿"; "Scene.Compose.ContentInputPlaceholder" = "気になることを入力またはペースト"; +"Scene.Compose.ContentInputPlaceholder2" = "あなたの心にあるものを表現する"; +"Scene.Compose.ContentInputPlaceholder3" = "あなたが考えていることを私に伝えてください"; "Scene.Compose.ContentWarning.Placeholder" = "ここに警告を書いてください..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "添付ファイルを追加 - %@"; "Scene.Compose.Keyboard.DiscardPost" = "投稿を破棄"; @@ -475,4 +477,4 @@ "Scene.Welcome.Slogan" = "ソーシャルネットワーキングを、あなたの手の中に."; "Scene.Wizard.AccessibilityHint" = "チュートリアルを閉じるには、ダブルタップしてください"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "プロフィールボタンを押して複数のアカウントを切り替えます。"; -"Scene.Wizard.NewInMastodon" = "Mastodon の新機能"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Mastodon の新機能"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/kab.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/kab.lproj/Localizable.strings index 43a1d385aa..c14b89da45 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/kab.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/kab.lproj/Localizable.strings @@ -193,6 +193,8 @@ Ad d-yettwasali ɣef Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Tallunt ara yettwarnun"; "Scene.Compose.ComposeAction" = "Sufeɣ"; "Scene.Compose.ContentInputPlaceholder" = "Aru neɣ senteḍ ayen yellan deg wallaɣ-ik"; +"Scene.Compose.ContentInputPlaceholder2" = "Mmeslay-d ɣef wayen i k-id-iεeǧben"; +"Scene.Compose.ContentInputPlaceholder3" = "Ini-yaɣ-d d acu i d-txemmimeḍ."; "Scene.Compose.ContentWarning.Placeholder" = "Aru alɣu-inek s telqeyt da..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Rnu taceqquft yeddan - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Sefsex tasuffeɣt"; @@ -481,4 +483,4 @@ Ad d-yettwasali ɣef Mastodon."; uɣalen-d ɣer ufus-ik."; "Scene.Wizard.AccessibilityHint" = "Sin isitiyen i usefsex n umarag-a"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Beddel gar waṭas n yimiḍanen s tussda ɣezzifen ɣef tqeffalt n umaɣnu."; -"Scene.Wizard.NewInMastodon" = "Amaynut deg Maṣṭudun"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Amaynut deg Maṣṭudun"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ku-TR.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ku-TR.lproj/Localizable.strings index 6e629cb0b0..0aae23e740 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ku-TR.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ku-TR.lproj/Localizable.strings @@ -159,6 +159,8 @@ Profîla te ji wan ra wiha xuya dike."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Bicîhkirinê tevlî bike"; "Scene.Compose.ComposeAction" = "Biweşîne"; "Scene.Compose.ContentInputPlaceholder" = "Tiştê ku di hişê te de ye binivîsin an jî pêve bike"; +"Scene.Compose.ContentInputPlaceholder2" = "Tiştê ku di hişê we de ye îfade bikin"; +"Scene.Compose.ContentInputPlaceholder3" = "Ji me re bêje ku hûn çi difikirin"; "Scene.Compose.ContentWarning.Placeholder" = "Li vir hişyariyek hûrgilî binivîsine..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Pêvek tevlî bike - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Şandî paşguh bike"; @@ -374,4 +376,4 @@ Her kîjan rajekar be."; di destên te de."; "Scene.Wizard.AccessibilityHint" = "Du caran bitikîne da ku çarçoveyahilpekok ji holê rakî"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Dest bide ser bişkoja profîlê da ku di navbera gelek ajimêrann de biguherînî."; -"Scene.Wizard.NewInMastodon" = "Nû di Mastodon de"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nû di Mastodon de"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ku.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ku.lproj/Localizable.strings index 6eaa474f06..3fce7a067c 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ku.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ku.lproj/Localizable.strings @@ -193,6 +193,8 @@ Profîla te ji wan ra wiha xuya dike."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Bicîhkirinê tevlî bike"; "Scene.Compose.ComposeAction" = "Biweşîne"; "Scene.Compose.ContentInputPlaceholder" = "Tiştê ku di hişê te de ye binivîsin an jî pêve bike"; +"Scene.Compose.ContentInputPlaceholder2" = "Tiştê ku di hişê we de ye îfade bikin"; +"Scene.Compose.ContentInputPlaceholder3" = "Ji me re bêje ku hûn çi difikirin"; "Scene.Compose.ContentWarning.Placeholder" = "Li vir hişyariyek hûrgilî binivîsine..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Pêvek tevlî bike - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Şandî paşguh bike"; @@ -482,4 +484,4 @@ girêdanê bitikne da ku ajimêra xwe bidî piştrastkirin."; di destên te de."; "Scene.Wizard.AccessibilityHint" = "Du caran bitikîne da ku çarçoveyahilpekok ji holê rakî"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Dest bide ser bişkoja profîlê da ku di navbera gelek ajimêrann de biguherînî."; -"Scene.Wizard.NewInMastodon" = "Nû di Mastodon de"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nû di Mastodon de"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/nl.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/nl.lproj/Localizable.strings index 6e78398520..f65d28d1b3 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/nl.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/nl.lproj/Localizable.strings @@ -187,6 +187,8 @@ Uw profiel ziet er zo uit voor hen."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Spaties toe te voegen"; "Scene.Compose.ComposeAction" = "Publiceren"; "Scene.Compose.ContentInputPlaceholder" = "Schrijf of plak wat in je hoofd rondzweeft"; +"Scene.Compose.ContentInputPlaceholder2" = "Druk uit wat er in je opkomt"; +"Scene.Compose.ContentInputPlaceholder3" = "Vertel ons wat u denkt"; "Scene.Compose.ContentWarning.Placeholder" = "Schrijf hier een nauwkeurige waarschuwing..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Bijlage Toevoegen - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Bericht Verwijderen"; @@ -475,4 +477,4 @@ klik op de link om uw account te bevestigen."; "Scene.Welcome.Slogan" = "Sociale media terug in uw handen."; "Scene.Wizard.AccessibilityHint" = "Tik tweemaal om het popup-scherm te sluiten"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Schakel tussen meerdere accounts door de profielknop in te drukken en vast te houden."; -"Scene.Wizard.NewInMastodon" = "Nieuw in Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nieuw in Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/ru.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/ru.lproj/Localizable.strings index 8275902d48..c32690d055 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/ru.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/ru.lproj/Localizable.strings @@ -201,6 +201,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "Пробел, чтобы добавить"; "Scene.Compose.ComposeAction" = "Опубликовать"; "Scene.Compose.ContentInputPlaceholder" = "Напишите то, о чём думаете"; +"Scene.Compose.ContentInputPlaceholder2" = "Выразите то, что у вас на уме"; +"Scene.Compose.ContentInputPlaceholder3" = "Расскажи нам что ты думаешь"; "Scene.Compose.ContentWarning.Placeholder" = "Напишите предупреждение здесь..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Прикрепить файл — %@"; "Scene.Compose.Keyboard.DiscardPost" = "Удалить пост"; @@ -493,4 +495,4 @@ под вашим контролем."; "Scene.Wizard.AccessibilityHint" = "Double tap to dismiss this wizard"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Switch between multiple accounts by holding the profile button."; -"Scene.Wizard.NewInMastodon" = "Новое в Мастодоне"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Новое в Мастодоне"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/sl.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/sl.lproj/Localizable.strings index 1aa2aab732..00768bc5a3 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/sl.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/sl.lproj/Localizable.strings @@ -193,6 +193,8 @@ možno naložiti v Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Preslednica za dodajanje"; "Scene.Compose.ComposeAction" = "Objavi"; "Scene.Compose.ContentInputPlaceholder" = "Vnesite ali prilepite, kar vam leži na duši"; +"Scene.Compose.ContentInputPlaceholder2" = "Izrazite, kar imate na umu"; +"Scene.Compose.ContentInputPlaceholder3" = "Povej nam kaj misliš"; "Scene.Compose.ContentWarning.Placeholder" = "Tukaj zapišite opozorilo ..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Dodaj priponko - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Opusti objavo"; @@ -481,4 +483,4 @@ možno naložiti v Mastodon."; spet v vaših rokah."; "Scene.Wizard.AccessibilityHint" = "Dvakrat tapnite, da zapustite tega čarovnika"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Preklopite med več računi s pritiskom gumba profila."; -"Scene.Wizard.NewInMastodon" = "Novo v Mastodonu"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Novo v Mastodonu"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/sv.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/sv.lproj/Localizable.strings index 4da00cad1b..d015f27ba0 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/sv.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/sv.lproj/Localizable.strings @@ -193,6 +193,8 @@ laddas upp till Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Mellanslag för att lägga till"; "Scene.Compose.ComposeAction" = "Publicera"; "Scene.Compose.ContentInputPlaceholder" = "Skriv eller klistra in vad du har på hjärtat"; +"Scene.Compose.ContentInputPlaceholder2" = "Uttryck vad du tänker på"; +"Scene.Compose.ContentInputPlaceholder3" = "Berätta vad du tycker"; "Scene.Compose.ContentWarning.Placeholder" = "Skriv en noggrann varning här..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Lägg till bilaga - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Släng inlägget"; @@ -481,4 +483,4 @@ laddas upp till Mastodon."; tillbaka i dina händer."; "Scene.Wizard.AccessibilityHint" = "Dubbeltryck för att avvisa den här guiden"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Växla mellan flera konton genom att hålla inne profilknappen."; -"Scene.Wizard.NewInMastodon" = "Nytt i Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Nytt i Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/th.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/th.lproj/Localizable.strings index 6aeeb2a746..8d31b3e6f6 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/th.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/th.lproj/Localizable.strings @@ -193,6 +193,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "เว้นวรรคเพื่อเพิ่ม"; "Scene.Compose.ComposeAction" = "เผยแพร่"; "Scene.Compose.ContentInputPlaceholder" = "พิมพ์หรือวางสิ่งที่คุณกำลังคิด"; +"Scene.Compose.ContentInputPlaceholder2" = "แสดงสิ่งที่อยู่ในใจของคุณ"; +"Scene.Compose.ContentInputPlaceholder3" = "บอกเราว่าคุณคิดอย่างไร"; "Scene.Compose.ContentWarning.Placeholder" = "เขียนคำเตือนที่ถูกต้องที่นี่..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "เพิ่มไฟล์แนบ - %@"; "Scene.Compose.Keyboard.DiscardPost" = "ละทิ้งโพสต์"; @@ -481,4 +483,4 @@ กลับมาอยู่ในมือของคุณ"; "Scene.Wizard.AccessibilityHint" = "แตะสองครั้งเพื่อปิดตัวช่วยสร้างนี้"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "สลับระหว่างหลายบัญชีโดยกดปุ่มโปรไฟล์ค้างไว้"; -"Scene.Wizard.NewInMastodon" = "มาใหม่ใน Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "มาใหม่ใน Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/tr.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/tr.lproj/Localizable.strings index c71fb332e9..80775ca08c 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/tr.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/tr.lproj/Localizable.strings @@ -192,6 +192,8 @@ yüklenemiyor."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Eklemek için boşluk tuşuna basın"; "Scene.Compose.ComposeAction" = "Yayınla"; "Scene.Compose.ContentInputPlaceholder" = "Aklınızdan geçenleri yazın veya yapıştırın"; +"Scene.Compose.ContentInputPlaceholder2" = "Thể hiện những gì trong tâm trí của bạn"; +"Scene.Compose.ContentInputPlaceholder3" = "Bize ne düşündüğünü söyle"; "Scene.Compose.ContentWarning.Placeholder" = "Buraya kesin bir uyarı yazın..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Dosya Ekle - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Gönderiyi İptal Et"; @@ -480,4 +482,4 @@ yüklenemiyor."; tekrardan ellerinizde."; "Scene.Wizard.AccessibilityHint" = "Bu yardımı kapatmak için çift tıklayın"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Profil butonuna basılı tutarak birden fazla hesap arasında geçiş yapın."; -"Scene.Wizard.NewInMastodon" = "Mastodon'da Yeni"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Mastodon'da Yeni"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/vi.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/vi.lproj/Localizable.strings index dc66003ccd..7da15a2613 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/vi.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/vi.lproj/Localizable.strings @@ -193,6 +193,8 @@ tải lên Mastodon."; "Scene.Compose.AutoComplete.SpaceToAdd" = "Khoảng cách để thêm"; "Scene.Compose.ComposeAction" = "Đăng"; "Scene.Compose.ContentInputPlaceholder" = "Cho thế giới biết bạn đang nghĩ gì"; +"Scene.Compose.ContentInputPlaceholder2" = "Thể hiện những gì trong tâm trí của bạn"; +"Scene.Compose.ContentInputPlaceholder3" = "Hãy cho chúng tôi biết bạn nghĩ gì"; "Scene.Compose.ContentWarning.Placeholder" = "Viết nội dung ẩn của bạn ở đây..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "Thêm media - %@"; "Scene.Compose.Keyboard.DiscardPost" = "Hủy đăng tút"; @@ -481,4 +483,4 @@ tải lên Mastodon."; do bạn kiểm soát."; "Scene.Wizard.AccessibilityHint" = "Nhấn hai lần để bỏ qua"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "Chuyển đổi giữa nhiều tài khoản bằng cách đè giữ nút tài khoản."; -"Scene.Wizard.NewInMastodon" = "Mới trên Mastodon"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Mới trên Mastodon"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hans.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hans.lproj/Localizable.strings index 7d164f80e7..94fdf8c85d 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hans.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hans.lproj/Localizable.strings @@ -193,6 +193,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "输入空格键入"; "Scene.Compose.ComposeAction" = "发送"; "Scene.Compose.ContentInputPlaceholder" = "写下你的想法"; +"Scene.Compose.ContentInputPlaceholder2" = "表达你的想法"; +"Scene.Compose.ContentInputPlaceholder3" = "告诉我们你的想法"; "Scene.Compose.ContentWarning.Placeholder" = "在这里写下内容的警告消息..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "添加附件 - %@"; "Scene.Compose.Keyboard.DiscardPost" = "丢弃帖子"; @@ -482,4 +484,4 @@ 回到你的手中。"; "Scene.Wizard.AccessibilityHint" = "双击关闭此向导"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "按住个人资料标签按钮,即可在多个账户之间进行切换。"; -"Scene.Wizard.NewInMastodon" = "新功能"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "新功能"; diff --git a/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hant.lproj/Localizable.strings b/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hant.lproj/Localizable.strings index eba0703c77..e911e95917 100644 --- a/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hant.lproj/Localizable.strings +++ b/MastodonSDK/Sources/MastodonLocalization/Resources/zh-Hant.lproj/Localizable.strings @@ -188,6 +188,8 @@ "Scene.Compose.AutoComplete.SpaceToAdd" = "添加的空白"; "Scene.Compose.ComposeAction" = "嘟出去"; "Scene.Compose.ContentInputPlaceholder" = "正在想些什麼嗎?"; +"Scene.Compose.ContentInputPlaceholder2" = "表達你的想法 "; +"Scene.Compose.ContentInputPlaceholder3" = "告訴我們你的想法 "; "Scene.Compose.ContentWarning.Placeholder" = "請於此處寫下精準的警告..."; "Scene.Compose.Keyboard.AppendAttachmentEntry" = "新增附件 - %@"; "Scene.Compose.Keyboard.DiscardPost" = "捨棄嘟文"; @@ -476,4 +478,4 @@ 還權於您。"; "Scene.Wizard.AccessibilityHint" = "點兩下以關閉此設定精靈"; "Scene.Wizard.MultipleAccountSwitchIntroDescription" = "按住個人檔案按鈕以於多個帳號間切換。"; -"Scene.Wizard.NewInMastodon" = "Mastodon 新功能"; \ No newline at end of file +"Scene.Wizard.NewInMastodon" = "Mastodon 新功能"; diff --git a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift index a7f867f601..0d3c0e2791 100644 --- a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift +++ b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift @@ -23,6 +23,7 @@ public struct ComposeContentView: View { @ObservedObject var viewModel: ComposeContentViewModel + private let randomContentInputPlaceholderChoice = Int.random(in: 1...3) public var body: some View { VStack(spacing: .zero) { @@ -38,7 +39,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: L10n.Scene.Compose.contentInputPlaceholder, + string: randomContentInputPlaceholderChoice == 1 ? L10n.Scene.Compose.contentInputPlaceholder : randomContentInputPlaceholderChoice == 2 ? L10n.Scene.Compose.contentInputPlaceholder2 : L10n.Scene.Compose.contentInputPlaceholder3, attributes: attributes ) }() @@ -94,7 +95,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: L10n.Scene.Compose.contentInputPlaceholder, + string: randomContentInputPlaceholderChoice == 1 ? L10n.Scene.Compose.contentInputPlaceholder : randomContentInputPlaceholderChoice == 2 ? L10n.Scene.Compose.contentInputPlaceholder2 : L10n.Scene.Compose.contentInputPlaceholder3, attributes: attributes ) }() diff --git a/Podfile.lock b/Podfile.lock index 354d465a6e..e7a338bfef 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,9 +1,9 @@ PODS: - FLEX (5.22.10) - Kanna (5.2.7) - - Sourcery (1.9.0): - - Sourcery/CLI-Only (= 1.9.0) - - Sourcery/CLI-Only (1.9.0) + - Sourcery (1.9.2): + - Sourcery/CLI-Only (= 1.9.2) + - Sourcery/CLI-Only (1.9.2) - SwiftGen (6.6.2) - XLPagerTabStrip (9.0.0) @@ -25,7 +25,7 @@ SPEC REPOS: SPEC CHECKSUMS: FLEX: f21ee4f498eed3f8a1eded66b21939fd3b7a22ce Kanna: 01cfbddc127f5ff0963692f285fcbc8a9d62d234 - Sourcery: d7c59d100e55bf59123c8ae7d65a24cf30748979 + Sourcery: 179539341c2261068528cd15a31837b7238fd901 SwiftGen: 1366a7f71aeef49954ca5a63ba4bef6b0f24138c XLPagerTabStrip: 61c57fd61f611ee5f01ff1495ad6fbee8bf496c5 From 815b851c676c760aab33a19f7f221af420035119 Mon Sep 17 00:00:00 2001 From: sahil-sahu-dev Date: Sat, 14 Jan 2023 11:31:42 +0530 Subject: [PATCH 2/5] Language scheme de -> system language --- Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme | 1 - 1 file changed, 1 deletion(-) diff --git a/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme b/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme index 758f604c94..08fafb5abc 100644 --- a/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme +++ b/Mastodon.xcodeproj/xcshareddata/xcschemes/Mastodon.xcscheme @@ -73,7 +73,6 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - language = "de" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" From 456593c6d4b2f23c4684c1c0cd3342dd4ce6b9d6 Mon Sep 17 00:00:00 2001 From: sahil-sahu-dev Date: Sat, 14 Jan 2023 11:40:06 +0530 Subject: [PATCH 3/5] Added new content input placeholders for creating a post --- Localization/app.json | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Localization/app.json b/Localization/app.json index 963b4aed18..70ac2efa47 100644 --- a/Localization/app.json +++ b/Localization/app.json @@ -405,6 +405,8 @@ "browse": "Browse" }, "content_input_placeholder": "Type or paste what’s on your mind", + "content_input_placeholder2": "Express what's on your mind", + "content_input_placeholder3": "Tell us what you think", "compose_action": "Publish", "replying_to_user": "replying to %s", "attachment": { From 1296eaaaf102645caecd3d5c5fa30c5144325b14 Mon Sep 17 00:00:00 2001 From: sahil-sahu-dev Date: Sat, 14 Jan 2023 11:45:40 +0530 Subject: [PATCH 4/5] Random content input placeholder --- .../Scene/ComposeContent/View/ComposeContentView.swift | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift index 0d3c0e2791..9b70c4a085 100644 --- a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift +++ b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift @@ -23,7 +23,11 @@ public struct ComposeContentView: View { @ObservedObject var viewModel: ComposeContentViewModel - private let randomContentInputPlaceholderChoice = Int.random(in: 1...3) + @State private var randomContentInputPlaceholder = [ + L10n.Scene.Compose.contentInputPlaceholder, + L10n.Scene.Compose.contentInputPlaceholder2, + L10n.Scene.Compose.contentInputPlaceholder3, + ].randomElement() public var body: some View { VStack(spacing: .zero) { @@ -39,7 +43,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: randomContentInputPlaceholderChoice == 1 ? L10n.Scene.Compose.contentInputPlaceholder : randomContentInputPlaceholderChoice == 2 ? L10n.Scene.Compose.contentInputPlaceholder2 : L10n.Scene.Compose.contentInputPlaceholder3, + string: randomContentInputPlaceholder ?? L10n.Scene.Compose.contentInputPlaceholder, attributes: attributes ) }() @@ -95,7 +99,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: randomContentInputPlaceholderChoice == 1 ? L10n.Scene.Compose.contentInputPlaceholder : randomContentInputPlaceholderChoice == 2 ? L10n.Scene.Compose.contentInputPlaceholder2 : L10n.Scene.Compose.contentInputPlaceholder3, + string: randomContentInputPlaceholder ?? L10n.Scene.Compose.contentInputPlaceholder, attributes: attributes ) }() From 67ea7bc00ee1702c2403bd187acceb3a3202f02e Mon Sep 17 00:00:00 2001 From: sahil-sahu-dev Date: Mon, 16 Jan 2023 08:26:39 +0530 Subject: [PATCH 5/5] force unwrap randomContentInputPlaceholder --- .../Scene/ComposeContent/View/ComposeContentView.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift index 9b70c4a085..c30d869027 100644 --- a/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift +++ b/MastodonSDK/Sources/MastodonUI/Scene/ComposeContent/View/ComposeContentView.swift @@ -43,7 +43,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: randomContentInputPlaceholder ?? L10n.Scene.Compose.contentInputPlaceholder, + string: randomContentInputPlaceholder!, attributes: attributes ) }() @@ -99,7 +99,7 @@ public struct ComposeContentView: View { var attributes = metaText.textAttributes attributes[.foregroundColor] = UIColor.secondaryLabel return NSAttributedString( - string: randomContentInputPlaceholder ?? L10n.Scene.Compose.contentInputPlaceholder, + string: randomContentInputPlaceholder!, attributes: attributes ) }()