]> git.lyx.org Git - lyx.git/blobdiff - lib/ui/stdtoolbars.inc
zh_CN update of layouttranslations
[lyx.git] / lib / ui / stdtoolbars.inc
index ca29aed4058712274da2216292aa01b0488ff1b7..5a4ffe336522ba78258d97a38bc345516dea0134 100644 (file)
 #      Item "Small font" "font-size small"
 #      Item Emphasized set-emph
 #
+#   BidiItem is like Item, but an alternative icon (with name ending
+#   with "+rtl") will be used <hen the paragraph has a right-to-left
+#   layout. If this alternative icon does not exist, the LtR icon will
+#   be mirrored instead.
+#
 #   Layouts adds the layouts combo-box to the toolbar
 #
 #   Separator adds some spacing to the toolbar
 #
-#   Minibuffer adds the command buffer (Qt only, only one may exist)
+#   Minibuffer adds the command buffer (only one may exist)
 #
-#   TableInsert "The tooltip" adds a special widget for quick insertion of tables
+#   TableInsert "The tooltip" adds a special widget for quick
+#   insertion of tables
 #
 #   PopupMenu "name" "The tooltip"
 #
@@ -113,20 +119,13 @@ ToolbarSet
 
        Toolbar "extra" "Extra"
                Item "Default" "layout"
-               # The bidi function is used here to select a different
-               # icon depending on the direction of the current text.
-               Item "Numbered list" "bidi ltr layout-toggle Enumerate"
-               Item "Numbered list" "bidi rtl layout-toggle Enumerate"
-               Item "Itemized list" "bidi ltr layout-toggle Itemize"
-               Item "Itemized list" "bidi rtl layout-toggle Itemize"
-               Item "List" "bidi ltr layout-toggle Labeling"
-               Item "List" "bidi rtl layout-toggle Labeling"
-               Item "Description" "bidi ltr layout-toggle Description"
-               Item "Description" "bidi rtl layout-toggle Description"
-               Item "Increase depth" "bidi ltr depth-increment"
-               Item "Increase depth" "bidi rtl depth-increment"
-               Item "Decrease depth" "bidi ltr depth-decrement"
-               Item "Decrease depth" "bidi rtl depth-decrement"
+               BidiItem "Numbered list" "layout-toggle Enumerate"
+               BidiItem "Itemized list" "layout-toggle Itemize"
+               BidiItem "Labeled List" "layout-toggle Labeling"
+               BidiItem "Description" "layout-toggle Description"
+               BidiItem "Section" "layout-toggle Section"
+               BidiItem "Increase depth" "command-alternatives outline-in;depth-increment"
+               BidiItem "Decrease depth" "command-alternatives outline-out;depth-decrement"
                Separator
                Item "Insert figure float" "float-insert figure"
                Item "Insert table float" "float-insert table"
@@ -424,6 +423,7 @@ ToolbarSet
                Item "Italic    \\mathit" "math-insert \mathit"
                Item "Typewriter        \\mathtt" "math-insert \mathtt"
                Item "Blackboard        \\mathbb" "math-insert \mathbb"
+               Item "Double stroke     \\mathds" "math-insert \mathds"
                Item "Fraktur   \\mathfrak" "math-insert \mathfrak"
                Item "Calligraphic      \\mathcal" "math-insert \mathcal"
                Item "Formal Script     \\mathscr" "math-insert \mathscr"