! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Header problem with si.po and en_GB.po
Status:
RESOLVED: FIXED
Priority:
Very Low
Severity:
enhancement

Comments

Description scootergrisen 2019-01-20 04:58:58 CET
I ran msgfmt -cv on all the po files to check for errors/warnings.

si.po gives:
si.po:6: warning: header field 'Language' still has the initial default value

"Project-Id-Version: \n"
"Language-Team: American English <kde-i18n-doc@kde.org>\n"
"Language: \n"

Maybe it should be:
"Project-Id-Version: Exo\n"
"Language-Team: Sinhala (http://www.transifex.com/xfce/exo/language/si/)\n"
"Language: si\n"

If this should happen automatically then maybe check to see if something is wrong for Sinhala/si language.
Maybe the language is not recognized.



Also for en_GB.po the dato is:
"POT-Creation-Date: 2017-07-17 00:30+0200\n"
"PO-Revision-Date: 2017-11-14 17:59+0000\n"

So maybe en_GB have not been updated like the other po files.
Comment 1 Andre Miranda editbugs 2019-01-20 21:23:34 CET
I've "touched" both translations at transifex, let's see if they get updated in master (it may take up to 24 hours).
Comment 2 scootergrisen 2019-01-20 22:02:19 CET
I would like all po files to automatically be updated before each release for all projects. Not just a one time correction if that is what "touched" does.

It seems to be a general problem with the Xfce projects po files from the few i have checked so mabye this can be fixed for all projects so i dont have to make bug for each project.
Comment 3 Andre Miranda editbugs 2019-01-20 22:24:52 CET
Translations are made in Transifex and updated with this script: https://github.com/nschermer/txcron

I'm not sure if maintainers should update .po files locally for a release, then discard changes or commit them.
Comment 4 scootergrisen 2019-01-20 23:35:03 CET
There are "msgfmt --check" in the code to find the warnings but hopefully the code used by Xfce does not just send out e-mails to Last-Translator everytime the code is run.

But if the code is used for all Xfce projects then it could be interesting to see the output (errors/warnings).
Comment 5 Git Bot editbugs 2019-07-26 14:35:12 CEST
Sean Davis referenced this bugreport in commit ce77b17f181ffc4a5f8499f811a9cd9d101bce6d

Refresh the Sinhala template (bug #15064)

https://git.xfce.org/xfce/exo/commit?id=ce77b17f181ffc4a5f8499f811a9cd9d101bce6d
Comment 6 Sean Davis editbugs 2019-11-15 13:01:58 CET
Running msgfmt -cv on all templates reveals no more warnings. Marking this resolved.

Bug #15064

Reported by:
scootergrisen
Reported on: 2019-01-20
Last modified on: 2019-11-15

People

Assignee:
Nick Schermer
CC List:
3 users

Version

Version:
unspecified

Attachments

Additional information