You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
Update French translation and fix a few mistakes in code
This commit is contained in:
@@ -73,9 +73,9 @@ export default class MigrationHandler extends BaseService {
|
||||
|
||||
if (remoteInfo.version) {
|
||||
if (remoteInfo.version > supportedSyncTargetVersion) {
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is greater than the version supported by the client (%d). Please upgrade your client.', remoteInfo.version, supportedSyncTargetVersion), 'outdatedClient');
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is greater than the version supported by the app (%d). Please upgrade your app.', remoteInfo.version, supportedSyncTargetVersion), 'outdatedClient');
|
||||
} else if (remoteInfo.version < supportedSyncTargetVersion) {
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is lower than the version supported by the client (%d). Please upgrade the sync target.', remoteInfo.version, supportedSyncTargetVersion), 'outdatedSyncTarget');
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is lower than the version supported by the app (%d). Please upgrade the sync target.', remoteInfo.version, supportedSyncTargetVersion), 'outdatedSyncTarget');
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -85,7 +85,7 @@ export default class MigrationHandler extends BaseService {
|
||||
const syncTargetInfo = await this.fetchSyncTargetInfo();
|
||||
|
||||
if (syncTargetInfo.version > supportedSyncTargetVersion) {
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is greater than the version supported by the client (%d). Please upgrade your client.', syncTargetInfo.version, supportedSyncTargetVersion), 'outdatedClient');
|
||||
throw new JoplinError(sprintf('Sync version of the target (%d) is greater than the version supported by the app (%d). Please upgrade your app.', syncTargetInfo.version, supportedSyncTargetVersion), 'outdatedClient');
|
||||
}
|
||||
|
||||
// if (supportedSyncTargetVersion !== migrations.length - 1) {
|
||||
|
||||
Reference in New Issue
Block a user