Refactor: Don't use hardcoded text for placeholders

This commit is contained in:
Oskar Wiksten
2013-11-03 14:57:07 +01:00
parent f6559cac31
commit 6006fe1eb5
6 changed files with 9 additions and 9 deletions

View File

@@ -35,7 +35,7 @@
android:id="@+id/about_version"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="version"
android:text="@android:string/unknownName"
/>
</LinearLayout>
</LinearLayout>

View File

@@ -25,7 +25,7 @@
android:layout_height="wrap_content"
style="@style/titleWithIcon"
android:drawableLeft="@drawable/char_hero"
android:text="Name"
android:text="@android:string/unknownName"
/>
<TableLayout
@@ -35,12 +35,12 @@
<TableRow>
<TextView style="@style/traitsinfo_label" android:text="@string/heroinfo_level" />
<TextView android:id="@+id/heroinfo_level" android:text="1" />
<TextView android:id="@+id/heroinfo_level" android:text="@android:string/unknownName" />
</TableRow>
<TableRow>
<TextView style="@style/traitsinfo_label" android:text="@string/heroinfo_totalexperience" />
<TextView android:id="@+id/heroinfo_totalexperience" android:text="1" />
<TextView android:id="@+id/heroinfo_totalexperience" android:text="@android:string/unknownName" />
</TableRow>
</TableLayout>

View File

@@ -5,5 +5,5 @@
android:layout_height="wrap_content"
style="@style/textWithIcon"
android:drawableLeft="@drawable/equip_weapon"
android:text="Name"
android:text="@android:string/unknownName"
/>

View File

@@ -36,7 +36,7 @@
android:id="@+id/loadsave_slot_n"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="1."
android:text="@android:string/unknownName"
/>
<Button
android:id="@+id/loadsave_save_to_new_slot"

View File

@@ -29,7 +29,7 @@
android:id="@+id/startscreen_currenthero"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Hero name"
android:text="@android:string/unknownName"
/>
<EditText
android:id="@+id/startscreen_enterheroname"
@@ -57,7 +57,7 @@
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true"
android:text="v0.0.1"
android:text="@android:string/unknownName"
/>
</RelativeLayout>

View File

@@ -3,7 +3,7 @@
<resources>
<!-- Do not translate this. -->
<string name="about_copyright">Copyright (C) 2010-2013 Oskar Wiksten&lt;br /&gt;&lt;br /&gt;</string>
<string name="about_copyright">Copyright © 20102013 Oskar Wiksten&lt;br /&gt;&lt;br /&gt;</string>
<string name="about_authors">
Programming by Oskar Wiksten&lt;br /&gt;
&lt;a href="http://andorstrail.com/"&gt;Web site provided by Scott Devaney&lt;/a&gt;&lt;br /&gt;