User tests: Successful: Unsuccessful:
when I was testing the langfiles
Where you were testing them?
@b2z I am runing the tests on ubuntu
this is the way I am running them, please tell me if I am doing it wrong
Joomla! Tracker CLI Application
1.0.0-beta
Test Suite
Test Checkstyle
............................................................ 60 / 231 (26%)
............................................................ 120 / 231 (52%)
............................................................ 180 / 231 (78%)
...................................................
Test PHPUnit
PHPUnit 4.4.5 by Sebastian Bergmann.
Configuration read from /opt/lampp/htdocs/jissues/phpunit.travis.xml
...........
Time: 8.1 seconds, Memory: 17.00Mb
OK (11 tests, 13 assertions)
Check language files
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/ru-RU/ru-RU.Debug.po:67: a format specification for argument 1 doesn't exist in 'msgstr[0]'
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/ru-RU/ru-RU.Debug.po:75: a format specification for argument 1 doesn't exist in 'msgstr[0]'
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/ru-RU/ru-RU.Debug.po:83: a format specification for argument 1 doesn't exist in 'msgstr[0]'
msgfmt: found 3 fatal errors
There have been errors.
Test Suite Finished.
previously a lot of warning were coming related to missing of langauge header files were coming ,So I just added them(the header files).
Please guide me if I am going the wrong way .
Thanks
Hi,
First if all: Welcome on board!
I also received those warnings with some (older) versions of the gettext utilities, while newer versions seem to not complain about those missing language header information (which honestly do not make that much sense since those are just template files with no specific language).
Could you please give us some information about your system (like OS, PHP version, get text utilities version)
The versions used by our "reference systems" run without those warnings
https://travis-ci.org/joomla/jissues/jobs/51694990
Or our virtual environment based on Debian.
Also, those files are auto generated... Could you run the command make langtemplates
and see what happens?
PHP 5.5.9
UBUNTU 14.04
gettext (GNU gettext-runtime)- 0.18.3
Yeah it may be a problem with the version of the gettext
But, even as you can see there are 3 errors still coming on my version.So should I work towards fixing them or not?
Please guide me to contribute to the community.
Thanks,
Avinash
Could you please tell me how to learn more about the project ?
What exactly do you want to know? ;)
Hi everyone,
Even I was trying to run tracker.php and reffered to https://travis-ci.org/joomla/jissues/jobs/51694990
all the other test like phpunit,phplock, copypaste etc are runnning successfully but this one is bothering me. I had also done executed "make langfiles".
This is my output:
Joomla! Tracker CLI Application
1.0.0-beta
Check language files
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.js.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.js.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.js.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/JTracker/g11n/templates/JTracker.js.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/templates/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/templates/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/templates/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/templates/JTracker/g11n/templates/JTracker.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Projects/g11n/templates/Projects.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Projects/g11n/templates/Projects.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Projects/g11n/templates/Projects.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Projects/g11n/templates/Projects.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/templates/Debug.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/templates/Debug.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/templates/Debug.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Debug/g11n/templates/Debug.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/System/g11n/templates/System.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/System/g11n/templates/System.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/System/g11n/templates/System.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/System/g11n/templates/System.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Text/g11n/templates/Text.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Text/g11n/templates/Text.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Text/g11n/templates/Text.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Text/g11n/templates/Text.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Tracker/g11n/templates/Tracker.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Tracker/g11n/templates/Tracker.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Tracker/g11n/templates/Tracker.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Tracker/g11n/templates/Tracker.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Users/g11n/templates/Users.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Users/g11n/templates/Users.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Users/g11n/templates/Users.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Users/g11n/templates/Users.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/GitHub/g11n/templates/GitHub.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/GitHub/g11n/templates/GitHub.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/GitHub/g11n/templates/GitHub.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/GitHub/g11n/templates/GitHub.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Groups/g11n/templates/Groups.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Groups/g11n/templates/Groups.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Groups/g11n/templates/Groups.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Groups/g11n/templates/Groups.pot:8: warning: header field 'Language' missing in header
/opt/lampp/htdocs/jissues/src/App/Support/g11n/templates/Support.pot:8: warning: header field 'PO-Revision-Date' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Support/g11n/templates/Support.pot:8: warning: header field 'Last-Translator' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Support/g11n/templates/Support.pot:8: warning: header field 'Language-Team' still has the initial default value
/opt/lampp/htdocs/jissues/src/App/Support/g11n/templates/Support.pot:8: warning: header field 'Language' missing in header
There have been errors.
@kshitijSharma2014 hello and welcome! These are just warning so we do not need to bother much about them for language files.
If you want to contribute first of all you should read the documentation we have. Then you can open our current issues and start to fix them ;)
Actually I was thinking about merging it and see what happens (I don't expect anything special) since it seems to remove warnings on some systems while not affecting the others...
The only thing I don't completely agree with is the reference to poedit, but its a good piece of software so hey..
I believe it may help new contributors to get their system up and running so why not?
Why not :)
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-03-01 19:32:11 |
when I was testing the langfiles,I was getting repetitive " warning: header field 'Language' missing in header"
in all the pot extension files .
By this pull request these warnings have been removed.