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 © 2003 - 2010 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
= [
435 Conn_Bluetooth_Nokia
= [
442 Conn_Bluetooth_Standard
= [
448 'Sony-Ericsson' : Conn_Bluetooth_Standard
,
449 'Siemens' : Conn_Bluetooth_Standard
,
450 'BenQ' : Conn_Bluetooth_Standard
,
451 'Samsung' : Conn_Bluetooth_Standard
,
452 'LG' : Conn_Bluetooth_Standard
,
453 'Motorola' : Conn_Bluetooth_Standard
,
454 'Nokia' : Conn_Bluetooth_Nokia
,
455 'Alcatel' : Conn_Bluetooth_Standard
,
457 if sys
.platform
== 'win32':
468 (Conn_IrDA_Win
, '', None, ['irda']),
469 (Conn_Cable
, 'com%d:', (1,6), ['irda', 'usb', 'serial', 'bluetooth']),
471 # FIXME: support more platforms?
489 (Conn_Cable
, '/dev/ttyS%d', (0, 3), ['serial']),
490 (Conn_Cable
, '/dev/ttyUSB%d', (0, 3), ['serial', 'usb']),
491 (Conn_Cable
, '/dev/ttyACM%d', (0, 3), ['serial', 'usb']),
492 (Conn_Cable
, '/dev/cuaU%d', (0, 3), ['serial', 'usb']),
493 (Conn_Cable
, '/dev/cua%d', (0, 3), ['serial', 'usb']),
494 (Conn_BlueRF
, '/dev/rfrcomm%d', (0, 1), ['bluetooth']),
495 (Conn_IrDA_Other
, '/dev/ircomm%d', (0, 1), ['irda']),
496 (Conn_Cable
, '/dev/usb/tts/%d', (0, 3), ['serial', 'usb']),
499 ContactMemoryTypes
= ['ME', 'SM']
504 'ConcatenatedTextLong',
505 'ConcatenatedAutoTextLong',
506 'ConcatenatedTextLong16bit',
507 'ConcatenatedAutoTextLong16bit',
509 'NokiaVCALENDAR10Long'
517 'EMSSonyEricssonSound',
520 'EMSSonyEricssonSoundLong',
525 'AlcatelMonoAnimationLong',
526 'NokiaScreenSaverLong',
533 'NokiaPictureImageLong',
535 'NokiaOperatorLogoLong',
539 'EMSVariableBitmapLong',
540 'AlcatelMonoBitmapLong',
541 'AlcatelSMSTemplateName',
543 'PredefinedAnimation': [
544 'EMSPredefinedAnimation',
547 'EMSPredefinedSound',
552 [(_('Alignment'), _('None')),
553 ('Left', _('Left'), '<div align="left">%s</div>'),
554 ('Right', _('Right'), '<div align="right">%s</div>'),
555 ('Center', _('Center'), '<div align="center">%s</div>'),
557 [(_('Text Size'), _('Normal')),
558 ('Large', _('Large'), '<font size="+2">%s</font>'),
559 ('Small', _('Small'), '<font size="-2">%s</font>'),
561 ['', ('Bold', _('Bold'), '<b>%s</b>')],
562 ['', ('Italic', _('Italic'), '<i>%s</i>')],
563 ['', ('Underlined', _('Underlined'), '<u>%s</u>')],
564 ['', ('Strikethrough', _('Strikethrough'), '<strike>%s</strike>')],
567 # dump from Gammu Phone Database
592 'Sierra Wireless': 24,
607 # Generated from http://standards.ieee.org/regauth/oui/oui.txt