mirror of
https://github.com/mediacms-io/mediacms.git
synced 2026-02-06 07:23:00 -05:00
feat: translations support
This commit is contained in:
@@ -0,0 +1,8 @@
|
||||
// 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;
|
||||
}
|
||||
Reference in New Issue
Block a user