summaryrefslogtreecommitdiffstats
path: root/i18n
diff options
context:
space:
mode:
authorHarrison Healey <harrisonmhealey@gmail.com>2016-11-30 13:55:49 -0500
committerGitHub <noreply@github.com>2016-11-30 13:55:49 -0500
commit165ad0d4f791f8ae2109472d8a626d911fa368e0 (patch)
tree29001baf676d7d4ef4cd9462e9f2c6766ed6333a /i18n
parent2bf0342d130b3a77c5ed02e98e0857f28a5787f0 (diff)
downloadchat-165ad0d4f791f8ae2109472d8a626d911fa368e0.tar.gz
chat-165ad0d4f791f8ae2109472d8a626d911fa368e0.tar.bz2
chat-165ad0d4f791f8ae2109472d8a626d911fa368e0.zip
PLT-1378 Initial version of emoji reactions (#4520)
* Refactored emoji.json to support multiple aliases and emoji categories * Added custom category to emoji.jsx and stabilized all fields * Removed conflicting aliases for :mattermost: and :ca: * fixup after store changes * Added emoji reactions * Removed reactions for an emoji when that emoji is deleted * Fixed incorrect test case * Renamed ReactionList to ReactionListView * Fixed :+1: and :-1: not showing up as possible reactions * Removed text emoticons from emoji reaction autocomplete * Changed emoji reactions to be sorted by the order that they were first created * Set a maximum number of listeners for the ReactionStore * Removed unused code from Textbox component * Fixed reaction permissions * Changed error code when trying to modify reactions for another user * Fixed merge conflicts * Properly applied theme colours to reactions * Fixed ESLint and gofmt errors * Fixed ReactionListContainer to properly update when its post prop changes * Removed unnecessary escape characters from reaction regexes * Shared reaction message pattern between CreatePost and CreateComment * Removed an unnecessary select query when saving a reaction * Changed reactions route to be under /reactions * Fixed copyright dates on newly added files * Removed debug code that prevented all unit tests from being ran * Cleaned up unnecessary code for reactions * Renamed ReactionStore.List to ReactionStore.GetForPost
Diffstat (limited to 'i18n')
-rw-r--r--i18n/en.json76
1 files changed, 76 insertions, 0 deletions
diff --git a/i18n/en.json b/i18n/en.json
index 1cf41377e..97bae3b1a 100644
--- a/i18n/en.json
+++ b/i18n/en.json
@@ -806,6 +806,10 @@
"translation": "Unable to create emoji. Image must be less than 1 MB in size."
},
{
+ "id": "api.emoji.delete.delete_reactions.app_error",
+ "translation": "Unable to delete reactions when deleting emoji with emoji name %v"
+ },
+ {
"id": "api.emoji.delete.permissions.app_error",
"translation": "Inappropriate permissions to delete emoji."
},
@@ -1504,6 +1508,22 @@
"translation": "session.user_id={{.SessionUserId}}, preference.user_id={{.PreferenceUserId}}"
},
{
+ "id": "api.reaction.delete_reaction.mismatched_channel_id.app_error",
+ "translation": "Failed to save reaction when channel id in URL doesn't match post id in URL"
+ },
+ {
+ "id": "api.reaction.list_reactions.mismatched_channel_id.app_error",
+ "translation": "Failed to get reactions when channel id in URL doesn't match post id in URL"
+ },
+ {
+ "id": "api.reaction.save_reaction.mismatched_channel_id.app_error",
+ "translation": "Failed to save reaction when channel id in URL doesn't match post id in URL"
+ },
+ {
+ "id": "api.reaction.send_reaction_event.post.app_error",
+ "translation": "Failed to get post when sending websocket event for reaction"
+ },
+ {
"id": "api.saml.save_certificate.app_error",
"translation": "Certificate did not save properly."
},
@@ -3708,6 +3728,22 @@
"translation": "Value is too long"
},
{
+ "id": "model.reaction.is_valid.create_at.app_error",
+ "translation": "Create at must be a valid time"
+ },
+ {
+ "id": "model.reaction.is_valid.emoji_name.app_error",
+ "translation": "Invalid emoji name"
+ },
+ {
+ "id": "model.reaction.is_valid.post_id.app_error",
+ "translation": "Invalid post id"
+ },
+ {
+ "id": "model.reaction.is_valid.user_id.app_error",
+ "translation": "Invalid user id"
+ },
+ {
"id": "model.team.is_valid.characters.app_error",
"translation": "Name must be 2 or more lowercase alphanumeric characters"
},
@@ -4576,6 +4612,46 @@
"translation": "We couldn't update the preference"
},
{
+ "id": "store.sql_reaction.delete.begin.app_error",
+ "translation": "Unable to open transaction while deleting reaction"
+ },
+ {
+ "id": "store.sql_reaction.delete.commit.app_error",
+ "translation": "Unable to commit transaction while deleting reaction"
+ },
+ {
+ "id": "store.sql_reaction.delete.save.app_error",
+ "translation": "Unable to delete reaction"
+ },
+ {
+ "id": "store.sql_reaction.delete_all_with_emoj_name.delete_reactions.app_error",
+ "translation": "Unable to delete reactions with the given emoji name"
+ },
+ {
+ "id": "store.sql_reaction.delete_all_with_emoj_name.get_reactions.app_error",
+ "translation": "Unable to get reactions with the given emoji name"
+ },
+ {
+ "id": "store.sql_reaction.delete_all_with_emoji_name.update_post.warn",
+ "translation": "Unable to update Post.HasReactions while removing reactions post_id=%v, error=%v"
+ },
+ {
+ "id": "store.sql_reaction.get_for_post.app_error",
+ "translation": "Unable to get reactions for post"
+ },
+ {
+ "id": "store.sql_reaction.save.begin.app_error",
+ "translation": "Unable to open transaction while saving reaction"
+ },
+ {
+ "id": "store.sql_reaction.save.commit.app_error",
+ "translation": "Unable to commit transaction while saving reaction"
+ },
+ {
+ "id": "store.sql_reaction.save.save.app_error",
+ "translation": "Unable to save reaction"
+ },
+ {
"id": "store.sql_session.analytics_session_count.app_error",
"translation": "We couldn't count the sessions"
},