Uwe Stöhr wrote: > In this case I cannot see a problem. The file I committed is correct. It is > encoded in UTF-8 with BOM. So maybe the first character you see is the BOM: > https://en.wikipedia.org/wiki/Byte_order_mark#UTF-8 > > I tested that the layouttranslations works with LyX before I committed.
Ok, you likely made a mistake :) $ make ../lib/layouttranslations LC_ALL=C ; export LC_ALL ; /usr/bin/python ./lyx_pot.py -b .. -o ../lib/layouttranslations -t layouttranslations ../lib/layouts/*.layout ../lib/layouts/*.inc ../lib/layouts/*.module ../lib/citeengines/*.citeengine Error: Unable to handle line: Traceback (most recent call last): File "./lyx_pot.py", line 687, in <module> layouts_l10n(input_files, output, base, True) File "./lyx_pot.py", line 161, in layouts_l10n print(line) UnicodeEncodeError: 'ascii' codec can't encode character u'\ufeff' in position 0: ordinal not in range(128) make: *** [Makefile:785: ../lib/layouttranslations] Error 1 After deleting the offending character I see new changes in el & uk, which went uncommitted. Pavel