From a797833e10b783083ee164c705e068f47ed4258b Mon Sep 17 00:00:00 2001 From: Someth Victory Date: Thu, 10 Mar 2016 16:35:09 +0700 Subject: [PATCH] add Khmer translation --- src/js/select2/i18n/km.js | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 src/js/select2/i18n/km.js diff --git a/src/js/select2/i18n/km.js b/src/js/select2/i18n/km.js new file mode 100644 index 00000000..294c7f93 --- /dev/null +++ b/src/js/select2/i18n/km.js @@ -0,0 +1,36 @@ +define(function () { + // Khmer + return { + errorLoading: function () { + return 'មិនអាចទាញយកទិន្នន័យ'; + }, + inputTooLong: function (args) { + var overChars = args.input.length - args.maximum; + + var message = 'សូមលុបចេញ ' + overChars + ' អក្សរ'; + + return message; + }, + inputTooShort: function (args) { + var remainingChars = args.minimum - args.input.length; + + var message = 'សូមបញ្ចូល' + remainingChars + ' អក្សរ រឺ ច្រើនជាងនេះ'; + + return message; + }, + loadingMore: function () { + return 'កំពុងទាញយកទិន្នន័យបន្ថែម...'; + }, + maximumSelected: function (args) { + var message = 'អ្នកអាចជ្រើសរើសបានត្រឹមតែ ' + args.maximum + ' ជម្រើសតែប៉ុណ្ណោះ'; + + return message; + }, + noResults: function () { + return 'មិនមានលទ្ធផល'; + }, + searching: function () { + return 'កំពុងស្វែងរក...'; + } + }; +});