remove hardcoded admin panel translations
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) {
|
||||
sFrameChan.query('Q_ADMIN_RPC', {
|
||||
cmd: 'ADMIN_DECREE',
|
||||
|
@ -1881,19 +1863,16 @@ define([
|
|||
|
||||
create['instance-purpose'] = function () {
|
||||
var key = 'instance-purpose';
|
||||
var $div = makeBlock(key);
|
||||
var $div = makeBlock(key); // Messages.admin_instancePurposeTitle.admin_instancePurposeHint
|
||||
|
||||
var values = [
|
||||
'noanswer',
|
||||
'development',
|
||||
'experiment',
|
||||
'personal',
|
||||
'business', // as a public resource for my business clients
|
||||
'intranet', // for my business's _internal use_
|
||||
'school',
|
||||
'org',
|
||||
'commercial',
|
||||
'public', // to provide a free service (for the public)
|
||||
'noanswer', // Messages.admin_purpose_noanswer
|
||||
'experiment', // Messages.admin_purpose_experiment
|
||||
'personal', // Messages.admin_purpose_personal
|
||||
'education', // Messages.admin_purpose_education
|
||||
'org', // Messages.admin_purpose_org
|
||||
'business', // Messages.admin_purpose_business
|
||||
'public', // Messages.admin_purpose_public
|
||||
];
|
||||
|
||||
var defaultPurpose = 'noanswer';
|
||||
|
|
Loading…
Reference in New Issue