diff --git a/locales/de.yml b/locales/de.yml index 4c6bd84e3..3d996bbbd 100644 --- a/locales/de.yml +++ b/locales/de.yml @@ -48,6 +48,8 @@ de: comment_post_notif_premod: 'Vielen Dank für Ihren Kommentar. Unsere Moderatoren werden ihn in Kürze bearbeiten.' comment_singular: Kommentar common: + copied: 'Kopiert' + notsupported: 'Nicht unterstützt' copy: Kopieren error: 'Ein Problem ist aufgetreten.' reaction: 'Reaktion' diff --git a/locales/en.yml b/locales/en.yml index 07b08bc4c..5bbb7b896 100644 --- a/locales/en.yml +++ b/locales/en.yml @@ -49,6 +49,8 @@ en: comment_singular: Comment common: copy: Copy + copied: 'Copied' + notsupported: 'Not supported' error: 'An error has occurred.' reaction: reaction reactions: reactions diff --git a/plugins/talk-plugin-permalink/client/components/PermalinkButton.js b/plugins/talk-plugin-permalink/client/components/PermalinkButton.js index 5e0fb21d8..cbc285f59 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')}