From 82756327944bbae07c7c515763f978012729bdf0 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 29 Jun 2010 00:55:10 +0200 Subject: Move English messages from po/en_US to po/en When using gettext, the bot will look for English messages in the 'en' locale, rather than en_US. This causes some Ruby GetText version to not find the .mo files, which used to be stored as en_US instead. Since Ruby's GetText seems to be too stupid to fall back to en_US when en is not found, we move the messages to en. This is also probably more correct from a linguistic standpoint, since the messages are actually mostly British English due to the bot origin. --- Rakefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Rakefile') diff --git a/Rakefile b/Rakefile index 435e6265..b54728f3 100644 --- a/Rakefile +++ b/Rakefile @@ -97,7 +97,7 @@ task :define_po_rules do end # generate English po files - file(%r'^po/en_US/.+\.po$' => pot_for_po) do |t| + file(%r'^po/en/.+\.po$' => pot_for_po) do |t| po_file, pot_file = t.name, t.source if MSGEN sh "#{MSGEN} --output-file=#{po_file} #{pot_file}" -- cgit v1.2.3