prevent from "regular expression too big" in gettext due to stupid untranslatable...
authorGuillaume Cottenceau <gcottenc@gmail.com>
Wed, 1 Aug 2012 19:55:57 +0000 (21:55 +0200)
committerGuillaume Cottenceau <gcottenc@gmail.com>
Wed, 1 Aug 2012 19:55:57 +0000 (21:55 +0200)
bin/booh-backend

index bd575b9..df102fb 100644 (file)
@@ -1147,7 +1147,7 @@ def walk_source_dir
                      push('.htaccess')
             to_del = Dir.entries(dest_dir).find_all { |e| !File.directory?(File.join(dest_dir, e)) && !all_elements.include?(e) && e !~ /^thumbnails-\w+\.jpg/ }
             if to_del.size > 0
-                msg 3, _("\tcleaning up: #{to_del.join(', ')}")
+                msg 3, _("\tcleaning up: ") . to_del.join(', ')
                 File.delete(*to_del.collect { |e| File.join(dest_dir, e) })
             end