remove hardcoded admin panel translations

pull/1/head
ansuz 3 years ago
parent d296fdf550
commit 4fc60b86c5

@ -1854,24 +1854,6 @@ define([
}, },
}); });
Messages.admin_instancePurposeTitle = "Instance purpose"; // XXX
Messages.admin_instancePurposeHint = "Why do you run this instance? Your answer will be shared with the developers unless you have disabled telemetry"; // XXX
Messages.admin_purpose_noanswer = "I prefer not to answer"; // XXX
Messages.admin_purpose_experiment = "To test the CryptPad platform"; // XXX
Messages.admin_purpose_development = "To develop new features for CryptPad"; // XXX
Messages.admin_purpose_personal = "For myself, family, or friends"; // XXX
Messages.admin_purpose_business = "For my business's external use"; // XXX
Messages.admin_purpose_intranet = "For my business's internal use"; // XXX
Messages.admin_purpose_school = "For my school, college, or university"; // XXX
Messages.admin_purpose_org = "For a non-profit organization or advocacy group"; // XXX
Messages.admin_purpose_commercial = "To provide a commercial service"; // XXX
Messages.admin_purpose_public = "To provide a free service"; // XXX
var sendDecree = function (data, cb) { var sendDecree = function (data, cb) {
sFrameChan.query('Q_ADMIN_RPC', { sFrameChan.query('Q_ADMIN_RPC', {
cmd: 'ADMIN_DECREE', cmd: 'ADMIN_DECREE',
@ -1881,19 +1863,16 @@ define([
create['instance-purpose'] = function () { create['instance-purpose'] = function () {
var key = 'instance-purpose'; var key = 'instance-purpose';
var $div = makeBlock(key); var $div = makeBlock(key); // Messages.admin_instancePurposeTitle.admin_instancePurposeHint
var values = [ var values = [
'noanswer', 'noanswer', // Messages.admin_purpose_noanswer
'development', 'experiment', // Messages.admin_purpose_experiment
'experiment', 'personal', // Messages.admin_purpose_personal
'personal', 'education', // Messages.admin_purpose_education
'business', // as a public resource for my business clients 'org', // Messages.admin_purpose_org
'intranet', // for my business's _internal use_ 'business', // Messages.admin_purpose_business
'school', 'public', // Messages.admin_purpose_public
'org',
'commercial',
'public', // to provide a free service (for the public)
]; ];
var defaultPurpose = 'noanswer'; var defaultPurpose = 'noanswer';

Loading…
Cancel
Save