[ticket/14974] make cookie notice configurable via language files

PHPBB3-14974
This commit is contained in:
Rubén Calvo 2017-03-13 03:05:29 +01:00
parent 5d597787eb
commit 74f1b19dfe
2 changed files with 3 additions and 1 deletions

View file

@ -181,6 +181,7 @@ $lang = array_merge($lang, array(
'COOKIE_CONSENT_INFO' => 'Learn more', 'COOKIE_CONSENT_INFO' => 'Learn more',
'COOKIE_CONSENT_MSG' => 'This website uses cookies to ensure you get the best experience on our website.', 'COOKIE_CONSENT_MSG' => 'This website uses cookies to ensure you get the best experience on our website.',
'COOKIE_CONSENT_OK' => 'Got it!', 'COOKIE_CONSENT_OK' => 'Got it!',
'COOKIE_CONSENT_HREF' => 'http://cookiesandyou.com',
'COOKIES_DELETED' => 'All board cookies successfully deleted.', 'COOKIES_DELETED' => 'All board cookies successfully deleted.',
'CURRENT_TIME' => 'It is currently %s', 'CURRENT_TIME' => 'It is currently %s',

View file

@ -76,7 +76,8 @@
"content": { "content": {
"message": "{LA_COOKIE_CONSENT_MSG}", "message": "{LA_COOKIE_CONSENT_MSG}",
"dismiss": "{LA_COOKIE_CONSENT_OK}", "dismiss": "{LA_COOKIE_CONSENT_OK}",
"link": "{LA_COOKIE_CONSENT_INFO}" "link": "{LA_COOKIE_CONSENT_INFO}",
"href": "{LA_COOKIE_CONSENT_HREF}"
} }
})}); })});
</script> </script>