forked from LibreBooking/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AvailableLanguages.php
57 lines (51 loc) · 2.72 KB
/
AvailableLanguages.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<?php
/**
Copyright 2012-2015 Nick Korbel
This file is part of Booked Scheduler.
Booked Scheduler is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
Booked Scheduler is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with Booked Scheduler. If not, see <http://www.gnu.org/licenses/>.
*/
require_once(ROOT_DIR . 'lang/AvailableLanguage.php');
class AvailableLanguages
{
/**
* @return array|AvailableLanguage[]
*/
public static function GetAvailableLanguages()
{
return array(
'bg_bg' => new AvailableLanguage('bg_bg', 'bg_bg.php', 'Bulgarian'),
'ca' => new AvailableLanguage('ca', 'ca.php', 'Catalan'),
'cz' => new AvailableLanguage('cz', 'cz.php', 'Czech'),
'de_de' => new AvailableLanguage('de_de', 'de_de.php', 'Deutsch'),
'du_be' => new AvailableLanguage('du_be', 'du_be.php', 'Flemisch'),
'du_nl' => new AvailableLanguage('du_nl', 'du_nl.php', 'Dutch'),
'en_us' => new AvailableLanguage('en_us', 'en_us.php', 'English US'),
'en_gb' => new AvailableLanguage('en_gb', 'en_gb.php', 'English GB'),
'es' => new AvailableLanguage('es', 'es.php', 'Español'),
'fi_fi' => new AvailableLanguage('fi_fi', 'fi_fi.php', 'Suomi'),
'fr_fr' => new AvailableLanguage('fr_fr', 'fr_fr.php', 'Français'),
'hr_hr' => new AvailableLanguage('hr_hr', 'hr_hr.php', 'Hrvatski'),
'he' => new AvailableLanguage('he', 'he.php', 'עברית'),
'id_id' => new AvailableLanguage('id_id', 'id_id.php', 'Bahasa Indonesia'),
'it_it' => new AvailableLanguage('it_it', 'it_it.php', 'Italiano'),
'ja_jp' => new AvailableLanguage('ja_jp', 'ja_jp.php', 'Japanese'),
'lt' => new AvailableLanguage('lt', 'lt.php', 'Lietuvių'),
'no_no' => new AvailableLanguage('no_no', 'no_no.php', 'Norsk bokmål'),
'pl' => new AvailableLanguage('pl', 'pl.php', 'Polski'),
'pt_br' => new AvailableLanguage('pt_br', 'pt_br.php', 'Português Brasileiro'),
'si_si' => new AvailableLanguage('si_si', 'si_si.php', 'Slovenščina'),
'sv_sv' => new AvailableLanguage('sv_sv', 'sv_sv.php', 'Swedish'),
'zh_cn' => new AvailableLanguage('zh_cn', 'zh_cn.php', '简体中文'),
'zh_tw' => new AvailableLanguage('zh_tw', 'zh_tw.php', '繁體中文'),
);
}
}