1
0
Fork 0
mirror of https://github.com/documize/community.git synced 2025-08-02 03:55:24 +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

@ -18,6 +18,7 @@ export default Service.extend(Notifier, {
appMeta: service(),
store: service(),
eventBus: service(),
i18n: service(),
// Returns links within specified document
getDocumentLinks(documentId) {
@ -43,7 +44,7 @@ export default Service.extend(Notifier, {
}).then((response) => {
return response;
});
},
},
// Returns keyword-based candidates
searchCandidates(keywords) {
@ -166,7 +167,7 @@ export default Service.extend(Notifier, {
document.execCommand('copy');
document.body.removeChild(el);
this.notifyInfo('Copied location to clipboard');
this.notifyInfo(this.i18n.localize('copied'));
return;
}