Browse files

Added script fixes.

  • Loading branch information...
1 parent 155a07e commit 94a0123ac4cca71da698bb1d42ae01cc9f751ea8 @millenomi committed Apr 21, 2011
Showing with 3 additions and 3 deletions.
  1. +2 −2 Scripts/CheckLocalizations
  2. +1 −1 Scripts/Produce
View
4 Scripts/CheckLocalizations
@@ -50,11 +50,11 @@ LANGUAGES.each do |lang|
if errors.length > 0
has_errors = true
- $stderr.puts errors.map { |x| "error: #{translated_file}: #{x}" }.join("\n")
+ $stderr.puts errors.map { |x| "error: #{translated_file}\nerror: #{x}" }.join("\n")
end
if warnings.length > 0
- $stderr.puts warnings.map { |x| "warning: #{translated_file}: #{x}" }.join("\n")
+ $stderr.puts warnings.map { |x| "note: #{translated_file}\nnote: #{x}" }.join("\n")
end
end
end
View
2 Scripts/Produce
@@ -1,7 +1,7 @@
#!/bin/bash
if [ ! -d "$1" -o ! -d "$2" -o ! -d "$3" ]; then
- echo "Usage: $0 <directory with original resources> <directory with strings> <target directory>"
+ echo "Usage: $0 <directory with original resources> <directory with strings> <target directory>" 2>&1
exit 1
fi

0 comments on commit 94a0123

Please sign in to comment.