mirror of
https://github.com/mediacms-io/mediacms.git
synced 2025-11-05 23:18:53 -05:00
9 lines
243 B
JavaScript
9 lines
243 B
JavaScript
// check templates/config/installation/translations.html for more
|
|
|
|
export function replaceString(string) {
|
|
for (const key in window.REPLACEMENTS) {
|
|
string = string.replace(key, window.REPLACEMENTS[key]);
|
|
}
|
|
return string;
|
|
}
|