Utf8 convert
This commit is contained in:
@@ -18,7 +18,7 @@ export const createModalElements = () => {
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<button id="nextTrainingModal" class="trainingModalButton">TEST/ÒÅÑÒ</button>
|
||||
<button id="nextTrainingModal" class="trainingModalButton">TEST/ТЕСТ</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>`;
|
||||
|
||||
@@ -7,7 +7,7 @@ import { dataText } from '../text.js';
|
||||
|
||||
export const getTextForModal = (key) => {
|
||||
if (!key) {
|
||||
return '[Îòñóòâóåò value].';
|
||||
return '[Отсутвует value].';
|
||||
}
|
||||
|
||||
return dataText[key] ?? `[${key}].`;
|
||||
|
||||
Reference in New Issue
Block a user