Merge branch 'i18n' of git://github.com/bperretti/erpnext into bperretti-i18n

This commit is contained in:
Nabin Hait
2013-10-24 11:40:32 +05:30
112 changed files with 677 additions and 617 deletions

View File

@@ -4,7 +4,7 @@
wn.pages['activity'].onload = function(wrapper) {
wn.ui.make_app_page({
parent: wrapper,
title: "Activity",
title: wn._("Activity"),
single_column: true
})
wrapper.appframe.add_module_icon("Activity");
@@ -21,7 +21,7 @@ wn.pages['activity'].onload = function(wrapper) {
// Build Report Button
if(wn.boot.profile.can_get_report.indexOf("Feed")!=-1) {
wrapper.appframe.add_button('Build Report', function() {
wrapper.appframe.add_button(wn._('Build Report'), function() {
wn.set_route('Report', "Feed");
}, 'icon-th')
}

View File

@@ -4,7 +4,7 @@
wn.pages['latest-updates'].onload = function(wrapper) {
wn.ui.make_app_page({
parent: wrapper,
title: 'Latest Updates',
title: wn._('Latest Updates'),
single_column: true
});
@@ -16,9 +16,9 @@ wn.pages['latest-updates'].onload = function(wrapper) {
method:"home.page.latest_updates.latest_updates.get",
callback: function(r) {
parent.empty();
$("<p class='help'>Report issues at\
<a href='https://github.com/webnotes/erpnext/issues'>GitHub Issues</a></p>\
<hr><h3>Commit Log</h3>")
$("<p class='help'>"+wn._("Report issues at")+
"<a href='https://github.com/webnotes/erpnext/issues'>"+wn._("GitHub Issues")+"</a></p>\
<hr><h3>"+wn._("Commit Log")+"</h3>")
.appendTo(parent);
var $tbody = $('<table class="table table-bordered"><tbody></tbody></table>')