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) {
|
helpers.insertI18nContentIntoDocument = function (document) {
|
||||||
const translationComplete = true;
|
|
||||||
const scriptDirection = helpers.determineScriptDirection(navigator.language);
|
const scriptDirection = helpers.determineScriptDirection(navigator.language);
|
||||||
const i18nElements = document.querySelectorAll('[data-i18n-content]');
|
const i18nElements = document.querySelectorAll('[data-i18n-content]');
|
||||||
|
|
||||||
|
let translationComplete = true;
|
||||||
|
|
||||||
i18nElements.forEach(function (i18nElement) {
|
i18nElements.forEach(function (i18nElement) {
|
||||||
const i18nMessageName = i18nElement.getAttribute('data-i18n-content');
|
const i18nMessageName = i18nElement.getAttribute('data-i18n-content');
|
||||||
|
|
||||||
|
@@ -25,9 +25,9 @@
|
|||||||
<h2>New in LocalCDN:</h2>
|
<h2>New in LocalCDN:</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="release-notes-area">
|
<div class="release-notes-area">
|
||||||
<p></p>
|
<p>Fixed</p>
|
||||||
<ul>
|
<ul>
|
||||||
<li></li>
|
<li>Error in the settings page if translation incomplete (<a href="https://codeberg.org/nobody/LocalCDN/issues/1659">#1659</a>)</li>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div id="generator-section">
|
<div id="generator-section">
|
||||||
|
Reference in New Issue
Block a user