forked from LibreBooking/app
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AvailableLanguages.php
68 lines (66 loc) · 3.69 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
58
59
60
61
62
63
64
65
66
67
68
<?php
/**
* Copyright 2012-2019 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(
'eu_es' => new AvailableLanguage('eu_es', 'eu_es.php', 'Basque'),
'bg_bg' => new AvailableLanguage('bg_bg', 'bg_bg.php', 'Bulgarian'),
'ca' => new AvailableLanguage('ca', 'ca.php', 'Catalan'),
'cz' => new AvailableLanguage('cz', 'cz.php', 'Czech'),
'da_da' => new AvailableLanguage('da_da', 'da_da.php', 'Danish'),
'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'),
'ee_ee' => new AvailableLanguage('ee_ee', 'ee_ee.php', 'Estonian'),
'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'),
'hu_hu' => new AvailableLanguage('hu_hu', 'hu_hu.php', 'Hungarian'),
'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_pt' => new AvailableLanguage('pt_pt', 'pt_pt.php', 'Português'),
'pt_br' => new AvailableLanguage('pt_br', 'pt_br.php', 'Português Brasileiro'),
'ru_ru' => new AvailableLanguage('ru_ru', 'ru_ru.php', 'Русский'),
'si_si' => new AvailableLanguage('si_si', 'si_si.php', 'Slovenščina'),
'sr_sr' => new AvailableLanguage('sr_sr', 'sr_sr.php', 'Serbian'),
'ro_ro' => new AvailableLanguage('ro_ro', 'ro_ro.php', 'Romanian'),
'th_th' => new AvailableLanguage('th_th', 'th_th.php', 'Thai'),
'tr_tr' => new AvailableLanguage('tr_tr', 'tr_tr.php', 'Türkçe'),
'sv_sv' => new AvailableLanguage('sv_sv', 'sv_sv.php', 'Swedish'),
'vn_vn' => new AvailableLanguage('vn_vn', 'vn_vn.php', 'Tiếng Việt'),
'zh_cn' => new AvailableLanguage('zh_cn', 'zh_cn.php', '简体中文'),
'zh_tw' => new AvailableLanguage('zh_tw', 'zh_tw.php', '繁體中文'),
);
}
}