mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2024-12-23 08:30:38 +01:00
Help page: Hide incomplete translation note when fully translated
This commit is contained in:
parent
59690048ef
commit
2abf36017e
@ -76,6 +76,10 @@ code {
|
||||
background-color: #ebf8e1;
|
||||
}
|
||||
|
||||
#notice-locale {
|
||||
display: none;
|
||||
}
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.code-blue {
|
||||
color: #8484ff;
|
||||
|
@ -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';
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user