Help page: Hide incomplete translation note when fully translated

This commit is contained in:
nobody 2021-04-25 07:06:18 +02:00
parent 59690048ef
commit 2abf36017e
No known key found for this signature in database
GPG Key ID: 8F6DE3D614FCFD7A
2 changed files with 7 additions and 1 deletions

View File

@ -76,6 +76,10 @@ code {
background-color: #ebf8e1;
}
#notice-locale {
display: none;
}
@media (prefers-color-scheme: dark) {
.code-blue {
color: #8484ff;

View File

@ -32,7 +32,9 @@ help._onDocumentLoaded = function () {
help._languageSupported = helpers.languageIsFullySupported(language);
help._scriptDirection = helpers.determineScriptDirection(language);
helpers.insertI18nContentIntoDocument(document);
if (!helpers.insertI18nContentIntoDocument(document)) {
document.getElementById('notice-locale').style.display = 'block';
}
};