NagNoUser i18n update
This commit is contained in:
parent
39a0beb4ee
commit
5aa6827258
2 changed files with 2 additions and 11 deletions
|
@ -2197,6 +2197,7 @@
|
||||||
"Failed to synchronize settings. Wait a while before retrying.": "Failed to synchronize settings. Wait a while before retrying.",
|
"Failed to synchronize settings. Wait a while before retrying.": "Failed to synchronize settings. Wait a while before retrying.",
|
||||||
"You are offline. Check your internet connection.": "You are offline. Check your internet connection.",
|
"You are offline. Check your internet connection.": "You are offline. Check your internet connection.",
|
||||||
"A new version of Odysee is available.": "A new version of Odysee is available.",
|
"A new version of Odysee is available.": "A new version of Odysee is available.",
|
||||||
|
"Could not get a user ID. Account functions will be unavailable. Try again in a bit.": "Could not get a user ID. Account functions will be unavailable. Try again in a bit.",
|
||||||
"Reset stream": "Reset stream",
|
"Reset stream": "Reset stream",
|
||||||
"Live stream successfully reset.": "Live stream successfully reset.",
|
"Live stream successfully reset.": "Live stream successfully reset.",
|
||||||
"There was an error resetting the live stream.": "There was an error resetting the live stream.",
|
"There was an error resetting the live stream.": "There was an error resetting the live stream.",
|
||||||
|
|
|
@ -1,22 +1,12 @@
|
||||||
// @flow
|
// @flow
|
||||||
import { SITE_NAME } from 'config';
|
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import Nag from 'component/common/nag';
|
import Nag from 'component/common/nag';
|
||||||
import I18nMessage from 'component/i18nMessage';
|
|
||||||
|
|
||||||
export default function NagNoUser() {
|
export default function NagNoUser() {
|
||||||
return (
|
return (
|
||||||
<Nag
|
<Nag
|
||||||
type="error"
|
type="error"
|
||||||
message={
|
message={__('Could not get a user ID. Account functions will be unavailable. Try again in a bit.')}
|
||||||
<I18nMessage
|
|
||||||
tokens={{
|
|
||||||
SITE_NAME,
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Could not get a user ID. Account functions will be unavailable. Try again in a bit.
|
|
||||||
</I18nMessage>
|
|
||||||
}
|
|
||||||
actionText={__('Refresh')}
|
actionText={__('Refresh')}
|
||||||
onClick={() => window.location.reload()}
|
onClick={() => window.location.reload()}
|
||||||
/>
|
/>
|
||||||
|
|
Loading…
Reference in a new issue