support translation in button

This commit is contained in:
Helmut Januschka
2018-08-16 14:02:07 +02:00
committed by GitHub
parent 4dbd1e0bb3
commit bf363621d3
@@ -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>