summaryrefslogtreecommitdiff
path: root/capplets/time-admin
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/time-admin
parent0470814242979fdf1fe3d78b8e203edf87156bdd (diff)
downloadmate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.bz2
mate-control-center-235e8ed2e122140a8476ba91b365ec92a5103530.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'capplets/time-admin')
-rw-r--r--capplets/time-admin/data/Makefile.am5
-rw-r--r--capplets/time-admin/data/mate-time-admin.desktop.in6
2 files changed, 7 insertions, 4 deletions
diff --git a/capplets/time-admin/data/Makefile.am b/capplets/time-admin/data/Makefile.am
index c6d7f65b..f9a03573 100644
--- a/capplets/time-admin/data/Makefile.am
+++ b/capplets/time-admin/data/Makefile.am
@@ -23,12 +23,13 @@ map/timezone_12.75_dim.png map/timezone_-3.png map/timezone_-6_dim.png
map/timezone_12.75.png map/timezone_3.png map/timezone_6_dim.png map/timezone_9.png \
map/timezone_12_dim.png map/timezone_-4.5_dim.png map/timezone_-6.png
-@INTLTOOL_DESKTOP_RULE@
-
desktopdir = $(datadir)/applications
desktop_in_files = mate-time-admin.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 $@
+
CLEANFILES = $(desktop_DATA)
EXTRA_DIST = \
$(desktop_in_files)
diff --git a/capplets/time-admin/data/mate-time-admin.desktop.in b/capplets/time-admin/data/mate-time-admin.desktop.in
index 5f8de5a6..bc08e122 100644
--- a/capplets/time-admin/data/mate-time-admin.desktop.in
+++ b/capplets/time-admin/data/mate-time-admin.desktop.in
@@ -1,11 +1,13 @@
[Desktop Entry]
-_Name=Time And Date Manager
-_Comment=Setting the time and date of the local system
+Name=Time And Date Manager
+Comment=Setting the time and date of the local system
Terminal=false
Type=Application
Exec=mate-time-admin
+# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
Icon=preferences-system-time
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;clock;date;time;preferences;
OnlyShowIn=MATE;