lib/transender.rb in mihael-transender-0.2.6 vs lib/transender.rb in mihael-transender-0.2.7
- old
+ new
@@ -275,10 +275,13 @@
def replace_strings_in_files
Dir["#{app_path}/*.{m,h,pch,xib}"].each do |filename|
Transender.replace_strings_in_file(transform_title, app_title, filename)
end
- Dir["#{app_path}/Classes/*.{m,h}"].each do |filename|
+ Dir["#{app_path}/Views/*.{m,h,pch,xib}"].each do |filename|
+ Transender.replace_strings_in_file(transform_title, app_title, filename)
+ end
+ Dir["#{app_path}/Classes/**/*.{m,h}"].each do |filename|
Transender.replace_strings_in_file(transform_title, app_title, filename)
end
Dir["#{app_path}/#{app_title}.xcodeproj/*.*"].each do |filename|
Transender.replace_strings_in_file(transform_title, app_title, filename)
end