Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
latoilescoute-dev
scoodle
Commits
2711b3a0
Commit
2711b3a0
authored
Mar 19, 2018
by
Pierre Rudloff
Browse files
lang attribute must be a valid IETF language tag
parent
a1fbe394
Changes
1
Hide whitespace changes
Inline
Side-by-side
app/inc/i18n.php
View file @
2711b3a0
...
...
@@ -29,7 +29,7 @@ if (isset($_POST['lang']) && is_string($_POST['lang']) && in_array($_POST['lang'
/* <html lang="$locale"> */
$i18n
->
get
(
''
,
'Something, just to load the dictionary'
);
$locale
=
$i18n
->
getLoadedLang
();
$locale
=
str_replace
(
'_'
,
'-'
,
$i18n
->
getLoadedLang
()
)
;
/* Date Format */
$date_format
[
'txt_full'
]
=
__
(
'Date'
,
'FULL'
);
//summary in create_date_poll.php and removal date in choix_(date|autre).php
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment