mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Help page: Hide incomplete translation note when fully translated
This commit is contained in:
@@ -76,6 +76,10 @@ code {
|
|||||||
background-color: #ebf8e1;
|
background-color: #ebf8e1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#notice-locale {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
.code-blue {
|
.code-blue {
|
||||||
color: #8484ff;
|
color: #8484ff;
|
||||||
|
@@ -32,7 +32,9 @@ help._onDocumentLoaded = function () {
|
|||||||
help._languageSupported = helpers.languageIsFullySupported(language);
|
help._languageSupported = helpers.languageIsFullySupported(language);
|
||||||
help._scriptDirection = helpers.determineScriptDirection(language);
|
help._scriptDirection = helpers.determineScriptDirection(language);
|
||||||
|
|
||||||
helpers.insertI18nContentIntoDocument(document);
|
if (!helpers.insertI18nContentIntoDocument(document)) {
|
||||||
|
document.getElementById('notice-locale').style.display = 'block';
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user