diff options
Diffstat (limited to 'capplets/display')
-rw-r--r-- | capplets/display/Makefile.am | 10 | ||||
-rw-r--r-- | capplets/display/mate-display-properties.desktop.in | 6 | ||||
-rw-r--r-- | capplets/display/org.mate.randr.policy.in | 4 |
3 files changed, 11 insertions, 9 deletions
diff --git a/capplets/display/Makefile.am b/capplets/display/Makefile.am index 058e206d..c5e92882 100644 --- a/capplets/display/Makefile.am +++ b/capplets/display/Makefile.am @@ -37,16 +37,16 @@ polkit_policydir = $(datadir)/polkit-1/actions dist_polkit_policy_DATA = \ org.mate.randr.policy -# You will need a recent intltool or the patch from this bug -# http://bugzilla.gnome.org/show_bug.cgi?id=462312 -@INTLTOOL_POLICY_RULE@ - -@INTLTOOL_DESKTOP_RULE@ +%.policy: %.policy.in + $(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ desktopdir = $(datadir)/applications Desktop_in_files = mate-display-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 $@ + AM_CPPFLAGS = $(DISPLAY_CAPPLET_CFLAGS) \ $(MATECC_CAPPLETS_CFLAGS) \ -DSBINDIR="\"$(sbindir)\"" \ diff --git a/capplets/display/mate-display-properties.desktop.in b/capplets/display/mate-display-properties.desktop.in index 59de1d13..8e99251b 100644 --- a/capplets/display/mate-display-properties.desktop.in +++ b/capplets/display/mate-display-properties.desktop.in @@ -1,11 +1,13 @@ [Desktop Entry] -_Name=Displays -_Comment=Change resolution and position of monitors and projectors +Name=Displays +Comment=Change resolution and position of monitors and projectors Exec=mate-display-properties +# Translators: Do NOT translate or transliterate this text (this is an icon file name)! Icon=preferences-desktop-display 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;resolution;position;monitors;display;properties; OnlyShowIn=MATE; diff --git a/capplets/display/org.mate.randr.policy.in b/capplets/display/org.mate.randr.policy.in index 0024d822..880449bb 100644 --- a/capplets/display/org.mate.randr.policy.in +++ b/capplets/display/org.mate.randr.policy.in @@ -14,8 +14,8 @@ <icon_name>mate-display-properties</icon_name> <action id="org.mate.randr.install-system-wide"> - <_description>Install multi-monitor settings for the whole system</_description> - <_message>Authentication is required to install multi-monitor settings for all users</_message> + <description>Install multi-monitor settings for the whole system</description> + <message>Authentication is required to install multi-monitor settings for all users</message> <icon_name>mate-display-properties</icon_name> <defaults> <allow_any>no</allow_any> |