12-08-2015, 11:11 AM
One of those things where, when you see it, it's so simple:
When you use getTranslatedString in for instance your Settings.php page:
The first argument is the label in the language array, the second one is the module you want the system to look into for this language file.
When you use getTranslatedString in for instance your Settings.php page:
PHP Code:
$menu_array['SetCredentials']['location'] = 'index.php?module=ExactOnline&action=SetCredentials';
$menu_array['SetCredentials']['image_src'] = 'modules/ExactOnline/images/setexactcredIcon.png';
$menu_array['SetCredentials']['desc'] = getTranslatedString('SetCredentials','ExactOnline');
$menu_array['SetCredentials']['label'] = getTranslatedString('SetCredentialsTitle','ExactOnline');
The first argument is the label in the language array, the second one is the module you want the system to look into for this language file.