1 # -*- coding: UTF-8 -*-
2 # vim: expandtab sw=4 ts=4 sts=4:
5 Some static data like bitmaps, category mappings etc.
6 Many of them might be moved to python-gammu later
8 __author__
= 'Michal Čihař'
9 __email__
= 'michal@cihar.com'
11 Copyright (c) 2003 - 2007 Michal Čihař
13 This program is free software; you can redistribute it and/or modify it
14 under the terms of the GNU General Public License version 2 as published by
15 the Free Software Foundation.
17 This program is distributed in the hope that it will be useful, but WITHOUT
18 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
19 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
22 You should have received a copy of the GNU General Public License along with
23 this program; if not, write to the Free Software Foundation, Inc.,
24 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
28 from gammu
.Data
import Connections
, MemoryValueTypes
, CalendarTypes
, CalendarValueTypes
, TodoPriorities
, TodoValueTypes
, InternationalPrefixes
31 # When support for sound will be implemented, here should be sounds
33 (_('Chimes high'),''),
45 # Wanted somebody who will draw nicer icons :-)
89 PredefinedAnimations
= [
90 (_("I'm ironic, flirty"),
250 (_("I am indifferent"),
310 (_("Tongue hanging out"),
350 (_("Wearing glases"),
392 # First is used as default
428 Conn_Bluetooth_All
= [
439 Conn_Bluetooth_Nokia
= [
450 Conn_Bluetooth_Standard
= [
456 'Sony-Ericsson' : Conn_Bluetooth_Standard
,
457 'Siemens' : Conn_Bluetooth_Standard
,
458 'BenQ' : Conn_Bluetooth_Standard
,
459 'Samsung' : Conn_Bluetooth_Standard
,
460 'LG' : Conn_Bluetooth_Standard
,
461 'Motorola' : Conn_Bluetooth_Standard
,
462 'Nokia' : Conn_Bluetooth_Nokia
,
463 'Alcatel' : Conn_Bluetooth_Standard
,
465 if sys
.platform
== 'win32':
476 (Conn_IrDA_Win
, '', None),
477 (Conn_Cable
, 'com%d:', (1,6)),
479 # FIXME: support more platforms?
493 (Conn_Cable
, '/dev/ttyS%d', (0, 3)),
494 (Conn_Cable
, '/dev/ttyUSB%d', (0, 3)),
495 (Conn_Cable
, '/dev/ttyACM%d', (0, 3)),
496 (Conn_BlueRF
, '/dev/rfrcomm%d', (0, 1)),
497 (Conn_IrDA_Other
, '/dev/ircomm%d', (0, 1)),
498 (Conn_Cable
, '/dev/usb/tts/%d', (0, 3)),
501 ContactMemoryTypes
= ['ME', 'SM']
506 'ConcatenatedTextLong',
507 'ConcatenatedAutoTextLong',
508 'ConcatenatedTextLong16bit',
509 'ConcatenatedAutoTextLong16bit',
511 'NokiaVCALENDAR10Long'
519 'EMSSonyEricssonSound',
522 'EMSSonyEricssonSoundLong',
527 'AlcatelMonoAnimationLong',
528 'NokiaScreenSaverLong',
535 'NokiaPictureImageLong',
537 'NokiaOperatorLogoLong',
541 'EMSVariableBitmapLong',
542 'AlcatelMonoBitmapLong',
543 'AlcatelSMSTemplateName',
545 'PredefinedAnimation': [
546 'EMSPredefinedAnimation',
549 'EMSPredefinedSound',
554 [(_('Alignment'), _('None')),
555 ('Left', _('Left'), '<div align="left">%s</div>'),
556 ('Right', _('Right'), '<div align="right">%s</div>'),
557 ('Center', _('Center'), '<div align="center">%s</div>'),
559 [(_('Text Size'), _('Normal')),
560 ('Large', _('Large'), '<font size="+2">%s</font>'),
561 ('Small', _('Small'), '<font size="-2">%s</font>'),
563 ['', ('Bold', _('Bold'), '<b>%s</b>')],
564 ['', ('Italic', _('Italic'), '<i>%s</i>')],
565 ['', ('Underlined', _('Underlined'), '<u>%s</u>')],
566 ['', ('Strikethrough', _('Strikethrough'), '<strike>%s</strike>')],
569 # dump from Gammu Phone Database
591 # Generated from http://standards.ieee.org/regauth/oui/oui.txt