$string['listofallpeople'] = 'List of all people';
$string['livelogs'] = 'Live logs from the past hour';
$string['local'] = 'Local';
-$string['locale'] = 'en_AU.UTF-8';
$string['localplugindeleteconfirm'] = 'You are about to completely delete the local plugin \'{$a}\'. This will completely delete everything in the database associated with this plugin. Are you SURE you want to continue?';
$string['localplugins'] = 'Local plugins';
$string['localpluginsmanage'] = 'Manage local plugins';
/// (because it's impossible to specify UTF-8 to fetch locale info in Win32)
if ($CFG->ostype == 'WINDOWS') {
- if ($localewincharset = get_string('localewincharset')) {
+ if ($localewincharset = get_string('localewincharset', 'langconfig')) {
$textlib = textlib_get_instance();
$datestring = $textlib->convert($datestring, $localewincharset, 'utf-8');
}
$oldlocale = $currentlocale;
/// Fetch the correct locale based on ostype
- if($CFG->ostype == 'WINDOWS') {
+ if ($CFG->ostype == 'WINDOWS') {
$stringtofetch = 'localewin';
} else {
$stringtofetch = 'locale';
} else if (!empty($CFG->locale)) { // override locale for all language packs
$currentlocale = $CFG->locale;
} else {
- $currentlocale = get_string($stringtofetch);
+ $currentlocale = get_string($stringtofetch, 'langconfig');
}
/// do nothing if locale already set up
function get_encodings() {
$encodings = array();
$encodings['UTF-8'] = 'UTF-8';
- $winenc = strtoupper(get_string('localewincharset'));
+ $winenc = strtoupper(get_string('localewincharset', 'langconfig'));
if ($winenc != '') {
$encodings[$winenc] = $winenc;
}
- $nixenc = strtoupper(get_string('oldcharset'));
+ $nixenc = strtoupper(get_string('oldcharset', 'langconfig'));
$encodings[$nixenc] = $nixenc;
foreach ($this->typo3cs->synonyms as $enc) {
if(!isset($CFG->latinexcelexport) || !$CFG->latinexcelexport) {
$newwincharset = 'UTF-16LE';
}else {
- $newwincharset = get_string('localewincharset');
+ $newwincharset = get_string('localewincharset', 'langconfig');
if($newwincharset == '') {
$newwincharset = 'windows-1252';
}