summaryrefslogtreecommitdiff
path: root/capplets/mouse
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/mouse
parent0470814242979fdf1fe3d78b8e203edf87156bdd (diff)
downloadmate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.bz2
mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'capplets/mouse')
-rw-r--r--capplets/mouse/Makefile.am5
-rw-r--r--capplets/mouse/mate-settings-mouse.desktop.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/capplets/mouse/Makefile.am b/capplets/mouse/Makefile.am
index 8ba2fd12..8494f986 100644
--- a/capplets/mouse/Makefile.am
+++ b/capplets/mouse/Makefile.am
@@ -14,14 +14,15 @@ mate_mouse_properties_SOURCES = \
msd-input-helper.c \
msd-input-helper.h
-@INTLTOOL_DESKTOP_RULE@
-
include $(top_srcdir)/gla11y.mk
desktopdir = $(datadir)/applications
Desktop_in_files = mate-settings-mouse.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-mouse-properties-resources.h mate-mouse-properties-resources.c: org.mate.mcc.mouse.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.mouse.gresource.xml)
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mouse $<
diff --git a/capplets/mouse/mate-settings-mouse.desktop.in b/capplets/mouse/mate-settings-mouse.desktop.in
index d309131e..0cfa1e6e 100644
--- a/capplets/mouse/mate-settings-mouse.desktop.in
+++ b/capplets/mouse/mate-settings-mouse.desktop.in
@@ -1,11 +1,13 @@
[Desktop Entry]
-_Name=Mouse
-_Comment=Set your mouse preferences
+Name=Mouse
+Comment=Set your mouse preferences
Exec=mate-mouse-properties
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=input-mouse
Terminal=false
Type=Application
StartupNotify=true
Categories=GTK;Settings;HardwareSettings;
+# 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;mouse;preferences;
OnlyShowIn=MATE;