Browse Source

Add Italian support for timeline

codeClimate
Uli Fahrer 8 years ago
parent
commit
bb627c66e6
3 changed files with 15 additions and 0 deletions
  1. +8
    -0
      docs/timeline/index.html
  2. +1
    -0
      examples/timeline/other/localization.html
  3. +6
    -0
      lib/timeline/locales.js

+ 8
- 0
docs/timeline/index.html View File

@ -1715,6 +1715,14 @@ var options = {
<code>en_US</code> <code>en_US</code>
</td> </td>
</tr> </tr>
<tr>
<td>Italian</td>
<td>
<code>it</code><br>
<code>it_IT</code><br>
<code>it_CH</code>
</td>
</tr>
<tr> <tr>
<td>Dutch</td> <td>Dutch</td>
<td> <td>

+ 1
- 0
examples/timeline/other/localization.html View File

@ -24,6 +24,7 @@
<label for="locale">Select a locale:</label> <label for="locale">Select a locale:</label>
<select id="locale"> <select id="locale">
<option value="en" selected>en</option> <option value="en" selected>en</option>
<option value="it">it</option>
<option value="nl">nl</option> <option value="nl">nl</option>
</select> </select>
</p> </p>

+ 6
- 0
lib/timeline/locales.js View File

@ -6,6 +6,12 @@ exports['en'] = {
exports['en_EN'] = exports['en']; exports['en_EN'] = exports['en'];
exports['en_US'] = exports['en']; exports['en_US'] = exports['en'];
// Italiano
exports['it'] = {
current: 'attuale',
time: 'tempo'
};
// Dutch // Dutch
exports['nl'] = { exports['nl'] = {
current: 'huidige', current: 'huidige',

Loading…
Cancel
Save