[issue #195] Added translations and maybe missed partials
This commit is contained in:
parent
662ea4018c
commit
5b9d20154b
|
@ -1,12 +1,12 @@
|
|||
$(document).ready(function() {
|
||||
$("#myTable").tablesorter({
|
||||
headers: {
|
||||
2: {
|
||||
sorter: false
|
||||
}
|
||||
}
|
||||
|
||||
});
|
||||
// $("#myTable").tablesorter({
|
||||
// headers: {
|
||||
// 2: {
|
||||
// sorter: false
|
||||
// }
|
||||
// }
|
||||
//
|
||||
// });
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
|
|
|
@ -15,23 +15,23 @@ $(document).ready(function() {
|
|||
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#myTable").tablesorter({
|
||||
headers: {
|
||||
1: {
|
||||
sorter: false
|
||||
}
|
||||
}
|
||||
});
|
||||
//$("#myTable").tablesorter({
|
||||
// headers: {
|
||||
// 1: {
|
||||
// sorter: false
|
||||
// }
|
||||
// }
|
||||
//});
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
$("#myTable2").tablesorter({
|
||||
headers: {
|
||||
1: {
|
||||
sorter: false
|
||||
}
|
||||
}
|
||||
});
|
||||
//$("#myTable2").tablesorter({
|
||||
// headers: {
|
||||
// 1: {
|
||||
// sorter: false
|
||||
// }
|
||||
// }
|
||||
//});
|
||||
});
|
||||
|
||||
$(document).ready(function() {
|
||||
|
@ -135,4 +135,4 @@ function hideRow(elem) {
|
|||
} else {
|
||||
//$("#"+elem).fadeOut(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -61,7 +61,6 @@ article div.activity .top div.text .name {
|
|||
}
|
||||
|
||||
article div.activity .top .buttons {
|
||||
font-weight: 700;
|
||||
display: block;
|
||||
position: relative;
|
||||
float: right;
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -27,17 +27,15 @@ a img { border: none; }
|
|||
.wrap {
|
||||
width: 940px;
|
||||
margin: 0 auto;
|
||||
// text-align: center;
|
||||
// border: 1px solid #3f668c;
|
||||
// -webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
// -moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
// box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
text-align: center;
|
||||
border: 1px solid #3f668c;
|
||||
-webkit-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
-moz-box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
box-shadow: 0px 0px 7px 0px rgba(0, 0, 0, 0.5);
|
||||
background: #FFF;
|
||||
min-height: 92%;
|
||||
}
|
||||
|
||||
.hui {text-align: center;}
|
||||
|
||||
.wrap.columns {
|
||||
background: #FFF image-url("page-bg.png") repeat-y;
|
||||
}
|
||||
|
@ -209,6 +207,8 @@ header div.profile a:hover {
|
|||
|
||||
header div.droplist-wrap {
|
||||
margin: -4px 0px 0px 0px;
|
||||
width: 151px;
|
||||
float: right;
|
||||
}
|
||||
|
||||
header div.droplist {
|
||||
|
@ -220,7 +220,6 @@ header div.droplist {
|
|||
box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
|
||||
position: absolute;
|
||||
margin-top: 0px;
|
||||
margin-left: 138px;
|
||||
border-radius: 0px 0px 4px 4px;
|
||||
display: none;
|
||||
text-align: right;
|
||||
|
@ -1423,7 +1422,6 @@ div.description-top div.role {
|
|||
div.fork {
|
||||
float: right;
|
||||
margin-top: 5px;
|
||||
margin-right: 10px;
|
||||
}
|
||||
div.fork p {
|
||||
float: right;
|
||||
|
@ -1431,8 +1429,8 @@ div.fork p {
|
|||
margin-right: 2px;
|
||||
}
|
||||
|
||||
div.fork.rmargin0 {
|
||||
margin-right: 0px;
|
||||
div.description-top div.fork {
|
||||
margin-right: 10px;
|
||||
}
|
||||
|
||||
.all div.description {
|
||||
|
@ -1561,7 +1559,7 @@ div.files div.l p{
|
|||
|
||||
/* Code */
|
||||
|
||||
div.gutter-new {
|
||||
div.gutter {
|
||||
float: left;
|
||||
border: 0 !important;
|
||||
padding: 10px 5px 10px 0px;
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
= form_for :comment, :url => new_path, :method => :post, :html => { :class => :form } do |f|
|
||||
= render :partial => "comments/form", :locals => {:f => f}
|
||||
.comment-left
|
||||
= t("layout.comments.notification_are")
|
||||
= t("layout.comments.notifications_are")
|
||||
%span.bold
|
||||
- if Subscribe.subscribed_to_commit?(@project, current_user, @commit)
|
||||
= t("layout.turned_on")
|
||||
= t("layout.turned_on")\
|
||||
- else
|
||||
= t("layout.turned_off")
|
||||
= t("layout.turned_off")\
|
||||
\.
|
||||
|
||||
- if Subscribe.subscribed_to_commit?(@project, current_user, @commit)
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
= text_area_tag :content, @blob.data.encode_to_default, :id => 'code'
|
||||
|
||||
.both
|
||||
= t("enter_commit_message")
|
||||
= text_area_tag :message, '', :class => 'commit-message'
|
||||
= t("layout.enter_commit_message")
|
||||
= text_area_tag :message, "Updated #{@blob.name}", :class => 'commit-message'
|
||||
|
||||
%br
|
||||
%br
|
||||
|
|
|
@ -32,7 +32,7 @@
|
|||
<center> <img src='?raw=true'/></center>
|
||||
<br/>
|
||||
- when :text
|
||||
.gutter-new
|
||||
.gutter
|
||||
:plain
|
||||
<pre>#{render_line_numbers(text.length)}</pre>
|
||||
%pre{:class => "brush: #{@blob.mime_type.split('/').last}"}
|
||||
|
|
|
@ -7,10 +7,10 @@
|
|||
%table#myTable.tablesorter.project{:cellpadding => "0", :cellspacing => "0"}
|
||||
%thead
|
||||
%tr
|
||||
%th.th1.header= t("layout.project.filename")
|
||||
%th.th2.header= t("layout.project.age")
|
||||
%th.th3= t("layout.project.message")
|
||||
%th.th4.header= t("layout.project.author")
|
||||
%th.th1= t("layout.projects.filename")
|
||||
%th.th2= t("layout.projects.age")
|
||||
%th.th3= t("layout.projects.message")
|
||||
%th.th4= t("layout.projects.author")
|
||||
%tbody
|
||||
- if @path.present?
|
||||
%tr
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
en:
|
||||
time:
|
||||
formats:
|
||||
date_block_format: "%B<br />%d"
|
|
@ -0,0 +1,7 @@
|
|||
en:
|
||||
layout:
|
||||
read_more: Read more
|
||||
turned_on: on
|
||||
turned_off: of
|
||||
|
||||
enter_commit_message: Commit message
|
|
@ -0,0 +1,7 @@
|
|||
ru:
|
||||
layout:
|
||||
read_more: Читать дальше
|
||||
turned_on: включены
|
||||
turned_off: выключены
|
||||
|
||||
enter_commit_message: Сопровождающее сообщение
|
|
@ -0,0 +1,5 @@
|
|||
en:
|
||||
layout:
|
||||
comments:
|
||||
has_commented: "adds a note"
|
||||
notifications_are: "Notifications for new comments are"
|
|
@ -0,0 +1,5 @@
|
|||
ru:
|
||||
layout:
|
||||
comments:
|
||||
has_commented: "оставил комментарий"
|
||||
notifications_are: "Уведомления о последующих комментариях"
|
|
@ -0,0 +1,5 @@
|
|||
en:
|
||||
layout:
|
||||
commits:
|
||||
subscribe_btn: Enable notifications.
|
||||
unsubscribe_btn: Disable notifications.
|
|
@ -0,0 +1,5 @@
|
|||
ru:
|
||||
layout:
|
||||
commits:
|
||||
subscribe_btn: Включить уведомления.
|
||||
unsubscribe_btn: Выключить уведомления.
|
|
@ -0,0 +1,6 @@
|
|||
en:
|
||||
layout:
|
||||
messages:
|
||||
commits:
|
||||
header_with_branch: "%{committer} add %{commit} into %{branch} branch"
|
||||
header: "%{committer} add %{commit}"
|
|
@ -0,0 +1,14 @@
|
|||
en:
|
||||
layout:
|
||||
projects:
|
||||
diff_show_header: "%{files} with %{additions} and %{deletions}."
|
||||
about_subheader: "About project"
|
||||
last_commit: "Last commit"
|
||||
|
||||
filename: File
|
||||
age: Modification date
|
||||
message: Message
|
||||
author: Author
|
||||
|
||||
current_branch: Current branch
|
||||
files_in_project: Files in
|
|
@ -1,4 +1,14 @@
|
|||
ru:
|
||||
layout:
|
||||
projects:
|
||||
diff_show_header: "%{files} с %{additions} и %{deletions}."
|
||||
diff_show_header: "%{files} с %{additions} и %{deletions}."
|
||||
about_subheader: "О проекте"
|
||||
last_commit: "Последний коммит"
|
||||
|
||||
filename: Файл
|
||||
age: Дата модификации
|
||||
message: Сообщение
|
||||
author: Автор
|
||||
|
||||
current_branch: Текущий бранч
|
||||
files_in_project: Файлы в
|
||||
|
|
Loading…
Reference in New Issue