Viewing File: /usr/local/cpanel/base/cjt/cpanel-all-th.js

//~~GENERATED~~
//-------------------------------------------------------------
// Source:    /usr/local/cpanel/base/cjt/cpanel-all.js
// Generated: /usr/local/cpanel/base/cjt/cpanel-all-th.js
// Module:    legacy_cjt/cpanel-all-th
// Locale:    th
// This file is generated by the cpanel localization system
// using the bin/_build_translated_js_hash_files.pl script.
//-------------------------------------------------------------
// !!! Do not hand edit this file !!!
//-------------------------------------------------------------
(function() {
    // The raw lexicon.
    var newLex = {"Advanced Options":"ตัวเลือกขั้นสูง","Alpha Characters":"อักขระพยัญชนะ","An unknown error occurred.":"มีข้อผิดพลาดที่ไม่รู้จักเกิดขึ้น","Both":"ทั้งคู่","Cancel":"ยกเลิก","Click to close.":"คลิกเพื่อปิด","Close":"ปิด","Generate Password":"สร้างรหัสผ่าน","I have copied this password in a safe place.":"ฉันได้คัดลอกรหัสผ่านนี้ไว้ในที่ปลอดภัยแล้ว","Length":"ความยาว","Loading …":"กำลังโหลด …","Lowercase":"ตัวพิมพ์เล็ก","Non Alpha Characters":"ไม่ใช่อักขระพยัญชนะ","Numbers":"หมายเลข","OK":"ตกลง","Password Generator":"ตัวสร้างรหัสผ่าน","Password Strength":"ความยากในการคาดเดารหัสผ่าน","Password cannot be empty.":"รหัสผ่านต้องไม่ว่างเปล่า","Password strength must be at least [numf,_1].":"ความยากในการคาดเดารหัสผ่านต้องอย่างน้อย [numf,_1]","Passwords Match":"รหัสผ่านตรงกัน","Passwords do not match.":"รหัสผ่านไม่ตรงกัน","Passwords must be at least [quant,_1,character,characters] long.":"รหัสผ่านต้องมีความยาวอย่างน้อย [quant,_1,อักขระ,อักขระ]","Strong":"คาดเดายาก","Success!":"สำเร็จ","Symbols":"สัญลักษณ์","The API response could not be parsed.":"ไม่สามารถแยกวิเคราะห์การตอบสนอง API ได้","Uppercase":"ตัวพิมพ์ใหญ่","Use Password":"ใช้รหัสผ่าน","Validation Errors":"ข้อผิดพลาดการตรวจสอบความถูกต้อง","Very Strong":"คาดเดายากมาก","Very Weak":"คาดเดาง่ายมาก","Weak":"สัปดาห์","less »":"น้อยกว่า »","more »":"เพิ่มเติม »","unlimited":"ไม่จำกัด"};

    if (!this.LEXICON) {
        this.LEXICON = {};
    }

    for(var item in newLex) {
        if(newLex.hasOwnProperty(item)) {
            var value = newLex[item];
            if (typeof(value) === "string" && value !== "") {
                // Only add it if there is a value.
                this.LEXICON[item] = value;
            }
        }
    }
})();
//-------------------------------------------------------------
// CLDR Data for th
//-------------------------------------------------------------
(function(context) {
    var locale = "th",
        functions = {'get_plural_form':function(n){var category;var category_values=Array.prototype.slice.call(arguments,1);var has_extra_for_zero=0;var abs_n=Math.abs(n);var category_process_order=["zero","one","two","few","many","other"];var category_rules_lookup={};for(i=0;i<category_process_order.length;i++){if(category_rules_lookup[category_process_order[i]]){category=category_rules_lookup[category_process_order[i]](abs_n);if(category)break;}}
var categories=["other"];if(category_values.length===0){category_values=categories;}
else{var cat_len=categories.length;var val_len=category_values.length;var cat_len_plus_one=cat_len+1;if(val_len===cat_len_plus_one){has_extra_for_zero++;}
else if(cat_len!==val_len){if(window.console)console.warn('The number of given values ('+val_len+') does not match the number of categories ('+cat_len+').');}}
if(category===undefined){var cat_idx=has_extra_for_zero&&abs_n!==0?-2:-1;var sliced=category_values.slice(cat_idx);return[sliced[0],has_extra_for_zero&&abs_n===0?1:0];}
else{var return_value;GET_POSITION:while(1){var cat_pos_in_list;var index=-1;CATEGORY:for(i=0;i<categories.length;i++){index++;if(categories[i]===category){cat_pos_in_list=index;break CATEGORY;}}
if(cat_pos_in_list===undefined&&category!=='other'){if(window.console)console.warn('The category ('+category+') is not used by this locale.');category='other';continue GET_POSITION;}
else if(cat_pos_in_list===undefined){var cat_idx=has_extra_for_zero&&abs_n!==0?-2:-1;var sliced=category_values.slice(cat_idx);return_value=[sliced[0],has_extra_for_zero&&abs_n===0?1:0]
break GET_POSITION;}
else{if(has_extra_for_zero&&category==='other'){var cat_idx=has_extra_for_zero&&abs_n===0?-1:cat_pos_in_list;var sliced=category_values.slice(cat_idx);return_value=[sliced[0],has_extra_for_zero&&abs_n===0?1:0];break GET_POSITION;}
else{return_value=[category_values[cat_pos_in_list],0];break GET_POSITION;}}
break GET_POSITION;}
return return_value;}}},
        datetime_info = {"territory":null,"quarter_stand_alone_narrow":["1","2","3","4"],"time_formats":{"short":"H:mm","medium":"H:mm:ss","long":"H นาฬิกา m นาที ss วินาที z","full":"H นาฬิกา m นาที ss วินาที zzzz"},"era_narrow":["ปีก่อน ค.ศ.","ค.ศ."],"datetime_format_full":"EEEEที่ d MMMM G y, H นาฬิกา m นาที ss วินาที zzzz","glibc_date_1_format":"%a %b %e %H:%M:%S %Z %Y","datetime_format_long":"d MMMM y, H นาฬิกา m นาที ss วินาที z","date_format_short":"d/M/yyyy","native_variant":null,"name":"Thai","language_id":"th","era_wide":["ปีก่อนคริสต์ศักราช","คริสต์ศักราช"],"variant_id":null,"date_format_medium":"d MMM y","time_format_default":"H:mm:ss","era_abbreviated":["ปีก่อน ค.ศ.","ค.ศ."],"datetime_format":"{1}, {0}","month_format_wide":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"quarter_format_abbreviated":["Q1","Q2","Q3","Q4"],"datetime_format_short":"d/M/yyyy, H:mm","glibc_datetime_format":"%a %b %e %H:%M:%S %Y","quarter_stand_alone_abbreviated":["Q1","Q2","Q3","Q4"],"script_id":null,"prefers_24_hour_time":1,"cldr_version":"1.7.1","day_format_wide":["วันจันทร์","วันอังคาร","วันพุธ","วันพฤหัสบดี","วันศุกร์","วันเสาร์","วันอาทิตย์"],"language":"Thai","month_format_narrow":["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],"time_format_full":"H นาฬิกา m นาที ss วินาที zzzz","date_format_default":"d MMM y","am_pm_abbreviated":["ก่อนเที่ยง","หลังเที่ยง"],"native_territory":null,"glibc_time_12_format":"%I:%M:%S %p","month_stand_alone_wide":["มกราคม","กุมภาพันธ์","มีนาคม","เมษายน","พฤษภาคม","มิถุนายน","กรกฎาคม","สิงหาคม","กันยายน","ตุลาคม","พฤศจิกายน","ธันวาคม"],"time_format_long":"H นาฬิกา m นาที ss วินาที z","day_stand_alone_wide":["วันจันทร์","วันอังคาร","วันพุธ","วันพฤหัสบดี","วันศุกร์","วันเสาร์","วันอาทิตย์"],"variant":null,"id":"th","available_formats":null,"quarter_stand_alone_wide":["ไตรมาส 1","ไตรมาส 2","ไตรมาส 3","ไตรมาส 4"],"time_format_medium":"H:mm:ss","time_format_short":"H:mm","date_format_full":"EEEEที่ d MMMM G y","territory_id":null,"first_day_of_week":"1","glibc_date_format":"%m/%d/%y","quarter_format_wide":["ไตรมาส 1","ไตรมาส 2","ไตรมาส 3","ไตรมาส 4"],"day_stand_alone_abbreviated":["จ.","อ.","พ.","พฤ.","ศ.","ส.","อา."],"month_stand_alone_narrow":["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],"format_for":{"yQQQ":"QQQ y","yMMMEd":"EEE d MMM y","d":"d","y":"y","hms":"h:mm:ss a","MMMMd":"d MMMM","yMMMM":"MMMM y","ms":"mm:ss","M":"L","yM":"M/yyyy","MEd":"E, d/M","MMM":"LLL","Md":"d/M","yQ":"Q yyyy","yMEd":"EEE d/M/yyyy","Hm":"H:mm","EEEd":"EEE d","Hms":"H:mm:ss","hm":"h:mm a","MMMEd":"E d MMM","MMMMEd":"E d MMMM","MMMd":"d MMM","yMMM":"MMM y"},"quarter_format_narrow":["1","2","3","4"],"date_formats":{"short":"d/M/yyyy","medium":"d MMM y","long":"d MMMM y","full":"EEEEที่ d MMMM G y"},"date_format_long":"d MMMM y","month_stand_alone_abbreviated":["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],"native_language":"ไทย","datetime_format_default":"d MMM y, H:mm:ss","native_name":"ไทย","day_format_narrow":["จ","อ","พ","พ","ศ","ส","อ"],"script":null,"default_time_format_length":"medium","glibc_time_format":"%H:%M:%S","native_script":null,"month_format_abbreviated":["ม.ค.","ก.พ.","มี.ค.","เม.ย.","พ.ค.","มิ.ย.","ก.ค.","ส.ค.","ก.ย.","ต.ค.","พ.ย.","ธ.ค."],"default_date_format_length":"medium","day_stand_alone_narrow":["จ","อ","พ","พ","ศ","ส","อ"],"day_format_abbreviated":["จ.","อ.","พ.","พฤ.","ศ.","ส.","อา."],"datetime_format_medium":"d MMM y, H:mm:ss"},
        misc_info = {"delimiters":{"quotation_start":"“","quotation_end":"”","alternate_quotation_start":"‘","alternate_quotation_end":"’"},"orientation":{"lines":"top-to-bottom","characters":"left-to-right"},"posix":{"nostr":"ไม่ใช่","yesstr":"ใช่"},"plural_forms":{"category_list":["other"],"category_rules_function":null,"category_rules":{},"category_rules_compiled":{}},"cldr_formats":{"territory":"{0}","_decimal_format_decimal":".","language":"{0}","percent":"#,##0%","locale":"{0} ({1})","_decimal_format_group":",","_percent_format_percent":"%","decimal":"#,##0.###","ellipsis":{"medial":"{0}…{1}","final":"{0}…","initial":"…{0}"},"list_or":{"start":"{0}, {1}","middle":"{0}, {1}","end":"{0} หรือ {1}","2":"{0} หรือ {1}"},"list":{"middle":"{0} {1}","2":"{0}และ{1}","start":"{0} {1}","end":"{0} และ{1}"}},"fallback":[],"characters":{"more_information":"?"}};

    // Legacy cjt 1.0 support
    if ( context.YAHOO ) {
        context.YAHOO.util.Event.onDOMReady(function() {
            var Locale = CPANEL.Locale.generateClassFromCldr(locale, functions, datetime_info, misc_info);
            context.LOCALE = new Locale();
        });
    }

    // Modern cjt 2.0 support
    context.CJT2_loader = {
        current_locale: locale,
        CLDR: {}
    };

    var CLDR = {
        locale: locale,
        functions: functions,
        datetime_info: datetime_info,
        misc_info: misc_info
    };

    context.CJT2_loader.CLDR[locale] = CLDR;
    context.CLDR = CLDR;

})(window);
//~~END-GENERATED~~
Back to Directory File Manager