mirror of
https://github.com/documize/community.git
synced 2025-07-20 05:39:42 +02:00
i18n doc strings
This commit is contained in:
parent
93b6f26365
commit
a236cbb01c
6 changed files with 45 additions and 27 deletions
|
@ -25,6 +25,7 @@ export default Component.extend(ModalMixin, AuthMixin, Notifier, {
|
|||
pinned: service(),
|
||||
browserSvc: service('browser'),
|
||||
documentSvc: service('document'),
|
||||
i18n: service(),
|
||||
showRevisions: computed('permissions', 'document.protection', function() {
|
||||
if (!this.get('session.authenticated')) return false;
|
||||
if (!this.get('session.viewUsers')) return false;
|
||||
|
@ -218,7 +219,7 @@ export default Component.extend(ModalMixin, AuthMixin, Notifier, {
|
|||
|
||||
this.get('documentSvc').export(spec).then((htmlExport) => {
|
||||
this.get('browserSvc').downloadFile(htmlExport, this.get('document.slug') + '.html');
|
||||
this.notifySuccess('Exported');
|
||||
this.notifySuccess(this.i18n.localize('exported'));
|
||||
});
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue