Real RTL-theme support in locales (#6012)
Now each locale-file have direction string (ltr - left-to-right - by default). git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4005 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
eefb36177d
commit
57372d9d8e
|
@ -7,6 +7,7 @@
|
||||||
<meta name="keywords" content="issue,bug,tracker" />
|
<meta name="keywords" content="issue,bug,tracker" />
|
||||||
<%= favicon %>
|
<%= favicon %>
|
||||||
<%= stylesheet_link_tag 'application', :media => 'all' %>
|
<%= stylesheet_link_tag 'application', :media => 'all' %>
|
||||||
|
<%= stylesheet_link_tag 'rtl', :media => 'all' if l(:direction) == 'rtl' %>
|
||||||
<%= javascript_include_tag :defaults %>
|
<%= javascript_include_tag :defaults %>
|
||||||
<%= heads_for_wiki_formatter %>
|
<%= heads_for_wiki_formatter %>
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
bg:
|
bg:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#Ernad Husremovic hernad@bring.out.ba
|
#Ernad Husremovic hernad@bring.out.ba
|
||||||
|
|
||||||
bs:
|
bs:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
ca:
|
ca:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
cs:
|
cs:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# updated and upgraded to 0.9 by Morten Krogh Andersen (http://www.krogh.net)
|
# updated and upgraded to 0.9 by Morten Krogh Andersen (http://www.krogh.net)
|
||||||
|
|
||||||
da:
|
da:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by Clemens Kofler (clemens@railway.at)
|
# by Clemens Kofler (clemens@railway.at)
|
||||||
|
|
||||||
de:
|
de:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by Vaggelis Typaldos (vtypal@gmail.com), Spyros Raptis (spirosrap@gmail.com)
|
# by Vaggelis Typaldos (vtypal@gmail.com), Spyros Raptis (spirosrap@gmail.com)
|
||||||
|
|
||||||
el:
|
el:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
en-GB:
|
en-GB:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,6 @@
|
||||||
en:
|
en:
|
||||||
|
# Text direction: Left-to-Right (ltr) or Right-to-Left (rtl)
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
@ -64,6 +66,11 @@ en:
|
||||||
other: "almost {{count}} years"
|
other: "almost {{count}} years"
|
||||||
|
|
||||||
number:
|
number:
|
||||||
|
# Default format for numbers
|
||||||
|
format:
|
||||||
|
separator: "."
|
||||||
|
delimiter: ""
|
||||||
|
precision: 3
|
||||||
human:
|
human:
|
||||||
format:
|
format:
|
||||||
delimiter: ""
|
delimiter: ""
|
||||||
|
|
|
@ -141,6 +141,7 @@ es:
|
||||||
attributes:
|
attributes:
|
||||||
# Overrides model and default messages.
|
# Overrides model and default messages.
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# 2010-01-25
|
# 2010-01-25
|
||||||
# Distributed under the same terms as the Redmine itself.
|
# Distributed under the same terms as the Redmine itself.
|
||||||
eu:
|
eu:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by Marko Seppä (marko.seppa@gmail.com)
|
# by Marko Seppä (marko.seppa@gmail.com)
|
||||||
|
|
||||||
fi:
|
fi:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%e. %Bta %Y"
|
default: "%e. %Bta %Y"
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# contributor: Thibaut Cuvelier - Developpez.com
|
# contributor: Thibaut Cuvelier - Developpez.com
|
||||||
|
|
||||||
fr:
|
fr:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d/%m/%Y"
|
default: "%d/%m/%Y"
|
||||||
|
|
|
@ -45,6 +45,7 @@ gl:
|
||||||
tb: "TB"
|
tb: "TB"
|
||||||
|
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%e/%m/%Y"
|
default: "%e/%m/%Y"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# Jul 2010 - Updated by Orgad Shaneh (orgads@gmail.com)
|
# Jul 2010 - Updated by Orgad Shaneh (orgads@gmail.com)
|
||||||
|
|
||||||
he:
|
he:
|
||||||
|
direction: rtl
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d/%m/%Y"
|
default: "%d/%m/%Y"
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by Helix d.o.o. (info@helix.hr)
|
# by Helix d.o.o. (info@helix.hr)
|
||||||
|
|
||||||
hr:
|
hr:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
# updated by Gábor Takács (taky77@gmail.com)
|
# updated by Gábor Takács (taky77@gmail.com)
|
||||||
|
|
||||||
"hu":
|
"hu":
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%Y.%m.%d."
|
default: "%Y.%m.%d."
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by Raden Prabowo (cakbowo@gmail.com)
|
# by Raden Prabowo (cakbowo@gmail.com)
|
||||||
|
|
||||||
id:
|
id:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d-%m-%Y"
|
default: "%d-%m-%Y"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# by Diego Pierotto (ita.translations@tiscali.it)
|
# by Diego Pierotto (ita.translations@tiscali.it)
|
||||||
|
|
||||||
it:
|
it:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d-%m-%Y"
|
default: "%d-%m-%Y"
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# AR error messages are basically taken from Ruby-GetText-Package. Thanks to Masao Mutoh.
|
# AR error messages are basically taken from Ruby-GetText-Package. Thanks to Masao Mutoh.
|
||||||
|
|
||||||
ja:
|
ja:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# by Yonghwan SO(please insert your email), last update at 2009-09-11
|
# by Yonghwan SO(please insert your email), last update at 2009-09-11
|
||||||
# last update at 2010-01-23 by Kihyun Yoon
|
# last update at 2010-01-23 by Kihyun Yoon
|
||||||
ko:
|
ko:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -4,6 +4,7 @@
|
||||||
# and Sergej Jegorov sergej.jegorov@gmail.com
|
# and Sergej Jegorov sergej.jegorov@gmail.com
|
||||||
# and Gytis Gurklys gytis.gurklys@gmail.com
|
# and Gytis Gurklys gytis.gurklys@gmail.com
|
||||||
lt:
|
lt:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# translated by Dzintars Bergs (dzintars.bergs@gmail.com)
|
# translated by Dzintars Bergs (dzintars.bergs@gmail.com)
|
||||||
|
|
||||||
lv:
|
lv:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
mn:
|
mn:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
nl:
|
nl:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
support:
|
support:
|
||||||
array:
|
array:
|
||||||
sentence_connector: "og"
|
sentence_connector: "og"
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -33,6 +33,7 @@ pl:
|
||||||
gb: "GB"
|
gb: "GB"
|
||||||
tb: "TB"
|
tb: "TB"
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%Y-%m-%d"
|
default: "%Y-%m-%d"
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
pt-BR:
|
pt-BR:
|
||||||
# formatos de data e hora
|
# formatos de data e hora
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d/%m/%Y"
|
default: "%d/%m/%Y"
|
||||||
|
|
|
@ -6,6 +6,7 @@ pt:
|
||||||
sentence_connector: "e"
|
sentence_connector: "e"
|
||||||
skip_last_comma: true
|
skip_last_comma: true
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d/%m/%Y"
|
default: "%d/%m/%Y"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
ro:
|
ro:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d-%m-%Y"
|
default: "%d-%m-%Y"
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
# была возможность минимальной локализации приложения на русский язык.
|
# была возможность минимальной локализации приложения на русский язык.
|
||||||
|
|
||||||
ru:
|
ru:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
sk:
|
sk:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
sl:
|
sl:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Serbian translations for Redmine
|
# Serbian translations for Redmine
|
||||||
# by Vladimir Medarović (vlada@medarovic.com)
|
# by Vladimir Medarović (vlada@medarovic.com)
|
||||||
sr-YU:
|
sr-YU:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
# Serbian translations for Redmine
|
# Serbian translations for Redmine
|
||||||
# by Vladimir Medarović (vlada@medarovic.com)
|
# by Vladimir Medarović (vlada@medarovic.com)
|
||||||
sr:
|
sr:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -131,6 +131,7 @@ sv:
|
||||||
not_same_project: "tillhör inte samma projekt"
|
not_same_project: "tillhör inte samma projekt"
|
||||||
circular_dependency: "Denna relation skulle skapa ett cirkulärt beroende"
|
circular_dependency: "Denna relation skulle skapa ett cirkulärt beroende"
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
th:
|
th:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -5,6 +5,7 @@ tr:
|
||||||
locale:
|
locale:
|
||||||
native_name: Türkçe
|
native_name: Türkçe
|
||||||
address_separator: " "
|
address_separator: " "
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%d.%m.%Y"
|
default: "%d.%m.%Y"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
uk:
|
uk:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -140,6 +140,7 @@ vi:
|
||||||
not_same_project: "không thuộc cùng dự án"
|
not_same_project: "không thuộc cùng dự án"
|
||||||
circular_dependency: "quan hệ có thể gây ra lặp vô tận"
|
circular_dependency: "quan hệ có thể gây ra lặp vô tận"
|
||||||
|
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
# See http://github.com/svenfuchs/rails-i18n/ for details.
|
# See http://github.com/svenfuchs/rails-i18n/ for details.
|
||||||
|
|
||||||
"zh-TW":
|
"zh-TW":
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
# Use the strftime parameters for formats.
|
# Use the strftime parameters for formats.
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
# by tsechingho (http://github.com/tsechingho)
|
# by tsechingho (http://github.com/tsechingho)
|
||||||
|
|
||||||
zh:
|
zh:
|
||||||
|
direction: ltr
|
||||||
date:
|
date:
|
||||||
formats:
|
formats:
|
||||||
default: "%Y-%m-%d"
|
default: "%Y-%m-%d"
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
@import url(../../alternate/stylesheets/application.css);
|
|
||||||
|
|
||||||
body, #wrapper { direction: rtl;}
|
body, #wrapper { direction: rtl;}
|
||||||
|
|
||||||
#quick-search { float: left; }
|
#quick-search { float: left; }
|
||||||
|
@ -20,11 +18,23 @@ body, #wrapper { direction: rtl;}
|
||||||
float: right;
|
float: right;
|
||||||
margin-left: auto;
|
margin-left: auto;
|
||||||
}
|
}
|
||||||
.tabular p { clear: right; }
|
.tabular p
|
||||||
|
{
|
||||||
|
clear: right;
|
||||||
|
}
|
||||||
.tabular label.block { text-align: right; }
|
.tabular label.block { text-align: right; }
|
||||||
|
.icon
|
||||||
.icon { background-position: 100% 40%; padding-right: 20px; padding-left: 0px; }
|
{
|
||||||
div#activity dt, #search-results dt { background-position: 100% 50%; padding-right: 20px; padding-left: 0px; }
|
background-position: 100% 40%;
|
||||||
|
padding-right: 20px;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
|
div#activity dt, #search-results dt
|
||||||
|
{
|
||||||
|
background-position: 100% 50%;
|
||||||
|
padding-right: 20px;
|
||||||
|
padding-left: 0px;
|
||||||
|
}
|
||||||
#content .tabs ul li { float: right; }
|
#content .tabs ul li { float: right; }
|
||||||
#content .tabs ul { padding-left: auto; padding-right: 1em; }
|
#content .tabs ul { padding-left: auto; padding-right: 1em; }
|
||||||
table.progress { float: right; }
|
table.progress { float: right; }
|
||||||
|
@ -48,3 +58,9 @@ table.list td.buttons a { padding-right: 20px; }
|
||||||
div#issue-changesets { float: left; margin-right: 1em; margin-left: 0 }
|
div#issue-changesets { float: left; margin-right: 1em; margin-left: 0 }
|
||||||
#activity dt, .journal { clear: right; }
|
#activity dt, .journal { clear: right; }
|
||||||
.journal-link { float: left; }
|
.journal-link { float: left; }
|
||||||
|
div.wiki pre { direction: ltr; }
|
||||||
|
|
||||||
|
#context-menu li.folder ul { left:auto; right:168px; }
|
||||||
|
#context-menu li.folder>ul { left:auto; right:148px; }
|
||||||
|
|
||||||
|
#context-menu li a.submenu { background:url("../images/bullet_arrow_left.png") left no-repeat; }
|
|
@ -1,6 +0,0 @@
|
||||||
@import url(../../../stylesheets/context_menu.css);
|
|
||||||
|
|
||||||
#context-menu li.folder ul { left:auto; right:168px; }
|
|
||||||
#context-menu li.folder>ul { left:auto; right:148px; }
|
|
||||||
|
|
||||||
#context-menu li a.submenu { background:url("../../../images/bullet_arrow_left.png") left no-repeat; }
|
|
Loading…
Reference in New Issue