summaryrefslogtreecommitdiff
path: root/capplets/network
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-10-16 16:50:40 +0800
committerraveit65 <[email protected]>2019-11-07 13:20:17 +0100
commit235e8ed2e122140a8476ba91b365ec92a5103530 (patch)
treec072b4e510df11c859cbd69953b15cd886e27697 /capplets/network
parent0470814242979fdf1fe3d78b8e203edf87156bdd (diff)
downloadmate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.bz2
mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'capplets/network')
-rw-r--r--capplets/network/Makefile.am5
-rw-r--r--capplets/network/mate-network-properties.desktop.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/capplets/network/Makefile.am b/capplets/network/Makefile.am
index 7ac02281..90abdf1a 100644
--- a/capplets/network/Makefile.am
+++ b/capplets/network/Makefile.am
@@ -11,14 +11,15 @@ nodist_mate_network_properties_SOURCES = \
mate_network_properties_SOURCES = mate-network-properties.c
mate_network_properties_LDADD = $(MATECC_CAPPLETS_LIBS)
-@INTLTOOL_DESKTOP_RULE@
-
include $(top_srcdir)/gla11y.mk
desktopdir = $(datadir)/applications
desktop_in_files = mate-network-properties.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+
mate-network-properties-resources.h mate-network-properties-resources.c: org.mate.mcc.network.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.network.gresource.xml)
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name network $<
diff --git a/capplets/network/mate-network-properties.desktop.in b/capplets/network/mate-network-properties.desktop.in
index 5c2d2963..4d042578 100644
--- a/capplets/network/mate-network-properties.desktop.in
+++ b/capplets/network/mate-network-properties.desktop.in
@@ -1,11 +1,13 @@
[Desktop Entry]
-_Name=Network Proxy
-_Comment=Set your network proxy preferences
+Name=Network Proxy
+Comment=Set your network proxy preferences
Exec=mate-network-properties
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=network-server
Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Settings;X-MATE-NetworkSettings;
+# Translators: Search terms to find this application. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
Keywords=mate-control-center;MATE;network;http;socks;proxy;
OnlyShowIn=MATE;