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:
parent
33a9cbb5b0
commit
7f66977ac1
8 changed files with 21 additions and 15 deletions
|
@ -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;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue