Strange Error
Posted
#1
(In Topic #977)
Regular

fr.po:19: 'msgid' and 'msgstr' entries do not both end with '\n'
fr.po:35: 'msgid' and 'msgstr' entries do not both end with '\n'
msgfmt: found 2 fatal errors
I have no clue as to what the problem might be
Posted
Regular

Posted
Administrator

cage said
fr.po:19: 'msgid' and 'msgstr' entries do not both end with '\n'
fr.po:35: 'msgid' and 'msgstr' entries do not both end with '\n'
msgfmt: found 2 fatal errors
Every time you compile a translatable project, the translation files get checked/updated.
You translations files should begin with:
Code
#, fuzzy
msgid ""
msgstr ""Code
#: Args.module:73
msgid "Display version"
msgstr "Toon versie"Your error fr.po:19: 'msgid' and 'msgstr' entries do not both end with '\n' shows that apperently you have something like this in your french translation file:
Code
#: Args.module:73
msgid "Display version" msgstr "Toon versie"Code
msgid "" msgstr ""This could be part of a translator bug in IDE that will be fixed in 3.18.3, as there where some incidents with translating and .po files being written in strange obscure ways at a fulll moon with some chicken sacrifices going on. And you know how it goes with these chicken sacrifices at full moon, they always leave a bloody mess. I had to dance around the fire at full moon for many hours begging the Gambas gods to make some of my .po files work again.
So how to fix:
Step 1: Buy a chicken
Step 2: Wait till full moon
Step 3: Make a fire
Step 4: Sacrifice chicken
Step 5: Dance around fire for long enough
Step 6: Go home and start PC
Step 7: Open your fr.po file (located in .lang of your project) and on lines 19 and 35 make sure msgid and msgstr are each on their own line.
If you pleased the Gambas gods enough, that should fix your problem…
gbWilly
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
- Gambas Dutch translator
- Gambas wiki content contributor
- Gambas debian/ubuntu package recipe contributor
- GambOS, a distro for learning Gambas and more…
- Gambas3 Debian/Ubuntu repositories
… there is always a Catch if things go wrong!
Posted
Regular

So how to fix:
Step 1: Buy a chicken
Step 2: Wait till full moon
Step 3: Make a fire
Step 4: Sacrifice chicken
Step 5: Dance around fire for long enough
Step 6: Go home and start PC
Step 7: Open your fr.po file (located in .lang of your project) and on lines 19 and 35 make sure msgid and msgstr are each on their own line.
If you pleased the Gambas gods enough, that should fix your problem…![]()
LOL GB that worked. Actually I did fix the problem, but don't remember what it was that fixed it.
1 guest and 0 members have just viewed this.


