From ed4bf21e7658bd5b07519b9fe74f1f2bbfb1b285 Mon Sep 17 00:00:00 2001 From: Uli Fahrer Date: Thu, 27 Oct 2016 09:11:05 +0200 Subject: [PATCH] Add german locale to timeline (#2234) --- docs/timeline/index.html | 7 +++++++ examples/timeline/other/localization.html | 3 ++- lib/timeline/locales.js | 9 +++++++++ 3 files changed, 18 insertions(+), 1 deletion(-) diff --git a/docs/timeline/index.html b/docs/timeline/index.html index c7051a57..a4cf02cc 100644 --- a/docs/timeline/index.html +++ b/docs/timeline/index.html @@ -1749,6 +1749,13 @@ var options = { nl_NL
nl_BE + + + German + + de
+ de_DE
+ diff --git a/examples/timeline/other/localization.html b/examples/timeline/other/localization.html index ee1beeea..5b58923b 100644 --- a/examples/timeline/other/localization.html +++ b/examples/timeline/other/localization.html @@ -26,6 +26,7 @@ +

@@ -64,4 +65,4 @@ select.onchange(); - \ No newline at end of file + diff --git a/lib/timeline/locales.js b/lib/timeline/locales.js index 50cbe03b..781deb4a 100644 --- a/lib/timeline/locales.js +++ b/lib/timeline/locales.js @@ -11,6 +11,8 @@ exports['it'] = { current: 'attuale', time: 'tempo' }; +exports['it_IT'] = exports['it']; +exports['it_CH'] = exports['it']; // Dutch exports['nl'] = { @@ -19,3 +21,10 @@ exports['nl'] = { }; exports['nl_NL'] = exports['nl']; exports['nl_BE'] = exports['nl']; + +// German +exports['de'] = { + current: 'Aktuelle', + time: 'Zeit' +}; +exports['de_DE'] = exports['de'];