mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Adjust translation keys
This commit is contained in:
parent
381dc4acf4
commit
dfee32768d
@ -136,41 +136,33 @@ define(req, function(AppConfig, Default, Language) {
|
||||
|
||||
Messages.addItemBottom = 'Add item to bottom of the board'; // XXX or 'Add card..'
|
||||
Messages.addItemTop = 'Add item to top of the board'; // XXX or 'Add card..'
|
||||
|
||||
Messages.admin_logoSize_error = "The logo size is too large"; // XXX
|
||||
Messages.limit_error = "Please enter a valid number"; // XXX
|
||||
Messages.positiveNumber_error = "Please enter a positive number"; // XXX
|
||||
Messages.answerType_error = "Please select how to answer the form"; // XXX
|
||||
|
||||
Messages.error_limit = "Please enter a valid number"; // XXX
|
||||
Messages.error_positiveNumber = "Please enter a positive number"; // XXX
|
||||
Messages.form_answerType_error = "Please select how to answer the form"; // XXX
|
||||
Messages.moveItemLeft = 'Move item left'; // XXX
|
||||
Messages.moveItemRight = 'Move item right'; // XXX
|
||||
Messages.kanban_moveBoardLeft = 'Move board left'; // XXX
|
||||
Messages.kanban_moveBoardRight = 'Move board right'; // XXX
|
||||
|
||||
Messages.moveItemUp = 'Move item up'; // XXX
|
||||
Messages.moveItemDown = 'Move item down'; // XXX
|
||||
Messages.toggleArrows = 'Switch to arrow view'; // XXX
|
||||
Messages.toggleDrag = 'Switch to drag view'; // XXX
|
||||
|
||||
// XXX
|
||||
Messages.admin_cat_admins = "Administrators";
|
||||
Messages.admin_admin = "Admin";
|
||||
Messages.admin_listAdminsTitle = "Current administrators";
|
||||
Messages.admin_listAdminsHint = "View and remove administrators";
|
||||
Messages.admin_addAdminsTitle = "Add administrators";
|
||||
Messages.admin_addAdminsHint = "Add administrators from their public key or from your contacts list";
|
||||
Messages.admin_addAdminsAdd = "Promote a contact to admin";
|
||||
Messages.admin_addKeyLabel = "Add an admin using their public key";
|
||||
Messages.admin_errorAddKeyLabel = "Add a valid public key";
|
||||
Messages.admin_errorAddAdmins = "Pick a contact to promote to admin";
|
||||
|
||||
Messages.admin_listName = "Admin name";
|
||||
Messages.admin_listKey = "Admin key";
|
||||
Messages.admin_listAction = "Remove admin rights";
|
||||
|
||||
Messages.admin_listHardcoded = "Admin added into config.js. Can only be removed by editing the config file.";
|
||||
Messages.admin_listConfirm = "Are you sure you want to remove the admin rights of this user?";
|
||||
|
||||
Messages.admin_cat_admins = "Administrators";
|
||||
Messages.admin_admin = "Admin";
|
||||
Messages.admin_listAdminsTitle = "Current administrators";
|
||||
Messages.admin_listAdminsHint = "View and remove administrators";
|
||||
Messages.admin_addAdminsTitle = "Add administrators";
|
||||
Messages.admin_addAdminsHint = "Add administrators from their public key or from your contacts list";
|
||||
Messages.admin_addAdminsAdd = "Promote a contact to admin";
|
||||
Messages.admin_addKeyLabel = "Add an admin using their public key";
|
||||
Messages.admin_errorAddKeyLabel = "Add a valid public key";
|
||||
Messages.admin_errorAddAdmins = "Pick a contact to promote to admin";
|
||||
Messages.admin_listName = "Admin name";
|
||||
Messages.admin_listKey = "Admin key";
|
||||
Messages.admin_listAction = "Remove admin rights";
|
||||
Messages.admin_listHardcoded = "Admin added into config.js. Can only be removed by editing the config file.";
|
||||
Messages.admin_listConfirm = "Are you sure you want to remove the admin rights of this user?";
|
||||
Messages.fm_link_invalid = "Please provide a valid URL"; // XXX
|
||||
Messages.skipLink = "Skip to main content"; // XXX
|
||||
|
||||
|
||||
@ -1839,7 +1839,7 @@ define([
|
||||
validate: function () {
|
||||
var l = parseInt($(newLimit).val());
|
||||
if (isNaN(l)) {
|
||||
return UI.warn(Messages.limit_error);
|
||||
return UI.warn(Messages.error_limit);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@ -3916,14 +3916,14 @@ define([
|
||||
validate: function () {
|
||||
var l = parseInt($(newDuration).val());
|
||||
if (isNaN(l)) {
|
||||
return void UI.warn(Messages.limit_error);
|
||||
return void UI.warn(Messages.error_limit);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
}, function () {
|
||||
var d = parseInt($(newDuration).val());
|
||||
if (!isPositiveInteger(d)) {
|
||||
return void UI.warn(Messages.positiveNumber_error);
|
||||
return void UI.warn(Messages.error_positiveNumber);
|
||||
}
|
||||
|
||||
var data = [d];
|
||||
|
||||
@ -3565,7 +3565,7 @@ define([
|
||||
});
|
||||
var $send = $(send).click(function () {
|
||||
if (!$radio.find('input[type="radio"]:checked').length) {
|
||||
return UI.warn(Messages.answerType_error);
|
||||
return UI.warn(Messages.form_answerType_error);
|
||||
}
|
||||
|
||||
var results = getFormResults();
|
||||
|
||||
@ -902,7 +902,7 @@ define([
|
||||
|
||||
var todo = function () {
|
||||
var val = parseInt($input.val());
|
||||
if (typeof(val) !== 'number' || isNaN(val)) { return UI.warn(Messages.limit_error); }
|
||||
if (typeof(val) !== 'number' || isNaN(val)) { return UI.warn(Messages.error_limit); }
|
||||
if (val === oldVal) { return; }
|
||||
spinner.spin();
|
||||
common.setAttribute(['general', 'mediatag-size'], val, function (err) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user