mirror of
https://github.com/wassname/talk.git
synced 2026-08-17 11:27:52 +08:00
Fix translations
This commit is contained in:
@@ -9,14 +9,15 @@ const UserBox = ({ user, logout, onShowProfile }) => (
|
||||
{user ? (
|
||||
<div className={cn(styles.userBox, 'talk-stream-auth-userbox')}>
|
||||
<span className={styles.userBoxLoggedIn}>
|
||||
{t('sign_in.logged_in_as')}
|
||||
{t('talk-plugin-auth.login.logged_in_as')}
|
||||
</span>
|
||||
<a onClick={onShowProfile}>{user.username}</a>. {t('sign_in.not_you')}
|
||||
<a onClick={onShowProfile}>{user.username}</a>.{' '}
|
||||
{t('talk-plugin-auth.login.not_you')}
|
||||
<a
|
||||
className={cn(styles.logout, 'talk-stream-userbox-logout')}
|
||||
onClick={() => logout()}
|
||||
>
|
||||
{t('sign_in.logout')}
|
||||
{t('talk-plugin-auth.login.logout')}
|
||||
</a>
|
||||
</div>
|
||||
) : null}
|
||||
|
||||
Reference in New Issue
Block a user