mirror of https://github.com/tasks/tasks
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
9 lines
379 B
Ruby
9 lines
379 B
Ruby
![]()
11 years ago
|
files = Dir.glob('api/src/main/res/values/strings.xml') + Dir.glob('astrid/src/main/res/values/strings-*.xml')
|
||
|
files.each do |path|
|
||
|
file = File.new(path)
|
||
|
file.read.scan(/<string name="(.*)">/) do |match|
|
||
|
result = `git grep R.string.#{match[0]} astrid api` + `git grep string\/#{match[0]} astrid api`
|
||
|
puts "#{path} - #{match}" if result.empty?
|
||
|
end
|
||
|
end
|