summaryrefslogtreecommitdiffstats
path: root/apps/files_external/3rdparty/select2/select2_locale_vi.js
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files_external/3rdparty/select2/select2_locale_vi.js')
-rw-r--r--apps/files_external/3rdparty/select2/select2_locale_vi.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/apps/files_external/3rdparty/select2/select2_locale_vi.js b/apps/files_external/3rdparty/select2/select2_locale_vi.js
new file mode 100644
index 00000000000..5dbc275361f
--- /dev/null
+++ b/apps/files_external/3rdparty/select2/select2_locale_vi.js
@@ -0,0 +1,18 @@
+/**
+ * Select2 Vietnamese translation.
+ *
+ * Author: Long Nguyen <olragon@gmail.com>
+ */
+(function ($) {
+ "use strict";
+
+ $.extend($.fn.select2.defaults, {
+ formatNoMatches: function () { return "Không tìm thấy kết quả"; },
+ formatInputTooShort: function (input, min) { var n = min - input.length; return "Vui lòng nhập nhiều hơn " + n + " ký tự" + (n == 1 ? "" : "s"); },
+ formatInputTooLong: function (input, max) { var n = input.length - max; return "Vui lòng nhập ít hơn " + n + " ký tự" + (n == 1? "" : "s"); },
+ formatSelectionTooBig: function (limit) { return "Chỉ có thể chọn được " + limit + " tùy chọn" + (limit == 1 ? "" : "s"); },
+ formatLoadMore: function (pageNumber) { return "Đang lấy thêm kết quả…"; },
+ formatSearching: function () { return "Đang tìm…"; }
+ });
+})(jQuery);
+