Skip to content

Commit

Permalink
chore(android): locale app name and subtype label
Browse files Browse the repository at this point in the history
  • Loading branch information
Eliot00 committed Sep 24, 2023
1 parent aa45640 commit 6aae3e4
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 21 deletions.
5 changes: 5 additions & 0 deletions liushu-android/app/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">六書輸入法</string>
<string name="subtype_default">山人全息</string>
</resources>
4 changes: 2 additions & 2 deletions liushu-android/app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<resources>
<string name="app_name">Liushu</string>
<string name="subtype_en_US">English (US)</string>
<string name="app_name">Liushu IME</string>
<string name="subtype_default">sunman</string>
</resources>
22 changes: 3 additions & 19 deletions liushu-android/app/src/main/res/xml/method.xml
Original file line number Diff line number Diff line change
@@ -1,19 +1,4 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (C) 2023 Elliot Xu
~
~ This program is free software: you can redistribute it and/or modify
~ it under the terms of the GNU Affero General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ This program is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU Affero General Public License for more details.
~
~ You should have received a copy of the GNU Affero General Public License
~ along with this program. If not, see <https://www.gnu.org/licenses/>.
-->
<?xml version="1.0" encoding="utf-8"?>

<input-method xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
Expand All @@ -22,11 +7,10 @@

<subtype
android:icon="@drawable/ic_launcher_foreground"
android:imeSubtypeLocale="en_US"
android:imeSubtypeLocale="zh_CN"
android:imeSubtypeMode="keyboard"
android:isAsciiCapable="true"
android:label="@string/subtype_en_US"
android:languageTag="en-US"
android:label="@string/subtype_default"
tools:ignore="UnusedAttribute" />

</input-method>

0 comments on commit 6aae3e4

Please sign in to comment.