diff options
author | Wu Xiaotian <[email protected]> | 2019-10-16 16:50:40 +0800 |
---|---|---|
committer | raveit65 <[email protected]> | 2019-11-07 13:20:17 +0100 |
commit | 235e8ed2e122140a8476ba91b365ec92a5103530 (patch) | |
tree | c072b4e510df11c859cbd69953b15cd886e27697 /capplets/keyboard | |
parent | 0470814242979fdf1fe3d78b8e203edf87156bdd (diff) | |
download | mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.bz2 mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.xz |
migrate from intltool to gettext
Diffstat (limited to 'capplets/keyboard')
-rw-r--r-- | capplets/keyboard/Makefile.am | 5 | ||||
-rw-r--r-- | capplets/keyboard/mate-keyboard.desktop.in | 6 |
2 files changed, 7 insertions, 4 deletions
diff --git a/capplets/keyboard/Makefile.am b/capplets/keyboard/Makefile.am index 7a9858ad..0581eee6 100644 --- a/capplets/keyboard/Makefile.am +++ b/capplets/keyboard/Makefile.am @@ -27,14 +27,15 @@ mate_keyboard_properties_SOURCES = \ mate_keyboard_properties_LDADD = $(MATECC_CAPPLETS_LIBS) $(LIBMATEKBDUI_LIBS) -@INTLTOOL_DESKTOP_RULE@ - include $(top_srcdir)/gla11y.mk desktopdir = $(datadir)/applications Desktop_in_files = mate-keyboard.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-keyboard-properties-resources.h mate-keyboard-properties-resources.c: org.mate.mcc.keyboard.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.keyboard.gresource.xml) $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name keyboard $< diff --git a/capplets/keyboard/mate-keyboard.desktop.in b/capplets/keyboard/mate-keyboard.desktop.in index e7458a41..97987aa8 100644 --- a/capplets/keyboard/mate-keyboard.desktop.in +++ b/capplets/keyboard/mate-keyboard.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] -_Name=Keyboard -_Comment=Set your keyboard preferences +Name=Keyboard +Comment=Set your keyboard preferences Exec=mate-keyboard-properties +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=input-keyboard 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;keyboard;preferences; OnlyShowIn=MATE; |