Skip to content
This repository has been archived by the owner on Oct 18, 2024. It is now read-only.

Add translations for Chinese #56

Merged
merged 7 commits into from
Jan 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions app/src/main/java/com/itsaky/androidide/AboutActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,7 @@ private List<Pair<String, String>> createTranslationsList () {
final var list = new ArrayList<Pair<String, String>> ();

list.add (Pair.create ("Bahasa Indonesia", "Fitrah Nuno Syahbani"));
list.add (Pair.create ("Chinese", "Rosemoe"));

return list;
}
Expand Down
353 changes: 353 additions & 0 deletions app/src/main/res/values-zh/strings.xml

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion app/src/main/res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@
<item name="replaceAll" type="string">Replace all</item>
<item name="replacement" type="string">Replacement</item>
<item name="text_to_search" type="string">Text to search</item>
<item name="more" translatable="false" type="string">More</item>
<item name="more" type="string">More</item>

<!-- Preferences -->
<string name="title_change_text_size">Editor font size</string>
Expand Down
9 changes: 9 additions & 0 deletions common/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<resources>
<string name="cms_channel_id_devs">来自开发者的通知</string>
<string name="cms_channel_id_update">应用更新通知</string>
<string name="msg_hex_color_code">十六进制颜色代码</string>
<string name="msg_color_picker_pick">选择</string>
<string name="msg_chmod_exec">正在设置可执行权限…</string>
<string name="msg_linking">正在将 %1$s 链接到 %2$s</string>
<string name="msg_extracting_hooks">正在提取钩子库…</string>
</resources>
5 changes: 5 additions & 0 deletions emulatorview/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<resources>
<string name="paste_text">粘贴</string>
<string name="copy_text">复制</string>
<string name="text_selection_more">更多…</string>
</resources>
21 changes: 21 additions & 0 deletions lsp/java/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of AndroidIDE.
~
~ AndroidIDE is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ AndroidIDE 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 General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with AndroidIDE. If not, see <https://www.gnu.org/licenses/>.
-->

<resources>
<string name="msg_not_thrown">在方法体中 \'%s\' 不会被抛出</string>
<string name="msg_not_used">\'%s\' 未被使用</string>
</resources>
6 changes: 6 additions & 0 deletions xml-inflater/src/main/res/values-zh/strings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<resources>
<string name="msg_cannot_create_view">无法为标签 %s 创建视图</string>
<string name="err_cannot_read_values">Unable to read values</string>
<string name="err_no_attr_adapter">未找到可用于 %s 的属性适配器</string>
<string name="msg_view_not_supported">控件 %s 当前不受支持</string>
</resources>