Update 'js/qvitter.js'
This commit is contained in:
parent
6c4afc7bf4
commit
d30ebebd1d
|
@ -979,7 +979,7 @@ function proceedToSetLanguageAndLogin(data){
|
|||
|
||||
// suggest user to help translate if their browsers language does't exist
|
||||
if(typeof window.availableLanguages[window.usersLanguageCode] == 'undefined' && !localStorageObjectCache_GET('languageErrorMessageDiscarded',window.usersLanguageNameInEnglish)) { // but don't nag
|
||||
$('#page-container').prepend('<div class="language-error-message" data-language-name="' + window.usersLanguageNameInEnglish + '">' + window.siteTitle + ' is not availible in your language (' + replaceHtmlSpecialChars(window.usersLanguageNameInEnglish) + '). Visit <a href="https://git.gnu.io/h2p/Qvitter/tree/master/locale">Qvitter\'s repository homepage</a> if you want to help us to translate the interface. <span class="discard-error-message"></span></div>');
|
||||
$('#page-container').prepend('<div class="language-error-message" data-language-name="' + window.usersLanguageNameInEnglish + '">' + window.siteTitle + ' is not availible in your language (' + replaceHtmlSpecialChars(window.usersLanguageNameInEnglish) + '). Visit <a href="https://git.wmsci.com/wamo/Qvitter/src/branch/develop/locale">Qvitter\'s repository homepage</a> if you want to help us to translate the interface. <span class="discard-error-message"></span></div>');
|
||||
}
|
||||
|
||||
// if selected language is too similar to english, we display a message telling people to help with the translation
|
||||
|
|
Loading…
Reference in New Issue
Block a user