diff options
| author | Jacob Thornton <[email protected]> | 2012-01-24 14:08:03 -0800 |
|---|---|---|
| committer | Jacob Thornton <[email protected]> | 2012-01-24 14:08:03 -0800 |
| commit | f03e170054be081738493c6dace4b37a7a3d40cd (patch) | |
| tree | 9e0962214e08c45cc577836b3e40be29189f4b93 | |
| parent | 72117c3f9751d9ccb7bebf76f8a5776c99a51857 (diff) | |
| download | bootstrap-f03e170054be081738493c6dace4b37a7a3d40cd.tar.xz bootstrap-f03e170054be081738493c6dace4b37a7a3d40cd.zip | |
scaffolding i18n
| -rw-r--r-- | docs/templates/pages/scaffolding.mustache | 134 |
1 files changed, 67 insertions, 67 deletions
diff --git a/docs/templates/pages/scaffolding.mustache b/docs/templates/pages/scaffolding.mustache index c586af1b9..7c0c12e8f 100644 --- a/docs/templates/pages/scaffolding.mustache +++ b/docs/templates/pages/scaffolding.mustache @@ -1,12 +1,12 @@ <!-- Masthead ================================================== --> <header class="jumbotron subhead" id="overview"> - <h1>Scaffolding</h1> - <p class="lead">Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.</p> + <h1>{{_i}}Scaffolding{{/i}}</h1> + <p class="lead">{{_i}}Bootstrap is built on a responsive 12-column grid. We've also included fixed- and fluid-width layouts based on that system.{{/i}}</p> <ul class="nav pills"> - <li><a href="./scaffolding.html#grid-system">Grid system</a></li> - <li><a href="./scaffolding.html#layouts">Layouts</a></li> - <li><a href="./scaffolding.html#responsive">Responsive design</a></li> + <li><a href="./scaffolding.html#grid-system">{{_i}}Grid system{{/i}}</a></li> + <li><a href="./scaffolding.html#layouts">{{_i}}Layouts{{/i}}</a></li> + <li><a href="./scaffolding.html#responsive">{{_i}}Responsive design{{/i}}</a></li> </ul> </header> @@ -16,7 +16,7 @@ ================================================== --> <section id="grid-system"> <div class="page-header"> - <h1>Grid system <small>12 columns with a responsive twist</small></h1> + <h1>{{_i}}Grid system <small>12 columns with a responsive twist</small>{{/i}}</h1> </div> <h2>Default 940px grid</h2> @@ -53,8 +53,8 @@ <div class="row"> <div class="span4"> - <p>The default grid system provided as part of Bootstrap is a <strong>940px-wide, 12-column grid</strong>.</p> - <p>It also has three responsive variations for various devices and resolutions: phone, tablet, and large widescreen desktops.</p> + <p>{{_i}}The default grid system provided as part of Bootstrap is a <strong>940px-wide, 12-column grid</strong>.{{/i}}</p> + <p>{{_i}}It also has three responsive variations for various devices and resolutions: phone, tablet, and large widescreen desktops.{{/i}}</p> </div> <div class="span4"> <pre class="prettyprint linenums"> @@ -65,7 +65,7 @@ </pre> </div> <div class="span4"> - <p>As shown here, a basic layout can be created with two "columns," each spanning a number of the 12 foundational columns we defined as part of our grid system.</p> + <p>{{_i}}As shown here, a basic layout can be created with two "columns," each spanning a number of the 12 foundational columns we defined as part of our grid system.{{/i}}</p> </div> </div><!-- /row --> @@ -84,20 +84,20 @@ <br> - <h2>Nesting columns</h2> + <h2>{{_i}}Nesting columns{{/i}}</h2> <div class="row"> <div class="span6"> - <p>With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column.</p> - <h4>Example</h4> + <p>{{_i}}With the static (non-fluid) grid system in Bootstrap, nesting is easy. To nest your content, just add a new <code>.row</code> and set of <code>.span*</code> columns within an existing <code>.span*</code> column.{{/i}}</p> + <h4>{{_i}}Example{{/i}}</h4> <div class="row show-grid"> <div class="span6"> - Level 1 of column + {{_i}}Level 1 of column{{/i}} <div class="row show-grid"> <div class="span3"> - Level 2 + {{_i}}Level 2{{/i}} </div> <div class="span3"> - Level 2 + {{_i}}Level 2{{/i}} </div> </div> </div> @@ -107,10 +107,10 @@ <pre class="prettyprint linenums"> <div class="row"> <div class="span12"> - Level 1 of column + {{_i}}Level 1 of column{{/i}} <div class="row"> - <div class="span6">Level 2</div> - <div class="span6">Level 2</div> + <div class="span6">{{_i}}Level 2{{/i}}</div> + <div class="span6">{{_i}}Level 2{{/i}}</div> </div> </div> </div> @@ -118,50 +118,50 @@ </div> </div> - <h2>Grid customization</h2> + <h2>{{_i}}Grid customization{{/i}}</h2> <table class="table table-bordered table-striped"> <thead> <tr> - <th>Variable</th> - <th>Default value</th> - <th>Description</th> + <th>{{_i}}Variable{{/i}}</th> + <th>{{_i}}Default value{{/i}}</th> + <th>{{_i}}Description{{/i}}</th> </tr> </thead> <tbody> <tr> <td><code>@gridColumns</code></td> <td>12</td> - <td>Number of columns</td> + <td>{{_i}}Number of columns{{/i}}</td> </tr> <tr> <td><code>@gridColumnWidth</code></td> <td>60px</td> - <td>Width of each column</td> + <td>{{_i}}Width of each column{{/i}}</td> </tr> <tr> <td><code>@gridGutterWidth</code></td> <td>20px</td> - <td>Negative space between columns</td> + <td>{{_i}}Negative space between columns{{/i}}</td> </tr> <tr> <td><code>@siteWidth</code></td> - <td><em>Computed sum of all columns and gutters</em></td> - <td>Counts number of columns and gutters to set width of the <code>.fixed-container()</code> mixin</td> + <td><em>{{_i}}Computed sum of all columns and gutters{{/i}}</em></td> + <td>{{_i}}Counts number of columns and gutters to set width of the <code>.fixed-container()</code> mixin{{/i}}</td> </tr> </tbody> </table> <div class="row"> <div class="span4"> - <h3>Variables in LESS</h3> - <p>Built into Bootstrap are a handful of variables for customizing the default 940px grid system, documented above. All variables for the grid are stored in variables.less.</p> + <h3>{{_i}}Variables in LESS{{/i}}</h3> + <p>{{_i}}Built into Bootstrap are a handful of variables for customizing the default 940px grid system, documented above. All variables for the grid are stored in variables.less.{{/i}}</p> </div> <div class="span4"> - <h3>How to customize</h3> - <p>Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grids in the preboot.less file and use one of the <a href="#compiling">four ways documented to recompile</a>.</p> + <h3>{{_i}}How to customize{{/i}}</h3> + <p>{{_i}}Modifying the grid means changing the three <code>@grid*</code> variables and recompiling Bootstrap. Change the grids in the preboot.less file and use one of the <a href="#compiling">four ways documented to recompile</a>.{{/i}}</p> </div> <div class="span4"> - <h3>Staying responsive</h3> - <p>Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to customize the grids in responsive.less.</p> + <h3>{{_i}}Staying responsive{{/i}}</h3> + <p>{{_i}}Customization of the grid only works at the default level, the 940px grid. To maintain the responsive aspects of Bootstrap, you'll also have to customize the grids in responsive.less.{{/i}}</p> </div> </div><!-- /row --> @@ -173,13 +173,13 @@ ================================================== --> <section id="layouts"> <div class="page-header"> - <h1>Layouts <small>Basic templates to create webpages</small></h1> + <h1>{{_i}}Layouts <small>Basic templates to create webpages</small>{{/i}}</h1> </div> <div class="row"> <div class="span6"> - <h2>Fixed layout</h2> - <p>The default and simple 940px-wide, centered layout for just about any website or page provided by a single <code><div class="container"></code>.</p> + <h2>{{_i}}Fixed layout{{/i}}</h2> + <p>{{_i}}The default and simple 940px-wide, centered layout for just about any website or page provided by a single <code><div class="container"></code>.{{/i}}</p> <div class="mini-layout"> <div class="mini-layout-body"></div> </div> @@ -192,8 +192,8 @@ </pre> </div><!-- /col --> <div class="span6"> - <h2>Fluid layout</h2> - <p><code><div class="fluid-container"></code> gives flexible page structure, min- and max-widths, and a left-hand sidebar. It's great for apps and docs.</p> + <h2>{{_i}}Fluid layout{{/i}}</h2> + <p>{{_i}}<code><div class="fluid-container"></code> gives flexible page structure, min- and max-widths, and a left-hand sidebar. It's great for apps and docs.{{/i}}</p> <div class="mini-layout fluid"> <div class="mini-layout-sidebar"></div> <div class="mini-layout-body"></div> @@ -221,7 +221,7 @@ ================================================== --> <section id="responsive"> <div class="page-header"> - <h1>Responsive design <small>Media queries for various devices and resolutions</small></h1> + <h1>{{_i}}Responsive design <small>Media queries for various devices and resolutions</small>{{/i}}</h1> </div> <!-- Supported devices --> <div class="row"> @@ -229,42 +229,42 @@ <img src="assets/img/responsive-illustrations.png" alt="Responsive devices"> </div> <div class="span8"> - <h2>Supported devices</h2> - <p>Bootstrap supports a handful of media queries to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:</p> + <h2>{{_i}}Supported devices{{/i}}</h2> + <p>{{_i}}Bootstrap supports a handful of media queries to help make your projects more appropriate on different devices and screen resolutions. Here's what's included:{{/i}}</p> <table class="table table-bordered table-striped"> <thead> <tr> - <th>Label</th> - <th>Layout width</th> - <th>Column width</th> - <th>Gutter width</th> + <th>{{_i}}Label{{/i}}</th> + <th>{{_i}}Layout width{{/i}}</th> + <th>{{_i}}Column width{{/i}}</th> + <th>{{_i}}Gutter width{{/i}}</th> </tr> </thead> <tbody> <tr> - <td>Smartphones</td> + <td>{{_i}}Smartphones{{/i}}</td> <td>480px and below</td> - <td class="muted" colspan="2">Fluid columns, no fixed widths</td> + <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td> </tr> <tr> - <td>Portrait tablets</td> + <td>{{_i}}Portrait tablets{{/i}}</td> <td>480px to 768px</td> - <td class="muted" colspan="2">Fluid columns, no fixed widths</td> + <td class="muted" colspan="2">{{_i}}Fluid columns, no fixed widths{{/i}}</td> </tr> <tr> - <td>Landscape tablets</td> + <td>{{_i}}Landscape tablets{{/i}}</td> <td>768px to 940px</td> <td>44px</td> <td>20px</td> </tr> <tr> - <td>Default</td> + <td>{{_i}}Default{{/i}}</td> <td>940px and up</td> <td>60px</td> <td>20px</td> </tr> <tr> - <td>Large display</td> + <td>{{_i}}Large display{{/i}}</td> <td>1210px and up</td> <td>70px</td> <td>30px</td> @@ -272,12 +272,12 @@ </tbody> </table> - <h3>What they do</h3> - <p>Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around <code>min-width</code> and <code>max-width</code>.</p> + <h3>{{_i}}What they do{{/i}}</h3> + <p>{{_i}}Media queries allow for custom CSS based on a number of conditions—ratios, widths, display type, etc—but usually focuses around <code>min-width</code> and <code>max-width</code>.{{/i}}</p> <ul> - <li>Modify the width of column in our grid</li> - <li>Stack elements instead of float wherever necessary</li> - <li>Resize headings and text to be more appropriate for devices</li> + <li>{{_i}}Modify the width of column in our grid{{/i}}</li> + <li>{{_i}}Stack elements instead of float wherever necessary{{/i}}</li> + <li>{{_i}}Resize headings and text to be more appropriate for devices{{/i}}</li> </ul> </div> </div> @@ -285,29 +285,29 @@ <br> <!-- Media query code --> - <h2>Using the media queries</h2> + <h2>{{_i}}Using the media queries{{/i}}</h2> <div class="row"> <div class="span5"> - <p>Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:</p> + <p>{{_i}}Bootstrap doesn't automatically include these media queries, but understanding and adding them is very easy and requires minimal setup. You have a few options for including the responsive features of Bootstrap:{{/i}}</p> <ol> - <li>Use the compiled responsive version, bootstrap.reponsive.css</li> - <li>Add @import "responsive.less" and recompile Bootstrap</li> - <li>Compile responsive.less as a separate file and include that</li> + <li>{{_i}}Use the compiled responsive version, bootstrap.reponsive.css{{/i}}</li> + <li>{{_i}}Add @import "responsive.less" and recompile Bootstrap{{/i}}</li> + <li>{{_i}}Compile responsive.less as a separate file and include that{{/i}}</li> </ol> - <p><strong>Why not just include it?</strong> Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.</p> + <p>{{_i}}<strong>Why not just include it?</strong> Truth be told, not everything needs to be responsive. Instead of encouraging developers to remove this feature, we figure it best to enable it.{{/i}}</p> </div> <div class="span7"> <pre class="prettyprint linenums"> - // Landscape phones and down + // {{_i}}Landscape phones and down{{/i}} @media (max-width: 480px) { ... } - // Landscape phone to portrait tablet + // {{_i}}Landscape phone to portrait tablet{{/i}} @media (min-width: 480px) and (max-width: 768px) { ... } - // Portrait tablet to landscape and desktop + // {{_i}}Portrait tablet to landscape and desktop{{/i}} @media (min-width: 768px) and (max-width: 940px) { ... } - // Large desktop + // {{_i}}Large desktop{{/i}} @media (min-width: 1210px) { .. } </pre> </div> |
