Created
September 1, 2011 12:56
-
-
Save mrcasals/1186109 to your computer and use it in GitHub Desktop.
LocaleApp doesn't keep the default Rails translations format
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the default format for Rails Translations. | |
# You can see the full file here: | |
# https://github.com/svenfuchs/rails-i18n/blob/master/rails/locale/ca.yml | |
ca: | |
date: | |
day_names: | |
- Diumenge | |
- Dilluns | |
- Dimarts | |
- Dimecres | |
- Dijous | |
- Divendres | |
- Dissabte | |
abbr_day_names: | |
- Dg | |
- Dl | |
- Dm | |
- Dc | |
- Dj | |
- Dv | |
- Ds | |
# Don't forget the nil at the beginning; there's no such thing as a 0th month | |
month_names: | |
- ~ | |
- Gener | |
- Febrer | |
- Març | |
- Abril | |
- Maig | |
- Juny | |
- Juliol | |
- Agost | |
- Setembre | |
- Octubre | |
- Novembre | |
- Desembre | |
abbr_month_names: | |
- ~, | |
- Gen | |
- Feb | |
- Mar | |
- Abr | |
- Mai | |
- Jun | |
- Jul | |
- Ago | |
- Set | |
- Oct | |
- Nov | |
- Des | |
# Used in date_select and datime_select. | |
order: | |
- :day | |
- :month | |
- :year |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This is the yml I get after pushing the previous ca.yml | |
# file to LocaleApp and pulling it from there. | |
# Note the extra indentation, to "|" character and extra white lines | |
ca: | |
date: | |
abbr_day_names: | | |
--- | |
- | |
- dg | |
- dl | |
- dm | |
- dc | |
- dj | |
- dv | |
- ds | |
abbr_month_names: | | |
--- | |
- | |
- Gen | |
- Feb | |
- Mar | |
- Abr | |
- Mai | |
- Jun | |
- Jul | |
- Ago | |
- Set | |
- Oct | |
- Nov | |
- Des | |
day_names: | | |
--- | |
- | |
- diumenge | |
- dilluns | |
- dimarts | |
- dimecres | |
- dijous | |
- divendres | |
- dissabte | |
month_names: | | |
--- | |
- | |
- gener | |
- febrer | |
- "mar\xC3\xA7" | |
- abril | |
- maig | |
- juny | |
- juliol | |
- agost | |
- setembre | |
- octubre | |
- novembre | |
- desembre | |
order: "[:day, :month, :year]" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Removing the overriden values from LocaleApp seems to fix the problem. Thanks @tigrish!