diff --git a/app/src/main/java/org/thoughtcrime/securesms/pro/ProStatusManager.kt b/app/src/main/java/org/thoughtcrime/securesms/pro/ProStatusManager.kt index 943ef828d4..ff6a23b1f2 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/pro/ProStatusManager.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/pro/ProStatusManager.kt @@ -278,7 +278,7 @@ class ProStatusManager @Inject constructor( companion object { const val MAX_CHARACTER_PRO = 10000 // max characters in a message for pro users private const val MAX_CHARACTER_REGULAR = 2000 // max characters in a message for non pro users - private const val MAX_PIN_REGULAR = 5 // max pinned conversation for non pro users + const val MAX_PIN_REGULAR = 5 // max pinned conversation for non pro users const val URL_PRO_SUPPORT = "https://getsession.org/pro-form" const val DEFAULT_GOOGLE_STORE = "Google Play Store" diff --git a/app/src/main/java/org/thoughtcrime/securesms/ui/ProComponents.kt b/app/src/main/java/org/thoughtcrime/securesms/ui/ProComponents.kt index d5d395fcb0..86e5989152 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/ui/ProComponents.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/ui/ProComponents.kt @@ -84,9 +84,11 @@ import network.loki.messenger.R import org.session.libsession.utilities.NonTranslatableStringConstants import org.session.libsession.utilities.StringSubstitutionConstants.APP_NAME_KEY import org.session.libsession.utilities.StringSubstitutionConstants.APP_PRO_KEY +import org.session.libsession.utilities.StringSubstitutionConstants.LIMIT_KEY import org.session.libsession.utilities.StringSubstitutionConstants.PRO_KEY import org.thoughtcrime.securesms.preferences.prosettings.ProSettingsDestination import org.thoughtcrime.securesms.preferences.prosettings.ProSettingsNavHost +import org.thoughtcrime.securesms.pro.ProStatusManager import org.thoughtcrime.securesms.pro.SubscriptionDetails import org.thoughtcrime.securesms.pro.SubscriptionType import org.thoughtcrime.securesms.ui.components.AccentFillButtonRect @@ -683,6 +685,7 @@ fun PinProCTA( .toString() else -> Phrase.from(context, R.string.proCallToActionPinnedConversationsMoreThan) + .put(LIMIT_KEY, ProStatusManager.MAX_PIN_REGULAR.toString()) .put(APP_PRO_KEY, NonTranslatableStringConstants.APP_PRO) .format() .toString() diff --git a/app/src/main/res/values-b+az+AZ/strings.xml b/app/src/main/res/values-b+az+AZ/strings.xml index 4189fbdb13..fc79671d79 100644 --- a/app/src/main/res/values-b+az+AZ/strings.xml +++ b/app/src/main/res/values-b+az+AZ/strings.xml @@ -911,7 +911,6 @@ {price} - rüblük haqq Daha uzun mesajlar göndərmək istəyirsiniz? {app_pro} ilə daha çox mətn göndərin və premium özəlliklərin kilidini açın Daha çoxunu sancmaq istəyirsiniz? {app_pro} ilə söhbətlərinizi təşkil edin və premium özəlliklərin kilidini açın - 5-dən çoxunu sancmaq istəyirsiniz? {app_pro} ilə söhbətlərinizi təşkil edin və premium özəlliklərin kilidini açın {pro} statusunu təzələmə xətası Müddəti bitib Tezliklə bitir diff --git a/app/src/main/res/values-b+ca+ES/strings.xml b/app/src/main/res/values-b+ca+ES/strings.xml index f67d819d9e..b3b587a465 100644 --- a/app/src/main/res/values-b+ca+ES/strings.xml +++ b/app/src/main/res/values-b+ca+ES/strings.xml @@ -826,7 +826,6 @@ Penja els gifs amb Voleu enviar missatges més llargs? Envia més text i desbloqueja funcions premium amb {app_pro} Vols més pins? Organitzes els teus xats i desbloqueges les funcions premium amb {app_pro} - Vols més de 5 pins? Organitzes els teus xats i desbloqueges les funcions premium amb {app_pro} Xateja de grups més grans fins a 300 membres Plus carrega funcions més exclusives Missatges de fins a 10,000 caràcters diff --git a/app/src/main/res/values-b+cs+CZ/strings.xml b/app/src/main/res/values-b+cs+CZ/strings.xml index 8e97b3c80e..bbad3090df 100644 --- a/app/src/main/res/values-b+cs+CZ/strings.xml +++ b/app/src/main/res/values-b+cs+CZ/strings.xml @@ -565,18 +565,6 @@ Chcete odstranit {name} ze skupiny {group_name}? Chcete odstranit {name} a {count} dalších ze skupiny {group_name}? Chcete odstranit {name} a {other_name} ze skupiny {group_name}? - - Odstranit uživatele a jeho zprávy - Odstranit uživatele a jejich zprávy - Odstranit uživatele a jejich zprávy - Odstranit uživatele a jejich zprávy - - - Odstranit uživatele - Odstranit uživatele - Odstranit uživatele - Odstranit uživatele - {name} byl odebrán ze skupiny. {name} a {count} dalších byli odebráni ze skupiny. {name} a {other_name} byli odebráni ze skupiny. @@ -956,7 +944,6 @@ {price} účtováno čtvrtletně Chcete posílat delší zprávy? Posílejte více textu odemknutím prémiových funkcí Session Pro Chcete více připnutí? Organizujte své chaty a odemkněte prémiové funkce pomocí Session Pro - Chcete více než 5 připnutí? Organizujte své chaty a odemkněte prémiové funkce pomocí Session Pro Zrušit Chyba obnovování stavu {pro} Platnost vypršela diff --git a/app/src/main/res/values-b+de+DE/strings.xml b/app/src/main/res/values-b+de+DE/strings.xml index a7a4420610..aa515a4c1a 100644 --- a/app/src/main/res/values-b+de+DE/strings.xml +++ b/app/src/main/res/values-b+de+DE/strings.xml @@ -878,7 +878,6 @@ Automatische {pro} Erneuerung in {time} Du möchtest längere Nachrichten senden? Sende mehr Text und schalte Premium-Funktionen mit {app_pro} frei Mehr Anheftungen gewünscht? Organisiere deine Chats und schalte Premium-Funktionen mit {app_pro} frei - Mehr als 5 Anheftungen gewünscht? Organisiere deine Chats und schalte Premium-Funktionen mit {app_pro} frei Abgelaufen {pro} FAQ GIF- und WebP-Profilbilder hochladen diff --git a/app/src/main/res/values-b+es+419/strings.xml b/app/src/main/res/values-b+es+419/strings.xml index 70e1a031f2..dc025bdfdc 100644 --- a/app/src/main/res/values-b+es+419/strings.xml +++ b/app/src/main/res/values-b+es+419/strings.xml @@ -832,7 +832,6 @@ Sube GIFs con ¿Quieres enviar mensajes más largos? Envía más texto y desbloquea funciones premium con {app_pro} ¿Quieres más conversaciones fijadas? Organiza tus chats y desbloquea funciones premium con {app_pro} - ¿Quieres más de 5 conversaciones fijadas? Organiza tus chats y desbloquea funciones premium con {app_pro} Sube imágenes de perfil en formato GIF y WebP Chats grupales más grandes de hasta 300 miembros Y muchas funciones exclusivas más diff --git a/app/src/main/res/values-b+es+ES/strings.xml b/app/src/main/res/values-b+es+ES/strings.xml index d2c8bfadf6..d25b3df105 100644 --- a/app/src/main/res/values-b+es+ES/strings.xml +++ b/app/src/main/res/values-b+es+ES/strings.xml @@ -832,7 +832,6 @@ Sube GIFs con ¿Quieres enviar mensajes más largos? Envía más texto y desbloquea funciones premium con {app_pro} ¿Quieres más conversaciones fijadas? Organiza tus chats y desbloquea funciones premium con {app_pro} - ¿Quieres más de 5 conversaciones fijadas? Organiza tus chats y desbloquea funciones premium con {app_pro} Sube imágenes de perfil en formato GIF y WebP Chats grupales más grandes de hasta 300 miembros Y muchas funciones exclusivas más diff --git a/app/src/main/res/values-b+fr+FR/strings.xml b/app/src/main/res/values-b+fr+FR/strings.xml index c3e01a6a3b..dc1bf3be23 100644 --- a/app/src/main/res/values-b+fr+FR/strings.xml +++ b/app/src/main/res/values-b+fr+FR/strings.xml @@ -909,7 +909,6 @@ {price} facturé trimestriellement Vous voulez envoyer des messages plus longs ? Envoyez plus de messages et débloqué les fonctionnalités premium avec {app_pro} Vous voulez plus de messages épinglés ? Organisez vos chats et débloquez les fonctionnalités premium avec {app_pro} - Vous voulez plus que 5 messages épinglés ? Organisez vos chats et débloquez les fonctionnalités premium avec {app_pro} Expiré Expiration imminente {pro} expire dans {time} diff --git a/app/src/main/res/values-b+hi+IN/strings.xml b/app/src/main/res/values-b+hi+IN/strings.xml index 66e3bfc015..ad3d436827 100644 --- a/app/src/main/res/values-b+hi+IN/strings.xml +++ b/app/src/main/res/values-b+hi+IN/strings.xml @@ -828,7 +828,6 @@ GIF अपलोड करें लंबे संदेश भेजना चाहते हैं? अधिक टेक्स्ट भेजें और {app_pro} के साथ प्रीमियम सुविधाओं का अनलॉक करें अधिक पिन करना चाहते हैं? अपनी चैट व्यवस्थित करें और {app_pro} के साथ प्रीमियम सुविधाओं का अनलॉक करें - 5 से अधिक पिन करना चाहते हैं? अपनी चैट व्यवस्थित करें और {app_pro} के साथ प्रीमियम सुविधाओं का अनलॉक करें GIF और WebP डिस्प्ले तस्वीरें अपलोड करें 300 सदस्यों तक बड़े समूह चैट साथ में कई और विशेष सुविधाएं diff --git a/app/src/main/res/values-b+it+IT/strings.xml b/app/src/main/res/values-b+it+IT/strings.xml index c9633b0a16..813021c95a 100644 --- a/app/src/main/res/values-b+it+IT/strings.xml +++ b/app/src/main/res/values-b+it+IT/strings.xml @@ -828,7 +828,6 @@ Carica GIF con Vuoi inviare messaggi più lunghi? Invia più testo e sblocca funzionalità premium con {app_pro} Vuoi più chat bloccate? Organizza le tue chat e sblocca le funzionalità premium con {app_pro} - Vuoi più di 5 chat bloccate? Organizza le tue chat e sblocca le funzionalità premium con {app_pro} Carica immagini profilo in formato GIF e WebP Chat di gruppo maggiori fino a 300 membri E tante altre funzionalità esclusive diff --git a/app/src/main/res/values-b+ja+JP/strings.xml b/app/src/main/res/values-b+ja+JP/strings.xml index 6a2aac7f24..8f4aacc126 100644 --- a/app/src/main/res/values-b+ja+JP/strings.xml +++ b/app/src/main/res/values-b+ja+JP/strings.xml @@ -806,7 +806,6 @@ GIFをアップロード(PRO) 長文を送りたいですか?{app_pro}でより多くのテキストを送り、プレミアム機能を解除しましょう。 さらにピン留めしますか?{app_pro}でチャットを整理して、プレミアム機能を解除しましょう - 5件以上ピン留めしたいですか?{app_pro}でチャットを整理して、プレミアム機能を解除しましょう GIFとWebPのディスプレイ画像をアップロード 最大300人の大型グループチャット さらに多数の限定機能 diff --git a/app/src/main/res/values-b+nl+NL/strings.xml b/app/src/main/res/values-b+nl+NL/strings.xml index cf6041168a..78174b8c25 100644 --- a/app/src/main/res/values-b+nl+NL/strings.xml +++ b/app/src/main/res/values-b+nl+NL/strings.xml @@ -902,7 +902,6 @@ {price} per kwartaal gefactureerd Wil je langere berichten versturen? Verstuur meer tekst en ontgrendel premiumfuncties met {app_pro} Wil je meer vastzetten? Organiseer je chats en ontgrendel premiumfuncties met {app_pro} - Wil je meer dan 5 vastgezette gesprekken? Organiseer je chats en ontgrendel premiumfuncties met {app_pro} Verlopen Verloopt binnenkort {pro} FAQ diff --git a/app/src/main/res/values-b+pl+PL/strings.xml b/app/src/main/res/values-b+pl+PL/strings.xml index 9759ed9491..29bbf17c1c 100644 --- a/app/src/main/res/values-b+pl+PL/strings.xml +++ b/app/src/main/res/values-b+pl+PL/strings.xml @@ -948,7 +948,6 @@ Opłata kwartalna: {price} Chcesz wysyłać dłuższe wiadomości? Wyślij więcej tekstu i odblokuj funkcje premium dzięki {app_pro} Chcesz przypinać więcej czatów? Zorganizuj konwersacje i odblokuj funkcje premium dzięki {app_pro} - Chcesz przypiąć więcej niż 5 czatów? Zorganizuj konwersacje i odblokuj funkcje premium dzięki {app_pro} Niedługo wygaśnie FAQ {pro} Znajdź odpowiedzi na często zadawane pytania w sekcji FAQ {app_pro}. diff --git a/app/src/main/res/values-b+pt+PT/strings.xml b/app/src/main/res/values-b+pt+PT/strings.xml index bb75737d14..b5383e4fc8 100644 --- a/app/src/main/res/values-b+pt+PT/strings.xml +++ b/app/src/main/res/values-b+pt+PT/strings.xml @@ -828,7 +828,6 @@ Carregue GIFs com Quer enviar mensagens mais longas? Envie mais texto e desbloqueie funcionalidades premium com {app_pro} Quer fixar mais conversas? Organize os seus chats e desbloqueie funcionalidades premium com o {app_pro} - Quer fixar mais de 5 conversas? Organize os seus chats e desbloqueie funcionalidades premium com {app_pro} Carregue imagens de exibição em GIF e WebP Conversas de grupo maiores com até 300 membros E muitas outras funcionalidades exclusivas diff --git a/app/src/main/res/values-b+ro+RO/strings.xml b/app/src/main/res/values-b+ro+RO/strings.xml index dc65f4480a..b159d85719 100644 --- a/app/src/main/res/values-b+ro+RO/strings.xml +++ b/app/src/main/res/values-b+ro+RO/strings.xml @@ -870,7 +870,6 @@ Încarcă GIF-uri cu Vrei să trimiți mesaje mai lungi? Trimite mai mult text și deblochează funcții premium cu {app_pro} Vrei mai multe fixări? Organizează-ți conversațiile și deblochează funcționalități premium cu {app_pro} - Vrei mai mult de 5 fixări? Organizează-ți conversațiile și deblochează funcționalități premium cu {app_pro} Încarcă imagini de profil GIF și WebP Conversații de grup mai mari, cu până la 300 de membri Și multe alte funcționalități exclusive diff --git a/app/src/main/res/values-b+ru+RU/strings.xml b/app/src/main/res/values-b+ru+RU/strings.xml index 7247fd421e..6453b14b09 100644 --- a/app/src/main/res/values-b+ru+RU/strings.xml +++ b/app/src/main/res/values-b+ru+RU/strings.xml @@ -922,7 +922,6 @@ Загружайте GIF с Хотите отправлять более длинные сообщения? Отправляйте больше текста и используйте премиум функции с {app_pro} Хотите больше закреплений? Организуйте свои чаты и получайте доступ к премиум функциям с {app_pro} - Нужно более 5 закреплений? С {app_pro} организуйте свои чаты и получите доступ к премиум функциям Загрузка изображений в формате GIF и WebP Групповые чаты до 300 участников + множество эксклюзивных функций diff --git a/app/src/main/res/values-b+sv+SE/strings.xml b/app/src/main/res/values-b+sv+SE/strings.xml index 506d6cce74..c331962463 100644 --- a/app/src/main/res/values-b+sv+SE/strings.xml +++ b/app/src/main/res/values-b+sv+SE/strings.xml @@ -882,7 +882,6 @@ Ladda upp GIF:ar med Vill du skicka längre meddelanden? Skicka mer text och lås upp premiumfunktioner med {app_pro} Vill du ha fler fästen? Organisera dina chattar och lås upp premiumfunktioner med {app_pro} - Vill du ha mer än 5 fästisar? Organisera dina chattar och lås upp premiumfunktioner med {app_pro} Ladda upp GIF- och WebP-visningsbilder Större gruppchattar upp till 300 medlemmar Plus många fler exklusiva funktioner diff --git a/app/src/main/res/values-b+tr+TR/strings.xml b/app/src/main/res/values-b+tr+TR/strings.xml index 098aa4f727..31e6060a3b 100644 --- a/app/src/main/res/values-b+tr+TR/strings.xml +++ b/app/src/main/res/values-b+tr+TR/strings.xml @@ -824,7 +824,6 @@ ile GIF Yükleyin Daha uzun mesajlar mı göndermek istiyorsunuz? {app_pro} ile daha fazla metin gönderin ve premium özelliklerin kilidini açın Daha fazla sabitleme mi istiyorsunuz? Sohbetlerinizi düzenleyin ve {app_pro} ile premium özelliklerin kilidini açın - 5\'ten fazla sabitleme mi istiyorsunuz? Sohbetlerinizi düzenleyin ve {app_pro} ile premium özelliklerin kilidini açın GIF ve WebP profil resmi yükleme 300 üyeye kadar daha büyük grup sohbetleri Ayrıca daha birçok özel özellik diff --git a/app/src/main/res/values-b+uk+UA/strings.xml b/app/src/main/res/values-b+uk+UA/strings.xml index 9c34c445c7..3e1d6cc560 100644 --- a/app/src/main/res/values-b+uk+UA/strings.xml +++ b/app/src/main/res/values-b+uk+UA/strings.xml @@ -949,7 +949,6 @@ {price} сплата щоквартально Хочете відправляти довші повідомлення? Надсилайте більше тексту та розблокуйте преміальні функції застосунку з Session Pro Потрібно більше закріплених бесід? Впорядкуйте свої чати та розблокуйте преміальні функції з {app_pro} - Потрібно понад 5 закріплених бесід? Впорядкуйте свої бесіди та розблокуйте преміальні функції з {app_pro} Підписка сплила Невдовзі спливе підписка {pro} спливає за {time} diff --git a/app/src/main/res/values-b+zh+CN/strings.xml b/app/src/main/res/values-b+zh+CN/strings.xml index 14375a7b0e..228b348d01 100644 --- a/app/src/main/res/values-b+zh+CN/strings.xml +++ b/app/src/main/res/values-b+zh+CN/strings.xml @@ -803,7 +803,6 @@ 使用 PRO 上传 GIF 想发送更长的消息?使用 {app_pro} 发送更多文本并解锁高级功能 想要固定更多对话?使用 {app_pro} 整理你的聊天并解锁高级功能 - 想要固定超过 5 个对话?使用 {app_pro} 整理你的聊天并解锁高级功能 上传 GIF 和 WebP 头像 更大的群组聊天,最多可容纳 300 名成员 还有更多专属功能等你解锁 diff --git a/app/src/main/res/values-b+zh+TW/strings.xml b/app/src/main/res/values-b+zh+TW/strings.xml index 164ca371f2..476980dfb9 100644 --- a/app/src/main/res/values-b+zh+TW/strings.xml +++ b/app/src/main/res/values-b+zh+TW/strings.xml @@ -806,7 +806,6 @@ 使用 {app_pro} 上傳 GIF 圖片 想傳送更長的訊息嗎?與 {app_pro} 一起傳送更多文字並解鎖進階功能 想要釘選更多對話嗎?使用 {app_pro} 整理您的聊天並解鎖進階功能 - 想要釘選超過 5 則對話嗎?使用 {app_pro} 整理您的聊天並解鎖進階功能 上傳 GIF 和 WebP 顯示圖片 最大支援 300 位成員的大型群組聊天室 以及更多獨家功能 diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 83f7deeac6..01d1ab5eab 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -224,7 +224,7 @@ Change your password for {app_name}. Locally stored data will be re-encrypted with your new password. Checking {pro} Status Checking your {pro} status. You\'ll be able to continue once this check is complete. - Checking your {pro} details. Some information on this page may be unavailable until this check is complete. + Checking your {pro} details. Some actions on this page may be unavailable until this check is complete. Checking {pro} Status... Checking your {pro} details. You cannot renew until this check is complete. Checking your {pro} status. You\'ll be able to upgrade to {pro} once this check is complete. @@ -1022,7 +1022,7 @@ accepted an invite to join the group. {price} Billed Quarterly Want to send longer messages? Send more text and unlock premium features with {app_pro} Want more pins? Organize your chats and unlock premium features with {app_pro} - Want more than 5 pins? Organize your chats and unlock premium features with {app_pro} + Want more than {limit} pins? Organize your chats and unlock premium features with {app_pro} Sorry to see you cancel {pro}. Here\'s what you need to know before canceling your {pro} access. Cancellation Canceling {pro} access will prevent automatic renewal from occurring before {pro} access expires. Canceling {pro} does not result in a refund. You will continue to be able to use {app_pro} features until your {pro} access expires.\n\nBecause you originally signed up for {app_pro} using your {platform_account}, you\'ll need to use the same {platform_account} to cancel {pro}.