You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if line =~ /^\"([\w\-\.\[\]]+)\"\s*\=\s*\"(.*)\"\;.*$/
dict[$1] = line
end
end
base.close
out = File.new(ARGV[1], "w:utf-8")
loc = File.new(ARGV[2], "r:bom|UTF-16LE:UTF-8")
while line = loc.gets
# if line =~ /(ibShadowedMultipleValuesPlaceholder|ibShadowedNoSelectionPlaceholder|ibShadowedNotApplicablePlaceholder|ibShadowedIsNilPlaceholder).*\" \"/
# next
# end
# if line =~ /__DEBUG__/
# if lang == 'en.lproj'
# out.puts line
# text = loc.gets
# out.puts text.gsub(/__DEBUG__/, '')
# else
# loc.gets
# loc.gets
# end
# next
# elsif line =~ /(__[A-Z_]+__)/
# loc.gets
# loc.gets
# next
# end
if line =~ /^\"([\w\-\.\[\]]+)\"\s*\=\s*\"(.*)\"\;.*$/