From dc2f2a800105b77e665ec2a00c6290f35b1a2ba3 Mon Sep 17 00:00:00 2001 From: Harrison Healey Date: Tue, 5 Jul 2016 11:58:18 -0400 Subject: PLT-3145 Custom Emojis (#3381) * Reorganized Backstage code to use a view controller and separated it from integrations code * Renamed InstalledIntegrations component to BackstageList * Added EmojiList page * Added AddEmoji page * Added custom emoji to autocomplete and text formatter * Moved system emoji to EmojiStore * Stopped trying to get emoji before logging in * Rerender posts when emojis change * Fixed submit handler on backstage pages to properly support enter * Removed debugging code * Updated javascript driver * Fixed unit tests * Fixed backstage routes * Added clientside validation to prevent users from creating an emoji with the same name as a system one * Fixed AddEmoji page to properly redirect when an emoji is created successfully * Fixed updating emoji list when an emoji is deleted * Added type prop to BackstageList to properly support using a table for the list * Added help text to EmojiList * Fixed backstage on smaller screen sizes * Disable custom emoji by default * Improved restrictions on creating emojis * Fixed non-admin users seeing the option to delete each other's emojis * Fixing gofmt * Fixed emoji unit tests * Fixed trying to get emoji from the server when it's disabled --- i18n/en.json | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'i18n/en.json') diff --git a/i18n/en.json b/i18n/en.json index 3d433dae9..f76c7f637 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -581,7 +581,7 @@ }, { "id": "api.emoji.create.parse.app_error", - "translation": "Unable to create emoji. Image exceeds maximum file size." + "translation": "Unable to create emoji. Could not understand request." }, { "id": "api.emoji.create.permissions.app_error", @@ -589,7 +589,7 @@ }, { "id": "api.emoji.create.too_large.app_error", - "translation": "Unable to create emoji. Could not understand request." + "translation": "Unable to create emoji. Image must be less than 64 KB in size." }, { "id": "api.emoji.delete.permissions.app_error", @@ -621,7 +621,7 @@ }, { "id": "api.emoji.upload.large_image.app_error", - "translation": "Unable to create emoji. Image exceeds maximum dimensions." + "translation": "Unable to create emoji. Image must be at most 128 by 128 pixels." }, { "id": "api.export.json.app_error", @@ -2079,6 +2079,10 @@ "id": "ent.compliance.run_started.info", "translation": "Compliance export started for job '{{.JobName}}' at '{{.FilePath}}'" }, + { + "id": "ent.emoji.licence_disable.app_error", + "translation": "Custom emoji restrictions disabled by current license. Please contact your system administrator about upgrading your enterprise license." + }, { "id": "ent.ldap.do_login.bind_admin_user.app_error", "translation": "Unable to bind to LDAP server. Check BindUsername and BindPassword." -- cgit v1.2.3-1-g7c22