add other languages

This commit is contained in:
2018-10-25 00:28:17 +08:00
parent 1f58cd25f3
commit eecb82c9f6
6 changed files with 19 additions and 7 deletions

2
.idea/misc.xml generated
View File

@ -29,7 +29,7 @@
</value> </value>
</option> </option>
</component> </component>
<component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" project-jdk-name="1.8" project-jdk-type="JavaSDK"> <component name="ProjectRootManager" version="2" languageLevel="JDK_1_7" project-jdk-name="1.8" project-jdk-type="JavaSDK">
<output url="file://$PROJECT_DIR$/build/classes" /> <output url="file://$PROJECT_DIR$/build/classes" />
</component> </component>
<component name="ProjectType"> <component name="ProjectType">

View File

@ -27,7 +27,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="4" android:layout_weight="4"
android:ems="10" android:ems="10"
android:hint="wa" android:hint="@string/surname"
android:inputType="textPersonName" android:inputType="textPersonName"
android:singleLine="true" /> android:singleLine="true" />
@ -53,7 +53,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_weight="4" android:layout_weight="4"
android:ems="10" android:ems="10"
android:hint="wa" android:hint="@string/firstname"
android:inputType="textPersonName" android:inputType="textPersonName"
android:singleLine="true" /> android:singleLine="true" />
@ -90,7 +90,7 @@
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:onClick="onclick" android:onClick="onclick"
android:text="wa" /> android:text="@string/ok" />
<TextView <TextView
android:id="@+id/txv" android:id="@+id/txv"

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Ch03_Beautify2</string>
<string name="surname">Please enter your surname.</string>
<string name="firstname">Please enter your firstname.</string>
<string name="ok">OK</string>
</resources> </resources>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Ch03_Beautify2</string>
<string name="surname">姓を入力してください</string>
<string name="firstname">名前を入力してください</string>
<string name="ok">決定する</string>
</resources> </resources>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Ch03_Beautify2</string>
<string name="surname">請輸入姓氏</string>
<string name="firstname">請輸入名稱</string>
<string name="ok">確定</string>
</resources> </resources>

View File

@ -1,4 +1,7 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<string name="app_name">Ch03_Beautify2</string> <string name="app_name">Ch03_Beautify2</string>
<string name="surname">Please enter your surname.</string>
<string name="firstname">Please enter your firstname.</string>
<string name="ok">OK</string>
</resources> </resources>