Jürgen Spitzmüller wrote: > Vincent van Ravesteijn wrote: > > Shouldn't it be "Number Whole Formula|N" and "Number This Line", as I > > read that the casing should be unified ? > > Yes. The stdcontext file is not very coherent in style.
And not only that. After re-consulting a HIG (the Gnome HIG since KDE's is inaccessible ATM, but they should be identical in this regard), I came up with the following changes. Objections? Jürgen
Index: lib/ui/stdcontext.inc =================================================================== --- lib/ui/stdcontext.inc (Revision 30277) +++ lib/ui/stdcontext.inc (Arbeitskopie) @@ -11,6 +11,13 @@ # The interface is designed (partially) following the KDE Human Interface # Guidelines (http://usability.kde.org/hig/) +# Casing Rules: +# 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) + Menuset # @@ -30,13 +37,13 @@ End Menu "ams_environment" - Item "AMS align Environment|a" "math-mutate align" - Item "AMS alignat Environment|t" "math-mutate alignat" - Item "AMS flalign Environment|f" "math-mutate flalign" - Item "AMS gather Environment|g" "math-mutate gather" - Item "AMS multline Environment|m" "math-mutate multline" + Item "AMS Align Environment|a" "math-mutate align" + Item "AMS AlignAt Environment|t" "math-mutate alignat" + Item "AMS FlAlign Environment|f" "math-mutate flalign" + Item "AMS Gather Environment|g" "math-mutate gather" + Item "AMS MultLine Environment|m" "math-mutate multline" End - + Menu "context-math" Item "Inline Formula|I" "math-mutate simple" Item "Displayed Formula|D" "math-mutate equation" @@ -44,8 +51,8 @@ Submenu "AMS Environment|A" "ams_environment" Separator OptItem "Equation Label|L" "label-insert" - OptItem "Number whole Formula|N" "math-number-toggle" - OptItem "Number this Line|u" "math-number-line-toggle" + OptItem "Number Whole Formula|N" "math-number-toggle" + OptItem "Number This Line|u" "math-number-line-toggle" Separator Item "Split Cell|C" "cell-split" Separator @@ -74,12 +81,12 @@ Item "Next Cross-Reference|N" "reference-next" Item "Go to Label|G" "label-goto" Separator - Item "<reference>|r" "next-inset-modify changetype ref" - Item "(<reference>)|e" "next-inset-modify changetype eqref" - Item "<page>|p" "next-inset-modify changetype pageref" - Item "on page <page>|o" "next-inset-modify changetype vpageref" - Item "<reference> on page <page>|f" "next-inset-modify changetype vref" - Item "Formatted reference|t" "next-inset-modify changetype prettyref" + Item "<Reference>|R" "next-inset-modify changetype ref" + Item "(<Reference>)|E" "next-inset-modify changetype eqref" + Item "<Page>|P" "next-inset-modify changetype pageref" + Item "On Page <Page>|o" "next-inset-modify changetype vpageref" + Item "<Reference> on Page <Page>|f" "next-inset-modify changetype vref" + Item "Formatted Reference|t" "next-inset-modify changetype prettyref" Separator Item "Settings...|S" "next-inset-toggle" End @@ -89,7 +96,7 @@ # Menu "context-label" Item "Next Cross-Reference|N" "reference-next" - Item "Go back|G" "bookmark-goto 0" + Item "Go Back|G" "bookmark-goto 0" Separator Item "Copy as Reference|C" "copy-label-as-reference" Separator @@ -113,7 +120,7 @@ Menu "context-bibtex" Item "Settings...|S" "next-inset-toggle" Separator - Item "Edit Database(s) externally...|x" "inset-edit" + Item "Edit Database(s) Externally...|x" "inset-edit" End @@ -141,13 +148,13 @@ Menu "context-box" Item "Frameless|l" "next-inset-modify changetype Frameless" - Item "Simple frame|f" "next-inset-modify changetype Boxed" - Item "Simple frame, page breaks|p" "next-inset-modify changetype Framed" - Item "Oval, thin|a" "next-inset-modify changetype ovalbox" - Item "Oval, thick|v" "next-inset-modify changetype Ovalbox" + Item "Simple Frame|F" "next-inset-modify changetype Boxed" + Item "Simple Frame, Page Breaks|P" "next-inset-modify changetype Framed" + Item "Oval, Thin|a" "next-inset-modify changetype ovalbox" + Item "Oval, Thick|v" "next-inset-modify changetype Ovalbox" Item "Drop Shadow|w" "next-inset-modify changetype Shadowbox" - Item "Shaded background|b" "next-inset-modify changetype Shaded" - Item "Double frame|u" "next-inset-modify changetype Doublebox" + Item "Shaded Background|B" "next-inset-modify changetype Shaded" + Item "Double Frame|u" "next-inset-modify changetype Doublebox" Separator OptItem "Open Inset|O" "next-inset-toggle open" OptItem "Close Inset|C" "next-inset-toggle close" @@ -244,7 +251,7 @@ Separator Item "Settings...|S" "next-inset-toggle" Separator - Item "Edit included file...|E" "inset-edit" + Item "Edit Included File...|E" "inset-edit" End # @@ -281,8 +288,8 @@ Separator OptItem "Promote Section|r" "outline-out" OptItem "Demote Section|m" "outline-in" - OptItem "Move Section down|d" "outline-down" - OptItem "Move Section up|u" "outline-up" + OptItem "Move Section Down|D" "outline-down" + OptItem "Move Section Up|U" "outline-up" OptItem "Insert Short Title|T" "optional-insert" Separator Item "Apply Last Text Style|A" "textstyle-apply" @@ -299,15 +306,15 @@ Menu "context-math-macro-definition" Item "Append Argument" "math-macro-add-param" Item "Remove Last Argument" "math-macro-remove-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 "Insert Optional Argument" "math-macro-add-optional-param" - Item "Remove Optional Argument" "math-macro-remove-optional-param" Separator - 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 "Make First Non-Optional Into Optional Argument" "math-macro-make-optional" + Item "Make Last Optional Into Non-Optional Argument" "math-macro-make-nonoptional" + Item "Insert Optional Argument" "math-macro-add-optional-param" + Item "Remove Optional Argument" "math-macro-remove-optional-param" + Separator + 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" End # @@ -334,7 +341,7 @@ Menu "context-graphics" Item "Settings...|S" "next-inset-toggle" Separator - Item "Edit externally...|x" "inset-edit" + Item "Edit Externally...|x" "inset-edit" Separator GraphicsGroups End @@ -346,7 +353,7 @@ Menu "context-external" Item "Settings...|S" "next-inset-toggle" Separator - Item "Edit externally...|x" "inset-edit" + Item "Edit Externally...|x" "inset-edit" End # Index: lib/ui/stdtoolbars.inc =================================================================== --- lib/ui/stdtoolbars.inc (Revision 30277) +++ lib/ui/stdtoolbars.inc (Arbeitskopie) @@ -12,6 +12,11 @@ # The interface is designed (partially) following the KDE Human Interface # Guidelines (http://usability.kde.org/hig/) +# Casing rules for item tooltips: +# Capitalize the first letter of the first word, and any other words normally +# capitalized in sentences, such as application names. +# (http://library.gnome.org/devel/hig-book/stable/design-text-labels.html.en) + # A Toolbar starts like : # # Toolbar "name" "GUI Name" @@ -77,11 +82,11 @@ 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 "extra" "Extra" Item "Default" "layout" Item "Numbered list" "layout Enumerate" @@ -103,7 +108,7 @@ 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" @@ -164,24 +169,24 @@ Item "Delete row" "tabular-feature delete-row" Item "Delete column" "tabular-feature 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 @@ -218,7 +223,7 @@ Item "View revision log" "dialog-show vclog" Item "Revert changes" "vc-revert" Separator - Item "Use SVN File Locking Property" "vc-locking-toggle" + Item "Use SVN file locking property" "vc-locking-toggle" End Toolbar "math_panels" "Math Panels" @@ -289,7 +294,7 @@ 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" @@ -301,7 +306,7 @@ 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 "No horizontal line \\atop" "math-insert \atop" @@ -319,7 +324,7 @@ 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" @@ -339,7 +344,7 @@ Item "vdots" "math-insert \vdots" Item "ddots" "math-insert \ddots" End - + Toolbar "latex_deco" "Frame Decorations" Item "hat" "math-insert \hat" Item "tilde" "math-insert \tilde" @@ -366,7 +371,7 @@ 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" @@ -400,7 +405,7 @@ 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" @@ -434,7 +439,7 @@ 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" @@ -472,7 +477,7 @@ 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" @@ -515,7 +520,7 @@ 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" @@ -562,7 +567,7 @@ 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" @@ -599,7 +604,7 @@ 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" @@ -637,7 +642,7 @@ 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" @@ -677,7 +682,7 @@ 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" @@ -746,7 +751,7 @@ 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" @@ -799,7 +804,7 @@ 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" Index: lib/ui/stdmenus.inc =================================================================== --- lib/ui/stdmenus.inc (Revision 30277) +++ lib/ui/stdmenus.inc (Arbeitskopie) @@ -13,6 +13,13 @@ # The interface is designed (partially) following the KDE Human Interface # Guidelines (http://usability.kde.org/hig/) +# Casing Rules: +# 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) + Menuset Menubar @@ -61,8 +68,8 @@ Menu "file_vc" OptItem "Register...|R" "vc-register" - OptItem "Check In Changes...|I" "vc-check-in" - OptItem "Check Out for Edit|O" "vc-check-out" + OptItem "Check in Changes...|I" "vc-check-in" + OptItem "Check out for Edit|O" "vc-check-out" OptItem "Revert to Repository Version|R" "vc-revert" OptItem "Undo Last Check In|U" "vc-undo-last" OptItem "Show History...|H" "dialog-show vclog" @@ -136,10 +143,10 @@ Item "Selection|S" "primary-selection-paste" Item "Selection, Join Lines|i" "primary-selection-paste paragraph" Separator - Item "Paste As LinkBack PDF" "paste linkback" - Item "Paste As PDF" "paste pdf" - Item "Paste As PNG" "paste png" - Item "Paste As JPEG" "paste jpeg" + Item "Paste as LinkBack PDF" "paste linkback" + Item "Paste as PDF" "paste pdf" + Item "Paste as PNG" "paste png" + Item "Paste as JPEG" "paste jpeg" End Menu "edit_pasterecent" @@ -147,7 +154,7 @@ End Menu "edit_textstyles" - Item "Dissolve CharStyle" "inset-dissolve charstyle" + Item "Dissolve Text Style" "inset-dissolve charstyle" CharStyles Elements Separator @@ -190,8 +197,8 @@ End Menu "edit_math" - Item "Number whole Formula|N" "math-number-toggle" - Item "Number this Line|u" "math-number-line-toggle" + Item "Number Whole Formula|N" "math-number-toggle" + Item "Number This Line|u" "math-number-line-toggle" Submenu "Change Limits Type|L" "edit_math_limits" Submenu "Macro Definition" "edit_math_macro_definition" Separator @@ -217,15 +224,15 @@ Menu "edit_math_macro_definition" Item "Append Argument" "math-macro-add-param" Item "Remove Last Argument" "math-macro-remove-param" - Separator + 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 "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" + Item "Remove Optional Argument" "math-macro-remove-optional-param" Separator - 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" + Item "Remove Last Argument Spitting out to the Right" "math-macro-remove-greedy-param" End Menu "edit_math_limits" @@ -264,21 +271,21 @@ Item "Maxima|M" "math-extern maxima" Item "Mathematica|a" "math-extern mathematica" Separator - Item "Maple, simplify|s" "math-extern maple simplify" - Item "Maple, factor|f" "math-extern maple factor" - Item "Maple, evalm|e" "math-extern maple evalm" - Item "Maple, evalf|v" "math-extern maple evalf" + Item "Maple, Simplify|S" "math-extern maple simplify" + Item "Maple, Factor|F" "math-extern maple factor" + Item "Maple, Evalm|E" "math-extern maple evalm" + Item "Maple, Evalf|v" "math-extern maple evalf" End Menu "edit_math_mutate" Item "Inline Formula|I" "math-mutate simple" Item "Displayed Formula|D" "math-mutate equation" Item "Eqnarray Environment|E" "math-mutate eqnarray" - Item "AMS align Environment|a" "math-mutate align" - Item "AMS alignat Environment|t" "math-mutate alignat" - Item "AMS flalign Environment|f" "math-mutate flalign" - Item "AMS gather Environment|g" "math-mutate gather" - Item "AMS multline Environment|m" "math-mutate multline" + Item "AMS Align Environment|A" "math-mutate align" + Item "AMS AlignAt Environment|t" "math-mutate alignat" + Item "AMS FlAlign Environment|F" "math-mutate flalign" + Item "AMS Gather Environment|G" "math-mutate gather" + Item "AMS MultLine Environment|M" "math-mutate multline" End # @@ -296,13 +303,13 @@ Submenu "Update|U" "view_update" ViewFormats Separator - Item "Split View Into Left And Right Half|i" "split-view horizontal" - Item "Split View Into Upper And Lower Half|V" "split-view vertical" + Item "Split View Into Left and Right Half|i" "split-view horizontal" + Item "Split View Into Upper and Lower Half|V" "split-view vertical" Item "Close Tab Group|G" "close-tab-group" Item "Fullscreen|l" "ui-toggle fullscreen" Submenu "Toolbars|b" "toolbars" Separator - Documents + Documents End Menu "view_update" @@ -326,7 +333,7 @@ Submenu "Float|a" "insert_float" Submenu "Note|N" "insert_note" Submenu "Branch|B" "insert_branches" - Submenu "Custom insets" "insert_custom" + Submenu "Custom Insets" "insert_custom" Submenu "File|e" "insert_file" Item "Box[[Menu]]" "box-insert Frameless" Separator @@ -388,11 +395,11 @@ Item "Display Formula|D" "math-display" Item "Numbered Formula|N" "command-sequence math-display; math-number-toggle;" Item "Eqnarray Environment|E" "command-sequence math-mode on; math-mutate eqnarray;" - Item "AMS align Environment|a" "command-sequence math-mode on; math-mutate align;" - Item "AMS alignat Environment|t" "command-sequence math-mode on; math-mutate alignat;" - Item "AMS flalign Environment|f" "command-sequence math-mode on; math-mutate flalign;" - Item "AMS gather Environment|g" "command-sequence math-mode on; math-mutate gather;" - Item "AMS multline Environment|m" "command-sequence math-mode on; math-mutate multline;" + Item "AMS Align Environment|A" "command-sequence math-mode on; math-mutate align;" + Item "AMS AlignAt Environment|t" "command-sequence math-mode on; math-mutate alignat;" + Item "AMS FlAlign Environment|F" "command-sequence math-mode on; math-mutate flalign;" + Item "AMS Gather Environment|G" "command-sequence math-mode on; math-mutate gather;" + Item "AMS Multline Environment|M" "command-sequence math-mode on; math-mutate multline;" Separator Item "Array Environment|y" "math-matrix 2 2" Item "Cases Environment|C" "command-sequence math-mode on; math-insert \cases"
