Fix translate home/page/activity/activity.js

This commit is contained in:
Bárbara Perretti 2013-10-07 14:06:23 -03:00
parent cd0a40b20f
commit f6a6399763

View File

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