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/keybindings | |
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/keybindings')
-rw-r--r-- | capplets/keybindings/Makefile.am | 7 | ||||
-rw-r--r-- | capplets/keybindings/mate-keybinding.desktop.in | 6 |
2 files changed, 8 insertions, 5 deletions
diff --git a/capplets/keybindings/Makefile.am b/capplets/keybindings/Makefile.am index 022e006f..efa8c919 100644 --- a/capplets/keybindings/Makefile.am +++ b/capplets/keybindings/Makefile.am @@ -16,20 +16,21 @@ mate_keybinding_properties_SOURCES = \ eggaccelerators.c \ eggaccelerators.h -@INTLTOOL_DESKTOP_RULE@ - include $(top_srcdir)/gla11y.mk desktopdir = $(datadir)/applications Desktop_in_files = mate-keybinding.desktop.in desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) -@INTLTOOL_XML_NOMERGE_RULE@ +$(desktop_DATA): $(Desktop_in_files) + $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ xmldir = $(pkgdatadir)/keybindings xml_in_files = 00-multimedia-key.xml.in 01-desktop-key.xml.in xml_DATA = $(xml_in_files:.xml.in=.xml) +$(xml_DATA): $(xml_in_files) + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ pkgconfigdir = $(libdir)/pkgconfig pkgconfig_DATA = mate-keybindings.pc diff --git a/capplets/keybindings/mate-keybinding.desktop.in b/capplets/keybindings/mate-keybinding.desktop.in index d154d342..b67aad9b 100644 --- a/capplets/keybindings/mate-keybinding.desktop.in +++ b/capplets/keybindings/mate-keybinding.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] -_Name=Keyboard Shortcuts -_Comment=Assign shortcut keys to commands +Name=Keyboard Shortcuts +Comment=Assign shortcut keys to commands Exec=mate-keybinding-properties +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=preferences-desktop-keyboard-shortcuts 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;assign;keyboard;shortcuts;keybindings; OnlyShowIn=MATE; |