]> git.mxchange.org Git - mailer.git/blobdiff - inc/language-functions.php
Rewrote 'we' word a little, rewrote mail order to use SQL_INSERTID() instead of anoth...
[mailer.git] / inc / language-functions.php
index 3d716d966fad60481d27654dbcf188a3c7f5eda8..5e393b722519d8ee0bb5cb9153cc1e70db0455a7 100644 (file)
@@ -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();