summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-06-29 00:55:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-06-29 00:55:10 +0200
commit82756327944bbae07c7c515763f978012729bdf0 (patch)
tree2b4cf23730671aa906eb8e0b2b84ebf669bc87ad /Rakefile
parent8cc5ed2d63fe1de830009586b0102fc02f07ebfb (diff)
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.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile2
1 files changed, 1 insertions, 1 deletions
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}"