This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Add Italian support for timeline
codeClimate
Uli Fahrer
8 years ago
parent
f5fe722f1f
commit
bb627c66e6
3 changed files
with
15 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+8
-0
docs/timeline/index.html
+1
-0
examples/timeline/other/localization.html
+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'
,
Write
Preview
Loading…
Cancel
Save