зеркало из https://github.com/mozilla/gecko-dev.git
45262 Check-In "View | Set Language/Region" code to better
expose the Counrty Picker feature to user.r=ftang
This commit is contained in:
Родитель
82b59b8c4e
Коммит
ebd7b28ff1
|
@ -229,8 +229,29 @@ Contributor(s): ______________________________________. -->
|
|||
<menuitem value="&pageInfoCmd.label;" oncommand="BrowserPageInfo();"/>
|
||||
<menuseparator />
|
||||
<menuitem value="&translateMenu.label;" oncommand="Translate();"/>
|
||||
<menuitem value="&webContentMenu.label;"
|
||||
oncommand="loadXURL('urn:clienturl:viewmenu:intlwebcontent');"/>
|
||||
<menu value="&webContentMenu.label;"
|
||||
datasources="rdf:chrome"
|
||||
ref="urn:mozilla:locale:root"
|
||||
sortResource="http://www.mozilla.org/rdf/chrome#name"
|
||||
sortDirection="ascending"
|
||||
>
|
||||
<template>
|
||||
<rule>
|
||||
<menupopup>
|
||||
<menuitem class="standrad" uri="rdf:*"
|
||||
value="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
data="rdf:http://www.mozilla.org/rdf/chrome#name"
|
||||
oncommand="selectLocale(event)" />
|
||||
</menupopup>
|
||||
</rule>
|
||||
</template>
|
||||
|
||||
<menupopup sortStaticsLast="true" >
|
||||
<menuseparator />
|
||||
<menuitem value="&downloadMore.label;"
|
||||
oncommand="loadXURL('urn:clienturl:viewmenu:intlwebcontent');"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
<menuseparator />
|
||||
<!-- Deprecated BEGIN
|
||||
|
@ -467,23 +488,6 @@ END of Deprecated -->
|
|||
<menuseparator />
|
||||
<menuitem value="&strresCmd.label;" oncommand="window._content.location.href='resource:/res/strres-test.xul'"/>
|
||||
|
||||
<menu value="&languages.label;"
|
||||
datasources="rdf:chrome"
|
||||
ref="urn:mozilla:locale:root"
|
||||
sortResource="http://www.mozilla.org/rdf/chrome#name"
|
||||
sortDirection="ascending">
|
||||
<template>
|
||||
<rule>
|
||||
<menupopup>
|
||||
<menuitem class="standrad" uri="rdf:*"
|
||||
value="rdf:http://www.mozilla.org/rdf/chrome#displayName"
|
||||
data="rdf:http://www.mozilla.org/rdf/chrome#name"
|
||||
oncommand="selectLocale(event)" />
|
||||
</menupopup>
|
||||
</rule>
|
||||
</template>
|
||||
</menu>
|
||||
|
||||
<menuseparator />
|
||||
<menuitem value="&BloatDumpNewCmd.label;" oncommand="window._content.location.href='about:bloat?new'"/>
|
||||
<menuitem value="&BloatDumpAllCmd.label;" oncommand="window._content.location.href='about:bloat'"/>
|
||||
|
|
|
@ -62,6 +62,7 @@
|
|||
<!ENTITY pageInfoCmd.label "Page Info">
|
||||
<!ENTITY translateMenu.label "Translate">
|
||||
<!ENTITY webContentMenu.label "Languages and Web Content">
|
||||
<!ENTITY downloadMore.label "Download More">
|
||||
<!ENTITY dcharMenu.label "Character Set ISO">
|
||||
<!ENTITY dcharMenu1.label "Character Set Multibyte">
|
||||
<!ENTITY dcharMenu2.label "Character Set Cyrillic">
|
||||
|
|
Загрузка…
Ссылка в новой задаче