Prepare onboarding for localization

This commit is contained in:
nielsandriesse
2020-05-25 15:24:55 +10:00
parent 607b3d6a96
commit 13943f75ef
17 changed files with 121 additions and 67 deletions

View File

@@ -19,7 +19,7 @@
android:textSize="@dimen/very_large_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Pick your display name" />
android:text="@string/activity_display_name_title_2" />
<TextView
android:layout_width="match_parent"
@@ -29,7 +29,7 @@
android:layout_marginRight="@dimen/very_large_spacing"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="This will be your name when you use Session." />
android:text="@string/activity_display_name_explanation" />
<EditText
style="@style/SessionEditText"
@@ -39,7 +39,7 @@
android:layout_marginLeft="@dimen/very_large_spacing"
android:layout_marginTop="@dimen/medium_spacing"
android:layout_marginRight="@dimen/very_large_spacing"
android:hint="Enter a display name" />
android:hint="@string/activity_display_name_edit_text_hint" />
<View
android:layout_width="match_parent"
@@ -54,6 +54,6 @@
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:layout_marginBottom="@dimen/medium_spacing"
android:text="Continue" />
android:text="@string/continue_2" />
</LinearLayout>

View File

@@ -19,7 +19,7 @@
android:textSize="@dimen/very_large_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Your Session begins here..." />
android:text="@string/activity_landing_title_2" />
<org.thoughtcrime.securesms.loki.views.FakeChatView
android:id="@+id/fakeChatView"
@@ -39,7 +39,7 @@
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:text="Create Session ID" />
android:text="@string/activity_landing_register_button_title" />
<Button
style="@style/MediumProminentOutlineButton"
@@ -49,7 +49,7 @@
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginTop="@dimen/medium_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:text="Continue Your Session" />
android:text="@string/activity_landing_restore_button_title" />
<Button
android:id="@+id/linkButton"
@@ -62,6 +62,6 @@
android:textAllCaps="false"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="Link to an existing account" />
android:text="@string/activity_landing_link_button_title" />
</LinearLayout>

View File

@@ -19,7 +19,7 @@
android:textSize="@dimen/very_large_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Say hello to your Session ID" />
android:text="@string/activity_register_title" />
<TextView
android:layout_width="match_parent"
@@ -29,7 +29,7 @@
android:layout_marginRight="@dimen/very_large_spacing"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="Your Session ID is the unique address people can use to contact you on Session. With no connection to your real identity, your Session ID is totally anonymous and private by design." />
android:text="@string/activity_register_explanation" />
<TextView
style="@style/SessionIDTextView"
@@ -53,7 +53,7 @@
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:text="Continue" />
android:text="@string/continue_2" />
<Button
style="@style/MediumProminentOutlineButton"
@@ -63,7 +63,7 @@
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginTop="@dimen/medium_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:text="Copy" />
android:text="@string/copy" />
<TextView
android:id="@+id/termsTextView"
@@ -75,6 +75,6 @@
android:textColorLink="@color/text"
android:textSize="@dimen/very_small_font_size"
android:textColor="@color/text"
android:text="By using this service, you agree to our Terms of Service and Privacy Policy" />
android:text="By using this service, you agree to our Terms of Service and Privacy Policy" /> <!-- Intentionally not yet translated -->
</LinearLayout>

View File

@@ -19,7 +19,7 @@
android:textSize="@dimen/very_large_font_size"
android:textStyle="bold"
android:textColor="@color/text"
android:text="Restore your account" />
android:text="@string/activity_restore_title" />
<TextView
android:layout_width="match_parent"
@@ -29,7 +29,7 @@
android:layout_marginRight="@dimen/very_large_spacing"
android:textSize="@dimen/medium_font_size"
android:textColor="@color/text"
android:text="Enter the recovery phrase that was given to you when you signed up to restore your account." />
android:text="@string/activity_restore_explanation" />
<EditText
style="@style/SessionEditText"
@@ -39,7 +39,7 @@
android:layout_marginLeft="@dimen/very_large_spacing"
android:layout_marginTop="@dimen/medium_spacing"
android:layout_marginRight="@dimen/very_large_spacing"
android:hint="Enter your recovery phrase" />
android:hint="@string/activity_restore_seed_edit_text_hint" />
<View
android:layout_width="match_parent"
@@ -53,7 +53,7 @@
android:layout_height="@dimen/medium_button_height"
android:layout_marginLeft="@dimen/massive_spacing"
android:layout_marginRight="@dimen/massive_spacing"
android:text="Continue" />
android:text="@string/continue_2" />
<TextView
android:id="@+id/termsTextView"
@@ -65,6 +65,6 @@
android:textColorLink="@color/text"
android:textSize="@dimen/very_small_font_size"
android:textColor="@color/text"
android:text="By using this service, you agree to our Terms of Service and Privacy Policy" />
android:text="By using this service, you agree to our Terms of Service and Privacy Policy" /> <!-- Intentionally not yet translated -->
</LinearLayout>