mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
35397: "Make Taskbar localizable". Move menu hierarchy to taskbar.rdf.
This commit is contained in:
parent
d78622e04c
commit
305359871d
@ -2,6 +2,7 @@ globalOverlay.dtd
|
||||
dialogOverlay.dtd
|
||||
tasksOverlay.dtd
|
||||
taskbarOverlay.dtd
|
||||
taskbar.rdf
|
||||
commonDialog.dtd
|
||||
charsetOverlay.dtd
|
||||
charsetDetectorsOverlay.dtd
|
||||
|
@ -33,6 +33,7 @@ EXPORT_RESOURCE_CONTENT = \
|
||||
$(srcdir)/dialogOverlay.dtd \
|
||||
$(srcdir)/tasksOverlay.dtd \
|
||||
$(srcdir)/taskbarOverlay.dtd \
|
||||
$(srcdir)/taskbar.rdf \
|
||||
$(srcdir)/commonDialog.dtd \
|
||||
$(srcdir)/charsetOverlay.dtd \
|
||||
$(srcdir)/charsetDetectorsOverlay.dtd \
|
||||
|
@ -33,6 +33,7 @@ install::
|
||||
$(MAKE_INSTALL) dialogOverlay.dtd $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) tasksOverlay.dtd $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) taskbarOverlay.dtd $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) taskbar.rdf $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) commonDialog.dtd $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) charsetOverlay.dtd $(DISTBROWSER)
|
||||
$(MAKE_INSTALL) charsetDetectorsOverlay.dtd $(DISTBROWSER)
|
||||
|
44
xpfe/global/resources/locale/en-US/taskbar.rdf
Normal file
44
xpfe/global/resources/locale/en-US/taskbar.rdf
Normal file
@ -0,0 +1,44 @@
|
||||
<?xml version="1.0"?>
|
||||
<!DOCTYPE RDF
|
||||
[
|
||||
<!-- LOCALIZATION NOTE (mozillaButton.label): DONT_TRANSLATE -->
|
||||
<!ENTITY mozillaButton.label "Mozilla">
|
||||
<!-- taskbar popups -->
|
||||
<!-- LOCALIZATION NOTE (bugzillaButton.label): Do NOT translate "Bugzilla" -->
|
||||
<!ENTITY bugzillaButton.label "Go to Bugzilla">
|
||||
<!ENTITY tinderboxButton.label "Look at Tinderbox">
|
||||
<!-- LOCALIZATION NOTE (bonsai.label): Do NOT translate "Bonsai" -->
|
||||
<!ENTITY bonsai.label "Look at Bonsai">
|
||||
|
||||
]
|
||||
>
|
||||
<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
||||
xmlns:NC="http://home.netscape.com/NC-rdf#">
|
||||
|
||||
<!-- root start -->
|
||||
<RDF:Seq ID="root">
|
||||
|
||||
<RDF:li>
|
||||
<RDF:Seq about="urn:taskbar:mozilla-group">
|
||||
<RDF:li resource="urn:taskbar:mozilla-group:bonsai" />
|
||||
<RDF:li resource="urn:taskbar:mozilla-group:bugzilla" />
|
||||
</RDF:Seq>
|
||||
</RDF:li>
|
||||
|
||||
</RDF:Seq>
|
||||
<!-- root end -->
|
||||
|
||||
<!-- Description -->
|
||||
<RDF:Description about="urn:taskbar:mozilla-group">
|
||||
<NC:title>&mozillaButton.label;</NC:title>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:taskbar:mozilla-group:bonsai">
|
||||
<NC:title>&bonsai.label;</NC:title>
|
||||
<NC:content>openTopWin('http://bonsai.mozilla.org/toplevel.cgi?treeid=SeaMonkey')</NC:content>
|
||||
</RDF:Description>
|
||||
|
||||
<RDF:Description about="urn:taskbar:mozilla-group:bugzilla">
|
||||
<NC:title>&bugzillaButton.label;</NC:title>
|
||||
<NC:content>openTopWin('http://bugzilla.mozilla.org')</NC:content>
|
||||
</RDF:Description>
|
@ -1,14 +1,8 @@
|
||||
<!-- taskbar -->
|
||||
<!-- LOCALIZATION NOTE (mozillaButton.label): DONT_TRANSLATE -->
|
||||
<!ENTITY mozillaButton.label "Mozilla">
|
||||
<!-- LOCALIZATION NOTE (shoppingButton.label): DONT_TRANSLATE -->
|
||||
<!ENTITY shoppingButton.label "Shopping">
|
||||
<!ENTITY entertainment.label "Entertainment">
|
||||
<!ENTITY openWinButton.label "Open Windows">
|
||||
<!-- taskbar popups -->
|
||||
<!-- LOCALIZATION NOTE (bugzillaButton.label): Do NOT translate "Bugzilla" -->
|
||||
<!ENTITY bugzillaButton.label "Go to Bugzilla">
|
||||
<!-- LOCALIZATION NOTE (tinderboxButton.label): Do NOT translate "Tinderbox" -->
|
||||
<!ENTITY tinderboxButton.label "Look at Tinderbox">
|
||||
<!-- LOCALIZATION NOTE (bonsai.label): Do NOT translate "Bonsai" -->
|
||||
<!ENTITY bonsai.label "Look at Bonsai">
|
||||
|
Loading…
Reference in New Issue
Block a user