From 179bb45aa67ffa4616cc94326284ab1feb7658de Mon Sep 17 00:00:00 2001 From: Joe Germuska Date: Tue, 6 May 2014 08:52:19 -0500 Subject: [PATCH] Add Thai translation. Closes NUKnightLab/StoryJS-Core#45 Thanks @keikung --- source/js/Core/Language/locale/th.js | 37 ++++++++++++++++++++++++++++ website/templates/_make.html | 1 + 2 files changed, 38 insertions(+) create mode 100644 source/js/Core/Language/locale/th.js diff --git a/source/js/Core/Language/locale/th.js b/source/js/Core/Language/locale/th.js new file mode 100644 index 0000000..bad81ae --- /dev/null +++ b/source/js/Core/Language/locale/th.js @@ -0,0 +1,37 @@ +/* Thai LANGUAGE +================================================== */ +if(typeof VMM != 'undefined') { + VMM.Language = { + lang: "th", + api: { + wikipedia: "th" + }, + 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_short: "h:MM:ss TT", + 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: "Loading Timeline... ", + return_to_title: "Return to Title", + expand_timeline: "Expand Timeline", + contract_timeline: "Contract Timeline", + wikipedia: "From Wikipedia, the free encyclopedia", + loading_content: "Loading Content", + loading: "Loading" + } + } +} \ No newline at end of file diff --git a/website/templates/_make.html b/website/templates/_make.html index 46bb7d6..6d75dec 100644 --- a/website/templates/_make.html +++ b/website/templates/_make.html @@ -122,6 +122,7 @@ +