Commit ee532d1612a984eb33e439ad22a8d9fb3bfee5d1

Authored by Braulio Bhavamitra
1 parent 922a2682

metadata: Move to gettext locales

plugins/metadata/lib/metadata_plugin.rb
... ... @@ -2,11 +2,11 @@
2 2 class MetadataPlugin < Noosfero::Plugin
3 3  
4 4 def self.plugin_name
5   - I18n.t 'metadata_plugin.lib.plugin.name'
  5 + _('Export metadata')
6 6 end
7 7  
8 8 def self.plugin_description
9   - I18n.t 'metadata_plugin.lib.plugin.description'
  9 + _('Export metadata for models on meta tags')
10 10 end
11 11  
12 12 def self.config
... ...
plugins/metadata/locales/en.yml
... ... @@ -1,14 +0,0 @@
1   -
2   -"en-US": &en-US
3   -
4   - metadata_plugin:
5   - lib:
6   - plugin:
7   - name: 'Export metadata'
8   - description: 'Export metadata for models on meta tags'
9   -
10   -'en_US':
11   - <<: *en-US
12   -'en':
13   - <<: *en-US
14   -
plugins/metadata/locales/pt.yml
... ... @@ -1,14 +0,0 @@
1   -
2   -"pt-BR": &pt-BR
3   -
4   - metadata_plugin:
5   - lib:
6   - plugin:
7   - name: 'Exporta metadados'
8   - description: 'Exporta metadados de modelos em tags meta'
9   -
10   -'pt_BR':
11   - <<: *pt-BR
12   -'pt':
13   - <<: *pt-BR
14   -