summaryrefslogtreecommitdiff
path: root/browser/base/content/browser-charsetmenu.inc
diff options
context:
space:
mode:
authorMatt A. Tobin <email@mattatobin.com>2022-02-12 13:57:21 -0600
committerMatt A. Tobin <email@mattatobin.com>2022-02-12 13:57:21 -0600
commitba7d67bb0711c9066c71bd33e55d9a5d2f9b2cbf (patch)
treea5c0cfad71c17114c78d8a7d1f31112eb53896df /browser/base/content/browser-charsetmenu.inc
parentc054e324210895e7e2c5b3e84437cba43f201ec8 (diff)
downloadpalemoon-gre-ba7d67bb0711c9066c71bd33e55d9a5d2f9b2cbf.tar.gz
Lay down Pale Moon 30
Diffstat (limited to 'browser/base/content/browser-charsetmenu.inc')
-rw-r--r--browser/base/content/browser-charsetmenu.inc62
1 files changed, 62 insertions, 0 deletions
diff --git a/browser/base/content/browser-charsetmenu.inc b/browser/base/content/browser-charsetmenu.inc
new file mode 100644
index 000000000..628de1341
--- /dev/null
+++ b/browser/base/content/browser-charsetmenu.inc
@@ -0,0 +1,62 @@
+# This Source Code Form is subject to the terms of the Mozilla Public
+# License, v. 2.0. If a copy of the MPL was not distributed with this
+# file, You can obtain one at http://mozilla.org/MPL/2.0/.
+
+#filter substitution
+
+#expand <menu id="__ID_PREFIX__charsetMenu"
+ label="&charsetMenu.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenu.accesskey;"
+#endif
+ oncommand="MultiplexHandler(event)"
+#ifdef OMIT_ACCESSKEYS
+#expand onpopupshowing="CharsetMenu.build(event, '__ID_PREFIX__');"
+#else
+#expand onpopupshowing="CharsetMenu.build(event, '__ID_PREFIX__', true);"
+#endif
+ onpopupshown="UpdateMenus(event);">
+ <menupopup>
+ <menu label="&charsetMenuAutodet.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenuAutodet.accesskey;"
+#endif
+ >
+ <menupopup>
+ <menuitem type="radio"
+ name="detectorGroup"
+#expand id="__ID_PREFIX__chardet.off"
+ label="&charsetMenuAutodet.off.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenuAutodet.off.accesskey;"
+#endif
+ />
+ <menuitem type="radio"
+ name="detectorGroup"
+#expand id="__ID_PREFIX__chardet.ja_parallel_state_machine"
+ label="&charsetMenuAutodet.ja.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenuAutodet.ja.accesskey;"
+#endif
+ />
+ <menuitem type="radio"
+ name="detectorGroup"
+#expand id="__ID_PREFIX__chardet.ruprob"
+ label="&charsetMenuAutodet.ru.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenuAutodet.ru.accesskey;"
+#endif
+ />
+ <menuitem type="radio"
+ name="detectorGroup"
+#expand id="__ID_PREFIX__chardet.ukprob"
+ label="&charsetMenuAutodet.uk.label;"
+#ifndef OMIT_ACCESSKEYS
+ accesskey="&charsetMenuAutodet.uk.accesskey;"
+#endif
+ />
+ </menupopup>
+ </menu>
+ <menuseparator/>
+ </menupopup>
+</menu>