mayconvm / phonetooth

Automatically exported from code.google.com/p/phonetooth
GNU General Public License v2.0
0 stars 0 forks source link

intltool-update -p fails to generate phonetooth.pot #12

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
tom@compal:~/phonetooth-read-only/po$ intltool-update -p
ERROR: xgettext failed to generate PO template file because there is non-ASCII
       string marked for translation. Please make sure that all strings marked
       for translation are in uniform encoding (say UTF-8), then *prepend* the
       following line to POTFILES.in and rerun intltool-update:

           [encoding: UTF-8]

Please fix this, otherwise it's not possible to generate the pot file and
translate the application.

Original issue reported on code.google.com by dominiko...@gmail.com on 31 Mar 2008 at 6:27

GoogleCodeExporter commented 8 years ago
I added [encoding: UTF-8] to POTFILES.in.

I hope that solves the problem, I'm a gettext newbie, never used it before.

Original comment by dirk.vdb on 31 Mar 2008 at 6:32

GoogleCodeExporter commented 8 years ago
I had to remove the [encoding: UTF-8] line again because otherwise the build 
fails
because it thinks [encoding: UTF-8] is a file.

Not sure what to do with this...

Original comment by dirk.vdb on 31 Mar 2008 at 7:15

GoogleCodeExporter commented 8 years ago
How about finding the non-ASCII string marked for translation and fixing it?

Original comment by dominiko...@gmail.com on 31 Mar 2008 at 7:19

GoogleCodeExporter commented 8 years ago
it's the string with the copyright symbol, but what do I have to do with it?

Original comment by dirk.vdb on 31 Mar 2008 at 7:31