You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-12-02 22:49:09 +02:00
Electron: Resolves #237: Export to PDF and print option
This commit is contained in:
@@ -81,6 +81,17 @@ class InteropService {
|
||||
|
||||
this.modules_ = importModules.concat(exportModules);
|
||||
|
||||
this.modules_ = this.modules_.map((a) => {
|
||||
a.fullLabel = function(moduleSource = null) {
|
||||
const label = [this.format.toUpperCase() + ' - ' + this.description];
|
||||
if (moduleSource && this.sources.length > 1) {
|
||||
label.push('(' + (moduleSource === 'file' ? _('File') : _('Directory')) + ')');
|
||||
}
|
||||
return label.join(' ');
|
||||
};
|
||||
return a;
|
||||
});
|
||||
|
||||
return this.modules_;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user