Bug fix for translation class, DB IO connection error set fix

- The translation file reader did an isset on a set variable insetad of
checking if the variable is zero and so never started the translation
system
- The DB IO connection not set was wrongly set. If the connection failed
it is not TRUE and else FALSE. There is a new internal method
getConnectionStatus to query this status it returns TRUE/FALSE depending
if the connection failed

- Update the l10n test page with proper translation tests
  - init OK
  - show current lang/file
  - translation test
  - switch language test
This commit is contained in:
Clemens Schwaighofer
2019-09-19 15:26:56 +09:00
parent 98c87a755a
commit 4508692330
13 changed files with 57 additions and 20 deletions

View File

@@ -10,8 +10,12 @@
// File and Folder paths
// ID is TARGET (first array element)
// $PATHS['test']['csv_path'] = '';
// $PATHS['test']['perl_bin'] = '';
// $PATHS['test']['redirect_url'] = '';
/*$PATHS = array (
'test' => array (
'csv_path' => '',
'perl_bin' => '',
'other_url' => '',
)
)*/
// __END__