Closed enen92 closed 5 years ago
yes I saw it. However I think we do something to validate the header in Kodi (according to the PR linked above). I didn't have time yet to check it.
# Kodi Media Center language file
# Addon Name: kodi test addon
# Addon id: script.test
# Addon Provider: mzfr
msgid ""
msgstr ""
"Project-Id-Version: XBMC Addons\n"
"Report-Msgid-Bugs-To: alanwww1@xbmc.org\n"
"POT-Creation-Date: YEAR-MO-DA HO:MI+ZONE\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: Kodi Translation Team\n"
"Language-Team: English (http://www.transifex.com/projects/p/xbmc-addons/language/en/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: en\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
Is this the header we are talking about?
Yes, look for the warning message in the Kodi codebase
This issue has already been fixed I guess its best to to close this now.
I think we might need some sort of validation for the language files submitted with the addons. Reason is PR https://github.com/xbmc/repo-scripts/pull/918 in which the headers for GNU gettext are missing. This leads to an error in Kodi's po parser:
Is anyone familiar with a module that can help us achieving .po validation?