mirror of
https://github.com/SchildiChat/SchildiChat-android.git
synced 2024-11-25 19:05:56 +03:00
Create new strings for change translations
This commit is contained in:
parent
0c2516ccf8
commit
51898a8109
3 changed files with 11 additions and 8 deletions
|
@ -17,7 +17,6 @@
|
|||
package im.vector.riotx.core.ui.views
|
||||
|
||||
import android.content.Context
|
||||
import androidx.preference.PreferenceManager
|
||||
import android.util.AttributeSet
|
||||
import android.view.View
|
||||
import android.view.ViewGroup
|
||||
|
@ -25,6 +24,7 @@ import android.widget.TextView
|
|||
import androidx.constraintlayout.widget.ConstraintLayout
|
||||
import androidx.core.content.edit
|
||||
import androidx.core.view.isVisible
|
||||
import androidx.preference.PreferenceManager
|
||||
import androidx.transition.TransitionManager
|
||||
import butterknife.BindView
|
||||
import butterknife.ButterKnife
|
||||
|
@ -160,9 +160,9 @@ class KeysBackupBanner @JvmOverloads constructor(
|
|||
} else {
|
||||
isVisible = true
|
||||
|
||||
textView1.setText(R.string.keys_backup_banner_setup_line1)
|
||||
textView1.setText(R.string.secure_backup_banner_setup_line1)
|
||||
textView2.isVisible = true
|
||||
textView2.setText(R.string.keys_backup_banner_setup_line2)
|
||||
textView2.setText(R.string.secure_backup_banner_setup_line2)
|
||||
close.isVisible = true
|
||||
}
|
||||
}
|
||||
|
@ -195,7 +195,7 @@ class KeysBackupBanner @JvmOverloads constructor(
|
|||
|
||||
private fun renderBackingUp() {
|
||||
isVisible = true
|
||||
textView1.setText(R.string.keys_backup_banner_setup_line1)
|
||||
textView1.setText(R.string.secure_backup_banner_setup_line1)
|
||||
textView2.isVisible = true
|
||||
textView2.setText(R.string.keys_backup_banner_in_progress)
|
||||
loading.isVisible = true
|
||||
|
|
|
@ -34,7 +34,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="27dp"
|
||||
android:layout_marginLeft="27dp"
|
||||
android:text="@string/keys_backup_banner_setup_line1"
|
||||
android:text="@string/secure_backup_banner_setup_line1"
|
||||
android:textColor="?riotx_text_primary"
|
||||
android:textSize="18sp"
|
||||
app:layout_constraintBottom_toTopOf="@id/view_keys_backup_banner_text_2"
|
||||
|
@ -48,7 +48,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="27dp"
|
||||
android:layout_marginLeft="27dp"
|
||||
android:text="@string/keys_backup_banner_setup_line2"
|
||||
android:text="@string/secure_backup_banner_setup_line2"
|
||||
android:textColor="?riotx_text_secondary"
|
||||
android:textSize="14sp"
|
||||
android:visibility="gone"
|
||||
|
|
|
@ -1496,8 +1496,11 @@ Why choose Riot.im?
|
|||
<string name="new_recovery_method_popup_was_me">It was me</string>
|
||||
|
||||
<!-- Keys backup banner -->
|
||||
<string name="keys_backup_banner_setup_line1">Secure Backup</string>
|
||||
<string name="keys_backup_banner_setup_line2">Safeguard against losing access to encrypted messages & data </string>
|
||||
<string name="keys_backup_banner_setup_line1">Never lose encrypted messages</string>
|
||||
<string name="keys_backup_banner_setup_line2">Start using Key Backup</string>
|
||||
|
||||
<string name="secure_backup_banner_setup_line1">Secure Backup</string>
|
||||
<string name="secure_backup_banner_setup_line2">Safeguard against losing access to encrypted messages & data</string>
|
||||
|
||||
<string name="keys_backup_banner_recover_line1">Never lose encrypted messages</string>
|
||||
<string name="keys_backup_banner_recover_line2">Use Key Backup</string>
|
||||
|
|
Loading…
Reference in a new issue