Prepare remaining screens for localization

This commit is contained in:
nielsandriesse
2020-05-25 17:11:15 +10:00
parent 61733d90ba
commit 18967d9890
13 changed files with 79 additions and 47 deletions

View File

@@ -30,7 +30,7 @@
android:textAlignment="center"
android:paddingTop="12dp"
android:paddingBottom="12dp"
android:hint="Enter a name" />
android:hint="@string/dialog_edit_device_name_edit_text_hint" />
<LinearLayout
android:layout_width="match_parent"
@@ -44,7 +44,7 @@
android:layout_width="0dp"
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:text="Cancel" />
android:text="@string/cancel" />
<Button
style="@style/UnimportantDialogButton"
@@ -53,7 +53,7 @@
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:layout_marginLeft="@dimen/medium_spacing"
android:text="OK" />
android:text="@string/ok" />
</LinearLayout>

View File

@@ -40,7 +40,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="Waiting for Device"
android:text="@string/dialog_link_device_master_mode_title_1"
android:textColor="@color/text"
android:textStyle="bold"
android:textSize="@dimen/medium_font_size" />
@@ -50,7 +50,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="Download Session on your other device and tap &quot;Link to an existing account&quot; at the bottom of the landing screen. If you have an existing account on your other device already you will have to delete that account first."
android:text="@string/dialog_link_device_master_mode_explanation_1"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:textAlignment="center" />
@@ -79,7 +79,7 @@
android:layout_width="0dp"
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:text="Cancel" />
android:text="@string/cancel" />
<Button
style="@style/ProminentDialogButton"
@@ -88,7 +88,7 @@
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:layout_marginLeft="@dimen/medium_spacing"
android:text="Authorize"
android:text="@string/dialog_link_device_master_mode_authorize_button_title"
android:visibility="gone" />
</LinearLayout>

View File

@@ -25,7 +25,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="Waiting for Authorization"
android:text="@string/dialog_link_device_slave_mode_title_1"
android:textColor="@color/text"
android:textStyle="bold"
android:textSize="@dimen/medium_font_size" />
@@ -35,7 +35,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/large_spacing"
android:text="Please check that the words below match those shown on your other device."
android:text="@string/dialog_link_device_slave_mode_explanation_1"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:textAlignment="center" />
@@ -56,6 +56,6 @@
android:layout_width="match_parent"
android:layout_height="@dimen/small_button_height"
android:layout_marginTop="@dimen/large_spacing"
android:text="Cancel" />
android:text="@string/cancel" />
</LinearLayout>

View File

@@ -15,7 +15,7 @@
android:drawableStart="@drawable/ic_edit_white_24dp"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="Change name"/>
android:text="@string/fragment_device_list_bottom_sheet_change_name_button_title"/>
<TextView
android:id="@+id/unlinkDeviceText"
@@ -23,6 +23,6 @@
android:drawableStart="@drawable/ic_phonelink_erase_white_24dp"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="@string/fragment_device_list_unlink_device_title" />
android:text="@string/fragment_device_list_bottom_sheet_unlink_device_button_title" />
</LinearLayout>

View File

@@ -33,7 +33,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/small_spacing"
android:text="@string/session_restore_banner_message"
android:text="@string/session_reset_banner_message"
android:textColor="@color/text"
android:textSize="@dimen/small_font_size"
android:textAlignment="center" />
@@ -50,7 +50,7 @@
android:layout_width="0dp"
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:text="@string/session_restore_banner_dismiss_button_title" />
android:text="@string/session_reset_banner_dismiss_button_title" />
<Button
style="@style/ProminentDialogButton"
@@ -59,7 +59,7 @@
android:layout_height="@dimen/small_button_height"
android:layout_weight="1"
android:layout_marginLeft="@dimen/medium_spacing"
android:text="@string/session_restore_banner_restore_button_title" />
android:text="@string/session_reset_banner_restore_button_title" />
</LinearLayout>