Skip to content

Commit

Permalink
Extract additional strings from product/reports/*/*.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
mzazrivec committed Nov 8, 2016
1 parent 8bd56f3 commit 7228a90
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/tasks/locale.rake
Expand Up @@ -41,7 +41,7 @@ namespace :locale do
end

desc "Extract strings from various yaml files and store them in a ruby file for gettext:find"
task :extract_yaml_strings do
task :extract_yaml_strings => :environment do
def update_output(string, file, output)
return if string.nil? || string.empty?
if output.key?(string)
Expand Down Expand Up @@ -74,6 +74,7 @@ namespace :locale do
"db/fixtures/miq_product_features.*" => %w(name description),
"db/fixtures/miq_report_formats.*" => %w(description),
"db/fixtures/notification_types.*" => %w(message),
"product/reports/*/*.*" => %w(headers menu_name title),
"product/timelines/miq_reports/*.*" => %w(title name headers),
"product/views/*.*" => %w(title name headers)
}
Expand Down

0 comments on commit 7228a90

Please sign in to comment.