Skip to content

Commit

Permalink
Adding Tibetan locale
Browse files Browse the repository at this point in the history
  • Loading branch information
camertron committed Nov 12, 2016
1 parent 1d77b99 commit ff22ebf
Show file tree
Hide file tree
Showing 15 changed files with 960 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require 'twitter_cldr'
Get a list of all currently supported locales (these are all supported on twitter.com):

```ruby
TwitterCldr.supported_locales # [:af, :ar, :be, :bg, :bn, :ca, ... ]
TwitterCldr.supported_locales # [:af, :ar, :be, :bg, :bn, :bo, ... ]
```

Determine if a locale is supported by TwitterCLDR:
Expand Down Expand Up @@ -554,7 +554,7 @@ postal_code.regexp # /(\d{5})(?:[ \-](\d{4}))?/
Get a sample of valid postal codes with the `#sample` method:

```ruby
postal_code.sample(5) # ["42015-3678", "96521-9068", "09327", "57830-6958", "24681-1945"]
postal_code.sample(5) # ["88435-2482", "19400", "34845-8011", "73815-5785", "43520-3829"]
```

### Phone Codes
Expand Down
2 changes: 1 addition & 1 deletion README.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ require 'twitter_cldr'
Get a list of all currently supported locales (these are all supported on twitter.com):

```ruby
TwitterCldr.supported_locales # <%= ellipsize(assert(TwitterCldr.supported_locales.sort[0..5], [:af, :ar, :be, :bg, :bn, :ca])) %>
TwitterCldr.supported_locales # <%= ellipsize(assert(TwitterCldr.supported_locales.sort[0..5], [:af, :ar, :be, :bg, :bn, :bo])) %>
```

Determine if a locale is supported by TwitterCLDR:
Expand Down
4 changes: 4 additions & 0 deletions resources/collation/tailoring/bo.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
:collator_options: {}
:tailored_table: ''
:suppressed_contractions: ''
Binary file added resources/collation/tries/bo.dump
Binary file not shown.
247 changes: 247 additions & 0 deletions resources/locales/bo/calendars.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,247 @@
---
:bo:
:calendars:
:gregorian:
:additional_formats:
:E: ccc
:EHm: "E HH:mm"
:EHms: "E HH:mm:ss"
:Ed: "d, E"
:Ehm: "E h:mm a"
:Ehms: "E h:mm:ss a"
:Gy: "G y"
:GyMMM: "G y LLLL"
:GyMMMEd: "G y MMM d, E"
:GyMMMd: "G y MMM d"
:H: HH
:Hm: "HH:mm"
:Hms: "HH:mm:ss"
:Hmsv: "HH:mm:ss v"
:Hmv: "HH:mm v"
:M: L
:MEd: "MM-dd, E"
:MMM: LLL
:MMMEd: "MMMཚེས་d, E"
:MMMMd: MMMMའི་ཚེས་d
:MMMd: MMMཚེས་d
:Md: MM-dd
:d: d
:h: "h a"
:hm: "h:mm a"
:hms: "h:mm:ss a"
:hmsv: "h:mm:ss a v"
:hmv: "h:mm a v"
:ms: "mm:ss"
? !ruby/symbol "y"
: "y"
:yM: y-MM
:yMEd: "y-MM-dd, E"
:yMMM: "y LLL"
:yMMMEd: "y MMM d, E"
:yMMMM: "y MMMM"
:yMMMMd: "སྤྱི་ལོ་y MMMMའི་ཚེས་d"
:yMMMd: "y ལོའི་MMMཚེས་d"
:yMd: y-MM-dd
:yQQQ: "y QQQ"
:yQQQQ: "y QQQQ"
:days:
:format:
:abbreviated:
:fri: པ་སངས་
:mon: ཟླ་བ་
:sat: སྤེན་པ་
:sun: ཉི་མ་
:thu: ཕུར་བུ་
:tue: མིག་དམར་
:wed: ལྷག་པ་
:narrow:
:fri: སངས
:mon: ཟླ
:sat: སྤེན
:sun: ཉི
:thu: ཕུར
:tue: མིག
:wed: ལྷག
:short: :calendars.gregorian.days.format.abbreviated
:wide:
:fri: གཟའ་པ་སངས་
:mon: གཟའ་ཟླ་བ་
:sat: གཟའ་སྤེན་པ་
:sun: གཟའ་ཉི་མ་
:thu: གཟའ་ཕུར་བུ་
:tue: གཟའ་མིག་དམར་
:wed: གཟའ་ལྷག་པ་
:stand-alone:
:abbreviated:
:fri: པ་སངས་
:mon: ཟླ་བ་
:sat: སྤེན་པ་
:sun: ཉི་མ་
:thu: ཕུར་བུ་
:tue: མིག་དམར་
:wed: ལྷག་པ་
:narrow:
:fri: སངས
:mon: ཟླ
:sat: སྤེན
:sun: ཉི
:thu: ཕུར
:tue: མིག
:wed: ལྷག
:short: :calendars.gregorian.days.format.short
:wide:
:fri: གཟའ་པ་སངས་
:mon: གཟའ་ཟླ་བ་
:sat: གཟའ་སྤེན་པ་
:sun: གཟའ་ཉི་མ་
:thu: གཟའ་ཕུར་བུ་
:tue: གཟའ་མིག་དམར་
:wed: གཟའ་ལྷག་པ་
:eras:
:abbr:
0: སྤྱི་ལོ་སྔོན་
1: སྤྱི་ལོ་
:name:
0: ""
:narrow:
0: ""
:fields:
:day: ཉིན།
:dayperiod: "སྔ་དྲོ། ཕྱི་དྲོ།"
:era: ལོ་རིམ།
:hour: ཆུ་ཚོད་
:minute: སྐར་མ།
:month: ཟླ་བ་
:quarter: Quarter
:second: སྐར་ཆ།
:week: གཟའ་འཁོར།
:weekday: གཟའ་འཁོར་གཅིག
:year: ལོ།
:zone: དུས་ཚོད།
:formats:
:date:
:full:
:pattern: "y MMMMའི་ཚེས་d, EEEE"
:long:
:pattern: "སྤྱི་ལོ་y MMMMའི་ཚེས་d"
:medium:
:pattern: "y ལོའི་MMMཚེས་d"
:short:
:pattern: y-MM-dd
:datetime:
:full:
:pattern: "{{date}} {{time}}"
:long:
:pattern: "{{date}} {{time}}"
:medium:
:pattern: "{{date}} {{time}}"
:short:
:pattern: "{{date}} {{time}}"
:time:
:full:
:pattern: "h:mm:ss a zzzz"
:long:
:pattern: "h:mm:ss a z"
:medium:
:pattern: "h:mm:ss a"
:short:
:pattern: "h:mm a"
:months:
:format:
:abbreviated:
1: ཟླ་༡
10: ཟླ་༡༠
11: ཟླ་༡༡
12: ཟླ་༡༢
2: ཟླ་༢
3: ཟླ་༣
4: ཟླ་༤
5: ཟླ་༥
6: ཟླ་༦
7: ཟླ་༧
8: ཟླ་༨
9: ཟླ་༩
:narrow: :calendars.gregorian.months.stand-alone.narrow
:wide:
1: ཟླ་བ་དང་པོ
10: ཟླ་བ་བཅུ་པ
11: ཟླ་བ་བཅུ་གཅིག་པ
12: ཟླ་བ་བཅུ་གཉིས་པ
2: ཟླ་བ་གཉིས་པ
3: ཟླ་བ་གསུམ་པ
4: ཟླ་བ་བཞི་པ
5: ཟླ་བ་ལྔ་པ
6: ཟླ་བ་དྲུག་པ
7: ཟླ་བ་བདུན་པ
8: ཟླ་བ་བརྒྱད་པ
9: ཟླ་བ་དགུ་པ
:stand-alone:
:abbreviated: :calendars.gregorian.months.format.abbreviated
:narrow:
1: "1"
10: "10"
11: "11"
12: "12"
2: "2"
3: "3"
4: "4"
5: "5"
6: "6"
7: "7"
8: "8"
9: "9"
:wide:
1: ཟླ་བ་དང་པོ་
10: ཟླ་བ་བཅུ་པ་
11: ཟླ་བ་བཅུ་གཅིག་པ་
12: ཟླ་བ་བཅུ་གཉིས་པ་
2: ཟླ་བ་གཉིས་པ་
3: ཟླ་བ་གསུམ་པ་
4: ཟླ་བ་བཞི་པ་
5: ཟླ་བ་ལྔ་པ་
6: ཟླ་བ་དྲུག་པ་
7: ཟླ་བ་བདུན་པ་
8: ཟླ་བ་བརྒྱད་པ་
9: ཟླ་བ་དགུ་པ་
:periods:
:format:
:abbreviated:
:am: སྔ་དྲོ་
:pm: ཕྱི་དྲོ་
:narrow: :calendars.gregorian.dayPeriods.format.abbreviated
:wide:
:am: སྔ་དྲོ་
:pm: ཕྱི་དྲོ་
:stand-alone:
:abbreviated: :calendars.gregorian.dayPeriods.format.abbreviated
:narrow: :calendars.gregorian.dayPeriods.stand-alone.abbreviated
:wide: :calendars.gregorian.dayPeriods.stand-alone.abbreviated
:quarters:
:format:
:abbreviated:
1: དུས་ཚིགས་དང་པོ།
2: དུས་ཚིགས་གཉིས་པ།
3: དུས་ཚིགས་གསུམ་པ།
4: དུས་ཚིགས་བཞི་པ།
:narrow: :calendars.gregorian.quarters.stand-alone.narrow
:wide:
1: དུས་ཚིགས་དང་པོ།
2: དུས་ཚིགས་གཉིས་པ།
3: དུས་ཚིགས་གསུམ་པ།
4: དུས་ཚིགས་བཞི་པ།
:stand-alone:
:abbreviated:
1: དུས་ཚིགས་དང་པོ།
2: དུས་ཚིགས་གཉིས་པ།
3: དུས་ཚིགས་གསུམ་པ།
4: དུས་ཚིགས་བཞི་པ།
:narrow:
1: "1"
2: "2"
3: "3"
4: "4"
:wide:
1: དུས་ཚིགས་དང་པོ།
2: དུས་ཚིགས་གཉིས་པ།
3: དུས་ཚིགས་གསུམ་པ།
4: དུས་ཚིགས་བཞི་པ།

0 comments on commit ff22ebf

Please sign in to comment.