mirror of https://github.com/xwiki-labs/cryptpad
Missing translations
This commit is contained in:
parent
a9d01ac864
commit
cf22c58e39
|
@ -316,6 +316,10 @@ define(function () {
|
|||
out.canvas_chooseColor = "Choisir une couleur";
|
||||
out.canvas_imageEmbed = "Intégrer une image de votre ordinateur";
|
||||
|
||||
// OnlyOffice
|
||||
out.oo_saveError = "Une erreur s'est produite lors de la sauvegarde de vos modifications. Merci de réessayer dans quelques instants.";
|
||||
out.oo_newVersion = "Une nouvelle version du document est disponible. Cliquez sur OK pour l'ouvrir.";
|
||||
|
||||
// Profile
|
||||
out.profileButton = "Profil"; // dropdown menu
|
||||
out.profile_urlPlaceholder = 'URL';
|
||||
|
|
|
@ -304,6 +304,10 @@ define(function () {
|
|||
|
||||
out.poll_comment_disabled = "Publish this poll using the ✓ button to enable the comments.";
|
||||
|
||||
// OnlyOffice
|
||||
out.oo_saveError = "We were unable to save your modifications, please try again in a few moments.";
|
||||
out.oo_newVersion = "A new version of this document is available, click OK to load it.";
|
||||
|
||||
// Canvas
|
||||
out.canvas_clear = "Clear";
|
||||
out.canvas_delete = "Delete selection";
|
||||
|
|
|
@ -158,10 +158,10 @@ define([
|
|||
common.getSframeChannel().query('Q_OO_SAVE', data, function (err) {
|
||||
if (err) {
|
||||
console.error(err);
|
||||
return void UI.log('TODO: Unable to save this version. Please try again :/');
|
||||
return void UI.alert(Messages.oo_saveError);
|
||||
}
|
||||
hashes.push(data.url);
|
||||
UI.log('TODO: Saved! :D'); // TODO
|
||||
UI.log(Messages.saved);
|
||||
APP.onLocal();
|
||||
});
|
||||
}
|
||||
|
@ -385,11 +385,11 @@ define([
|
|||
hashes = newHashes;
|
||||
if (reloadDisplayed) { return; }
|
||||
reloadDisplayed = true;
|
||||
UI.confirm('TODO new version available. Press OK to reload.', function (yes) {
|
||||
UI.confirm(Messages.oo_newVersion, function (yes) {
|
||||
reloadDisplayed = false;
|
||||
if (!yes) { return; }
|
||||
common.gotoURL();
|
||||
}); // XXX
|
||||
});
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue