diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/Makefile.am | 26 | ||||
-rw-r--r-- | data/org.gnome.PrepaidManager.gschema.xml.in.in | 43 |
2 files changed, 69 insertions, 0 deletions
diff --git a/data/Makefile.am b/data/Makefile.am new file mode 100644 index 0000000..d97af90 --- /dev/null +++ b/data/Makefile.am @@ -0,0 +1,26 @@ +NULL = + +gsettings_SCHEMAS = org.gnome.PrepaidManager.gschema.xml + +@INTLTOOL_XML_NOMERGE_RULE@ +@GSETTINGS_RULES@ + +%.gschema.xml.in: %.gschema.xml.in.in Makefile + $(AM_V_GEN) sed -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ + +# We need to compile schemas at make time +# to run from source tree +gschemas.compiled: $(gsettings_SCHEMAS:.xml=.valid) + $(AM_V_GEN) $(GLIB_COMPILE_SCHEMAS) --targetdir=. . + +all-local: gschemas.compiled + +EXTRA_DIST = \ + org.gnome.PrepaidManager.gschema.xml.in.in \ + $(NULL) + +CLEANFILES = \ + $(gsettings_SCHEMAS) \ + gschemas.compiled \ + $(NULL) + diff --git a/data/org.gnome.PrepaidManager.gschema.xml.in.in b/data/org.gnome.PrepaidManager.gschema.xml.in.in new file mode 100644 index 0000000..2b75c8e --- /dev/null +++ b/data/org.gnome.PrepaidManager.gschema.xml.in.in @@ -0,0 +1,43 @@ +<schemalist> + <schema id="org.gnome.PrepaidManager" path="/apps/prepaid-manager/" gettext-domain="@GETTEXT_PACKAGE@"> + <key name="accounts" type="as"> + <default>[]</default> + <_summary>Accounts</_summary> + <_description> + List of configured accounts. The account at your GSM/UMTS provider is + identified by the imsi on your SIM card. + </_description> + </key> + </schema> + + <schema id="org.gnome.PrepaidManager.account" gettext-domain="@GETTEXT_PACKAGE@"> + <key name="provider" type="s"> + <default>""</default> + <_summary>The providers name</_summary> + <_description> + The name of the mobile broadband provider. + </_description> + </key> + <key name="country" type="s"> + <default>""</default> + <_summary>The country the provider operates in</_summary> + <_description> + This is the country where you bought the SIM card. + </_description> + </key> + <key name="balance" type="s"> + <default>"The current balance is unknown."</default> + <_summary>Balance</_summary> + <_description> + The current balance of this account. + </_description> + </key> + <key name="timestamp" type="s"> + <default>""</default> + <_summary>Update timestamp</_summary> + <_description> + The last time the balance got updated. + </_description> + </key> + </schema> +</schemalist> |