Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
latoilescoute-dev
scoodle
Commits
3de07eb5
Unverified
Commit
3de07eb5
authored
Dec 17, 2021
by
Thomas Citharel
Browse files
Activate Catalan language
Signed-off-by:
Thomas Citharel
<
tcit@tcit.fr
>
parent
92399541
Changes
3
Hide whitespace changes
Inline
Side-by-side
admin/check.php
View file @
3de07eb5
...
...
@@ -46,6 +46,7 @@ $ALLOWED_LANGUAGES = [
'de'
=>
'Deutsch'
,
'it'
=>
'Italiano'
,
'br'
=>
'Brezhoneg'
,
'ca'
=>
'Català'
,
];
const
DEFAULT_LANGUAGE
=
'en'
;
require_once
ROOT_DIR
.
'app/inc/i18n.php'
;
...
...
app/inc/init.php
View file @
3de07eb5
...
...
@@ -55,6 +55,7 @@ if (is_file(CONF_FILENAME)) {
'de'
=>
'Deutsch'
,
'it'
=>
'Italiano'
,
'br'
=>
'Brezhoneg'
,
'ca'
=>
'Català'
];
}
...
...
tpl/admin/config.tpl
View file @
3de07eb5
...
...
@@ -59,6 +59,7 @@ $ALLOWED_LANGUAGES = [
'nl' => 'Dutch',
'it' => 'Italiano',
'br' => 'Brezhoneg',
'ca' => 'Català',
];
// Path to image file with the title
...
...
Write
Preview
Supports
Markdown
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