Commit 877319eac04e73d0788b6fa6ce4d0d84765cb07a
Committed by
Victor Costa
1 parent
459afc31
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
pjax: making localization with gettext
Showing
3 changed files
with
2 additions
and
27 deletions
Show diff stats
plugins/pjax/lib/pjax_plugin.rb
| 1 | 1 | class PjaxPlugin < Noosfero::Plugin |
| 2 | 2 | |
| 3 | 3 | def self.plugin_name |
| 4 | - I18n.t('pjax_plugin.lib.plugin.name') | |
| 4 | + _('pjax_plugin.lib.plugin.name') | |
| 5 | 5 | end |
| 6 | 6 | |
| 7 | 7 | def self.plugin_description |
| 8 | - I18n.t('pjax_plugin.lib.plugin.description') | |
| 8 | + _('pjax_plugin.lib.plugin.description') | |
| 9 | 9 | end |
| 10 | 10 | |
| 11 | 11 | def stylesheet? | ... | ... |
plugins/pjax/locales/en.yml