From 397335baee8c21654b0a55b23c22edbff21d39b3 Mon Sep 17 00:00:00 2001 From: infirit Date: Sun, 6 Sep 2015 18:08:40 +0200 Subject: Bump required intltool version for gsettings support And mark the gschema accordingly in POTFILES --- libmateweather/Makefile.am | 10 +- libmateweather/org.mate.weather.gschema.xml.in | 175 ++++++++++++++++++++++ libmateweather/org.mate.weather.gschema.xml.in.in | 175 ---------------------- 3 files changed, 179 insertions(+), 181 deletions(-) create mode 100644 libmateweather/org.mate.weather.gschema.xml.in delete mode 100644 libmateweather/org.mate.weather.gschema.xml.in.in (limited to 'libmateweather') diff --git a/libmateweather/Makefile.am b/libmateweather/Makefile.am index b97a4f7..330dd46 100644 --- a/libmateweather/Makefile.am +++ b/libmateweather/Makefile.am @@ -86,14 +86,12 @@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = mateweather.pc @INTLTOOL_XML_NOMERGE_RULE@ -gsettings_SCHEMAS = org.mate.weather.gschema.xml +gsettingsschema_in_files = org.mate.weather.gschema.xml.in +gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml) @GSETTINGS_RULES@ -%.gschema.xml.in: %.gschema.xml.in.in Makefile - $(AM_V_GEN) $(SED) -e 's^\@GETTEXT_PACKAGE\@^$(GETTEXT_PACKAGE)^g' < $< > $@ +EXTRA_DIST = mateweather.pc.in mateweather-uninstalled.pc.in $(gsettingsschema_in_files) -EXTRA_DIST = mateweather.pc.in mateweather-uninstalled.pc.in $(gsettings_SCHEMAS).in.in - -CLEANFILES = $(noinst_PROGRAMS) $(BUILT_SOURCES) $(gsettings_SCHEMAS).in $(gsettings_SCHEMAS) *.gschema.valid +CLEANFILES = $(noinst_PROGRAMS) $(BUILT_SOURCES) $(gsettings_SCHEMAS) *.gschema.valid -include $(top_srcdir)/git.mk diff --git a/libmateweather/org.mate.weather.gschema.xml.in b/libmateweather/org.mate.weather.gschema.xml.in new file mode 100644 index 0000000..c482563 --- /dev/null +++ b/libmateweather/org.mate.weather.gschema.xml.in @@ -0,0 +1,175 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + false + Show notifications + Determines whether the applet shows a notification on each update. + + + true + Update the data automatically + Determines whether the applet automatically updates its weather statistics or not. + + + 1800 + Update interval + The interval, in seconds, between automatic updates. + + + false + Use metric units + Use metric units instead of english units. + + + + <_default l10n="messages">'miles' + Distance unit + The unit to use for visibility. Values: 'meters', 'km' ,'miles'. + + + + <_default l10n="messages">'inHg' + Pressure unit + The unit to use for pressure. Values: 'kPa', 'hPa', 'mb', 'mmHg', 'inHg, 'atm'. + + + + <_default l10n="messages">'knots' + Speed unit + The unit to use for wind speed. Values: 'm/s', 'km/h, 'mph', 'knots', 'Beaufort scale'. + + + + <_default l10n="messages">'Fahrenheit' + Temperature unit + The unit to use for temperature. Values: 'Kelvin', 'Centigrade', 'Fahrenheit'. + + + false + Not used anymore + + + false + Display radar map + Fetch a radar map on each update. + + + + <_default l10n="messages">'DEFAULT_LOCATION' + Weather location information + Weather location information. + + + + <_default l10n="messages">'DEFAULT_CODE' + Nearby city + Nearby major zone, such as a capital city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in + + + + <_default l10n="messages">'DEFAULT_ZONE' + Zone location + A unique zone for the city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in + + + + <_default l10n="messages">'DEFAULT_RADAR' + Radar location + A three-digit-long code for retrieving radar maps from weather.com, found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in + + + <_default l10n="messages">'DEFAULT_LOCATION' + Weather for a city + The city that mateweather displays information for. + + + + <_default l10n="messages">'DEFAULT_COORDINATES' + Location coordinates + Latitude and longitude of your location expressed in DD-MM-SS[NS] DD-MM-SS[EW]. + + + false + Use custom url for the radar map + If true, then retrieve a radar map from a location specified by the "radar" key. + + + '' + Url for the radar map + The custom url from where to retrieve a radar map. + + + diff --git a/libmateweather/org.mate.weather.gschema.xml.in.in b/libmateweather/org.mate.weather.gschema.xml.in.in deleted file mode 100644 index 2289b38..0000000 --- a/libmateweather/org.mate.weather.gschema.xml.in.in +++ /dev/null @@ -1,175 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - false - <_summary>Show notifications - <_description>Determines whether the applet shows a notification on each update. - - - true - <_summary>Update the data automatically - <_description>Determines whether the applet automatically updates its weather statistics or not. - - - 1800 - <_summary>Update interval - <_description>The interval, in seconds, between automatic updates. - - - false - <_summary>Use metric units - <_description>Use metric units instead of english units. - - - - <_default l10n="messages">'miles' - <_summary>Distance unit - <_description>The unit to use for visibility. Values: 'meters', 'km' ,'miles'. - - - - <_default l10n="messages">'inHg' - <_summary>Pressure unit - <_description>The unit to use for pressure. Values: 'kPa', 'hPa', 'mb', 'mmHg', 'inHg, 'atm'. - - - - <_default l10n="messages">'knots' - <_summary>Speed unit - <_description>The unit to use for wind speed. Values: 'm/s', 'km/h, 'mph', 'knots', 'Beaufort scale'. - - - - <_default l10n="messages">'Fahrenheit' - <_summary>Temperature unit - <_description>The unit to use for temperature. Values: 'Kelvin', 'Centigrade', 'Fahrenheit'. - - - false - <_summary>Not used anymore - - - false - <_summary>Display radar map - <_description>Fetch a radar map on each update. - - - - <_default l10n="messages">'DEFAULT_LOCATION' - <_summary>Weather location information - <_description>Weather location information. - - - - <_default l10n="messages">'DEFAULT_CODE' - <_summary>Nearby city - <_description>Nearby major zone, such as a capital city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in - - - - <_default l10n="messages">'DEFAULT_ZONE' - <_summary>Zone location - <_description>A unique zone for the city, as found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in - - - - <_default l10n="messages">'DEFAULT_RADAR' - <_summary>Radar location - <_description>A three-digit-long code for retrieving radar maps from weather.com, found from https://raw.github.com/mate-desktop/libmateweather/master/data/Locations.xml.in - - - <_default l10n="messages">'DEFAULT_LOCATION' - <_summary>Weather for a city - <_description>The city that mateweather displays information for. - - - - <_default l10n="messages">'DEFAULT_COORDINATES' - <_summary>Location coordinates - <_description>Latitude and longitude of your location expressed in DD-MM-SS[NS] DD-MM-SS[EW]. - - - false - <_summary>Use custom url for the radar map - <_description>If true, then retrieve a radar map from a location specified by the "radar" key. - - - '' - <_summary>Url for the radar map - <_description>The custom url from where to retrieve a radar map. - - - -- cgit v1.2.1