Changes between Version 2 and Version 3 of i18n/en_EN/StyleGuide

May 19, 2010, 4:33:55 PM (9 years ago)



  • i18n/en_EN/StyleGuide

    v2 v3  
    1313||<div class="box-stop"><div>||To point out some critical issue. [ Example]||
    1414||<div class="box-warning"><div>||To warn about serious consequences. [ Example]||
    15 ||||
     15|| ||
    1616||'''''Terminal output'''''||||
    1717||<pre class="terminal"><div>||For Terminal in/output. [ Example]||
    18 ||||
     18|| ||
    1919||'''''In-text formatting'''''||||
    20 ||<span class="key"></span>||For keyboard shortcuts. Use uppercase. Keys are separated with non-breaking spaces.||
    21 ||||''Example:'' <span class="key">ALT</span>&nbsp;<span class="key">C</span>||
    22 ||<span class="cli"></span>||For command line applications.||
    23 ||||''Example:'' <span class="cli">catattr</span>||
    24 ||<span class="app"></span>||For applications.||
    25 ||||''Example:'' <span class="app">ActivityMonitor</span>||
    26 ||<span class="path"></span>||For paths.||
    27 ||||''Example:'' <span class="path">/boot/home/config/be</span>||
    28 ||<span class="menu"></span>||For menu items. Separate menu, submenu, item with a " | ".||
    29 ||||''Example:'' <span class="menu">Font | Size | Increase</span>||
    30 ||<span class="button"></span>||For buttons.||
    31 ||||''Example:'' <span class="button">Apply</span>||
     20||{{{<span class="key"></span>}}}||For keyboard shortcuts. Use uppercase. Keys are separated with non-breaking spaces.||
     21||||''Example:'' {{{<span class="key">}}}ALT{{{</span>}}}&nbsp;{{{<span class="key">C</span>}}}||
     22||{{{<span class="cli"></span>}}}||For command line applications.||
     23||||''Example:'' {{{<span class="cli">}}}catattr{{{</span>}}}||
     24||{{{<span class="app"></span>}}}||For applications.||
     25||||''Example:'' {{{<span class="app">}}}ActivityMonitor{{{</span>}}}||
     26||{{{<span class="path"></span>}}}||For paths.||
     27||||''Example:'' {{{<span class="path">}}}/boot/home/config/be{{{</span>}}}||
     28||{{{<span class="menu"></span>}}}||For menu items. Separate menu, submenu, item with a " | ".||
     29||||''Example:'' {{{<span class="menu">}}}Font | Size | Increase{{{</span>}}}||
     30||{{{<span class="button"></span>}}}||For buttons.||
     31||||''Example:'' {{{<span class="button">}}}Apply{{{</span>}}}||
    3333=== In General ===
    3939==== Tables ====
    4040Tables should be used if you have a couple of e.g. buttons or menus that are to be explained with a short text (e.g. see [ at bottom of Twitcher]. Between the object (button or menu) and the explanation should be a 15 pixel wide empty column. To avoid unwanted linebreaks and align text to the top, use the class "onelinetop" of a cell.[[BR]]
    41 ''Example:'' <tr><td class="onelinetop">Longest menu item</td> <td width="15"> </td><td>Explanatory text</td></tr>
     41''Example:'' {{{<tr><td class="onelinetop">}}}Longest menu item{{{</td> <td width="15"> </td><td>}}}Explanatory text{{{</td></tr>}}}