From bf363621d386f7b6cbdb8c525acf8828cd36d7cf Mon Sep 17 00:00:00 2001 From: Helmut Januschka Date: Thu, 16 Aug 2018 14:02:07 +0200 Subject: [PATCH] support translation in button --- .../client/components/PermalinkButton.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/talk-plugin-permalink/client/components/PermalinkButton.js b/plugins/talk-plugin-permalink/client/components/PermalinkButton.js index 5e0fb21d8..911ad8f82 100644 --- a/plugins/talk-plugin-permalink/client/components/PermalinkButton.js +++ b/plugins/talk-plugin-permalink/client/components/PermalinkButton.js @@ -105,9 +105,9 @@ export default class PermalinkButton extends React.Component { }, ])} > - {!copyFailure && !copySuccessful && 'Copy'} - {copySuccessful && 'Copied'} - {copyFailure && 'Not supported'} + {!copyFailure && !copySuccessful && t('common.copy') } + {copySuccessful && t('common.copied') } + {copyFailure && t('common.notsupported') }