Microcopy and icon change

This commit is contained in:
David Benque 2024-03-22 17:19:52 +00:00
parent 747aeafb9b
commit d3a402e29a
4 changed files with 20 additions and 22 deletions

View File

@ -2767,16 +2767,16 @@ define([
};
// XXX DUPLICATE FROM ADMIN/INNER.JS
Messages.admin_supportSetupHint = "Create or update the current support keys.";
Messages.admin_supportSetupHint = "Create or update the support keys.";
Messages.admin_supportSetupTitle = "Initialize support";
Messages.admin_supportEnabled = "Modern support system is enabled.";
Messages.admin_supportDisabled = "Modern support system is disabled.";
Messages.admin_supportInit = "Initialize support page on this instance";
Messages.admin_supportDelete = "Disable support";
Messages.admin_supportConfirm = "Are you sure? This will remove access to all current moderators and delete all existing tickets.";
Messages.admin_supportMembers = "Current support team";
Messages.admin_supportConfirm = "Are you sure? This will delete all existing tickets and block access for all moderators.";
Messages.admin_supportMembers = "Support team";
Messages.admin_supportAdd = "Add a contact to the support team";
Messages.admin_supportRotateNotify = "Warning: new keys have been generated but an unenexpected error prevented the system to send them to the moderators. You may have to remove and re-add all the other moderators";
Messages.admin_supportRotateNotify = "Warning: new keys have been generated but an unenexpected error prevented the system to send them to the moderators. Please remove and re-add all members of the support team";
sidebar.addItem('support-setup', function (cb) {
let supportKey = ApiConfig.supportMailboxKey;
let edPublic = common.getMetadataMgr().getPrivateData().edPublic; // My edPublic

View File

@ -215,7 +215,7 @@ define(function() {
teams: 'fa-users',
admin: 'fa-gears',
settings: 'fa-gear',
moderation: 'fa-comments-o',
moderation: 'fa-ambulance',
profile: 'fa-user-circle',
support: 'fa-life-ring',
accounts: 'fa-ticket'

View File

@ -2054,11 +2054,10 @@ define([
}
// Add moderation panel link if the user is a moderator and support is enabled
if (priv.edPublic && Config.supportMailboxKey && Array.isArray(Config.moderatorKeys) && Config.moderatorKeys.includes(priv.edPublic)) {
Messages.moderationPage = "Support panel"; // XXX already in moderation/inner.js
options.push({
tag: 'a',
attributes: {'class': 'cp-toolbar-menu-admin fa fa-comments-o'},
content: h('span', Messages.moderationPage || 'Support panel'),
attributes: {'class': 'cp-toolbar-menu-admin fa fa-ambulance'},
content: h('span', Messages.moderationPage || 'Support mailbox'),
action: function () {
Common.openURL(origin+'/moderation/');
return true;

View File

@ -54,7 +54,7 @@ define([
};
// XXX
Messages.moderationPage = "Support panel"; // XXX
Messages.moderationPage = "Support mailbox"; // XXX
Messages.support_cat_open = "Inbox";
Messages.support_cat_closed = "Closed";
@ -62,9 +62,9 @@ define([
Messages.support_cat_settings = "Settings";
Messages.support_cat_legacy = "Legacy";
Messages.support_pending = "Pending tickets:";
Messages.support_pending_tag = "Pending";
Messages.support_active_tag = "Active";
Messages.support_pending = "Archived tickets:";
Messages.support_pending_tag = "Archived";
Messages.support_active_tag = "Inbox";
Messages.support_closed_tag = "Closed";
/*
Messages.support_activeListTitle = "Active tickets";
@ -77,24 +77,23 @@ define([
Messages.support_privacyHint = "Check this option to reply as 'The Support Team' instead of your own username";
Messages.support_notificationsTitle = "Disable notifications";
Messages.support_notificationsHint = "Check this option to disable notifications on new or updated ticket";
Messages.support_openTicketTitle = "Open a ticket for a user";
Messages.support_openTicketHint = "Create a ticket for a user. They will receive a CryptPad notification to warn them. You can copy their user data from an existing support ticket, using the Copy button in the user data.";
Messages.support_notificationsHint = "Check this option to disable notifications for new tickets and replies";
Messages.support_openTicketTitle = "Open a ticket with a user";
Messages.support_openTicketHint = "Copy the recipient user's data from their profile page or an existing support ticket. They will receive a CryptPad notification about this message.";
Messages.support_userChannel = "User's notifications channel ID";
Messages.support_userKey = "User's curvePublic key";
Messages.support_userKey = "User's public key";
Messages.support_invalChan = "Invalid notifications channel";
Messages.support_pasteUserData = "Paste user data here";
Messages.support_recordedTitle = "Prerecorded messages";
Messages.support_recordedHint = "You can store prerecorded message in order to insert them with one click in a support ticket.";
Messages.support_recordedEmpty = "No recorded messages";
Messages.support_recordedId = "Unique Identifier";
Messages.support_recordedTitle = "Snippets";
Messages.support_recordedHint = "Store common text as one-click shortcuts to insert in support messages.";
Messages.support_recordedEmpty = "No snippets";
Messages.support_recordedId = "Snippet ID (unique)";
Messages.support_recordedContent = "Content";
Messages.support_legacyTitle = "View old support data";
Messages.support_legacyHint = "View tickets from the legacy system. You'll be able to recreate thse tickets on the new support system.";
Messages.support_legacyHint = "View tickets from the legacy support system and recreate them in the new one.";
Messages.support_legacyButton = "Get active";
Messages.support_legacyDump = "Export all";
Messages.support_legacyClear = "Delete from my account";