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 - 2009 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?
485 (Conn_Cable
, '/dev/ttyS%d', (0, 3), ['serial']),
486 (Conn_Cable
, '/dev/ttyUSB%d', (0, 3), ['serial', 'usb']),
487 (Conn_Cable
, '/dev/ttyACM%d', (0, 3), ['serial', 'usb']),
488 (Conn_BlueRF
, '/dev/rfrcomm%d', (0, 1), ['bluetooth']),
489 (Conn_IrDA_Other
, '/dev/ircomm%d', (0, 1), ['irda']),
490 (Conn_Cable
, '/dev/usb/tts/%d', (0, 3), ['serial', 'usb']),
493 ContactMemoryTypes
= ['ME', 'SM']
498 'ConcatenatedTextLong',
499 'ConcatenatedAutoTextLong',
500 'ConcatenatedTextLong16bit',
501 'ConcatenatedAutoTextLong16bit',
503 'NokiaVCALENDAR10Long'
511 'EMSSonyEricssonSound',
514 'EMSSonyEricssonSoundLong',
519 'AlcatelMonoAnimationLong',
520 'NokiaScreenSaverLong',
527 'NokiaPictureImageLong',
529 'NokiaOperatorLogoLong',
533 'EMSVariableBitmapLong',
534 'AlcatelMonoBitmapLong',
535 'AlcatelSMSTemplateName',
537 'PredefinedAnimation': [
538 'EMSPredefinedAnimation',
541 'EMSPredefinedSound',
546 [(_('Alignment'), _('None')),
547 ('Left', _('Left'), '<div align="left">%s</div>'),
548 ('Right', _('Right'), '<div align="right">%s</div>'),
549 ('Center', _('Center'), '<div align="center">%s</div>'),
551 [(_('Text Size'), _('Normal')),
552 ('Large', _('Large'), '<font size="+2">%s</font>'),
553 ('Small', _('Small'), '<font size="-2">%s</font>'),
555 ['', ('Bold', _('Bold'), '<b>%s</b>')],
556 ['', ('Italic', _('Italic'), '<i>%s</i>')],
557 ['', ('Underlined', _('Underlined'), '<u>%s</u>')],
558 ['', ('Strikethrough', _('Strikethrough'), '<strike>%s</strike>')],
561 # dump from Gammu Phone Database
586 'Sierra Wireless': 24,
601 # Generated from http://standards.ieee.org/regauth/oui/oui.txt