mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
Desktop: Rename Joplin Server to Joplin Cloud in UI
This commit is contained in:
parent
68e79f1573
commit
b20ab19f13
@ -77,7 +77,7 @@ export default class JoplinServerApi {
|
||||
|
||||
public static connectionErrorMessage(error: any) {
|
||||
const msg = error && error.message ? error.message : 'Unknown error';
|
||||
return _('Could not connect to Joplin Server. Please check the Synchronisation options in the config screen. Full error was:\n\n%s', msg);
|
||||
return _('Could not connect to Joplin Cloud. Please check the Synchronisation options in the config screen. Full error was:\n\n%s', msg);
|
||||
}
|
||||
|
||||
private requestToCurl_(url: string, options: any) {
|
||||
|
@ -27,7 +27,7 @@ export default class SyncTargetJoplinServer extends BaseSyncTarget {
|
||||
}
|
||||
|
||||
public static label() {
|
||||
return `${_('Joplin Server')} (Beta)`;
|
||||
return `${_('Joplin Cloud')} (Beta)`;
|
||||
}
|
||||
|
||||
public async isAuthenticated() {
|
||||
|
@ -472,7 +472,7 @@ class Setting extends BaseModel {
|
||||
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
|
||||
},
|
||||
public: true,
|
||||
label: () => _('Joplin Server URL'),
|
||||
label: () => _('Joplin Cloud URL'),
|
||||
description: () => emptyDirWarning,
|
||||
storage: SettingStorage.File,
|
||||
},
|
||||
@ -487,7 +487,7 @@ class Setting extends BaseModel {
|
||||
// return value ? ltrimSlashes(rtrimSlashes(value)) : '';
|
||||
// },
|
||||
// public: true,
|
||||
// label: () => _('Joplin Server Directory'),
|
||||
// label: () => _('Joplin Cloud Directory'),
|
||||
// storage: SettingStorage.File,
|
||||
// },
|
||||
'sync.9.username': {
|
||||
@ -498,7 +498,7 @@ class Setting extends BaseModel {
|
||||
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
|
||||
},
|
||||
public: true,
|
||||
label: () => _('Joplin Server email'),
|
||||
label: () => _('Joplin Cloud email'),
|
||||
storage: SettingStorage.File,
|
||||
},
|
||||
'sync.9.password': {
|
||||
@ -509,7 +509,7 @@ class Setting extends BaseModel {
|
||||
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
|
||||
},
|
||||
public: true,
|
||||
label: () => _('Joplin Server password'),
|
||||
label: () => _('Joplin Cloud password'),
|
||||
secure: true,
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user