diff --git a/app/src/main/java/org/thoughtcrime/securesms/groups/JoinCommunityFragment.kt b/app/src/main/java/org/thoughtcrime/securesms/groups/JoinCommunityFragment.kt index 2137dc7f11..a968775ff1 100644 --- a/app/src/main/java/org/thoughtcrime/securesms/groups/JoinCommunityFragment.kt +++ b/app/src/main/java/org/thoughtcrime/securesms/groups/JoinCommunityFragment.kt @@ -71,8 +71,7 @@ class JoinCommunityFragment : Fragment() { } catch (e: OpenGroupUrlParser.Error) { when (e) { is OpenGroupUrlParser.Error.MalformedURL, OpenGroupUrlParser.Error.NoRoom -> { - val txt = Phrase.from(context, R.string.groupErrorJoin).put(GROUP_NAME_KEY, url).format().toString() - return Toast.makeText(activity, txt, Toast.LENGTH_SHORT).show() + return Toast.makeText(activity, context?.resources?.getString(R.string.communityJoinError), Toast.LENGTH_SHORT).show() } is OpenGroupUrlParser.Error.InvalidPublicKey, OpenGroupUrlParser.Error.NoPublicKey -> { return Toast.makeText(activity, R.string.communityEnterUrlErrorInvalidDescription, Toast.LENGTH_SHORT).show() diff --git a/libsession/src/main/res/values-fa-rIR/strings.xml b/libsession/src/main/res/values-fa-rIR/strings.xml index 0eeb500432..16f7de23b9 100644 --- a/libsession/src/main/res/values-fa-rIR/strings.xml +++ b/libsession/src/main/res/values-fa-rIR/strings.xml @@ -219,11 +219,7 @@ رد کردن رنگ اولیه اخیرا استفاده شده - شکلک‌ها و مردم - حیوانات و طبیعت - غذا و نوشیدنی فعالیت ها - مسافرت و اماکن اشیاء نمادها پرچم ها diff --git a/libsession/src/main/res/values-fr-rFR/strings.xml b/libsession/src/main/res/values-fr-rFR/strings.xml index 72bb52178d..2cb7a1e339 100644 --- a/libsession/src/main/res/values-fr-rFR/strings.xml +++ b/libsession/src/main/res/values-fr-rFR/strings.xml @@ -229,10 +229,7 @@ Couleur principale Fréquemment Utilisés Émoticônes et personnes - Nature - Nourriture Activités - Voyage Objets Symboles Drapeaux diff --git a/libsession/src/main/res/values-fr/strings.xml b/libsession/src/main/res/values-fr/strings.xml index b3f9cd509e..18ab871ac1 100644 --- a/libsession/src/main/res/values-fr/strings.xml +++ b/libsession/src/main/res/values-fr/strings.xml @@ -228,10 +228,7 @@ Couleur principale Fréquemment Utilisés Émoticônes et personnes - Nature - Nourriture Activités - Voyage Objets Symboles Drapeaux diff --git a/libsession/src/main/res/values/strings.xml b/libsession/src/main/res/values/strings.xml index ec978d4a7d..037ad1aca1 100644 --- a/libsession/src/main/res/values/strings.xml +++ b/libsession/src/main/res/values/strings.xml @@ -280,7 +280,7 @@ NOTE: Strings with blank lines have manually been replaced with '\n\n' - this wi {name} set the disappearing message timer to {time} Please wait while the group is created... Failed to Update Group - You don’t have permission to delete others’ messages + You don\’t have permission to delete others\’ messages Delete Message Are you sure you want to delete this message? Message deleted @@ -425,11 +425,13 @@ NOTE: Strings with blank lines have manually been replaced with '\n\n' - this wi {name} and {other_name} were invited to join the group. Chat history was shared. {name} and {count} others were invited to join the group. {name} and {other_name} were invited to join the group. - {name} was invited to join the group. Chat history was shared. + {name} was invited to join the group. Chat history was shared. You and {count} others were invited to join the group. Chat history was shared. You and {name} were invited to join the group. Chat history was shared. - You and {count} others joined the group. - You and {other_name} joined the group. + You and {count} others were invited to join the group. + You and {name} were invited to join the group. + You and {count} others joined the group. + You and {other_name} joined the group. {name} and {other_name} joined the group. You left the group. You joined the group.