Browse Source

Add Thai translation. Closes NUKnightLab/StoryJS-Core#45 Thanks @keikung

issue580
Joe Germuska 11 years ago
parent
commit
179bb45aa6
  1. 37
      source/js/Core/Language/locale/th.js
  2. 1
      website/templates/_make.html

37
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'<br/><small>'mmmm d',' yyyy'</small>'",
full_long: "mmm d',' yyyy 'at' h:MM TT",
full_long_small_date: "h:MM TT'<br/><small>mmm d',' yyyy'</small>'"
},
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"
}
}
}

1
website/templates/_make.html

@ -122,6 +122,7 @@
<option value="ta">Tamil</option>
<option value="zh-tw">Taiwanese</option>
<option value="te">Telugu</option>
<option value="th">Thai</option>
<option value="tr">Turkish</option>
</select>
</div>

Loading…
Cancel
Save