Дозаливка

This commit is contained in:
2022-12-19 22:22:19 +02:00
parent 73d69cb0ae
commit 2f6517f5b3
22083 changed files with 494007 additions and 0 deletions
@@ -0,0 +1,14 @@
import { dataText } from '../text.js';
/**
* @param {string} key
* @returns {string}
*/
export const getTextForModal = (key) => {
if (!key) {
return '[Îòñóòâóåò value].';
}
return dataText[key] ?? `[${key}].`;
};