Merged duplicate msgid and translations with msguniq
authorDavid Planella <david.planella@gmail.com>
Fri, 4 Dec 2009 22:48:43 +0000 (23:48 +0100)
committerDaniel Albers <daniel@lbers.com>
Thu, 7 Jan 2010 22:03:48 +0000 (23:03 +0100)
commitd1592fdad29ac39ccdb54cab0472e8ff5de32590
tree5aead11bcd398adf4a53b452131cbe374a678b0c
parent846ce2425763e175e0453f2b3c3a2feab35e58c9
Merged duplicate msgid and translations with msguniq

In order for gettext tools such as msgmerge and msgfmt to work with PO
files, these must have a valid format. Therefore duplicate msgid must be
merged into single ones, which is what has been done to the current
translations. The following command has been used (using Italian as an
example):

  msguniq --use-first quassel_it.po > it.po && rm quassel_it.po

Note that some of the PO header files had to be fixed manually prior to
executing the command, so that they had the right format.

Additionally, the file names have been renamed to ll.po (where ll is the
language code). While this is just a minor detail, I believe it makes
sense to use the same naming convention as gettext-based OSS projects.
12 files changed:
po/cs.po
po/da.po
po/de.po
po/es.po
po/fi.po
po/fr.po
po/hu.po
po/it.po
po/nb.po
po/ru.po
po/sl.po
po/tr.po