Skip to content

Commit 2a1ad4d

Browse files
committed
update VI string
1 parent d4c56b5 commit 2a1ad4d

28 files changed

+66
-13
lines changed

app/src/main/java/com/duy/ccppcompiler/ide/dialogs/CompilerOptionsDialog.java

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626

2727
import com.duy.ccppcompiler.R;
2828
import com.duy.ccppcompiler.compiler.CompileSetting;
29+
import com.duy.common.StoreUtil;
2930
import com.jecelyin.editor.v2.dialog.AbstractDialog;
3031

3132
public class CompilerOptionsDialog extends AbstractDialog {
@@ -82,6 +83,12 @@ public void onClick(DialogInterface dialog, int which) {
8283
dialog.cancel();
8384
}
8485
})
86+
.setNeutralButton(R.string.wiki, new DialogInterface.OnClickListener() {
87+
@Override
88+
public void onClick(DialogInterface dialog, int which) {
89+
StoreUtil.openBrowser(getMainActivity(), "https://github.com/tranleduy2000/c_cpp_compiler/wiki", 0);
90+
}
91+
})
8592
.create()
8693
.show();
8794
}

app/src/main/java/com/duy/ccppcompiler/ide/editor/CppIdeActivity.java

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -148,6 +148,8 @@ protected void onCreateNavigationMenu(Menu menu) {
148148
.setIcon(R.drawable.baseline_extension_24);
149149
codeMenu.add(MenuDef.GROUP_NAVIGATION, R.id.action_report_bug, 0, R.string.report_bug)
150150
.setIcon(R.drawable.baseline_bug_report_24);
151+
codeMenu.add(MenuDef.GROUP_NAVIGATION, R.id.action_open_wiki, 0, R.string.wiki)
152+
.setIcon(R.drawable.baseline_book_24);
151153
}
152154

153155
{
@@ -209,6 +211,10 @@ public boolean onOptionsItemSelected(MenuItem item) {
209211
case R.id.action_report_bug:
210212
StoreUtil.openBrowser(this, "https://github.com/tranleduy2000/c_cpp_compiler/issues", 0);
211213
break;
214+
215+
case R.id.action_open_wiki:
216+
StoreUtil.openBrowser(this, "https://github.com/tranleduy2000/c_cpp_compiler/wiki", 0);
217+
break;
212218
}
213219
return super.onOptionsItemSelected(item);
214220
}
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<resources>
3+
<string name="menu_search">T</string>
4+
<string name="menu_search">T</string>
5+
<string name="menu_search">Ti</string>
6+
<string name="menu_search">Tifm</string>
7+
<string name="menu_search">Tifm</string>
8+
<string name="menu_search">"Tifm "</string>
9+
<string name="menu_search">Tifm k</string>
10+
<string name="menu_search">Tifm kie</string>
11+
<string name="menu_search">Tifm kie</string>
12+
<string name="menu_search">Tifm kieem</string>
13+
<string name="menu_search">Tifm kieem</string>
14+
<string name="menu_search">Tifm kieems</string>
15+
<string name="menu_search">Tìm kiếm</string>
16+
<string name="message_file_copy">Đang sao chép</string>
17+
<string name="message_file_delete">Đang xóa</string>
18+
<string name="homeDirectory">Trang chủ</string>
19+
<string name="goto_line">Dòng</string>
20+
<string name="gccrunexe">Chạy</string>
21+
<string name="file_saved">Đã lưu tệp thành công</string>
22+
<string name="file_paste">Dán</string>
23+
<string name="file_not_saved">Không thể ghi tệp</string>
24+
<string name="file_not_loaded">Không thể đọc tệp</string>
25+
<string name="file_name">Tên tệp:</string>
26+
</resources>

app/src/main/res-terminal/values-vi/strings.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,6 @@
1919
<string name="copy_all">Sao chép tất cả</string>
2020
<string name="paste">Dán</string>
2121
<string name="title_color_preference">Màu sắc</string>
22+
<string name="help">Trợ giúp</string>
23+
<string name="fsnavigator_change_theme">Thay đổi chủ đề</string>
2224
</resources>

app/src/main/res/values/do_not_translate.xml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@
44
<string name="pref_key_cxx_options" translatable="false">pref_key_cxx_options</string>
55
<string name="pref_key_linker_options" translatable="false">pref_key_linker_options</string>
66

7-
<string name="pref_c_options_ansi">pref_c_options_ansi</string>
8-
<string name="pref_c_options_fno_asm">pref_c_options_fno_asm</string>
9-
<string name="pref_c_options_traditional_cpp">pref_c_options_traditional_cpp</string>
10-
<string name="pref_option_optimization_level">pref_option_optimization_level</string>
11-
<string name="pref_option_language_standard">pref_option_language_standard</string>
7+
<string name="pref_c_options_ansi" translatable="false">pref_c_options_ansi</string>
8+
<string name="pref_c_options_fno_asm" translatable="false">pref_c_options_fno_asm</string>
9+
<string name="pref_c_options_traditional_cpp" translatable="false">pref_c_options_traditional_cpp</string>
10+
<string name="pref_option_optimization_level" translatable="false">pref_option_optimization_level</string>
11+
<string name="pref_option_language_standard" translatable="false">pref_option_language_standard</string>
1212

13-
<string name="pref_key_cpp_check">pref_key_cpp_check</string>
14-
<string name="pref_key_cpp_check_warning">pref_key_cpp_check_warning</string>
15-
<string name="pref_key_cpp_check_performance">pref_key_cpp_check_performance</string>
16-
<string name="pref_key_cpp_check_information">pref_key_cpp_check_information</string>
13+
<string name="pref_key_cpp_check" translatable="false">pref_key_cpp_check</string>
14+
<string name="pref_key_cpp_check_warning" translatable="false">pref_key_cpp_check_warning</string>
15+
<string name="pref_key_cpp_check_performance" translatable="false">pref_key_cpp_check_performance</string>
16+
<string name="pref_key_cpp_check_information" translatable="false">pref_key_cpp_check_information</string>
1717
</resources>

app/src/main/res/values/ids.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,6 @@
2727
<item name="action_build_native_activity" type="id" />
2828
<item name="action_run_sdl_activity" type="id" />
2929
<item name="action_report_bug" type="id" />
30+
<item name="action_open_wiki" type="id" />
3031

3132
</resources>

app/src/main/res/values/strings.xml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,10 @@
3232
<string name="terminal">Terminal</string>
3333
<string name="code">Code</string>
3434

35-
<string name="pref_option_wall_warning">pref_option_wall_warning</string>
36-
<string name="pref_option_w_warning">pref_option_w_warning</string>
37-
<string name="pref_option_wextra_warning">pref_option_wextra_warning</string>
38-
<string name="pref_option_werror">pref_option_werror</string>
35+
<string name="pref_option_wall_warning" translatable="false">pref_option_wall_warning</string>
36+
<string name="pref_option_w_warning" translatable="false">pref_option_w_warning</string>
37+
<string name="pref_option_wextra_warning" translatable="false">pref_option_wextra_warning</string>
38+
<string name="pref_option_werror" translatable="false">pref_option_werror</string>
3939
<string name="build_native_activity">Build native activity</string>
4040
<string name="pref_title_ld_opts">Linker options (LDFLAGS)</string>
4141
<string name="title_compiler_options">Compiler options</string>
@@ -46,6 +46,7 @@
4646
<string name="report_bug">Report bug</string>
4747
<string name="title_menu_install_libraries">Install libraries / plugins</string>
4848
<string name="build_sdl">Build SDL</string>
49+
<string name="wiki">Wiki</string>
4950

5051

5152
</resources>
175 Bytes
Loading
174 Bytes
Loading
237 Bytes
Loading

0 commit comments

Comments
 (0)