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
29 from gammu
.data
import Connections
, MemoryValueTypes
, CalendarTypes
, CalendarValueTypes
, TodoPriorities
, TodoValueTypes
, InternationalPrefixes
31 from gammu
.Data
import Connections
, MemoryValueTypes
, CalendarTypes
, CalendarValueTypes
, TodoPriorities
, TodoValueTypes
, InternationalPrefixes
34 # When support for sound will be implemented, here should be sounds
36 (_('Chimes high'),''),
48 # Wanted somebody who will draw nicer icons :-)
92 PredefinedAnimations
= [
93 (_("I'm ironic, flirty"),
253 (_("I am indifferent"),
313 (_("Tongue hanging out"),
353 (_("Wearing glases"),
395 # First is used as default
429 Conn_Bluetooth_All
= [
436 Conn_Bluetooth_Nokia
= [
443 Conn_Bluetooth_Standard
= [
449 'Sony-Ericsson' : Conn_Bluetooth_Standard
,
450 'Siemens' : Conn_Bluetooth_Standard
,
451 'BenQ' : Conn_Bluetooth_Standard
,
452 'Samsung' : Conn_Bluetooth_Standard
,
453 'LG' : Conn_Bluetooth_Standard
,
454 'Motorola' : Conn_Bluetooth_Standard
,
455 'Nokia' : Conn_Bluetooth_Nokia
,
456 'Alcatel' : Conn_Bluetooth_Standard
,
458 if sys
.platform
== 'win32':
469 (Conn_IrDA_Win
, '', None, ['irda']),
470 (Conn_Cable
, 'com%d:', (1,6), ['irda', 'usb', 'serial', 'bluetooth']),
472 # FIXME: support more platforms?
494 (Conn_Cable
, '/dev/ttyS%d', (0, 20), ['serial']),
495 (Conn_Cable
, '/dev/ttyUSB%d', (0, 20), ['serial', 'usb']),
496 (Conn_Cable
, '/dev/ttyACM%d', (0, 20), ['serial', 'usb']),
497 (Conn_Cable
, '/dev/cuaU%d', (0, 20), ['serial', 'usb']),
498 (Conn_Cable
, '/dev/cua%d', (0, 20), ['serial', 'usb']),
499 (Conn_BlueRF
, '/dev/rfrcomm%d', (0, 20), ['bluetooth']),
500 (Conn_IrDA_Other
, '/dev/ircomm%d', (0, 20), ['irda']),
501 (Conn_Cable
, '/dev/usb/tts/%d', (0, 20), ['serial', 'usb']),
504 ContactMemoryTypes
= ['ME', 'SM']
509 'ConcatenatedTextLong',
510 'ConcatenatedAutoTextLong',
511 'ConcatenatedTextLong16bit',
512 'ConcatenatedAutoTextLong16bit',
514 'NokiaVCALENDAR10Long'
522 'EMSSonyEricssonSound',
525 'EMSSonyEricssonSoundLong',
530 'AlcatelMonoAnimationLong',
531 'NokiaScreenSaverLong',
538 'NokiaPictureImageLong',
540 'NokiaOperatorLogoLong',
544 'EMSVariableBitmapLong',
545 'AlcatelMonoBitmapLong',
546 'AlcatelSMSTemplateName',
548 'PredefinedAnimation': [
549 'EMSPredefinedAnimation',
552 'EMSPredefinedSound',
557 [(_('Alignment'), _('None')),
558 ('Left', _('Left'), '<div align="left">%s</div>'),
559 ('Right', _('Right'), '<div align="right">%s</div>'),
560 ('Center', _('Center'), '<div align="center">%s</div>'),
562 [(_('Text Size'), _('Normal')),
563 ('Large', _('Large'), '<font size="+2">%s</font>'),
564 ('Small', _('Small'), '<font size="-2">%s</font>'),
566 ['', ('Bold', _('Bold'), '<b>%s</b>')],
567 ['', ('Italic', _('Italic'), '<i>%s</i>')],
568 ['', ('Underlined', _('Underlined'), '<u>%s</u>')],
569 ['', ('Strikethrough', _('Strikethrough'), '<strike>%s</strike>')],
572 # dump from Gammu Phone Database
597 'Sierra Wireless': 24,
624 # Generated from http://standards.ieee.org/regauth/oui/oui.txt