Commit f49c81f6 authored by winterheart's avatar winterheart

Real RTL-theme support in locales (#6012)

Now each locale-file have direction string (ltr - left-to-right - by default).


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