mirror of
https://github.com/twbs/bootstrap.git
synced 2024-12-01 13:24:25 +01:00
add i18n to upgrading
This commit is contained in:
parent
8db0cc6fda
commit
f4543ecb19
74
docs/templates/pages/upgrading.mustache
vendored
74
docs/templates/pages/upgrading.mustache
vendored
@ -1,78 +1,78 @@
|
|||||||
<!-- Masthead
|
<!-- Masthead
|
||||||
================================================== -->
|
================================================== -->
|
||||||
<header class="jumbotron subhead" id="overview">
|
<header class="jumbotron subhead" id="overview">
|
||||||
<h1>Upgrading to Bootstrap 2</h1>
|
<h1>{{_i}}Upgrading to Bootstrap 2{{/i}}</h1>
|
||||||
<p class="lead">Learn about significant changes and additions since v1.4 with this handy guide.</p>
|
<p class="lead">{{_i}}Learn about significant changes and additions since v1.4 with this handy guide.{{/i}}</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
|
|
||||||
<h2>Rough outline</h2>
|
<h2>Rough outline</h2>
|
||||||
<ul>
|
<ul>
|
||||||
<li>Docs completely overhauled
|
<li>{{_i}}Docs completely overhauled{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Responsive thanks to new grid system</li>
|
<li>{{_i}}Responsive thanks to new grid system{{/i}}</li>
|
||||||
<li>Now less marketing and more information</li>
|
<li>{{_i}}Now less marketing and more information{{/i}}</li>
|
||||||
<li>Extensive use of tables to share classes and elements of most components</li>
|
<li>{{_i}}Extensive use of tables to share classes and elements of most components{{/i}}</li>
|
||||||
<li>Broken down into several pages for easier consumption</li>
|
<li>{{_i}}Broken down into several pages for easier consumption{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Updated grid system, now only 12 columns
|
<li>{{_i}}Updated grid system, now only 12 columns{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Same great classes, but now only 12 columns</li>
|
<li>{{_i}}Same great classes, but now only 12 columns{{/i}}</li>
|
||||||
<li>Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more</li>
|
<li>{{_i}}Responsive approach means your projects virtually work out of the box on smartphones, tablets, and more{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>New thumbnails (previously media grids)
|
<li>{{_i}}New thumbnails (previously media grids){{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li><code>.media-grid</code> class has been changed to <code>.thumbnails</code></li>
|
<li>{{_i}}<code>.media-grid</code> class has been changed to <code>.thumbnails</code>{{/i}}</li>
|
||||||
<li>Individual thumbnails now require <code>.thumbnail</code> class</li>
|
<li>{{_i}}Individual thumbnails now require <code>.thumbnail</code> class{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Updated forms
|
<li>{{_i}}Updated forms{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Default form style is now stacked to use less CSS and add flexibility</li>
|
<li>{{_i}}Default form style is now stacked to use less CSS and add flexibility{{/i}}</li>
|
||||||
<li>Exact same markup is required for vertical or horizontal forms—just swap the classes</li>
|
<li>{{_i}}Exact same markup is required for vertical or horizontal forms—just swap the classes{{/i}}</li>
|
||||||
<li>New form defaults for search, inline, vertical, and horizontal</li>
|
<li>{{_i}}New form defaults for search, inline, vertical, and horizontal{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Updated tables
|
<li>Updated tables
|
||||||
<ul>
|
<ul>
|
||||||
<li>Table classes made more consistent</li>
|
<li>{{_i}}Table classes made more consistent{{/i}}</li>
|
||||||
<li>Removed unused table color options (too much code for such little impact)</li>
|
<li>{{_i}}Removed unused table color options (too much code for such little impact){{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Typography
|
<li>Typography
|
||||||
<ul>
|
<ul>
|
||||||
<li>Right-aligned option for blockquotes if float: right;</li>
|
<li>{{_i}}Right-aligned option for blockquotes if float: right;{{/i}}</li>
|
||||||
<li><code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px</li>
|
<li>{{_i}}<code>h4</code> elements were dropped from 16px to 14px with a default <code>line-height</code> of 18px{{/i}}</li>
|
||||||
<li><code>h5</code> elements were dropped from 14px to 12px</li>
|
<li>{{_i}}<code>h5</code> elements were dropped from 14px to 12px{{/i}}</li>
|
||||||
<li><code>h6</code> elements were dropped from 13px to 11px</li>
|
<li>{{_i}}<code>h6</code> elements were dropped from 13px to 11px{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Buttons
|
<li>{{_i}}Buttons{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Added button bar options</li>
|
<li>{{_i}}Added button bar options{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Examples
|
<li>{{_i}}Examples{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Fluid examples redone. <code>.fluid-container</code> now requires a <code>.sidebar-left</code> or <code>.sidebar-right</code> as well. Fluid sidebar element has a new class, <code>.fluid-sidebar</code>.</li>
|
<li>{{_i}}Fluid examples redone. <code>.fluid-container</code> now requires a <code>.sidebar-left</code> or <code>.sidebar-right</code> as well. Fluid sidebar element has a new class, <code>.fluid-sidebar</code>.{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Dropdown menus
|
<li>{{_i}}Dropdown menus{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Updated the <code>.dropdown-menu</code> to tighten up spacing</li>
|
<li>{{_i}}Updated the <code>.dropdown-menu</code> to tighten up spacing{{/i}}</li>
|
||||||
<li>Now requires you to add a <code><span class="caret"></span></code> to show the dropdown arrow</li>
|
<li>{{_i}}Now requires you to add a <code><span class="caret"></span></code> to show the dropdown arrow{{/i}}</li>
|
||||||
<li>The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.</li>
|
<li>{{_i}}The navbar (fixed topbar) has brand new dropdowns. Gone are the dark versions and in their place are the standard white ones with an additional caret at their tops for clarity of position.{{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li>Navigation
|
<li>{{_i}}Navigation{{/i}}
|
||||||
<ul>
|
<ul>
|
||||||
<li>Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code><ul></code></li>
|
<li>{{_i}}Tabs and pills now require the use of a new base class, <code>.nav</code>, on their <code><ul></code>{{/i}}</li>
|
||||||
<li>New nav list component added that uses the same base class, <code>.nav</code></li>
|
<li>{{_i}}New nav list component added that uses the same base class, <code>.nav</code>{{/i}}</li>
|
||||||
<li>Vertical tabs and pills have been added—just add <code>.stacked</code> to the <code><ul></code></li>
|
<li>{{_i}}Vertical tabs and pills have been added—just add <code>.stacked</code> to the <code><ul></code><{{/i}}/li>
|
||||||
<li>Pills were restyled to be less rounded by default</li>
|
<li>{{_i}}Pills were restyled to be less rounded by default{{/i}}</li>
|
||||||
<li>Pills now have dropdown menu support (they share the same markup and styles as tabs)</li>
|
<li>{{_i}}Pills now have dropdown menu support (they share the same markup and styles as tabs){{/i}}</li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user