More language testing
Brought to you by:
focus-sis
Attached diagnostic.php includes tests for multiple language localization. It requires that Warehouse.php wrap its language code in a test for a variable, so Warehouse will not set language translation before diagnostics can be performed. Having the wrong Warehouse.php is nonfatal, it merely causes incorrect results in the testing (such as whether the function _() is defined).
A test for 'Students' is done in the es_ES translation file, so an actual messages.mo file should exist.
testing for language localization
add language omission test for diagnostic.php
Logged In: YES
user_id=743553
Originator: YES
Warehouse.php from v2.2 with language test for diagnostic.php attached.
File Added: Warehouse.php
Logged In: YES
user_id=743553
Originator: YES
Spanish language translation messages.mo file with a very few translations, for diagnostic.php test. Should go in locale/es_ES/LC_MESSAGES/messages.mo
File Added: messages.mo
stub messages.mo for es_ES
Logged In: YES
user_id=743553
Originator: YES
translation messages.po file for diagnostic.php with few messages, belongs in locale/es_ES/LC_MESSAGES/messages.po
File Added: messages.po
messages.po stub for diagnostic.php