dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
languagetype.cpp
Go to the documentation of this file.
1 
13 /*
14 * This program is free software; you can redistribute it and/or modify
15 * it under the terms of the GNU General Public License as published by
16 * the Free Software Foundation; either version 3 of the License, or
17 * (at your option) any later version.
18 *
19 * This program is distributed in the hope that it will be useful, but
20 * WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21 * or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
22 * for more details.
23 *
24 * You should have received a copy of the GNU General Public License along
25 * with this program; if not, see <http://www.gnu.org/licenses/>
26 */
27 #include "languagetype.h"
28 
29 
30 
31 namespace core {
32  LanguageType::LanguageType()
33  {
34  list
35  <<"ar"
36  <<"bg"
37  <<"bn"
38  <<"ca"
39  <<"cs"
40  <<"da"
41  <<"de"
42  <<"el"
43  <<"en"
44  <<"en-AU"
45  <<"en-GB"
46  <<"es"
47  <<"eu"
48  <<"fi"
49  <<"fil"
50  <<"fr"
51  <<"gl"
52  <<"gu"
53  <<"hi"
54  <<"hr"
55  <<"hu"
56  <<"id"
57  <<"it"
58  <<"iw"
59  <<"ja"
60  <<"kn"
61  <<"ko"
62  <<"lt"
63  <<"lv"
64  <<"ml"
65  <<"mr"
66  <<"nl"
67  <<"nn"
68  <<"no"
69  <<"or"
70  <<"pl"
71  <<"pt"
72  <<"pt-BR"
73  <<"pt-PT"
74  <<"rm"
75  <<"ro"
76  <<"ru"
77  <<"sk"
78  <<"sl"
79  <<"sr"
80  <<"sv"
81  <<"ta"
82  <<"te"
83  <<"th"
84  <<"tr"
85  <<"uk"
86  <<"vi"
87  <<"zh-CN"
88  <<"zh-TW"
89  <<"AUTO";
90 
91  }
92  QString LanguageType::toShortString(Types type)
93  {
94  return list[type];
95  }
96  LanguageType::~LanguageType()
97  {
98  list.clear();
99  }
100 
101 }