Update translations, understand button is now translatable
This commit is contained in:
@@ -241,7 +241,10 @@ const ChooseRoom = ({
|
||||
</DialogActions>
|
||||
|
||||
{ !isElectron() &&
|
||||
<CookieConsent>
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
})}>
|
||||
<FormattedMessage
|
||||
id='room.cookieConsent'
|
||||
defaultMessage='This website uses cookies to enhance the user experience'
|
||||
|
||||
@@ -336,7 +336,10 @@ const JoinDialog = ({
|
||||
}
|
||||
|
||||
{ !isElectron() &&
|
||||
<CookieConsent>
|
||||
<CookieConsent buttonText={intl.formatMessage({
|
||||
id : 'room.consentUnderstand',
|
||||
defaultMessage : 'I understand'
|
||||
})}>
|
||||
<FormattedMessage
|
||||
id='room.cookieConsent'
|
||||
defaultMessage='This website uses cookies to enhance the user experience'
|
||||
|
||||
@@ -154,9 +154,16 @@ class Room extends React.PureComponent
|
||||
return (
|
||||
<div className={classes.root}>
|
||||
{ !isElectron() &&
|
||||
<CookieConsent>
|
||||
<CookieConsent
|
||||
buttonText={
|
||||
<FormattedMessage
|
||||
id = 'room.consentUnderstand'
|
||||
defaultMessage = 'I understand'
|
||||
/>
|
||||
}
|
||||
>
|
||||
<FormattedMessage
|
||||
id='room.cookieConsent'
|
||||
id = 'room.cookieConsent'
|
||||
defaultMessage='This website uses cookies to enhance the user experience'
|
||||
/>
|
||||
</CookieConsent>
|
||||
|
||||
Reference in New Issue
Block a user