diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-06-29 00:55:10 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-06-29 00:55:10 +0200 |
commit | 82756327944bbae07c7c515763f978012729bdf0 (patch) | |
tree | 2b4cf23730671aa906eb8e0b2b84ebf669bc87ad /Rakefile | |
parent | 8cc5ed2d63fe1de830009586b0102fc02f07ebfb (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-- | Rakefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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}" |