aboutsummaryrefslogtreecommitdiffstats
path: root/java/res/values/strings.xml
diff options
context:
space:
mode:
authorPo Lu2023-05-26 15:20:39 +0800
committerPo Lu2023-05-26 15:20:39 +0800
commit0eb1f4e57125117006f109a5549082008fc9fbb1 (patch)
tree12fdeab1893c34654b31cb3ad5efae188d08e405 /java/res/values/strings.xml
parentddaca337e3a81e811de6e0f61ed78c414a1986be (diff)
downloademacs-0eb1f4e57125117006f109a5549082008fc9fbb1.tar.gz
emacs-0eb1f4e57125117006f109a5549082008fc9fbb1.zip
Allow starting Emacs --debug-init on Android
* doc/emacs/android.texi (Android Troubleshooting): Document `debug-init' option. * java/AndroidManifest.xml.in (EmacsLauncherPreferencesActivity): New activity. Export on systems older than Android 7.0. * java/org/gnu/emacs/EmacsActivity.java (onCreate): Adjust for string startup argument. * java/org/gnu/emacs/EmacsLauncherPreferencesActivity.java: New file. * java/org/gnu/emacs/EmacsPreferencesActivity.java (EmacsPreferencesActivity): Don't make final. (startEmacsQ): Give start-up argument as an argument, not as a boolean. (startEmacsDebugInit): New function. (onCreate): Register new listener; make final. * java/org/gnu/emacs/EmacsService.java (onCreate): Pass extraStartupArgument. * java/org/gnu/emacs/EmacsThread.java (EmacsThread): Rename startDashQ to extraStartupArgument. (run): Adjust accordingly. * java/res/values-v24/bool.xml: * java/res/values/bool.xml: * java/res/values/strings.xml: New files. * java/res/xml/preferences.xml: Add new option. Move string resources around.
Diffstat (limited to 'java/res/values/strings.xml')
-rw-r--r--java/res/values/strings.xml39
1 files changed, 39 insertions, 0 deletions
diff --git a/java/res/values/strings.xml b/java/res/values/strings.xml
new file mode 100644
index 00000000000..36a47be6c84
--- /dev/null
+++ b/java/res/values/strings.xml
@@ -0,0 +1,39 @@
1<!-- String resources used by GNU Emacs on Android.
2
3Copyright (C) 2023 Free Software Foundation, Inc.
4
5This file is part of GNU Emacs.
6
7GNU Emacs is free software: you can redistribute it and/or modify
8it under the terms of the GNU General Public License as published by
9the Free Software Foundation, either version 3 of the License, or
10(at your option) any later version.
11
12GNU Emacs is distributed in the hope that it will be useful,
13but WITHOUT ANY WARRANTY; without even the implied warranty of
14MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15GNU General Public License for more details.
16
17You should have received a copy of the GNU General Public License
18along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. -->
19
20<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
21 <string name="start_quick_title">
22 Restart Emacs with -Q
23 </string>
24 <string name="start_quick_caption">
25 Restart Emacs, but do not load site lisp or init files.
26 </string>
27 <string name="start_debug_init_title">
28 Restart Emacs with --debug-init
29 </string>
30 <string name="start_debug_init_caption">
31 Restart Emacs, and display the debugger should an error occur while loading initialization files.
32 </string>
33 <string name="erase_dump_title">
34 Delete dump file
35 </string>
36 <string name="erase_dump_caption">
37 Remove the dumped state created when Emacs was installed.
38 </string>
39</resources>