1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-01 06:20:46 +02:00

Merge pull request #4740 from rubencm/ticket/14974

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

* rubencm/ticket/14974:
  [ticket/14974] make cookie notice configurable via language files
This commit is contained in:
Tristan Darricau
2017-03-19 18:11:40 +01:00
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>