mirror of
https://codeberg.org/nobody/LocalCDN.git
synced 2025-06-05 21:49:31 +02:00
Error in the settings page if translation incomplete (#1659)
This commit is contained in:
@@ -31,10 +31,11 @@ const helpers = {};
|
||||
*/
|
||||
|
||||
helpers.insertI18nContentIntoDocument = function (document) {
|
||||
const translationComplete = true;
|
||||
const scriptDirection = helpers.determineScriptDirection(navigator.language);
|
||||
const i18nElements = document.querySelectorAll('[data-i18n-content]');
|
||||
|
||||
let translationComplete = true;
|
||||
|
||||
i18nElements.forEach(function (i18nElement) {
|
||||
const i18nMessageName = i18nElement.getAttribute('data-i18n-content');
|
||||
|
||||
|
Reference in New Issue
Block a user