Fix Schildi variants causing unnecessary long verification text

Change-Id: I03dcf865f7f3db7cd40ab3a79cea7b7200f47a1a
This commit is contained in:
SpiritCroc 2023-02-04 14:44:28 +01:00
parent 1e7c805537
commit 3cff12c9b1
3 changed files with 17 additions and 4 deletions

View file

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools" tools:ignore="MissingTranslation">
<string name="app_name_sc_stable" translatable="false">SchildiChat</string>
</resources>

View file

@ -216,4 +216,13 @@
<string name="settings_initial_sync">Initial sync</string>
<string name="settings_initial_sync_summary">Clear cache and reload from server</string>
<!-- Note to translators: the translation MUST contain the string "${app_name_sc_stable}", which will be replaced by the application name -->
<string name="use_other_session_content_description_sc">Use the latest ${app_name_sc_stable} on your other devices, ${app_name_sc_stable} Web, ${app_name_sc_stable} Desktop, ${app_name_sc_stable} for Android, or another cross-signing capable Matrix client</string>
<!-- Note to translators: the translation MUST contain the string "${app_name}", which will be replaced by the application name -->
<string name="app_desktop_web_sc">${app_name_sc_stable} Web\n${app_name_sc_stable} Desktop</string>
<!-- Note to translators: the translation MUST contain the string "${app_name_sc_stable}", which will be replaced by the application name -->
<string name="app_ios_android_sc">${app_name_sc_stable} Android</string>
<!-- Note to translators: the translation MUST contain the string "${app_name_sc_stable}", which will be replaced by the application name -->
<string name="use_latest_app_sc">Use the latest ${app_name_sc_stable} on your other devices:</string>
</resources>

View file

@ -5,7 +5,7 @@
android:id="@+id/itemVerificationNoticeText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/use_other_session_content_description"
android:contentDescription="@string/use_other_session_content_description_sc"
android:paddingStart="16dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp"
@ -17,7 +17,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="start"
android:text="@string/use_latest_app"
android:text="@string/use_latest_app_sc"
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
@ -58,7 +58,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
android:text="@string/app_desktop_web"
android:text="@string/app_desktop_web_sc"
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="@id/monitorIcon"
app:layout_constraintStart_toStartOf="@id/monitorIcon"
@ -71,7 +71,7 @@
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:gravity="center"
android:text="@string/app_ios_android"
android:text="@string/app_ios_android_sc"
android:textColor="?vctr_content_primary"
app:layout_constraintEnd_toEndOf="@id/smartphoneIcon"
app:layout_constraintStart_toStartOf="@id/smartphoneIcon"