mirror of
https://github.com/wassname/talk.git
synced 2026-10-29 13:40:57 +08:00
support translation in button
This commit is contained in:
1 parent
4dbd1e0bb3
commit
bf363621d3
1 file changed
+3
-3
@@ -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