PoC translation working

This commit is contained in:
Piero Toffanin 2023-01-04 12:40:00 -05:00
parent 05900ff556
commit 50c9b62595
3 changed files with 46 additions and 2 deletions

View file

@ -28,7 +28,7 @@ document.addEventListener('DOMContentLoaded', function(){
detectedLangText: "",
copyTextLabel: {{ _("Copy text") }},
copyTextLabel: '{{ _e("Copy text") }}',
suggestions: false,
isSuggesting: false,
@ -69,7 +69,7 @@ document.addEventListener('DOMContentLoaded', function(){
}
}
} else {
self.error = "Cannot load /frontend/settings";
self.error = '{{ _e("Cannot load %(url)s", url="/frontend/settings") }}';
self.loading = false;
}
};