diff options
author | Mark Longair <mhl@pobox.com> | 2012-10-19 13:52:13 +0100 |
---|---|---|
committer | Mark Longair <mhl@pobox.com> | 2012-10-19 14:16:16 +0100 |
commit | eb9b8d995d33c5f90d405c31342b08849f601570 (patch) | |
tree | fc0c9030c44ddc48e2c9f437ce3fb6117afad112 /locale | |
parent | a4940bc8a5cb9f8d23709088e868deb809568ce3 (diff) |
Set up internationalization with Transifex
gettext-extract needs to be changed to instantiate values
in the Plural-Forms header line, otherwise on pushing the
source pot file (locale/FixMyStreet.po) it fails one of
the checks that Transifex runs (msgfmt -c).
This commit also adds the .tx/config configuration file,
which points to the right project on Transifix and
specifies where the source and translated files are in
the project structure.
Diffstat (limited to 'locale')
-rw-r--r-- | locale/FixMyStreet.po | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/FixMyStreet.po b/locale/FixMyStreet.po index 38338c113..6d526ac50 100644 --- a/locale/FixMyStreet.po +++ b/locale/FixMyStreet.po @@ -15,7 +15,7 @@ msgstr "" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" +"Plural-Forms: nplurals=2; plural=n != 1;\n" #: perllib/FixMyStreet/DB/Result/Problem.pm:563 perllib/FixMyStreet/DB/ResultSet/Problem.pm:339 msgid " and " |