Commit f3bcc5ed authored by Guido Gunther's avatar Guido Gunther
Browse files

Initial commit

parents
config.log
config.status
aclocal.m4
autom4te.cache/
configure
COPYING
gnome-doc-utils.make
INSTALL
install-sh
Makefile
Makefile.in
missing
mkinstalldirs
prepaid-manager-applet-*.tar.gz
Prepaid Manager Applet code is developed by:
Guido Günther <agx@sigxcpu.org>
NULL =
SUBDIRS = src po
DISTCLEANFILES = \
intltool-extract \
intltool-merge \
intltool-update \
gnome-doc-utils.make \
$(NULL)
About
-----
prepaid-manager-applet aims to ease the handling of mobile internet connections
using GSM mobile prepaid cards on the GNOME Desktop. Such a SIM card can either
be in a mobile phone used as a modem, a usb 3g module (usb surf stick) or used
by the built in 3G chipset in your laptop/netbook.
* It allows you to check the current balance and to top up the credit.
* It uses ModemManager to talk to your GSM chipset.
Requirements
------------
* ModemManager with ussd support (current git)
* mobile-broadband-provider-info with top-up support:
http://git.debian.org/?p=users/agx/mobile-broadband-provider-info.git
* pygtk2 >= 2.17
Project Page
------------
https://honk.sigxcpu.org/piki/projects/ppm
Contact
-------
Send comments, patches and suggestions to
Guido Günther <agx@sigxcpu.org>
* Add raw mode to send arbitrary USSD commands
* Remember settings with gsettings
* Switch to PyGI
* Collect balance statistics in sqlitedb
* Handle multiple modems
* Add support for SMS top-up messages as used by some providers
#!/bin/sh
# Run this to generate all the initial makefiles, etc.
srcdir=`dirname $0`
test -z "$srcdir" && srcdir=.
REQUIRED_AUTOMAKE_VERSION=1.9
REQUIRED_INTLTOOL_VERSION=0.35.0
PKG_NAME=prepaid-manager-applet
(test -f $srcdir/configure.ac \
&& test -f $srcdir/src/prepaid-manager-applet.py) || {
echo -n "**Error**: Directory "\`$srcdir\'" does not look like the"
echo " top-level $PKG_NAME directory"
exit 1
}
which gnome-autogen.sh || {
echo "You need to install gnome-common from the GNOME git"
exit 1
}
USE_GNOME2_MACROS=1 . gnome-autogen.sh
# -*- Autoconf -*-
AC_PREREQ([2.67])
AC_INIT([prepaid-manager-applet], [0.0.0],
[http://honk.sigxcpu.org/projects/prepaid-manager.py])
AM_INIT_AUTOMAKE([-Wno-portability])
IT_PROG_INTLTOOL([0.35.0])
GETTEXT_PACKAGE=prepaid-manager-applet
AC_SUBST(GETTEXT_PACKAGE)
AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE,"$GETTEXT_PACKAGE", [Gettext package])
AM_GLIB_GNU_GETTEXT
GNOME_DOC_INIT
AC_CONFIG_FILES([
Makefile
po/Makefile.in
src/Makefile
src/ppm/Makefile
])
AC_OUTPUT
*.gmo
.intltool-merge-cache
Makefile.in.in
POTFILES
stamp-it
[type: gettext/glade]src/ppm.ui
[type: gettext/glade]src/ppm-modem-request.ui
[type: gettext/glade]src/ppm-provider-assistant.ui
src/prepaid-manager-applet.desktop.in
src/prepaid-manager-applet.py
# German translation of prepaid-manager-applet
# Copyright (C) 2010 Guido Günther <agx@sigxcpu.org>
# This file is distributed under the same license as the prepaid-manager-applet
# package.
# Guido Günther <agx@sigxcpu.org>, 2010
#
msgid ""
msgstr ""
"Project-Id-Version: 0.0.1\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2010-11-17 18:32+0100\n"
"PO-Revision-Date: 2010-11-11 13:38+0100\n"
"Last-Translator: Guido Günther <agx@sigxcpu.org>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
"Language: German\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
#: ../src/ppm.ui.h:1
msgid "Balance"
msgstr "Guthaben"
#: ../src/ppm.ui.h:2
msgid "Balance information from"
msgstr "Guthaben Information vom"
#: ../src/ppm.ui.h:3
msgid "Balance unknown"
msgstr "Guthaben unbekannt"
#: ../src/ppm.ui.h:4
msgid "Change provider"
msgstr "Provider wechseln"
#: ../src/ppm.ui.h:5
msgid "Check your prepaid cards balance."
msgstr "Überprüfen Sie das Guthaben auf ihrer Prepaid Karte."
#: ../src/ppm.ui.h:6
msgid "Code:"
msgstr "Code:"
#: ../src/ppm.ui.h:7
msgid "Enter code to top up credit to your prepaid card."
msgstr "Geben Sie den Code ein um Guthaben auf ihre Prepaid-Karte zu laden."
#: ../src/ppm.ui.h:8 ../src/ppm-modem-request.ui.h:1
#: ../src/prepaid-manager-applet.desktop.in.h:1
msgid "Prepaid Manager"
msgstr "Prepaid Manager"
#: ../src/ppm.ui.h:9
msgid "Provider:"
msgstr "Provider:"
#: ../src/ppm.ui.h:10
msgid "Top up"
msgstr "Aufladen"
#: ../src/ppm.ui.h:11
msgid "Top up your prepaid accounts balance"
msgstr ""
#: ../src/ppm.ui.h:12
msgid "change"
msgstr ""
#: ../src/ppm.ui.h:13
msgid "check"
msgstr ""
#: ../src/ppm.ui.h:14
msgid "top up"
msgstr "Aufladen"
#: ../src/ppm.ui.h:15
msgid "unknown"
msgstr "unbekannt"
#: ../src/ppm.ui.h:16
msgid "unknown provider"
msgstr "unbekannter Provider"
#: ../src/ppm-modem-request.ui.h:2
msgid "Sending request to modem"
msgstr "Sende Anfrage an das Modem"
#: ../src/ppm-modem-request.ui.h:3
msgid "Waiting for reply..."
msgstr "Warte auf Antwort..."
#: ../src/ppm-provider-assistant.ui.h:1
msgid "Check your selection"
msgstr "Überprüfen Sie Ihre Auswahl"
#: ../src/ppm-provider-assistant.ui.h:2
msgid "Please select the country of your mobile broadband provider."
msgstr ""
#: ../src/ppm-provider-assistant.ui.h:3
msgid "Please select your mobile broadband provider."
msgstr ""
#: ../src/ppm-provider-assistant.ui.h:4
msgid ""
"Prepaid Manager couldn't autodetect your mobile broadband provider. The "
"following pages will guide you through the process of setting it up."
msgstr ""
#: ../src/ppm-provider-assistant.ui.h:5
msgid "Provider configuration"
msgstr "Provider Konfiguration"
#: ../src/ppm-provider-assistant.ui.h:6
msgid "Select your country"
msgstr "Wählen Sie ihr Land aus"
#: ../src/ppm-provider-assistant.ui.h:7
msgid "Select your provider"
msgstr "Wählen Sie ihren Provider aus"
#: ../src/ppm-provider-assistant.ui.h:8
msgid "Your mobile broadband provider is"
msgstr "Ihr Provider für den mobilen Breitbandanschluß ist"
#: ../src/ppm-provider-assistant.ui.h:9
msgid "in"
msgstr "in"
#: ../src/prepaid-manager-applet.desktop.in.h:2
msgid "Prepaid Manager Applet for GSM"
msgstr "Prepaid Manager Applet für GSM"
#: ../src/prepaid-manager-applet.py:281
msgid "Enable Modem?"
msgstr "Modem aktivieren?"
#: ../src/prepaid-manager-applet.py:395
#, python-format
msgid ""
"We can't find the information on how to query the account balance from your "
"provider '%s' in our database."
msgstr ""
#: ../src/prepaid-manager-applet.py:398
#, python-format
msgid ""
"We can't find any information about your provider with mcc '%s' and mnc '%s'."
msgstr ""
#: ../src/prepaid-manager-applet.py:401
#, python-format
msgid ""
"\n"
"\n"
"You can go to %s to learn how to provide that information."
msgstr ""
#~ msgid "Statistics"
#~ msgstr "Statistiken"
prepaid-manager-applet
prepaid-manager-applet.desktop
*.pyc
SUBDIRS = ppm
bin_SCRIPTS_IN = prepaid-manager-applet.in
bin_SCRIPTS = prepaid-manager-applet
desktopdir = $(datadir)/applications
desktop_in_files = prepaid-manager-applet.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
pythondir = $(pkgdatadir)
python_DATA = $(PACKAGE).py
EXTRA_DIST = $(python_DATA) $(desktop_in_files) $(ui_DATA)
@INTLTOOL_DESKTOP_RULE@
uidir = $(pkgdatadir)
ui_DATA = $(wildcard $(srcdir)/*.ui)
$(PACKAGE): $(srcdir)/$(PACKAGE).in
sed -e "s,::PACKAGE::,$(PACKAGE)," -e "s,::PYTHONDIR::,$(pkgdatadir)," < $< > $@
CLEANFILES = *.pyc $(desktop_DATA) $(bin_SCRIPTS)
<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkDialog" id="ppm_modem_request">
<property name="border_width">5</property>
<property name="title" translatable="yes">Prepaid Manager</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="skip_taskbar_hint">True</property>
<property name="skip_pager_hint">True</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkLabel" id="label_processing">
<property name="visible">True</property>
<property name="label" translatable="yes">Sending request to modem</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">10</property>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkProgressBar" id="progressbar">
<property name="visible">True</property>
<property name="activity_mode">True</property>
<property name="show_text">True</property>
<property name="text" translatable="yes">Waiting for reply...</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">10</property>
<property name="position">2</property>
</packing>
</child>
<child internal-child="action_area">
<object class="GtkHButtonBox" id="dialog-action_area1">
<property name="visible">True</property>
<property name="layout_style">end</property>
<child>
<placeholder/>
</child>
<child>
<placeholder/>
</child>
</object>
<packing>
<property name="expand">False</property>
<property name="pack_type">end</property>
<property name="position">0</property>
</packing>
</child>
</object>
</child>
</object>
</interface>
<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkListStore" id="liststore_providers">
<columns>
<!-- column-name column_provider -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkListStore" id="liststore_countries">
<columns>
<!-- column-name column_countries -->
<column type="gchararray"/>
<!-- column-name column_country_codes -->
<column type="gchararray"/>
</columns>
</object>
<object class="GtkAssistant" id="ppm_provider_assistant">
<property name="border_width">12</property>
<property name="title">Provider Configuration</property>
<property name="modal">True</property>
<property name="destroy_with_parent">True</property>
<property name="type_hint">dialog</property>
<property name="skip-pager-hint">True</property>
<property name="skip-taskbar-hint">True</property>
<signal name="prepare" handler="on_ppm_provider_assistant_prepare"/>
<signal name="cancel" handler="on_ppm_provider_assistant_cancel"/>
<signal name="close" handler="on_ppm_provider_assistant_close"/>
<child>
<placeholder/>
</child>
<child>
<object class="GtkLabel" id="label1">
<property name="visible">True</property>
<property name="label" translatable="yes">Prepaid Manager couldn't autodetect your mobile broadband provider. The following pages will guide you through the process of setting it up.</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="page_type">intro</property>
<property name="complete">True</property>
<property name="title" translatable="yes">Provider configuration</property>
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox_countries">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label_countries">
<property name="visible">True</property>
<property name="label" translatable="yes">Please select the country of your mobile broadband provider.</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">10</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="treeview_countries">
<property name="height_request">200</property>
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="model">liststore_countries</property>
<property name="search_column">0</property>
<signal name="cursor_changed" handler="on_treeview_countries_changed"/>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn1">
<property name="title">Country</property>
<property name="sort_column_id">0</property>
<child>
<object class="GtkCellRendererText" id="renderer_countries"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="title" translatable="yes">Select your country</property>
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox_providers">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label_providers">
<property name="visible">True</property>
<property name="label" translatable="yes">Please select your mobile broadband provider.</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="expand">False</property>
<property name="fill">False</property>
<property name="padding">10</property>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkScrolledWindow" id="scrolledwindow2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="hscrollbar_policy">automatic</property>
<property name="vscrollbar_policy">automatic</property>
<property name="shadow_type">in</property>
<child>
<object class="GtkTreeView" id="treeview_providers">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="model">liststore_providers</property>
<property name="search_column">0</property>
<signal name="cursor_changed" handler="on_treeview_providers_changed"/>
<child>
<object class="GtkTreeViewColumn" id="treeviewcolumn_providers">
<property name="title">Providers</property>
<property name="sort_column_id">0</property>
<child>
<object class="GtkCellRendererText" id="renderer_providers"/>
<attributes>
<attribute name="text">0</attribute>
</attributes>
</child>
</object>
</child>
</object>
</child>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
</object>
<packing>
<property name="title" translatable="yes">Select your provider</property>
</packing>
</child>
<child>
<object class="GtkVBox" id="vbox_confirm">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label_provider0">
<property name="visible">True</property>
<property name="label" translatable="yes">Your mobile broadband provider is</property>
<property name="wrap">True</property>
</object>
<packing>
<property name="position">0</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_provider">
<property name="visible">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="position">1</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_country0">
<property name="visible">True</property>
<property name="label" translatable="yes">in</property>
</object>
<packing>
<property name="position">2</property>
</packing>
</child>
<child>
<object class="GtkLabel" id="label_country">
<property name="visible">True</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
<packing>
<property name="position">3</property>
</packing>
</child>
</object>
<packing>
<property name="page_type">confirm</property>
<property name="complete">True</property>
<property name="title" translatable="yes">Check your selection</property>
</packing>
</child>
</object>
</interface>
<?xml version="1.0"?>
<interface>
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy project-wide -->
<object class="GtkDialog" id="ppm_dialog">
<property name="border_width">5</property>
<property name="title" translatable="yes">Prepaid Manager</property>
<property name="type_hint">dialog</property>
<property name="has_separator">False</property>
<child internal-child="vbox">
<object class="GtkVBox" id="dialog-vbox1">
<property name="visible">True</property>
<property name="orientation">vertical</property>
<property name="spacing">2</property>
<child>
<object class="GtkNotebook" id="notebook1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<child>
<object class="GtkTable" id="table_balance">
<property name="visible">True</property>
<property name="n_rows">3</property>
<property name="n_columns">3</property>
<property name="column_spacing">4</property>
<property name="row_spacing">4</property>
<child>
<object class="GtkLabel" id="label_provider">
<property name="visible">True</property>
<property name="label" translatable="yes">Provider:</property>
</object>