From 8b643ca957a070c462f62255405e40ad8eb27d2c Mon Sep 17 00:00:00 2001 From: Franze Jr Date: Wed, 4 Nov 2015 23:28:37 -0300 Subject: [PATCH] [#26] - Moving strings to string resources --- Habitica/res/layout/fragment_about.xml | 6 +++--- Habitica/res/values/strings.xml | 4 ++++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Habitica/res/layout/fragment_about.xml b/Habitica/res/layout/fragment_about.xml index d8c62d5df..022eec83e 100644 --- a/Habitica/res/layout/fragment_about.xml +++ b/Habitica/res/layout/fragment_about.xml @@ -67,7 +67,7 @@ android:id="@+id/sourceCodeLink" android:layout_width="347dp" android:layout_height="wrap_content" - android:text="Habitica is an open Source Code and you can find the code clicking here" + android:text="@string/about.habitica_open_source" android:textSize="@dimen/abc_text_size_title_material" android:textStyle="bold" android:layout_gravity="center_horizontal" @@ -77,7 +77,7 @@ android:id="@+id/googlePlayStoreButton" android:layout_width="248dp" android:layout_height="wrap_content" - android:text="RATE OUR APP" + android:text="@string/about.rate_our_app" android:textSize="@dimen/abc_text_size_title_material" android:layout_gravity="center_horizontal" android:layout_marginTop="20sp" /> @@ -86,7 +86,7 @@ android:id="@+id/giveUsFeedback" android:layout_width="253dp" android:layout_height="wrap_content" - android:text="Give us Feedback! :-)" + android:text="@string/about.give_us_feedback" android:textSize="@dimen/abc_text_size_title_material" android:layout_gravity="center_horizontal" android:layout_marginTop="20sp" /> diff --git a/Habitica/res/values/strings.xml b/Habitica/res/values/strings.xml index bc9063929..8ff7a7dbe 100644 --- a/Habitica/res/values/strings.xml +++ b/Habitica/res/values/strings.xml @@ -111,6 +111,10 @@ About Libraries Version history + Habitica is an Open Source code and you can find the code clicking here + RATE OUR APP + Give us Feedback! :-) + Connection Error You are not connected to the internet.