Remove old translations keys no longer used
This commit is contained in:
parent
9702305abc
commit
d81d17b86c
@ -7,7 +7,7 @@ define(function () {
|
|||||||
out._languageName = 'English';
|
out._languageName = 'English';
|
||||||
|
|
||||||
out.main_title = "Cryptpad: Zero Knowledge, Collaborative Real Time Editing";
|
out.main_title = "Cryptpad: Zero Knowledge, Collaborative Real Time Editing";
|
||||||
out.main_slogan = "Unity is Strength - Collaboration is Key";
|
out.main_slogan = "Unity is Strength - Collaboration is Key"; // TODO remove?
|
||||||
|
|
||||||
out.type = {};
|
out.type = {};
|
||||||
out.type.pad = 'Rich text';
|
out.type.pad = 'Rich text';
|
||||||
@ -16,12 +16,6 @@ define(function () {
|
|||||||
out.type.slide = 'Presentation';
|
out.type.slide = 'Presentation';
|
||||||
out.type.drive = 'Drive';
|
out.type.drive = 'Drive';
|
||||||
|
|
||||||
out.errorBox_errorType_disconnected = 'Connection Lost';
|
|
||||||
out.errorBox_errorExplanation_disconnected = [
|
|
||||||
'Lost connection to server, you may reconnect by reloading the page or review your work ',
|
|
||||||
'by clicking outside of this box.'
|
|
||||||
].join('');
|
|
||||||
|
|
||||||
// NOTE: We want to update the 'common_connectionLost' key.
|
// NOTE: We want to update the 'common_connectionLost' key.
|
||||||
// Please do not add a new 'updated_common_connectionLostAndInfo' but change directly the value of 'common_connectionLost'
|
// Please do not add a new 'updated_common_connectionLostAndInfo' but change directly the value of 'common_connectionLost'
|
||||||
out.updated_common_connectionLostAndInfo = "<b>Server Connection Lost</b><br>You're now in read-only mode until the connection is back.";
|
out.updated_common_connectionLostAndInfo = "<b>Server Connection Lost</b><br>You're now in read-only mode until the connection is back.";
|
||||||
@ -43,8 +37,6 @@ define(function () {
|
|||||||
out.yourself = "Yourself";
|
out.yourself = "Yourself";
|
||||||
out.anonymousUsers = "anonymous editors";
|
out.anonymousUsers = "anonymous editors";
|
||||||
out.anonymousUser = "anonymous editor";
|
out.anonymousUser = "anonymous editor";
|
||||||
out.shareView = "Read-only URL";
|
|
||||||
out.shareEdit = "Edit URL";
|
|
||||||
out.users = "Users";
|
out.users = "Users";
|
||||||
out.and = "And";
|
out.and = "And";
|
||||||
out.viewer = "viewer";
|
out.viewer = "viewer";
|
||||||
@ -65,20 +57,11 @@ define(function () {
|
|||||||
out.exportButtonTitle = 'Export this document to a local file';
|
out.exportButtonTitle = 'Export this document to a local file';
|
||||||
out.exportPrompt = 'What would you like to name your file?';
|
out.exportPrompt = 'What would you like to name your file?';
|
||||||
|
|
||||||
out.back = '⇐ Back';
|
|
||||||
out.backToCryptpad = '⇐ Back to Cryptpad';
|
|
||||||
|
|
||||||
out.userButton = 'USER';
|
|
||||||
out.userButtonTitle = 'Change your username';
|
|
||||||
out.changeNamePrompt = 'Change your name (leave empty to be anonymous): ';
|
out.changeNamePrompt = 'Change your name (leave empty to be anonymous): ';
|
||||||
out.user_rename = "Change display name";
|
out.user_rename = "Change display name";
|
||||||
out.user_displayName = "Display name";
|
out.user_displayName = "Display name";
|
||||||
out.user_accountName = "Account name";
|
out.user_accountName = "Account name";
|
||||||
|
|
||||||
out.renameButton = 'RENAME';
|
|
||||||
out.renameButtonTitle = 'Change the title under which this document is listed on your home page';
|
|
||||||
out.renamePrompt = 'How would you like to title this pad?';
|
|
||||||
out.renameConflict = 'Another pad already has that title';
|
|
||||||
out.clickToEdit = "Click to edit";
|
out.clickToEdit = "Click to edit";
|
||||||
|
|
||||||
out.forgetButton = 'FORGET';
|
out.forgetButton = 'FORGET';
|
||||||
@ -86,9 +69,7 @@ define(function () {
|
|||||||
out.forgetPrompt = 'Clicking OK will remove the URL for this pad from localStorage, are you sure?';
|
out.forgetPrompt = 'Clicking OK will remove the URL for this pad from localStorage, are you sure?';
|
||||||
|
|
||||||
out.shareButton = 'Share';
|
out.shareButton = 'Share';
|
||||||
out.shareButtonTitle = "Copy URL to clipboard";
|
|
||||||
out.shareSuccess = 'Copied URL to clipboard';
|
out.shareSuccess = 'Copied URL to clipboard';
|
||||||
out.shareFailed = "Failed to copy URL to clipboard";
|
|
||||||
|
|
||||||
out.newButton = 'New';
|
out.newButton = 'New';
|
||||||
out.newButtonTitle = 'Create a new document';
|
out.newButtonTitle = 'Create a new document';
|
||||||
@ -96,7 +77,7 @@ define(function () {
|
|||||||
out.presentButton = 'PRESENT';
|
out.presentButton = 'PRESENT';
|
||||||
out.presentButtonTitle = "Enter presentation mode";
|
out.presentButtonTitle = "Enter presentation mode";
|
||||||
out.presentSuccess = 'Hit ESC to exit presentation mode';
|
out.presentSuccess = 'Hit ESC to exit presentation mode';
|
||||||
out.sourceButton = 'VIEW SOURCE';
|
out.sourceButton = 'VIEW SOURCE'; //TODO remove? hidden behind the present mode
|
||||||
out.sourceButtonTitle = "Leave presentation mode";
|
out.sourceButtonTitle = "Leave presentation mode";
|
||||||
|
|
||||||
out.backgroundButton = 'BACKGROUND COLOR';
|
out.backgroundButton = 'BACKGROUND COLOR';
|
||||||
@ -104,13 +85,6 @@ define(function () {
|
|||||||
out.colorButton = 'TEXT COLOR';
|
out.colorButton = 'TEXT COLOR';
|
||||||
out.colorButtonTitle = 'Change the text color in presentation mode';
|
out.colorButtonTitle = 'Change the text color in presentation mode';
|
||||||
|
|
||||||
out.commitButton = 'COMMIT';
|
|
||||||
|
|
||||||
out.getViewButton = 'READ-ONLY URL';
|
|
||||||
out.getViewButtonTitle = 'Get the read-only URL for this document';
|
|
||||||
out.readonlyUrl = 'Read only document';
|
|
||||||
out.copyReadOnly = "Copy URL to clipboard";
|
|
||||||
out.openReadOnly = "Open in a new tab";
|
|
||||||
out.editShare = "Share edit URL";
|
out.editShare = "Share edit URL";
|
||||||
out.editShareTitle = "Copy the edit URL to clipboard";
|
out.editShareTitle = "Copy the edit URL to clipboard";
|
||||||
out.viewShare = "Share view URL";
|
out.viewShare = "Share view URL";
|
||||||
@ -124,11 +98,9 @@ define(function () {
|
|||||||
|
|
||||||
out.okButton = 'OK (enter)';
|
out.okButton = 'OK (enter)';
|
||||||
|
|
||||||
out.cancel = "Cancel";
|
out.cancel = "Cancel"; // Not used?
|
||||||
out.cancelButton = 'Cancel (esc)';
|
out.cancelButton = 'Cancel (esc)';
|
||||||
|
|
||||||
out.forget = "Forget";
|
|
||||||
|
|
||||||
// Polls
|
// Polls
|
||||||
|
|
||||||
out.poll_title = "Zero Knowledge Date Picker";
|
out.poll_title = "Zero Knowledge Date Picker";
|
||||||
@ -251,8 +223,8 @@ define(function () {
|
|||||||
|
|
||||||
out.login_migrate = "Would you like to migrate existing data from your anonymous session?";
|
out.login_migrate = "Would you like to migrate existing data from your anonymous session?";
|
||||||
|
|
||||||
out.username_label = "Username: ";
|
out.username_label = "Username:";
|
||||||
out.displayname_label = "Display name: ";
|
out.displayname_label = "Display name:";
|
||||||
|
|
||||||
out.login_username = "Username";
|
out.login_username = "Username";
|
||||||
out.login_password = "Password";
|
out.login_password = "Password";
|
||||||
|
|||||||
@ -875,24 +875,6 @@ define([
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'rename':
|
|
||||||
button = $('<button>', {
|
|
||||||
id: 'name-pad',
|
|
||||||
title: Messages.renameButton + '\n' + Messages.renameButtonTitle,
|
|
||||||
'class': "fa fa-bookmark cryptpad-rename",
|
|
||||||
style: 'font:'+size+' FontAwesome'
|
|
||||||
});
|
|
||||||
if (data && data.suggestName && callback) {
|
|
||||||
var suggestName = data.suggestName;
|
|
||||||
button.click(function() {
|
|
||||||
var suggestion = suggestName();
|
|
||||||
|
|
||||||
common.prompt(Messages.renamePrompt, suggestion, function (title, ev) {
|
|
||||||
renamePad(title, callback);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'forget':
|
case 'forget':
|
||||||
button = $('<button>', {
|
button = $('<button>', {
|
||||||
id: 'cryptpad-forget',
|
id: 'cryptpad-forget',
|
||||||
@ -920,18 +902,6 @@ define([
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
case 'username':
|
|
||||||
button = $('<button>', {
|
|
||||||
title: Messages.userButton + '\n' + Messages.userButtonTitle
|
|
||||||
}).html('<span class="fa fa-user" style="font-family:FontAwesome;"></span>');
|
|
||||||
if (data && typeof data.lastName !== "undefined" && callback) {
|
|
||||||
button.click(function() {
|
|
||||||
common.prompt(Messages.changeNamePrompt, data.lastName, function (newName) {
|
|
||||||
callback(newName);
|
|
||||||
});
|
|
||||||
});
|
|
||||||
}
|
|
||||||
break;
|
|
||||||
case 'editshare':
|
case 'editshare':
|
||||||
button = $('<a>', {
|
button = $('<a>', {
|
||||||
title: Messages.editShareTitle,
|
title: Messages.editShareTitle,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user