From aba222ff41f82282abf500b7720d3e4c27bae55c Mon Sep 17 00:00:00 2001 From: Dan Rice Date: Tue, 5 Feb 2013 10:53:00 -0500 Subject: [PATCH] Rename Czech locale from cz to cs as per ISO 639-1 --- config/locales/{cz.yml => cs.yml} | 2 +- features/view_done.feature | 16 ++++++++-------- ...tepicker-cz.js => jquery.ui.datepicker-cs.js} | 4 ++-- 3 files changed, 11 insertions(+), 11 deletions(-) rename config/locales/{cz.yml => cs.yml} (99%) rename vendor/assets/javascripts/i18n/{jquery.ui.datepicker-cz.js => jquery.ui.datepicker-cs.js} (90%) diff --git a/config/locales/cz.yml b/config/locales/cs.yml similarity index 99% rename from config/locales/cz.yml rename to config/locales/cs.yml index 72ff1b79..88018edb 100644 --- a/config/locales/cz.yml +++ b/config/locales/cs.yml @@ -1,5 +1,5 @@ --- -cz: +cs: activerecord: attributes: note: diff --git a/features/view_done.feature b/features/view_done.feature index 0b9d18a4..cede43e5 100644 --- a/features/view_done.feature +++ b/features/view_done.feature @@ -228,11 +228,11 @@ Feature: Show done | all done actions page for context "@pc" | fr | | all done actions page for project "test project"| fr | | all done actions page for tag "starred" | fr | - | done actions page | cz | - | all done actions page | cz | - | done actions page for context "@pc" | cz | - | done actions page for project "test project" | cz | - | done actions page for tag "starred" | cz | - | all done actions page for context "@pc" | cz | - | all done actions page for project "test project"| cz | - | all done actions page for tag "starred" | cz | + | done actions page | cs | + | all done actions page | cs | + | done actions page for context "@pc" | cs | + | done actions page for project "test project" | cs | + | done actions page for tag "starred" | cs | + | all done actions page for context "@pc" | cs | + | all done actions page for project "test project"| cs | + | all done actions page for tag "starred" | cs | diff --git a/vendor/assets/javascripts/i18n/jquery.ui.datepicker-cz.js b/vendor/assets/javascripts/i18n/jquery.ui.datepicker-cs.js similarity index 90% rename from vendor/assets/javascripts/i18n/jquery.ui.datepicker-cz.js rename to vendor/assets/javascripts/i18n/jquery.ui.datepicker-cs.js index 1038ac75..da62f080 100644 --- a/vendor/assets/javascripts/i18n/jquery.ui.datepicker-cz.js +++ b/vendor/assets/javascripts/i18n/jquery.ui.datepicker-cs.js @@ -1,7 +1,7 @@ /* Czech initialisation for the jQuery UI date picker plugin. */ /* Written by Pavel Župa (pavel.zupa@gmail.com). */ jQuery(function($){ - $.datepicker.regional['cz'] = { + $.datepicker.regional['cs'] = { closeText: 'zavřít', prevText: 'předchozí', nextText: 'další', @@ -19,5 +19,5 @@ jQuery(function($){ isRTL: false, showMonthAfterYear: false, yearSuffix: ''}; - $.datepicker.setDefaults($.datepicker.regional['cz']); + $.datepicker.setDefaults($.datepicker.regional['cs']); });