1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-07-22 22:59:43 +02:00

i18n notify strings

This commit is contained in:
McMatts 2022-03-14 14:49:10 -04:00
parent 33a9cbb5b0
commit 7f66977ac1
8 changed files with 21 additions and 15 deletions

View file

@ -23,6 +23,7 @@ export default Component.extend(Notifier, ModalMixin, {
searchService: service('search'),
router: service(),
appMeta: service(),
i18n: service(),
deleteChildren: false,
blockTitle: "",
blockExcerpt: "",
@ -84,7 +85,7 @@ export default Component.extend(Notifier, ModalMixin, {
let clip = new ClipboardJS('#page-copy-link-' + pageId, {
text: function() {
self.notifySuccess('Link copied to clipboard');
self.notifySuccess(this.i18n.localize('copied'));
return url;
}
});