From 0b6ad2ce99b0a02f5fbbdee45eb18d0512ae6690 Mon Sep 17 00:00:00 2001 From: Ahwan Kumar Date: Fri, 19 Dec 2014 00:10:42 +0530 Subject: [PATCH 1/3] Add Hindi Language Support Adding support for Hindi Language spoken by 366 M people. --- build/js/locale/hi.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 build/js/locale/hi.js diff --git a/build/js/locale/hi.js b/build/js/locale/hi.js new file mode 100644 index 0000000..abfcd32 --- /dev/null +++ b/build/js/locale/hi.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2014-12-09-18-51-25 - 2014-12-09 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} From 0134cfca91d3e71370846307275512be5da7ad74 Mon Sep 17 00:00:00 2001 From: Ahwan Kumar Date: Fri, 19 Dec 2014 00:18:28 +0530 Subject: [PATCH 2/3] Add Hindi Language Support Add support for Hindi Language spoken by 366 M people. --- source/js/Core/Language/locale/hi.js | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 source/js/Core/Language/locale/hi.js diff --git a/source/js/Core/Language/locale/hi.js b/source/js/Core/Language/locale/hi.js new file mode 100644 index 0000000..abfcd32 --- /dev/null +++ b/source/js/Core/Language/locale/hi.js @@ -0,0 +1,9 @@ +/* + TimelineJS - ver. 2014-12-09-18-51-25 - 2014-12-09 + Copyright (c) 2012-2013 Northwestern University + a project of the Northwestern University Knight Lab, originally created by Zach Wise + https://github.com/NUKnightLab/TimelineJS + This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. + If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/. +*/ +if(typeof VMM!="undefined"){VMM.Language={lang:"hi",api:{wikipedia:"hi"},date:{month:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],month_abbr:["जनवरी","फ़रवरी","मार्च","अप्रैल","मई","जून","जुलाई","अगस्त","सितम्बर","अक्टूबर","नवंबर","दिसंबर"],day:["रविवार","सोमवार","मंगलवार","बुधवार","गुरुवार","शुक्रवार","शनिवार"],day_abbr:["रवि","सोम","मंगल","बुध","गुरु","शुक्र","शनि"]},dateformats:{year:"yyyy",month_short:"mmm",month:"mmmm yyyy",full_short:"mmm d",full:"mmmm d',' yyyy",time_no_seconds_short:"h:MM TT",time_no_seconds_small_date:"h:MM TT'
'mmmm d',' yyyy''",full_long:"mmm d',' yyyy 'at' h:MM TT",full_long_small_date:"h:MM TT'
mmm d',' yyyy''"},messages:{loading_timeline:"टाइमलाइन लोड हो रहा है",return_to_title:"शीर्षक पर लौटें",expand_timeline:"टाइमलाइन का विस्तार करें",contract_timeline:"टाइमलाइन का अनुबंध करें",wikipedia:"विकिपीडिया, मुक्त विश्वकोश से",loading_content:"लोड हो रहा है सामग्री",loading:"लोड हो रहा है",swipe_nav:"Swipe to Navigate",read_more:"और पढ़ें"}}} From 2ca2bc697d2a3c32b8bac1dee43c4670a68a4f28 Mon Sep 17 00:00:00 2001 From: "U-RUV\\sigurdurg" Date: Mon, 22 Dec 2014 15:30:50 +0000 Subject: [PATCH 3/3] updating 'is' date formats to the icelandic standard --- source/js/Core/Language/locale/is.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/js/Core/Language/locale/is.js b/source/js/Core/Language/locale/is.js index dac8941..08e7b22 100644 --- a/source/js/Core/Language/locale/is.js +++ b/source/js/Core/Language/locale/is.js @@ -16,13 +16,13 @@ if(typeof VMM != 'undefined') { year: "yyyy", month_short: "mmm", month: "mmmm yyyy", - full_short: "mmm d", - full: "mmmm d',' yyyy", + full_short: "d'.' mmm", + full: "d'.' mmmm yyyy", time_short: "h:MM:SS TT", time_no_seconds_short: "hh:MM TT", - time_no_seconds_small_date: "hh:MM TT'
'mmmm d',' yyyy''", - full_long: "dddd',' mmm d',' yyyy 'at' hh:MM TT", - full_long_small_date: "hh:MM TT'
'dddd',' mmm d',' yyyy''" + time_no_seconds_small_date: "hh:MM TT'
'd'.' mmmm yyyy''", + full_long: "dddd',' d'.' mmm yyyy 'kl.' hh:MM TT", + full_long_small_date: "hh:MM TT'
'dddd',' d'.' mmm yyyy''" }, messages: { loading_timeline: "Raða upp tímalínu... ",