Browse Source

Merge pull request #2185 from Tooa/Italian_support_timeline

Add Italian locale support for timeline
codeClimate
yotamberk 8 years ago
committed by GitHub
parent
commit
e9df41ed20
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>
</td>
</tr>
<tr>
<td>Italian</td>
<td>
<code>it</code><br>
<code>it_IT</code><br>
<code>it_CH</code>
</td>
</tr>
<tr>
<td>Dutch</td>
<td>

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

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

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

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

Loading…
Cancel
Save