Skip to content

Commit

Permalink
Regional locale naming to match the rails-i18n gem
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Hilton committed Apr 29, 2013
1 parent 8c6fc70 commit 9d8ceb9
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -12,7 +12,7 @@ Fork Details
------------
This is a fork of the [faker](https://github.com/stympy/faker) gem created by stympy.

This fork has been created to update the GB locale file and provide the following additional functionality:
This fork has been created to update the GB locale file, use regional locale naming that matches the naming used in the [rails-i18n](https://github.com/svenfuchs/rails-i18n) gem (ie. en-GB rather than en-gb) and provide the following additional functionality:

(1) address related UK cities and counties:

Expand Down
2 changes: 1 addition & 1 deletion lib/locales/de-ch.yml
@@ -1,4 +1,4 @@
de-ch:
de-CH:
faker:
address:
country_code: [CH, CH, CH, DE, AT, US, LI, US, HK, VN]
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en-gb.yml
@@ -1,4 +1,4 @@
en-gb:
en-GB:
faker:
address:
city_prefix: [North, East, West, South, Great, Great, Little, Long, Thorpe, Upper, Lower]
Expand Down
2 changes: 1 addition & 1 deletion lib/locales/en-us.yml
@@ -1,4 +1,4 @@
en-us:
en-US:
faker:
internet:
domain_suffix: [com, us, biz, info, name, net, org]

0 comments on commit 9d8ceb9

Please sign in to comment.