From 9d3c60795be78363c2c58b4922403bf4f1c46441 Mon Sep 17 00:00:00 2001 From: KinWang-2013 <94952098+KinWang-2013@users.noreply.github.com> Date: Thu, 3 Oct 2024 12:42:11 +0600 Subject: [PATCH] add dzongkha --- gem/lib/pagy/i18n.rb | 1 + gem/locales/dz.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 gem/locales/dz.yml diff --git a/gem/lib/pagy/i18n.rb b/gem/lib/pagy/i18n.rb index 7b64a58fd..5098e79e3 100644 --- a/gem/lib/pagy/i18n.rb +++ b/gem/lib/pagy/i18n.rb @@ -113,6 +113,7 @@ module P11n hash['zh-CN'] = RULE[:other] hash['zh-HK'] = RULE[:other] hash['zh-TW'] = RULE[:other] + hash['dz'] = RULE[:other] end.freeze end diff --git a/gem/locales/dz.yml b/gem/locales/dz.yml new file mode 100644 index 000000000..22c7e2b4c --- /dev/null +++ b/gem/locales/dz.yml @@ -0,0 +1,21 @@ +# :one_other pluralization (see https://github.com/ddnexus/pagy/blob/master/gem/lib/pagy/i18n.rb) +en: + pagy: + aria_label: + nav: + one: "ཤོག་ལེབ་" + other: "ཤོག་ལེབ་" + prev: "སྔོན་མ་" + next: "ཤུལ༌མ་" + prev: "<" + next: ">" + gap: "…" + item_name: + one: "རྣམ་གྲངས་" + other: "རྣམ་གྲངས་" + info: + no_items: "%{item_name}གཅིག་ཡང་འཚོལ་མ་འཐོབ།" + single_page: "%{item_name} %{count} བཀྲམ་སྟོན་འབད་དོ།" + multiple_pages: "བསྡོམས་ཀྱིས་ %{count} ལས་%{item_name} %{from}-%{to} བཀྲམ་སྟོན་འབད་དོ།" + combo_nav_js: "ཤོག་ལེབ་ %{pages} ལས་ %{page_input}།" + limit_selector_js: "ཤོག་ལེབ་རེ་ལུ་%{item_name} %{limit_input} སྟོན།"