зеркало из https://github.com/mozilla/pjs.git
Add a "Customize toolbar" option to the view menu + whitespace cleanup
bug 256407, patch by Simon Paquet <bugzilla@babylonsounds.com>, r=mvl
This commit is contained in:
Родитель
72b845e2e1
Коммит
61a5dc5948
|
@ -92,8 +92,8 @@
|
|||
<!-- Menu -->
|
||||
<menubar id="main-menubar" class="chromeclass-menubar">
|
||||
<menu id="menu_File"
|
||||
label="&fileMenu.label;"
|
||||
accesskey="&fileMenu.accesskey;">
|
||||
label="&fileMenu.label;"
|
||||
accesskey="&fileMenu.accesskey;">
|
||||
<menupopup id="menu_FilePopup">
|
||||
<menuitem id="calendar-new-event-menu"
|
||||
key="new_event_key"
|
||||
|
@ -135,8 +135,8 @@
|
|||
</menu>
|
||||
|
||||
<menu id="menu_Edit"
|
||||
label="&editMenu.label;"
|
||||
accesskey="&editMenu.accesskey;">
|
||||
label="&editMenu.label;"
|
||||
accesskey="&editMenu.accesskey;">
|
||||
<menupopup id="mppEdit">
|
||||
<menuitem id="calendar-cut-menu"
|
||||
key="key_cut"
|
||||
|
@ -177,8 +177,8 @@
|
|||
</menu>
|
||||
|
||||
<menu id="menu_View"
|
||||
label="&viewMenu.label;"
|
||||
accesskey="&viewMenu.accesskey;">
|
||||
label="&viewMenu.label;"
|
||||
accesskey="&viewMenu.accesskey;">
|
||||
<menupopup id="mppView">
|
||||
<menuitem id="calendar-view-menu-day"
|
||||
key="view_day_key"
|
||||
|
@ -201,52 +201,56 @@
|
|||
accesskey="&calendar.monthview.accesskey;"
|
||||
observes="month_view_command"/>
|
||||
<menuseparator/>
|
||||
<menuitem id="only-workday-checkbox-1"
|
||||
<menuitem id="only-workday-checkbox-1"
|
||||
type="checkbox"
|
||||
label="&calendar.onlyworkday.checkbox.label;"
|
||||
accesskey="&calendar.onlyworkday.checkbox.accesskey;"
|
||||
oncommand="changeOnlyWorkdayCheckbox(1);"
|
||||
persist="checked"
|
||||
disabled="true"/>
|
||||
<menuitem id="display-todo-inview-checkbox-1"
|
||||
<menuitem id="display-todo-inview-checkbox-1"
|
||||
type="checkbox"
|
||||
label="&calendar.displaytodos.checkbox.label;"
|
||||
accesskey="&calendar.displaytodos.checkbox.accesskey;"
|
||||
oncommand="changeDisplayToDoInViewCheckbox(1);"
|
||||
persist="checked"
|
||||
disabled="true"/>
|
||||
<!-- <menuitem label="test" observes="change_display_todo_in_view" checked="true"/> -->
|
||||
<menu label="&calendar.menu.numberofweeks.label;"
|
||||
oncommand="gCalendarWindow.currentView.changeNumberOfWeeks(event.target)"
|
||||
id="menu-numberofweeks-inview"
|
||||
disabled="true">
|
||||
<menupopup>
|
||||
<menuitem type="radio"
|
||||
value="1"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.1;"/>
|
||||
<menuitem type="radio"
|
||||
value="2"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.2;"/>
|
||||
<menuitem type="radio"
|
||||
value="3"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.3;"/>
|
||||
<menuitem type="radio"
|
||||
value="4"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.4;"/>
|
||||
<menuitem type="radio"
|
||||
value="5"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.5;"/>
|
||||
<menuitem type="radio"
|
||||
value="6"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.6;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menupopup>
|
||||
<menuitem type="radio"
|
||||
value="1"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.1;"/>
|
||||
<menuitem type="radio"
|
||||
value="2"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.2;"/>
|
||||
<menuitem type="radio"
|
||||
value="3"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.3;"/>
|
||||
<menuitem type="radio"
|
||||
value="4"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.4;"/>
|
||||
<menuitem type="radio"
|
||||
value="5"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.5;"/>
|
||||
<menuitem type="radio"
|
||||
value="6"
|
||||
name="menunbofweeks"
|
||||
label="&calendar.menu.numberofweeks.6;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
<menuseparator/>
|
||||
<menuitem id="calendar-view-menu-customize"
|
||||
command="cmd_CustomizeToolbars"
|
||||
label="&calendar.menu.customize.label;"
|
||||
accesskey="&calendar.menu.customize.accesskey;"/>
|
||||
</menupopup>
|
||||
</menu>
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Vlastní">
|
||||
<!ENTITY calendar.context.customize.accesskey "V">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Hlavní lišta">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "H">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -315,6 +315,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -314,6 +314,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -320,6 +320,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Testreszabás">
|
||||
<!ENTITY calendar.context.customize.accesskey "T">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Fő eszköztár">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "F">
|
||||
|
||||
|
|
|
@ -321,6 +321,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "カスタマイズ">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "メインツールバー">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Aanpassen">
|
||||
<!ENTITY calendar.context.customize.accesskey "A">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Hoofdwerkbalk">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "H">
|
||||
|
||||
|
|
|
@ -314,6 +314,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -319,6 +319,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- Orodne vrstice po meri -->
|
||||
<!ENTITY calendar.context.customize.label "Po meri ...">
|
||||
<!ENTITY calendar.context.customize.accesskey "P">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Glavna orodna vrstica">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "G">
|
||||
|
||||
|
|
|
@ -319,6 +319,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
|
@ -318,6 +318,8 @@
|
|||
<!-- customizable toolbars -->
|
||||
<!ENTITY calendar.context.customize.label "Customize">
|
||||
<!ENTITY calendar.context.customize.accesskey "C">
|
||||
<!ENTITY calendar.menu.customize.label "Customize Toolbars">
|
||||
<!ENTITY calendar.menu.customize.accesskey "C">
|
||||
<!ENTITY calendar.maintoolbar.name "Main Toolbar">
|
||||
<!ENTITY calendar.maintoolbar.accesskey "M">
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче