cirandas.net

ref: master

config/i18n-js.yml


 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
<% plugins = Noosfero::Plugin.all.map{ |p| p.gsub(/Plugin$/, '').underscore } %>

translations:
- file: "public/javascripts/i18n/%{locale}.js"
  except: <%= plugins.map{ |p| "*.#{p}_plugin" }.inspect %>

<% plugins.each do |plugin| %>
- file: "public/javascripts/i18n/<%=plugin%>/%{locale}.js"
  only: "*.<%=plugin%>_plugin"
<% end %>