X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Flanguage-functions.php;h=5e393b722519d8ee0bb5cb9153cc1e70db0455a7;hp=3d716d966fad60481d27654dbcf188a3c7f5eda8;hb=8fad776382e63b3f73f8dbe289f229d79cfc2c22;hpb=b0ed0547ba277e815ca38b3333b191149a88019c diff --git a/inc/language-functions.php b/inc/language-functions.php index 3d716d966f..5e393b7225 100644 --- a/inc/language-functions.php +++ b/inc/language-functions.php @@ -118,7 +118,7 @@ function isCurrentLanguageSet () { // "Getter" for language function getLanguage () { - // Do we have cache? + // Is there cache? if (!isCurrentLanguageSet()) { // Default is 'de'. DO NOT CHANGE THIS!!! $ret = 'de'; @@ -164,7 +164,7 @@ function setLanguage ($lang) { // Checks whether a language file is there for optional extension function isLanguageIncludeReadable ($ext_name = 'none') { - // Do we have array element? + // Is there array element? if (!isset($GLOBALS['lang_inc'][$ext_name])) { // Generate filename if ($ext_name == 'none') { @@ -200,7 +200,7 @@ function loadLanguageFile ($ext_name = 'none') { setLanguage($currLanguage); } // END - if - // Do we have the language file NOT? + // Is there the language file NOT? if (!isLanguageIncludeReadable($ext_name)) { // Switch to default (DO NOT CHANGE!!!) setLanguage('de'); @@ -303,7 +303,7 @@ function ifLanguageFilesCompares ($source, $target, $targetLanguage) { // Set target language setCurrentLanguage($targetLanguage); - // Do we have an array? + // Is there an array? if (!isset($GLOBALS['messages'][$targetLanguage])) { // Then create it to avoid notice $GLOBALS['messages'][$targetLanguage] = array();