From 7026f003b50c1b9cc78ec03c4d92662b6ea885f5 Mon Sep 17 00:00:00 2001 From: simonbrandhof Date: Tue, 7 Jun 2011 00:47:14 +0200 Subject: [PATCH] Improve Spanish format of dates/times --- .../main/webapp/WEB-INF/config/locales/es.yml | 8 ++++++++ .../main/webapp/WEB-INF/config/locales/fr.yml | 2 +- .../main/webapp/WEB-INF/config/locales/ru.yml | 16 +--------------- 3 files changed, 10 insertions(+), 16 deletions(-) create mode 100644 sonar-server/src/main/webapp/WEB-INF/config/locales/es.yml diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/es.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/es.yml new file mode 100644 index 00000000000..2b6ed374535 --- /dev/null +++ b/sonar-server/src/main/webapp/WEB-INF/config/locales/es.yml @@ -0,0 +1,8 @@ +"es": + date: + formats: + default: "%d/%b/%Y" + + time: + formats: + default: "%d/%b/%Y %H:%M" diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/fr.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/fr.yml index a74cb73a187..1009cfd3c5c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/config/locales/fr.yml +++ b/sonar-server/src/main/webapp/WEB-INF/config/locales/fr.yml @@ -7,4 +7,4 @@ fr: time: formats: - default: "%d %b %Y, %H:%M" \ No newline at end of file + default: "%d %b %Y %H:%M" \ No newline at end of file diff --git a/sonar-server/src/main/webapp/WEB-INF/config/locales/ru.yml b/sonar-server/src/main/webapp/WEB-INF/config/locales/ru.yml index edd37a02083..843ec8148b7 100644 --- a/sonar-server/src/main/webapp/WEB-INF/config/locales/ru.yml +++ b/sonar-server/src/main/webapp/WEB-INF/config/locales/ru.yml @@ -1,14 +1,3 @@ -# Russian localization for Ruby on Rails 2.2+ -# by Yaroslav Markin -# -# Be sure to check out "russian" gem (http://github.com/yaroslav/russian) for -# full Russian language support in Rails (month names, pluralization, etc). -# The following is an excerpt from that gem. -# -# Для полноценной поддержки русского языка (варианты названий месяцев, -# плюрализация и так далее) в Rails 2.2 нужно использовать gem "russian" -# (http://github.com/yaroslav/russian). Следующие данные -- выдержка их него, чтобы -# была возможность минимальной локализации приложения на русский язык. ru: date: @@ -17,7 +6,4 @@ ru: time: formats: - default: "%d %b %Y, %H:%M" - - am: "утра" - pm: "вечера" \ No newline at end of file + default: "%d %b %Y %H:%M" \ No newline at end of file -- 2.39.5