]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdtoolbars.inc
Unintentional part of previewinset stuff
[lyx.git] / lib / ui / stdtoolbars.inc
index 52fb5ecd0e622ba4f7c9db13bddcda02d8ed9873..794f0505283a0c01470fcc59eb0ab6704cac84c7 100644 (file)
 # The interface is designed (partially) following the KDE Human Interface
 # Guidelines (http://usability.kde.org/hig/)
 
+# Casing rules "The tooltip":
+# Capitalize the first letter of the first word, and any other words normally
+# capitalized in sentences, such as application names.
+#
+# Casing Rules for the "GUI Name":
+# Capitalize all words in the element, with the following exceptions: 
+# * Articles: a, an, the. 
+# * Conjunctions: and, but, for, not, so, yet ...  
+# * Prepositions of three or fewer letters: at, for, by, in, to ...
+#
+# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en)
+
 # A Toolbar starts like :
 #
 # Toolbar "name" "GUI Name"
 #
 #   TableInsert "The tooltip" adds a special widget for quick insertion of tables
 #
-#   PopupMenu "name" "GUI Name"
+#   PopupMenu "name" "The tooltip"
 #
 #   ... inserts a button with a popup menu derived from Toolbar "name"
 #
-#   IconPalette "name" "GUI Name"
+#   IconPalette "name" "The tooltip"
 #
 #   ... inserts a button with a popup iconpalette derived from Toolbar "name"
 #
@@ -67,6 +79,7 @@ ToolbarSet
                Item "Copy" "copy"
                Item "Paste" "paste"
                Item "Find and replace" "dialog-show findreplace"
+               Item "Find and replace (advanced)" "dialog-toggle findreplaceadv"
                Item "Navigate back" "bookmark-goto 0"
                Separator
                Item "Toggle emphasis" "font-emph"
@@ -77,11 +90,21 @@ ToolbarSet
                Item "Insert graphics" "dialog-show-new-inset graphics"
                TableInsert "Insert table"
                Separator
-               Item "Toggle Outline" "dialog-toggle toc"
-               Item "Toggle Math Toolbar" "toolbar-toggle math"
-               Item "Toggle Table Toolbar" "toolbar-toggle table"
+               Item "Toggle outline" "dialog-toggle toc"
+               Item "Toggle math toolbar" "toolbar-toggle math"
+               Item "Toggle table toolbar" "toolbar-toggle table"
        End
-       
+
+       Toolbar "view/update" "View/Update"
+               Item "View" "buffer-view"
+               Item "Update" "buffer-update"
+               Item "View master document" "master-buffer-view"
+               Item "Update master document" "master-buffer-update"
+               Separator
+               StickyPopupMenu "view-others" "View other formats"
+               StickyPopupMenu "update-others" "Update other formats"
+       End
+
        Toolbar "extra" "Extra"
                Item "Default" "layout"
                Item "Numbered list" "layout Enumerate"
@@ -103,7 +126,7 @@ ToolbarSet
                Item "Insert margin note" "marginalnote-insert"
                Item "Insert note" "note-insert"
                Item "Insert box" "box-insert Frameless"
-               Item "Insert Hyperlink" "href-insert"
+               Item "Insert hyperlink" "href-insert"
                Item "Insert TeX code" "ert-insert"
                Item "Insert math macro" "math-macro newmacroname newcommand"
                Item "Include file" "dialog-show-new-inset include"
@@ -114,30 +137,31 @@ ToolbarSet
        End
        
        Toolbar "table" "Table"
-               Item "Add row" "tabular-feature append-row"
-               Item "Add column" "tabular-feature append-column"
-               Item "Delete row" "tabular-feature delete-row"
-               Item "Delete column" "tabular-feature delete-column"
+               Item "Add row" "inset-modify tabular append-row"
+               Item "Add column" "inset-modify tabular append-column"
+               Item "Delete row" "inset-modify tabular delete-row"
+               Item "Delete column" "inset-modify tabular delete-column"
                Separator
-               Item "Set top line" "tabular-feature toggle-line-top"
-               Item "Set bottom line" "tabular-feature toggle-line-bottom"
-               Item "Set left line" "tabular-feature toggle-line-left"
-               Item "Set right line" "tabular-feature toggle-line-right"
-               Item "Set border lines" "tabular-feature set-border-lines"
-               Item "Set all lines" "tabular-feature set-all-lines"
-               Item "Unset all lines" "tabular-feature unset-all-lines"
+               Item "Set top line" "inset-modify tabular toggle-line-top"
+               Item "Set bottom line" "inset-modify tabular toggle-line-bottom"
+               Item "Set left line" "inset-modify tabular toggle-line-left"
+               Item "Set right line" "inset-modify tabular toggle-line-right"
+               Item "Set border lines" "inset-modify tabular set-border-lines"
+               Item "Set all lines" "inset-modify tabular set-all-lines"
+               Item "Unset all lines" "inset-modify tabular unset-all-lines"
                Separator
-               Item "Align left" "command-alternatives tabular-feature m-align-left;tabular-feature align-left"
-               Item "Align center" "command-alternatives tabular-feature m-align-center;tabular-feature align-center"
-               Item "Align right" "command-alternatives tabular-feature m-align-right;tabular-feature align-right"
+               Item "Align left" "command-alternatives inset-modify tabular m-align-left;inset-modify tabular align-left"
+               Item "Align center" "command-alternatives inset-modify tabular m-align-center;inset-modify tabular align-center"
+               Item "Align right" "command-alternatives inset-modify tabular m-align-right;inset-modify tabular align-right"
                Separator
-               Item "Align top" "command-alternatives tabular-feature m-valign-top;tabular-feature valign-top"
-               Item "Align middle" "command-alternatives tabular-feature m-valign-middle;tabular-feature valign-middle"
-               Item "Align bottom" "command-alternatives tabular-feature m-valign-bottom;tabular-feature valign-bottom"
+               Item "Align top" "command-alternatives inset-modify tabular m-valign-top;inset-modify tabular valign-top"
+               Item "Align middle" "command-alternatives inset-modify tabular m-valign-middle;inset-modify tabular valign-middle"
+               Item "Align bottom" "command-alternatives inset-modify tabular m-valign-bottom;inset-modify tabular valign-bottom"
                Separator
-               Item "Rotate cell" "tabular-feature toggle-rotate-cell"
-               Item "Rotate table" "tabular-feature toggle-rotate-tabular"
-               Item "Set multi-column" "tabular-feature multicolumn"
+               Item "Rotate cell" "inset-modify tabular toggle-rotate-cell"
+               Item "Rotate table" "inset-modify tabular toggle-rotate-tabular"
+               Item "Set multi-column" "inset-modify tabular multicolumn"
+               Item "Set multi-row" "inset-modify tabular multirow"
        End
        
        Toolbar "math" "Math"
@@ -159,29 +183,29 @@ ToolbarSet
                Separator
                Item "Insert matrix" "dialog-show mathmatrix"
                Item "Insert cases environment" "math-insert \cases"
-               Item "Add row" "tabular-feature append-row"
-               Item "Add column" "tabular-feature append-column"
-               Item "Delete row" "tabular-feature delete-row"
-               Item "Delete column" "tabular-feature delete-column"
+               Item "Add row" "inset-modify tabular append-row"
+               Item "Add column" "inset-modify tabular append-column"
+               Item "Delete row" "inset-modify tabular delete-row"
+               Item "Delete column" "inset-modify tabular delete-column"
                Separator
-               Item "Toggle Math Panels" "toolbar-toggle math_panels"
+               Item "Toggle math panels" "toolbar-toggle math_panels"
        End
 
        Toolbar "mathmacrotemplate" "Math Macros"
-               Item "Remove Last Argument" "math-macro-remove-param"
-               Item "Append Argument" "math-macro-add-param"
-                Separator
-               Item "Make First Non-Optional into Optional Argument" "math-macro-make-optional"
-               Item "Make Last Optional into Non-Optional Argument"
+               Item "Remove last argument" "math-macro-remove-param"
+               Item "Append argument" "math-macro-add-param"
+               Separator
+               Item "Make first non-optional into optional argument" "math-macro-make-optional"
+               Item "Make last optional into non-optional argument"
                "math-macro-make-nonoptional"
-                Item "Remove Optional Argument" "math-macro-remove-optional-param"
-                Item "Insert Optional Argument" "math-macro-add-optional-param"
+               Item "Remove optional argument" "math-macro-remove-optional-param"
+               Item "Insert optional argument" "math-macro-add-optional-param"
                Separator
-               Item "Remove Last Argument Spitting Out To The Right" "math-macro-remove-greedy-param"
-               Item "Append Argument Eating From The Right" "math-macro-append-greedy-param"
-                Item "Append Optional Argument Eating From The Right" "math-macro-add-greedy-optional-param"
+               Item "Remove last argument spitting out to the right" "math-macro-remove-greedy-param"
+               Item "Append argument eating from the right" "math-macro-append-greedy-param"
+               Item "Append optional argument eating from the right" "math-macro-add-greedy-optional-param"
        End
-       
+
        Toolbar "minibuffer" "Command Buffer"
                Minibuffer
        End
@@ -202,16 +226,6 @@ ToolbarSet
                Item "Next note" "note-next"
        End
        
-       Toolbar "view/update" "View/Update"
-               Item "View" "buffer-view"
-               Item "Update" "buffer-update"
-               Item "View Master Document" "master-buffer-view"
-               Item "Update Master Document" "master-buffer-update"
-               Separator
-               StickyPopupMenu "view-others" "View Other Formats"
-               StickyPopupMenu "update-others" "Update Other Formats"
-       End
-       
        Toolbar "view-others" "View Other Formats"
                ViewFormats
        End
@@ -224,8 +238,8 @@ ToolbarSet
 #      Toolbar "import/export" "Import/Export"
 #              Item "Import" "buffer-import"
 #              Item "Export" "buffer-export"
-#              StickyPopupMenu "import-others" "Import Other Formats"
-#              StickyPopupMenu "export-others" "Export Other Formats"
+#              StickyPopupMenu "import-others" "Import other formats"
+#              StickyPopupMenu "export-others" "Export other formats"
 #      End
 
 #      Toolbar "import-others" "Import Other Formats"
@@ -242,29 +256,34 @@ ToolbarSet
                Item "Check-in changes" "vc-check-in"
                Item "View revision log" "dialog-show vclog"
                Item "Revert changes" "vc-revert"
+               Item "Compare with older revision" "vc-compare"
+               Item "Compare with last revision" "vc-compare 0"
+               Item "Insert Version Info" "info-insert buffer vcs-revision"
                Separator
-               Item "Toggle svn file locking property" "vc-locking-toggle"
+               Item "Use SVN file locking property" "vc-locking-toggle"
+               Separator
+               Item "Update local directory from repository" "vc-repo-update"
        End
 
        Toolbar "math_panels" "Math Panels"
-               PopupMenu "space" "Math Spacings"
+               PopupMenu "space" "Math spacings"
                PopupMenu "style" "Styles"
                PopupMenu "frac-square" "Fractions"
                PopupMenu "font" "Fonts"
                PopupMenu "functions" "Functions"
-               IconPalette "latex_deco" "Frame Decorations"
-               IconPalette "latex_varsz" "Big Operators"
+               IconPalette "latex_deco" "Frame decorations"
+               IconPalette "latex_varsz" "Big operators"
                IconPalette "latex_misc" "Miscellaneous"
                IconPalette "latex_greek" "Greek"
                IconPalette "latex_arrow" "Arrows"
-               IconPalette "latex_ams_arrows" "AMS Arrows"
+               IconPalette "latex_ams_arrows" "AMS arrows"
                IconPalette "latex_bop" "Operators"
                IconPalette "latex_brel" "Relations"
-               IconPalette "latex_ams_rel" "AMS Relations"
-               IconPalette "latex_ams_nrel" "AMS Negative Relations"
+               IconPalette "latex_ams_rel" "AMS relations"
+               IconPalette "latex_ams_nrel" "AMS negative relations"
                IconPalette "latex_dots" "Dots"
-               IconPalette "latex_ams_ops" "AMS Operators"
-               IconPalette "latex_ams_misc" "AMS Miscellaneous"
+               IconPalette "latex_ams_ops" "AMS operators"
+               IconPalette "latex_ams_misc" "AMS miscellaneous"
        End
 
        Toolbar "functions" "Functions"
@@ -314,7 +333,7 @@ ToolbarSet
                Item "Horizontal placeholder    \\hphantom" "math-insert \hphantom"
                Item "Vertical placeholder      \\vphantom" "math-insert \vphantom"
        End
-       
+
        Toolbar "sqrt-square" "Roots"
                Item "Square root       \\sqrt" "math-insert \sqrt"
                Item "Other root        \\root" "math-insert \root"
@@ -326,7 +345,7 @@ ToolbarSet
                Item "Script (small) style      \\scriptstyle" "math-size \scriptstyle"
                Item "Scriptscript (smaller) style      \\scriptscriptstyle" "math-size \scriptscriptstyle"
        End
-       
+
        Toolbar "frac-square" "Fractions"
                Item "Standard  \\frac" "math-insert \frac"
                Item "Nice fraction (3/4)       \\nicefrac" "math-insert \nicefrac"
@@ -343,7 +362,7 @@ ToolbarSet
                Item "Text binomial     \\tbinom" "math-insert \tbinom"
                Item "Display binomial  \\dbinom" "math-insert \dbinom"
        End
-       
+
        Toolbar "font" "Fonts"
                Item "Roman     \\mathrm" "math-insert \mathrm"
                Item "Bold      \\mathbf" "math-insert \mathbf"
@@ -365,7 +384,7 @@ ToolbarSet
 # Do not show it as long as it does not load mathdots automatically
 #              Item "iddots" "math-insert \iddots"
        End
-       
+
        Toolbar "latex_deco" "Frame Decorations"
                Item "hat" "math-insert \hat"
                Item "tilde" "math-insert \tilde"
@@ -394,7 +413,7 @@ ToolbarSet
                Item "underleftrightarrow" "math-insert \underleftrightarrow"
                Item "underset" "math-insert \underset"
        End
-       
+
        Toolbar "latex_arrow" "Arrows"
                Item "leftarrow" "math-insert \leftarrow"
                Item "rightarrow" "math-insert \rightarrow"
@@ -428,7 +447,7 @@ ToolbarSet
                Item "searrow" "math-insert \searrow"
                Item "rightleftharpoons" "math-insert \rightleftharpoons"
        End
-       
+
        Toolbar "latex_bop" "Operators"
                Item "pm" "math-insert \pm"
                Item "cap" "math-insert \cap"
@@ -462,7 +481,7 @@ ToolbarSet
                Item "wr" "math-insert \wr"
                Item "ddagger" "math-insert \ddagger"
        End
-       
+
        Toolbar "latex_brel" "Relations"
                Item "leq" "math-insert \leq"
                Item "geq" "math-insert \geq"
@@ -500,7 +519,7 @@ ToolbarSet
                Item "dashv" "math-insert \dashv"
                Item "bowtie" "math-insert \bowtie"
        End
-       
+
        Toolbar "latex_greek" "Greek"
                Item "alpha" "math-insert \alpha"
                Item "beta" "math-insert \beta"
@@ -543,7 +562,7 @@ ToolbarSet
                Item "Psi" "math-insert \Psi"
                Item "Omega" "math-insert \Omega"
        End
-       
+
        Toolbar "latex_misc" "Miscellaneous"
                Item "nabla" "math-insert \nabla"
                Item "partial" "math-insert \partial"
@@ -590,7 +609,7 @@ ToolbarSet
                Item "mathcal H" "math-insert \mathcal H"
                Item "mathcal O" "math-insert \mathcal O"
        End
-       
+
        Toolbar "latex_varsz" "Big Operators"
                Item "intop" "math-insert \intop"
                Item "int" "math-insert \int"
@@ -633,7 +652,7 @@ ToolbarSet
                Item "bigvee" "math-insert \bigvee"
                Item "bigwedge" "math-insert \bigwedge"
        End
-       
+
        Toolbar "latex_ams_misc" "AMS Miscellaneous"
                Item "digamma" "math-insert \digamma"
                Item "varkappa" "math-insert \varkappa"
@@ -660,6 +679,7 @@ ToolbarSet
                Item "Bbbk" "math-insert \Bbbk"
                Item "backprime" "math-insert \backprime"
                Item "varnothing" "math-insert \varnothing"
+               Item "Diamond" "math-insert \Diamond"
                Item "blacktriangle" "math-insert \blacktriangle"
                Item "blacktriangledown" "math-insert \blacktriangledown"
                Item "blacksquare" "math-insert \blacksquare"
@@ -671,7 +691,7 @@ ToolbarSet
                Item "diagup" "math-insert \diagup"
                Item "diagdown" "math-insert \diagdown"
        End
-       
+
        Toolbar "latex_ams_arrows" "AMS Arrows"
                Item "dashleftarrow" "math-insert \dashleftarrow"
                Item "dashrightarrow" "math-insert \dashrightarrow"
@@ -711,7 +731,7 @@ ToolbarSet
                Item "nLeftrightarrow" "math-insert \nLeftrightarrow"
                Item "multimap" "math-insert \multimap"
        End
-       
+
        Toolbar "latex_ams_rel" "AMS Relations"
                Item "leqq" "math-insert \leqq"
                Item "geqq" "math-insert \geqq"
@@ -780,7 +800,7 @@ ToolbarSet
                Item "between" "math-insert \between"
                Item "pitchfork" "math-insert \pitchfork"
        End
-       
+
        Toolbar "latex_ams_nrel" "AMS Negative Relations"
                Item "nless" "math-insert \nless"
                Item "ngtr" "math-insert \ngtr"
@@ -833,7 +853,7 @@ ToolbarSet
                Item "nparallel" "math-insert \nparallel"
                Item "nshortparallel" "math-insert \nshortparallel"
        End
-       
+
        Toolbar "latex_ams_ops" "AMS Operators"
                Item "dotplus" "math-insert \dotplus"
                Item "smallsetminus" "math-insert \smallsetminus"