mirror of
https://github.com/wassname/talk.git
synced 2026-07-13 08:28:58 +08:00
Merge pull request #1804 from hjanuschka/patch-2
support translation in permalink share button
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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')}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user