Skip to content
Snippets Groups Projects
Commit 2711b3a0 authored by Pierre Rudloff's avatar Pierre Rudloff
Browse files

lang attribute must be a valid IETF language tag

parent a1fbe394
No related branches found
No related tags found
No related merge requests found
...@@ -29,7 +29,7 @@ if (isset($_POST['lang']) && is_string($_POST['lang']) && in_array($_POST['lang' ...@@ -29,7 +29,7 @@ if (isset($_POST['lang']) && is_string($_POST['lang']) && in_array($_POST['lang'
/* <html lang="$locale"> */ /* <html lang="$locale"> */
$i18n->get('', 'Something, just to load the dictionary'); $i18n->get('', 'Something, just to load the dictionary');
$locale = $i18n->getLoadedLang(); $locale = str_replace('_', '-', $i18n->getLoadedLang());
/* Date Format */ /* Date Format */
$date_format['txt_full'] = __('Date', 'FULL'); //summary in create_date_poll.php and removal date in choix_(date|autre).php $date_format['txt_full'] = __('Date', 'FULL'); //summary in create_date_poll.php and removal date in choix_(date|autre).php
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment