Commit af9452005502d634a53aa7bce51525bae5afbcdf
1 parent
a7c845ce
Exists in
master
and in
27 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