Translated using Weblate.
[gammu.git] / python / gammu / data.py
bloba1856b2d628c8635cf96c2d53a00c1e6ad5567f7
1 # -*- coding: UTF-8 -*-
2 # vim: expandtab sw=4 ts=4 sts=4:
3 '''
4 Some static data.
6 @var Connections: List of connection types.
7 @var MemoryValueTypes: Types of memory entry values.
8 @var CalendarTypes: Types of calendar entries.
9 @var CalendarValueTypes: Types of calendar entry values.
10 @var TodoPriorities: Todo priorities.
11 @var TodoValueTypes: Types of todo entry values.
12 @var InternationalPrefixes: List of known internaltional prefixes.
13 '''
14 __author__ = 'Michal Čihař'
15 __email__ = 'michal@cihar.com'
16 __license__ = '''
17 Copyright © 2003 - 2010 Michal Čihař
19 This program is free software; you can redistribute it and/or modify it
20 under the terms of the GNU General Public License version 2 as published by
21 the Free Software Foundation.
23 This program is distributed in the hope that it will be useful, but WITHOUT
24 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
25 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
26 more details.
28 You should have received a copy of the GNU General Public License along with
29 this program; if not, write to the Free Software Foundation, Inc.,
30 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
31 '''
33 from gammu import Errors, ErrorNumbers
35 Connections = [
36 'at',
37 'at19200',
38 'at115200',
39 'fbus',
40 'dlr3',
41 'dku2',
42 'dku5',
43 'fbuspl2303',
44 'mbus',
45 'irdaphonet',
46 'irdaat',
47 'irdaobex',
48 'irdagnapbus',
49 'bluerffbus',
50 'bluefbus',
51 'bluerfphonet',
52 'bluephonet',
53 'blueat',
54 'bluerfat',
55 'blueobex',
56 'bluerfobex',
57 'fbusblue',
58 'fbusirda',
59 'phonetblue',
60 'bluerfgnapbus',
63 MemoryValueTypes = [
64 'Number_General',
65 'Number_Mobile',
66 'Number_Work',
67 'Number_Fax',
68 'Number_Home',
69 'Number_Pager',
70 'Number_Other',
71 'Text_Note',
72 'Text_Postal',
73 'Text_WorkPostal',
74 'Text_Email',
75 'Text_Email2',
76 'Text_URL',
77 'Date',
78 'Caller_Group',
79 'Text_Name',
80 'Text_LastName',
81 'Text_FirstName',
82 'Text_Company',
83 'Text_JobTitle',
84 'Category',
85 'Private',
86 'Text_StreetAddress',
87 'Text_City',
88 'Text_State',
89 'Text_Zip',
90 'Text_Country',
91 'Text_WorkStreetAddress',
92 'Text_WorkCity',
93 'Text_WorkState',
94 'Text_WorkZip',
95 'Text_WorkCountry',
96 'Text_Custom1',
97 'Text_Custom2',
98 'Text_Custom3',
99 'Text_Custom4',
100 'RingtoneID',
101 'PictureID',
102 'Text_UserID',
103 'CallLength',
104 'Text_LUID',
105 'LastModified',
106 'Text_NickName',
107 'Text_FormalName',
108 'PushToTalkID',
109 'Photo',
110 'Number_Mobile_Home',
111 'Number_Mobile_Work',
114 CalendarTypes = [
115 'REMINDER',
116 'CALL',
117 'MEETING',
118 'BIRTHDAY',
119 'MEMO',
120 'TRAVEL',
121 'VACATION',
122 'T_ATHL',
123 'T_BALL',
124 'T_CYCL',
125 'T_BUDO',
126 'T_DANC',
127 'T_EXTR',
128 'T_FOOT',
129 'T_GOLF',
130 'T_GYM',
131 'T_HORS',
132 'T_HOCK',
133 'T_RACE',
134 'T_RUGB',
135 'T_SAIL',
136 'T_STRE',
137 'T_SWIM',
138 'T_TENN',
139 'T_TRAV',
140 'T_WINT',
141 'ALARM',
142 'DAILY_ALARM',
143 'SHOPPING',
146 CalendarValueTypes = [
147 'START_DATETIME',
148 'END_DATETIME',
149 'TONE_ALARM_DATETIME',
150 'SILENT_ALARM_DATETIME',
151 'RECURRANCE',
152 'TEXT',
153 'DESCRIPTION',
154 'LOCATION',
155 'PHONE',
156 'PRIVATE',
157 'CONTACTID',
158 'REPEAT_DAYOFWEEK',
159 'REPEAT_DAY',
160 'REPEAT_WEEKOFMONTH',
161 'REPEAT_MONTH',
162 'REPEAT_FREQUENCY',
163 'REPEAT_STARTDATE',
164 'REPEAT_STOPDATE',
165 'LUID',
166 'LAST_MODIFIED',
169 TodoPriorities = [
170 'High',
171 'Medium',
172 'Low',
173 'None',
176 TodoValueTypes = [
177 'END_DATETIME',
178 'START_DATETIME',
179 'COMPLETED_DATETIME',
180 'COMPLETED',
181 'ALARM_DATETIME',
182 'SILENT_ALARM_DATETIME',
183 'TEXT',
184 'DESCRIPTION',
185 'LOCATION',
186 'LUID',
187 'PRIVATE',
188 'CATEGORY',
189 'CONTACTID',
190 'PHONE',
191 'LAST_MODIFIED',
194 InternationalPrefixes = [
195 '+1',
196 '+20',
198 '+210',
199 '+211',
200 '+212',
201 '+213',
202 '+214',
203 '+215',
204 '+216',
205 '+217',
206 '+218',
207 '+219',
210 '+220',
211 '+221',
212 '+222',
213 '+223',
214 '+224',
215 '+225',
216 '+226',
217 '+227',
218 '+228',
219 '+229',
222 '+230',
223 '+231',
224 '+232',
225 '+233',
226 '+234',
227 '+235',
228 '+236',
229 '+237',
230 '+238',
231 '+239',
234 '+240',
235 '+241',
236 '+242',
237 '+243',
238 '+244',
239 '+245',
240 '+246',
241 '+247',
242 '+248',
243 '+249',
246 '+250',
247 '+251',
248 '+252',
249 '+253',
250 '+254',
251 '+255',
252 '+256',
253 '+257',
254 '+258',
255 '+259',
258 '+260',
259 '+261',
260 '+262',
261 '+263',
262 '+264',
263 '+265',
264 '+266',
265 '+267',
266 '+268',
267 '+269',
268 '+27',
269 '+28',
271 '+290',
272 '+291',
273 '+292',
274 '+293',
275 '+294',
276 '+295',
277 '+296',
278 '+297',
279 '+298',
280 '+299',
281 '+30',
282 '+31',
283 '+32',
284 '+33',
285 '+34',
287 '+350',
288 '+351',
289 '+352',
290 '+353',
291 '+354',
292 '+355',
293 '+356',
294 '+357',
295 '+358',
296 '+359',
297 '+36',
299 '+370',
300 '+371',
301 '+372',
302 '+373',
303 '+374',
304 '+375',
305 '+376',
306 '+377',
307 '+378',
308 '+379',
311 '+380',
312 '+381',
313 '+382',
314 '+383',
315 '+384',
316 '+385',
317 '+386',
318 '+387',
319 '+388',
320 '+389',
321 '+39',
322 '+40',
323 '+41',
325 '+420',
326 '+421',
327 '+422',
328 '+423',
329 '+424',
330 '+425',
331 '+426',
332 '+427',
333 '+428',
334 '+429',
335 '+43',
336 '+44',
337 '+45',
338 '+46',
339 '+47',
340 '+48',
341 '+49',
343 '+500',
344 '+501',
345 '+502',
346 '+503',
347 '+504',
348 '+505',
349 '+506',
350 '+507',
351 '+508',
352 '+509',
353 '+51',
354 '+52',
355 '+53',
356 '+54',
357 '+55',
358 '+56',
359 '+57',
360 '+58',
362 '+590',
363 '+591',
364 '+592',
365 '+593',
366 '+594',
367 '+595',
368 '+596',
369 '+597',
370 '+598',
371 '+599',
372 '+60',
373 '+61',
374 '+62',
375 '+63',
376 '+64',
377 '+65',
378 '+66',
380 '+670',
381 '+671',
382 '+672',
383 '+673',
384 '+674',
385 '+675',
386 '+676',
387 '+677',
388 '+678',
389 '+679',
392 '+680',
393 '+681',
394 '+682',
395 '+683',
396 '+684',
397 '+685',
398 '+686',
399 '+687',
400 '+688',
401 '+689',
404 '+690',
405 '+691',
406 '+692',
407 '+693',
408 '+694',
409 '+695',
410 '+696',
411 '+697',
412 '+698',
413 '+699',
414 '+7',
416 '+800',
417 '+801',
418 '+802',
419 '+803',
420 '+804',
421 '+805',
422 '+806',
423 '+807',
424 '+808',
425 '+809',
426 '+81',
427 '+82',
428 '+83',
429 '+84',
431 '+850',
432 '+851',
433 '+852',
434 '+853',
435 '+854',
436 '+855',
437 '+856',
438 '+857',
439 '+858',
440 '+859',
441 '+86',
443 '+870',
444 '+871',
445 '+872',
446 '+873',
447 '+874',
448 '+875',
449 '+876',
450 '+877',
451 '+878',
452 '+879',
455 '+880',
456 '+881',
457 '+882',
458 '+883',
459 '+884',
460 '+885',
461 '+886',
462 '+887',
463 '+888',
464 '+889',
465 '+89',
466 '+90',
467 '+91',
468 '+92',
469 '+93',
470 '+94',
471 '+95',
473 '+960',
474 '+961',
475 '+962',
476 '+963',
477 '+964',
478 '+965',
479 '+966',
480 '+967',
481 '+968',
482 '+969',
485 '+970',
486 '+971',
487 '+972',
488 '+973',
489 '+974',
490 '+975',
491 '+976',
492 '+977',
493 '+978',
494 '+979',
495 '+98',
497 '+990',
498 '+991',
499 '+992',
500 '+993',
501 '+994',
502 '+995',
503 '+996',
504 '+997',
505 '+998',
506 '+999',