Update translations, understand button is now translatable

This commit is contained in:
Håvar Aambø Fosstveit
2020-03-22 15:51:11 +01:00
parent 6e00915bfe
commit 59ca0a2a68
16 changed files with 30 additions and 4 deletions
+4 -1
View File
@@ -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'
+4 -1
View File
@@ -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'
+9 -2
View File
@@ -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>