From bfd37d808942834524348326cffbbcb457c3eaa1 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Wed, 15 May 2019 22:05:54 -0500 Subject: [PATCH 1/2] Add tooltips to rotate and close buttons in ImageView (#9686) Signed-off-by: Aaron Raimist --- src/components/views/elements/ImageView.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index 2adc0df57f..ae481f0659 100644 --- a/src/components/views/elements/ImageView.js +++ b/src/components/views/elements/ImageView.js @@ -195,13 +195,13 @@ export default class ImageView extends React.Component {
- + { - + { - + {
From c38b5cabb1a3d8786309389c4b653573f7b01456 Mon Sep 17 00:00:00 2001 From: Aaron Raimist Date: Wed, 15 May 2019 22:11:47 -0500 Subject: [PATCH 2/2] Allow the strings to be translated Signed-off-by: Aaron Raimist --- src/components/views/elements/ImageView.js | 6 +++--- src/i18n/strings/en_EN.json | 2 ++ 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/components/views/elements/ImageView.js b/src/components/views/elements/ImageView.js index ae481f0659..9a47bce553 100644 --- a/src/components/views/elements/ImageView.js +++ b/src/components/views/elements/ImageView.js @@ -195,13 +195,13 @@ export default class ImageView extends React.Component {
- + { - + { - + {
diff --git a/src/i18n/strings/en_EN.json b/src/i18n/strings/en_EN.json index e407d92630..88d78b1bde 100644 --- a/src/i18n/strings/en_EN.json +++ b/src/i18n/strings/en_EN.json @@ -985,7 +985,9 @@ "Communities": "Communities", "You cannot delete this image. (%(code)s)": "You cannot delete this image. (%(code)s)", "Uploaded on %(date)s by %(user)s": "Uploaded on %(date)s by %(user)s", + "Rotate Left": "Rotate Left", "Rotate counter-clockwise": "Rotate counter-clockwise", + "Rotate Right": "Rotate Right", "Rotate clockwise": "Rotate clockwise", "Download this file": "Download this file", "Integrations Error": "Integrations Error",