aboutsummaryrefslogtreecommitdiffstats
path: root/enc/trans/make_transdb.rb
diff options
context:
space:
mode:
Diffstat (limited to 'enc/trans/make_transdb.rb')
-rw-r--r--enc/trans/make_transdb.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/trans/make_transdb.rb b/enc/trans/make_transdb.rb
index 20c3a7157a..50d4f169f3 100644
--- a/enc/trans/make_transdb.rb
+++ b/enc/trans/make_transdb.rb
@@ -14,7 +14,7 @@ transdirs << 'enc/trans' if transdirs.empty?
files = {}
transdirs.each do |transdir|
next unless File.directory?(transdir)
- Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/).reject {|n| /\.erb\.c\z/ =~ n }}.sort_by {|e|
+ Dir.open(transdir) {|d| d.grep(/.+\.[ch]\z/) }.sort_by {|e|
e.scan(/(\d+)|(\D+)/).map {|n,a| a||[n.size,n.to_i]}.flatten
}.each do |fn|
next if files[fn]