Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Add Dzongkha #134

Merged
merged 7 commits into from
Sep 27, 2024
Merged
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

* [#131](https://github.com/radar/distance_of_time_in_words/pull/131): Deprecates `highest_measure_only`. Adds alternate form of `highest_measures` option to permit rounding up whatever part of the duration was previously silently discarded - [@seansfkelley](https://github.com/seansfkelley).
* [#133](https://github.com/radar/distance_of_time_in_words/pull/133): Test on Ruby 3.0 and 3.1 - [@dblock](https://github.com/dblock).
* [#134](https://github.com/radar/distance_of_time_in_words/pull/134): Add support for Dzongkha language (National language of Bhutan) - [@KinWang-2013](https://github.com/KinWang-2013)
KinWang-2013 marked this conversation as resolved.
Show resolved Hide resolved
* Your contribution here.

## 5.3.3 (2022/04/25)
Expand Down
60 changes: 60 additions & 0 deletions lib/dotiw/locale/dz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
dz:
datetime:
dotiw:
seconds:
one: སྐར་ཆ་ ༡
other: "སྐར་ཆ་ %{count}"
minutes:
one: སྐར་མ་ ༡
other: "སྐར་མ་ %{count}"
hours:
one: ཆུ་ཚོད་ ༡
other: "ཆུ་ཚོད་ %{count}"
days:
one: ཉིནམ་ ༡
other: "ཉིནམ་ %{count}"
weeks:
one: བདུན༌ཕྲག་ ༡
other: "བདུན༌ཕྲག་ %{count}"
months:
one: ཟླཝ་ ༡
other: "ཟླཝ་ %{count}"
years:
one: ལོ་ ༡
other: "ལོ་ %{count}"
less_than_x: "%{distance} ་ལས་ཉུངམ་"
dotiw_compact:
seconds:
one: སྐར་ཆ་ ༡
other: "སྐར་ཆ་ %{count}"
minutes:
one: སྐར་མ་ ༡
other: "སྐར་མ་ %{count}"
hours:
one: ཆུ་ཚོད་ ༡
other: "ཆུ་ཚོད་ %{count}"
days:
one: ཉིནམ་ ༡
other: "ཉིནམ་ %{count}"
weeks:
one: བདུན༌ཕྲག་ ༡
other: "བདུན༌ཕྲག་ %{count}"
months:
one: ཟླཝ་ ༡
other: "ཟླཝ་ %{count}"
years:
one: ལོ་ ༡
other: "ལོ་ %{count}"
less_than_x: "%{distance} ་ལས་ཉུངམ"
words_connector: ""
two_words_connector: " དང་ "
last_word_connector: " དང་ "
about_x_years:
one: ལོ་ ༡ ་དེ་ཅིག
any: "ལོ་ %{count} ་དེ་ཅིག"
over_x_years:
one: "ལོ་ ༡ ་ལས་ལྷགཔ་ཅིག"
other: "ལོ་ %{count} ་ལས་ལྷགཔ་ཅིག"
almost_x_years:
one: ལོ་ ༡ ་མ་ལྷགཔ་ཅིག
any: "ལོ་ %{count} ་མ་ལྷགཔ་ཅིག"
2 changes: 2 additions & 0 deletions spec/lib/i18n/dz.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
seconds:
1.second: སྐར་ཆ་ ༡
Loading