summaryrefslogtreecommitdiff
path: root/panels
diff options
context:
space:
mode:
authorIñigo Martínez <inigomartinez@gmail.com>2017-09-11 22:05:40 +0200
committerBastien Nocera <hadess@hadess.net>2018-01-23 10:49:31 +0100
commit0dd386f405f49105880041202eeb270959ec3268 (patch)
tree64496538c87daec35a16a88293141b3fe0543247 /panels
parent811ba929d4986787277f685a13a43e47c9996236 (diff)
downloadgnome-control-center-0dd386f405f49105880041202eeb270959ec3268.tar.gz
build: Migrate from Intltool to Gettext
Recent versions of Gettext are able to translate several formats that are used in GNOME applications. This patch migrates from Intltool to Gettext by using meson's i18n features. https://bugzilla.gnome.org/show_bug.cgi?id=787588
Diffstat (limited to 'panels')
-rw-r--r--panels/background/gnome-background-panel.desktop.in.in6
-rw-r--r--panels/background/meson.build5
-rw-r--r--panels/bluetooth/gnome-bluetooth-panel.desktop.in.in6
-rw-r--r--panels/bluetooth/meson.build5
-rw-r--r--panels/color/gnome-color-panel.desktop.in.in6
-rw-r--r--panels/color/meson.build5
-rw-r--r--panels/datetime/gnome-datetime-panel.desktop.in.in6
-rw-r--r--panels/datetime/meson.build9
-rw-r--r--panels/datetime/org.gnome.controlcenter.datetime.policy.in4
-rw-r--r--panels/display/gnome-display-panel.desktop.in.in6
-rw-r--r--panels/display/meson.build7
-rw-r--r--panels/info/gnome-default-apps-panel.desktop.in.in6
-rw-r--r--panels/info/gnome-info-overview-panel.desktop.in.in6
-rw-r--r--panels/info/gnome-removable-media-panel.desktop.in.in6
-rw-r--r--panels/info/meson.build5
-rw-r--r--panels/keyboard/00-multimedia.xml.in22
-rw-r--r--panels/keyboard/01-input-sources.xml.in6
-rw-r--r--panels/keyboard/01-launchers.xml.in16
-rw-r--r--panels/keyboard/01-screenshot.xml.in16
-rw-r--r--panels/keyboard/01-system.xml.in6
-rw-r--r--panels/keyboard/50-accessibility.xml.in18
-rw-r--r--panels/keyboard/gnome-keybindings.its11
-rw-r--r--panels/keyboard/gnome-keybindings.loc6
-rw-r--r--panels/keyboard/gnome-keyboard-panel.desktop.in.in6
-rw-r--r--panels/keyboard/meson.build20
-rw-r--r--panels/mouse/gnome-mouse-panel.desktop.in.in6
-rw-r--r--panels/mouse/meson.build5
-rw-r--r--panels/network/gnome-network-panel.desktop.in.in6
-rw-r--r--panels/network/gnome-wifi-panel.desktop.in.in6
-rw-r--r--panels/network/meson.build5
-rw-r--r--panels/notifications/gnome-notifications-panel.desktop.in.in6
-rw-r--r--panels/notifications/meson.build5
-rw-r--r--panels/online-accounts/gnome-online-accounts-panel.desktop.in.in6
-rw-r--r--panels/online-accounts/meson.build5
-rw-r--r--panels/power/gnome-power-panel.desktop.in.in6
-rw-r--r--panels/power/meson.build5
-rw-r--r--panels/printers/gnome-printers-panel.desktop.in.in6
-rw-r--r--panels/printers/meson.build5
-rw-r--r--panels/privacy/gnome-privacy-panel.desktop.in.in6
-rw-r--r--panels/privacy/meson.build5
-rw-r--r--panels/region/gnome-region-panel.desktop.in.in6
-rw-r--r--panels/region/meson.build5
-rw-r--r--panels/search/gnome-search-panel.desktop.in.in6
-rw-r--r--panels/search/meson.build5
-rw-r--r--panels/sharing/gnome-sharing-panel.desktop.in.in6
-rw-r--r--panels/sharing/meson.build9
-rw-r--r--panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in4
-rw-r--r--panels/sound/data/gnome-sound-panel.desktop.in.in6
-rw-r--r--panels/sound/data/sounds/gnome-sounds-default.xml.in.in8
-rw-r--r--panels/sound/data/sounds/meson.build5
-rw-r--r--panels/sound/meson.build5
-rw-r--r--panels/universal-access/gnome-universal-access-panel.desktop.in.in6
-rw-r--r--panels/universal-access/meson.build5
-rw-r--r--panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in6
-rw-r--r--panels/user-accounts/meson.build9
-rw-r--r--panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in4
-rw-r--r--panels/wacom/gnome-wacom-panel.desktop.in.in6
-rw-r--r--panels/wacom/meson.build5
58 files changed, 199 insertions, 205 deletions
diff --git a/panels/background/gnome-background-panel.desktop.in.in b/panels/background/gnome-background-panel.desktop.in.in
index d78a07b63..b6ff16802 100644
--- a/panels/background/gnome-background-panel.desktop.in.in
+++ b/panels/background/gnome-background-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Background
-_Comment=Change your background image to a wallpaper or photo
+Name=Background
+Comment=Change your background image to a wallpaper or photo
Exec=gnome-control-center background
Icon=preferences-desktop-wallpaper
Terminal=false
@@ -10,4 +10,4 @@ StartupNotify=true
Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-PersonalizationSettings;
OnlyShowIn=GNOME;
# Translators: those are keywords for the background control-center panel
-_Keywords=Wallpaper;Screen;Desktop;
+Keywords=Wallpaper;Screen;Desktop;
diff --git a/panels/background/meson.build b/panels/background/meson.build
index 5ac5a6b67..bb34b69fb 100644
--- a/panels/background/meson.build
+++ b/panels/background/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in b/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
index 7f757d82a..2c2e6967b 100644
--- a/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
+++ b/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Bluetooth
-_Comment=Turn Bluetooth on and off and connect your devices
+Name=Bluetooth
+Comment=Turn Bluetooth on and off and connect your devices
Icon=bluetooth
Exec=gnome-control-center bluetooth
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-bluetooth
X-GNOME-Bugzilla-Component=properties
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the bluetooth control-center panel
-_Keywords=share;sharing;bluetooth;obex;
+Keywords=share;sharing;bluetooth;obex;
diff --git a/panels/bluetooth/meson.build b/panels/bluetooth/meson.build
index 573185ed8..76b05a1d7 100644
--- a/panels/bluetooth/meson.build
+++ b/panels/bluetooth/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/color/gnome-color-panel.desktop.in.in b/panels/color/gnome-color-panel.desktop.in.in
index a879ecc8b..0963bc36d 100644
--- a/panels/color/gnome-color-panel.desktop.in.in
+++ b/panels/color/gnome-color-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Color
-_Comment=Calibrate the color of your devices, such as displays, cameras or printers
+Name=Color
+Comment=Calibrate the color of your devices, such as displays, cameras or printers
Exec=gnome-control-center color
Icon=preferences-color
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=color
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the color control-center panel
-_Keywords=Color;ICC;Profile;Calibrate;Printer;Display;
+Keywords=Color;ICC;Profile;Calibrate;Printer;Display;
diff --git a/panels/color/meson.build b/panels/color/meson.build
index 2f800244f..36bd4be7d 100644
--- a/panels/color/meson.build
+++ b/panels/color/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/datetime/gnome-datetime-panel.desktop.in.in b/panels/datetime/gnome-datetime-panel.desktop.in.in
index dcf9a0007..0815c4e66 100644
--- a/panels/datetime/gnome-datetime-panel.desktop.in.in
+++ b/panels/datetime/gnome-datetime-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Date & Time
-_Comment=Change the date and time, including time zone
+Name=Date & Time
+Comment=Change the date and time, including time zone
Exec=gnome-control-center datetime
Icon=preferences-system-time
Terminal=false
@@ -10,4 +10,4 @@ StartupNotify=true
Categories=GNOME;GTK;Settings;X-GNOME-Settings-Panel;X-GNOME-DetailsSettings;
OnlyShowIn=GNOME;
# Translators: those are keywords for the date and time control-center panel
-_Keywords=Clock;Timezone;Location;
+Keywords=Clock;Timezone;Location;
diff --git a/panels/datetime/meson.build b/panels/datetime/meson.build
index 0ff209d2c..ba82618f2 100644
--- a/panels/datetime/meson.build
+++ b/panels/datetime/meson.build
@@ -7,22 +7,23 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
polkit = 'org.gnome.controlcenter.@0@.policy'.format(cappletname)
-custom_target(
+i18n.merge_file(
polkit,
input: polkit + '.in',
output: polkit,
- command: intltool_xml_cmd,
+ po_dir: po_dir,
install: true,
install_dir: join_paths(control_center_datadir, 'polkit-1', 'actions')
)
diff --git a/panels/datetime/org.gnome.controlcenter.datetime.policy.in b/panels/datetime/org.gnome.controlcenter.datetime.policy.in
index 5ac5be5ff..f9c115fcf 100644
--- a/panels/datetime/org.gnome.controlcenter.datetime.policy.in
+++ b/panels/datetime/org.gnome.controlcenter.datetime.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.gnome.org/</vendor_url>
<action id="org.gnome.controlcenter.datetime.configure">
- <_description>Change system time and date settings</_description>
- <_message>To change time or date settings, you need to authenticate.</_message>
+ <description>Change system time and date settings</description>
+ <message>To change time or date settings, you need to authenticate.</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
diff --git a/panels/display/gnome-display-panel.desktop.in.in b/panels/display/gnome-display-panel.desktop.in.in
index 2441c0edd..84c5e3768 100644
--- a/panels/display/gnome-display-panel.desktop.in.in
+++ b/panels/display/gnome-display-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Displays
-_Comment=Choose how to use connected monitors and projectors
+Name=Displays
+Comment=Choose how to use connected monitors and projectors
Exec=gnome-control-center display
Icon=preferences-desktop-display
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=Screen resolution
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the display control-center panel
-_Keywords=Panel;Projector;xrandr;Screen;Resolution;Refresh;Monitor;Night;Light;Blue;redshift;color;sunset;sunrise;
+Keywords=Panel;Projector;xrandr;Screen;Resolution;Refresh;Monitor;Night;Light;Blue;redshift;color;sunset;sunrise;
diff --git a/panels/display/meson.build b/panels/display/meson.build
index f5aab76f0..ee33b4355 100644
--- a/panels/display/meson.build
+++ b/panels/display/meson.build
@@ -7,13 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-# FIXME: You will need a recent intltool or the patch from this bug
-# http://bugzilla.gnome.org/show_bug.cgi?id=462312
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/info/gnome-default-apps-panel.desktop.in.in b/panels/info/gnome-default-apps-panel.desktop.in.in
index ea48dcbbf..218a7f84e 100644
--- a/panels/info/gnome-default-apps-panel.desktop.in.in
+++ b/panels/info/gnome-default-apps-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Default Applications
-_Comment=Configure Default Applications
+Name=Default Applications
+Comment=Configure Default Applications
Exec=gnome-control-center default-apps
Icon=starred
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=info
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the Default Applications panel
-_Keywords=default;application;preferred;media;
+Keywords=default;application;preferred;media;
diff --git a/panels/info/gnome-info-overview-panel.desktop.in.in b/panels/info/gnome-info-overview-panel.desktop.in.in
index d2bb4736b..88f133ea3 100644
--- a/panels/info/gnome-info-overview-panel.desktop.in.in
+++ b/panels/info/gnome-info-overview-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=About
-_Comment=View information about your system
+Name=About
+Comment=View information about your system
Exec=gnome-control-center info-overview
Icon=help-about
Terminal=false
@@ -16,4 +16,4 @@ X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the System Information panel
# "Preferred Applications" is the old name for the preference, so make
# sure that you use the same "translation" for those keywords
-_Keywords=device;system;information;memory;processor;version;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
+Keywords=device;system;information;memory;processor;version;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
diff --git a/panels/info/gnome-removable-media-panel.desktop.in.in b/panels/info/gnome-removable-media-panel.desktop.in.in
index 7c9de59f7..f4eab1830 100644
--- a/panels/info/gnome-removable-media-panel.desktop.in.in
+++ b/panels/info/gnome-removable-media-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Removable Media
-_Comment=Configure Removable Media settings
+Name=Removable Media
+Comment=Configure Removable Media settings
Exec=gnome-control-center removable-media
Icon=media-removable
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=info
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the Removable Media panel
-_Keywords=device;system;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
+Keywords=device;system;default;application;preferred;cd;dvd;usb;audio;video;disc;removable;media;autorun;
diff --git a/panels/info/meson.build b/panels/info/meson.build
index 6ed26770b..13015b96c 100644
--- a/panels/info/meson.build
+++ b/panels/info/meson.build
@@ -15,11 +15,12 @@ foreach name: panel_names
configuration: desktop_conf
)
- custom_target(
+ i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/keyboard/00-multimedia.xml.in b/panels/keyboard/00-multimedia.xml.in
index 7ad44884b..5216e0209 100644
--- a/panels/keyboard/00-multimedia.xml.in
+++ b/panels/keyboard/00-multimedia.xml.in
@@ -1,25 +1,25 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" _name="Sound and Media">
+<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" name="Sound and Media">
- <KeyListEntry name="volume-mute" _description="Volume mute"/>
+ <KeyListEntry name="volume-mute" description="Volume mute"/>
- <KeyListEntry name="volume-down" _description="Volume down"/>
+ <KeyListEntry name="volume-down" description="Volume down"/>
- <KeyListEntry name="volume-up" _description="Volume up"/>
+ <KeyListEntry name="volume-up" description="Volume up"/>
- <KeyListEntry name="media" _description="Launch media player"/>
+ <KeyListEntry name="media" description="Launch media player"/>
- <KeyListEntry name="play" _description="Play (or play/pause)"/>
+ <KeyListEntry name="play" description="Play (or play/pause)"/>
- <KeyListEntry name="pause" _description="Pause playback"/>
+ <KeyListEntry name="pause" description="Pause playback"/>
- <KeyListEntry name="stop" _description="Stop playback"/>
+ <KeyListEntry name="stop" description="Stop playback"/>
- <KeyListEntry name="previous" _description="Previous track"/>
+ <KeyListEntry name="previous" description="Previous track"/>
- <KeyListEntry name="next" _description="Next track"/>
+ <KeyListEntry name="next" description="Next track"/>
- <KeyListEntry name="eject" _description="Eject"/>
+ <KeyListEntry name="eject" description="Eject"/>
</KeyListEntries>
diff --git a/panels/keyboard/01-input-sources.xml.in b/panels/keyboard/01-input-sources.xml.in
index 3695d4701..355bba401 100644
--- a/panels/keyboard/01-input-sources.xml.in
+++ b/panels/keyboard/01-input-sources.xml.in
@@ -1,15 +1,15 @@
<?xml version="1.0" encoding="UTF-8" ?>
<KeyListEntries group="system"
schema="org.gnome.desktop.wm.keybindings"
- _name="Typing">
+ name="Typing">
<KeyListEntry name="switch-input-source"
reverse-entry="switch-input-source-backward"
- _description="Switch to next input source"/>
+ description="Switch to next input source"/>
<KeyListEntry name="switch-input-source-backward"
reverse-entry="switch-input-source"
is-reversed="true"
- _description="Switch to previous input source"/>
+ description="Switch to previous input source"/>
</KeyListEntries>
diff --git a/panels/keyboard/01-launchers.xml.in b/panels/keyboard/01-launchers.xml.in
index 3d798adea..67c83254b 100644
--- a/panels/keyboard/01-launchers.xml.in
+++ b/panels/keyboard/01-launchers.xml.in
@@ -1,19 +1,19 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" _name="Launchers">
+<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" name="Launchers">
- <KeyListEntry name="help" _description="Launch help browser"/>
+ <KeyListEntry name="help" description="Launch help browser"/>
- <KeyListEntry name="control-center" _description="Settings"/>
+ <KeyListEntry name="control-center" description="Settings"/>
- <KeyListEntry name="calculator" _description="Launch calculator"/>
+ <KeyListEntry name="calculator" description="Launch calculator"/>
- <KeyListEntry name="email" _description="Launch email client"/>
+ <KeyListEntry name="email" description="Launch email client"/>
- <KeyListEntry name="www" _description="Launch web browser"/>
+ <KeyListEntry name="www" description="Launch web browser"/>
- <KeyListEntry name="home" _description="Home folder"/>
+ <KeyListEntry name="home" description="Home folder"/>
- <_KeyListEntry name="search" description="Search" msgctxt="keybinding">Search</_KeyListEntry>
+ <KeyListEntry name="search" description="Search" msgctxt="keybinding">Search</KeyListEntry>
</KeyListEntries>
diff --git a/panels/keyboard/01-screenshot.xml.in b/panels/keyboard/01-screenshot.xml.in
index 5a6afec16..002bd385e 100644
--- a/panels/keyboard/01-screenshot.xml.in
+++ b/panels/keyboard/01-screenshot.xml.in
@@ -1,29 +1,29 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" _name="Screenshots">
+<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" name="Screenshots">
<!-- translators: $PICTURES will be replaced by the name of the XDG Pictures directory -->
<KeyListEntry name="screenshot"
- _description="Save a screenshot to $PICTURES"/>
+ description="Save a screenshot to $PICTURES"/>
<!-- translators: $PICTURES will be replaced by the name of the XDG Pictures directory -->
<KeyListEntry name="window-screenshot"
- _description="Save a screenshot of a window to $PICTURES"/>
+ description="Save a screenshot of a window to $PICTURES"/>
<!-- translators: $PICTURES will be replaced by the name of the XDG Pictures directory -->
<KeyListEntry name="area-screenshot"
- _description="Save a screenshot of an area to $PICTURES"/>
+ description="Save a screenshot of an area to $PICTURES"/>
<KeyListEntry name="screenshot-clip"
- _description="Copy a screenshot to clipboard"/>
+ description="Copy a screenshot to clipboard"/>
<KeyListEntry name="window-screenshot-clip"
- _description="Copy a screenshot of a window to clipboard"/>
+ description="Copy a screenshot of a window to clipboard"/>
<KeyListEntry name="area-screenshot-clip"
- _description="Copy a screenshot of an area to clipboard"/>
+ description="Copy a screenshot of an area to clipboard"/>
<KeyListEntry name="screencast"
- _description="Record a short screencast"/>
+ description="Record a short screencast"/>
</KeyListEntries>
diff --git a/panels/keyboard/01-system.xml.in b/panels/keyboard/01-system.xml.in
index 0ce2afe18..1fcf78b66 100644
--- a/panels/keyboard/01-system.xml.in
+++ b/panels/keyboard/01-system.xml.in
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" _name="System">
+<KeyListEntries group="system" schema="org.gnome.settings-daemon.plugins.media-keys" name="System">
- <KeyListEntry name="logout" _description="Log out"/>
+ <KeyListEntry name="logout" description="Log out"/>
- <KeyListEntry name="screensaver" _description="Lock screen"/>
+ <KeyListEntry name="screensaver" description="Lock screen"/>
</KeyListEntries>
diff --git a/panels/keyboard/50-accessibility.xml.in b/panels/keyboard/50-accessibility.xml.in
index 8ad09f1b6..d8b24b8cf 100644
--- a/panels/keyboard/50-accessibility.xml.in
+++ b/panels/keyboard/50-accessibility.xml.in
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="UTF-8"?>
-<KeyListEntries group="system" _name="Universal Access" schema="org.gnome.settings-daemon.plugins.media-keys">
+<KeyListEntries group="system" name="Universal Access" schema="org.gnome.settings-daemon.plugins.media-keys">
- <KeyListEntry name="magnifier" _description="Turn zoom on or off"/>
+ <KeyListEntry name="magnifier" description="Turn zoom on or off"/>
- <KeyListEntry name="magnifier-zoom-in" _description="Zoom in"/>
+ <KeyListEntry name="magnifier-zoom-in" description="Zoom in"/>
- <KeyListEntry name="magnifier-zoom-out" _description="Zoom out"/>
+ <KeyListEntry name="magnifier-zoom-out" description="Zoom out"/>
- <KeyListEntry name="screenreader" _description="Turn screen reader on or off"/>
+ <KeyListEntry name="screenreader" description="Turn screen reader on or off"/>
- <KeyListEntry name="on-screen-keyboard" _description="Turn on-screen keyboard on or off"/>
+ <KeyListEntry name="on-screen-keyboard" description="Turn on-screen keyboard on or off"/>
- <KeyListEntry name="increase-text-size" _description="Increase text size"/>
+ <KeyListEntry name="increase-text-size" description="Increase text size"/>
- <KeyListEntry name="decrease-text-size" _description="Decrease text size"/>
+ <KeyListEntry name="decrease-text-size" description="Decrease text size"/>
- <KeyListEntry name="toggle-contrast" _description="High contrast on or off"/>
+ <KeyListEntry name="toggle-contrast" description="High contrast on or off"/>
</KeyListEntries>
diff --git a/panels/keyboard/gnome-keybindings.its b/panels/keyboard/gnome-keybindings.its
deleted file mode 100644
index 4d4b7c6ee..000000000
--- a/panels/keyboard/gnome-keybindings.its
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0"?>
-<its:rules xmlns:its="http://www.w3.org/2005/11/its" version="2.0">
- <its:translateRule selector="/KeyListEntries" translate="no"/>
- <its:translateRule selector="/KeyListEntries/@name" translate="yes"/>
- <its:translateRule selector="//KeyListEntry" translate="no"/>
- <its:translateRule selector="//KeyListEntry/@description" translate="yes"/>
-
- <!-- Extracted strings are consumed by the library and are never
- merged back; we don't want to escape special characters. -->
- <gt:escapeRule selector="/KeyListEntries" escape="no"/>
-</its:rules>
diff --git a/panels/keyboard/gnome-keybindings.loc b/panels/keyboard/gnome-keybindings.loc
deleted file mode 100644
index b75fb688c..000000000
--- a/panels/keyboard/gnome-keybindings.loc
+++ /dev/null
@@ -1,6 +0,0 @@
-<?xml version="1.0"?>
-<locatingRules>
- <locatingRule name="GnomeKeybindings" pattern="*.xml">
- <documentRule localName="KeyListEntries" target="gnome-keybindings.its"/>
- </locatingRule>
-</locatingRules>
diff --git a/panels/keyboard/gnome-keyboard-panel.desktop.in.in b/panels/keyboard/gnome-keyboard-panel.desktop.in.in
index 5bbb05741..41fc47478 100644
--- a/panels/keyboard/gnome-keyboard-panel.desktop.in.in
+++ b/panels/keyboard/gnome-keyboard-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Keyboard
-_Comment=View and change keyboard shortcuts and set your typing preferences
+Name=Keyboard
+Comment=View and change keyboard shortcuts and set your typing preferences
Exec=gnome-control-center keyboard
Icon=input-keyboard
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=keyboard
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the keyboard control-center panel
-_Keywords=Shortcut;Workspace;Window;Resize;Zoom;Contrast;Input;Source;Lock;Volume;
+Keywords=Shortcut;Workspace;Window;Resize;Zoom;Contrast;Input;Source;Lock;Volume;
diff --git a/panels/keyboard/meson.build b/panels/keyboard/meson.build
index e2f79bc28..47f0f7610 100644
--- a/panels/keyboard/meson.build
+++ b/panels/keyboard/meson.build
@@ -7,25 +7,16 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
-its_data = files(
- 'gnome-keybindings.its',
- 'gnome-keybindings.loc'
-)
-
-install_data(
- its_data,
- install_dir: join_paths(control_center_datadir, 'gettext', 'its')
-)
-
pc_conf = configuration_data()
pc_conf.set('prefix', control_center_prefix)
pc_conf.set('datarootdir', control_center_datadir)
@@ -53,11 +44,12 @@ xml_files = [
]
foreach file: xml_files
- custom_target(
+ i18n.merge_file(
file,
input: file + '.in',
output: file,
- command: [intltool_merge, '-x', '-u', '--no-translations', '@INPUT@', '@OUTPUT@'],
+ po_dir: po_dir,
+ data_dirs: its_dir,
install: true,
install_dir: join_paths(control_center_pkgdatadir, 'keybindings')
)
diff --git a/panels/mouse/gnome-mouse-panel.desktop.in.in b/panels/mouse/gnome-mouse-panel.desktop.in.in
index ae016749c..3a11747c3 100644
--- a/panels/mouse/gnome-mouse-panel.desktop.in.in
+++ b/panels/mouse/gnome-mouse-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Mouse & Touchpad
-_Comment=Change your mouse or touchpad sensitivity and select right or left-handed
+Name=Mouse & Touchpad
+Comment=Change your mouse or touchpad sensitivity and select right or left-handed
Exec=gnome-control-center mouse
Icon=input-mouse
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=mouse
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the mouse and touchpad control-center panel
-_Keywords=Trackpad;Pointer;Click;Tap;Double;Button;Trackball;Scroll;
+Keywords=Trackpad;Pointer;Click;Tap;Double;Button;Trackball;Scroll;
diff --git a/panels/mouse/meson.build b/panels/mouse/meson.build
index c4ee3f179..2f4b6b866 100644
--- a/panels/mouse/meson.build
+++ b/panels/mouse/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/network/gnome-network-panel.desktop.in.in b/panels/network/gnome-network-panel.desktop.in.in
index 4cfdbbd7b..9139dbe81 100644
--- a/panels/network/gnome-network-panel.desktop.in.in
+++ b/panels/network/gnome-network-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Network
-_Comment=Control how you connect to the Internet
+Name=Network
+Comment=Control how you connect to the Internet
Exec=gnome-control-center network
Icon=network-workgroup
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=network
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the network control-center panel
-_Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Modem;Bluetooth;vpn;DNS;
+Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Proxy;WAN;Broadband;Modem;Bluetooth;vpn;DNS;
diff --git a/panels/network/gnome-wifi-panel.desktop.in.in b/panels/network/gnome-wifi-panel.desktop.in.in
index 0727d1e3a..74a181fad 100644
--- a/panels/network/gnome-wifi-panel.desktop.in.in
+++ b/panels/network/gnome-wifi-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Wi-Fi
-_Comment=Control how you connect to Wi-Fi networks
+Name=Wi-Fi
+Comment=Control how you connect to Wi-Fi networks
Exec=gnome-control-center wifi
Icon=network-wireless
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=network
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the wi-fi control-center panel
-_Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Broadband;DNS;
+Keywords=Network;Wireless;Wi-Fi;Wifi;IP;LAN;Broadband;DNS;
diff --git a/panels/network/meson.build b/panels/network/meson.build
index f9b4f7e57..8036d79f8 100644
--- a/panels/network/meson.build
+++ b/panels/network/meson.build
@@ -22,11 +22,12 @@ foreach name: panel_names
configuration: desktop_conf
)
- custom_target(
+ i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/notifications/gnome-notifications-panel.desktop.in.in b/panels/notifications/gnome-notifications-panel.desktop.in.in
index bd98e1cbd..d0f9e8e61 100644
--- a/panels/notifications/gnome-notifications-panel.desktop.in.in
+++ b/panels/notifications/gnome-notifications-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Notifications
-_Comment=Control which notifications are displayed and what they show
+Name=Notifications
+Comment=Control which notifications are displayed and what they show
Exec=gnome-control-center notifications
Icon=preferences-system-notifications
Terminal=false
@@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Component=Notifications
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-Settings-Panel=notifications
# Translators: those are keywords for the notifications control-center panel
-_Keywords=Notifications;Banner;Message;Tray;Popup;
+Keywords=Notifications;Banner;Message;Tray;Popup;
diff --git a/panels/notifications/meson.build b/panels/notifications/meson.build
index b332eac10..97a623fcb 100644
--- a/panels/notifications/meson.build
+++ b/panels/notifications/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/online-accounts/gnome-online-accounts-panel.desktop.in.in b/panels/online-accounts/gnome-online-accounts-panel.desktop.in.in
index 551dcd8cf..86bd282ff 100644
--- a/panels/online-accounts/gnome-online-accounts-panel.desktop.in.in
+++ b/panels/online-accounts/gnome-online-accounts-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Online Accounts
-_Comment=Connect to your online accounts and decide what to use them for
+Name=Online Accounts
+Comment=Connect to your online accounts and decide what to use them for
Exec=gnome-control-center online-accounts
Icon=goa-panel
Terminal=false
@@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Component=Online Accounts
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the online-accounts control-center panel
# For ReadItLater and Pocket, see http://en.wikipedia.org/wiki/Pocket_(application)
-_Keywords=Google;Facebook;Twitter;Yahoo;Web;Online;Chat;Calendar;Mail;Contact;ownCloud;Kerberos;IMAP;SMTP;Pocket;ReadItLater;
+Keywords=Google;Facebook;Twitter;Yahoo;Web;Online;Chat;Calendar;Mail;Contact;ownCloud;Kerberos;IMAP;SMTP;Pocket;ReadItLater;
diff --git a/panels/online-accounts/meson.build b/panels/online-accounts/meson.build
index 1b196b050..597a1ad60 100644
--- a/panels/online-accounts/meson.build
+++ b/panels/online-accounts/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/power/gnome-power-panel.desktop.in.in b/panels/power/gnome-power-panel.desktop.in.in
index 0622b9764..3e6ca2610 100644
--- a/panels/power/gnome-power-panel.desktop.in.in
+++ b/panels/power/gnome-power-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Power
-_Comment=View your battery status and change power saving settings
+Name=Power
+Comment=View your battery status and change power saving settings
Exec=gnome-control-center power
Icon=gnome-power-manager
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=power
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the power control-center panel
-_Keywords=Power;Sleep;Suspend;Hibernate;Battery;Brightness;Dim;Blank;Monitor;DPMS;Idle;
+Keywords=Power;Sleep;Suspend;Hibernate;Battery;Brightness;Dim;Blank;Monitor;DPMS;Idle;
diff --git a/panels/power/meson.build b/panels/power/meson.build
index da9b6d178..25695ca47 100644
--- a/panels/power/meson.build
+++ b/panels/power/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/printers/gnome-printers-panel.desktop.in.in b/panels/printers/gnome-printers-panel.desktop.in.in
index 4653e06f2..d085a0af7 100644
--- a/panels/printers/gnome-printers-panel.desktop.in.in
+++ b/panels/printers/gnome-printers-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Printers
-_Comment=Add printers, view printer jobs and decide how you want to print
+Name=Printers
+Comment=Add printers, view printer jobs and decide how you want to print
Exec=gnome-control-center printers
Icon=printer
Terminal=false
@@ -11,4 +11,4 @@ StartupNotify=true
Categories=GNOME;GTK;Settings;HardwareSettings;X-GNOME-Settings-Panel;X-GNOME-DevicesSettings;
OnlyShowIn=GNOME;Unity;
# Translators: those are keywords for the printing control-center panel
-_Keywords=Printer;Queue;Print;Paper;Ink;Toner;
+Keywords=Printer;Queue;Print;Paper;Ink;Toner;
diff --git a/panels/printers/meson.build b/panels/printers/meson.build
index 82bae7747..6be8590c7 100644
--- a/panels/printers/meson.build
+++ b/panels/printers/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/privacy/gnome-privacy-panel.desktop.in.in b/panels/privacy/gnome-privacy-panel.desktop.in.in
index a52ca789d..dda53a9fc 100644
--- a/panels/privacy/gnome-privacy-panel.desktop.in.in
+++ b/panels/privacy/gnome-privacy-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Privacy
-_Comment=Protect your personal information and control what others might see
+Name=Privacy
+Comment=Protect your personal information and control what others might see
Exec=gnome-control-center privacy
# FIXME
Icon=preferences-system-privacy
@@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=privacy
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the privacy control-center panel
-_Keywords=screen;lock;diagnostics;crash;private;recent;temporary;tmp;index;name;network;identity;
+Keywords=screen;lock;diagnostics;crash;private;recent;temporary;tmp;index;name;network;identity;
diff --git a/panels/privacy/meson.build b/panels/privacy/meson.build
index 98fe32595..a929451e8 100644
--- a/panels/privacy/meson.build
+++ b/panels/privacy/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/region/gnome-region-panel.desktop.in.in b/panels/region/gnome-region-panel.desktop.in.in
index e03467e81..e9c5406ad 100644
--- a/panels/region/gnome-region-panel.desktop.in.in
+++ b/panels/region/gnome-region-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Region & Language
-_Comment=Select your display language, formats, keyboard layouts and input sources
+Name=Region & Language
+Comment=Select your display language, formats, keyboard layouts and input sources
Exec=gnome-control-center region
Icon=preferences-desktop-locale
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=region
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the region control-center panel
-_Keywords=Language;Layout;Keyboard;Input;
+Keywords=Language;Layout;Keyboard;Input;
diff --git a/panels/region/meson.build b/panels/region/meson.build
index dcc51891e..5bca266c0 100644
--- a/panels/region/meson.build
+++ b/panels/region/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/search/gnome-search-panel.desktop.in.in b/panels/search/gnome-search-panel.desktop.in.in
index 1eec2ad93..363bfcd98 100644
--- a/panels/search/gnome-search-panel.desktop.in.in
+++ b/panels/search/gnome-search-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Search
-_Comment=Control which applications show search results in the Activities Overview
+Name=Search
+Comment=Control which applications show search results in the Activities Overview
Exec=gnome-control-center search
Icon=preferences-system-search
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=search
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the search control-center panel
-_Keywords=Search;Find;Index;Hide;Privacy;Results;
+Keywords=Search;Find;Index;Hide;Privacy;Results;
diff --git a/panels/search/meson.build b/panels/search/meson.build
index d31ee955e..0081674c4 100644
--- a/panels/search/meson.build
+++ b/panels/search/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/sharing/gnome-sharing-panel.desktop.in.in b/panels/sharing/gnome-sharing-panel.desktop.in.in
index 9f86118a5..81b55ec3c 100644
--- a/panels/sharing/gnome-sharing-panel.desktop.in.in
+++ b/panels/sharing/gnome-sharing-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Sharing
-_Comment=Control what you want to share with others
+Name=Sharing
+Comment=Control what you want to share with others
Exec=gnome-control-center sharing
Icon=preferences-system-sharing
Terminal=false
@@ -11,4 +11,4 @@ Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-Acc
OnlyShowIn=GNOME;Unity;
X-GNOME-Settings-Panel=sharing
# Translators: those are keywords for the sharing control-center panel
-_Keywords=share;sharing;ssh;host;name;remote;desktop;media;audio;video;pictures;photos;movies;server;renderer;
+Keywords=share;sharing;ssh;host;name;remote;desktop;media;audio;video;pictures;photos;movies;server;renderer;
diff --git a/panels/sharing/meson.build b/panels/sharing/meson.build
index 7f0bdfb15..5caac36c0 100644
--- a/panels/sharing/meson.build
+++ b/panels/sharing/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
@@ -27,11 +28,11 @@ polkit_in = configure_file(
configuration: polkit_conf
)
-custom_target(
+i18n.merge_file(
polkit,
input: polkit_in,
output: polkit,
- command: intltool_xml_cmd,
+ po_dir: po_dir,
install: true,
install_dir: join_paths(control_center_datadir, 'polkit-1', 'actions')
)
diff --git a/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in b/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
index 9032941e0..7fabac2ff 100644
--- a/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
+++ b/panels/sharing/org.gnome.controlcenter.remote-login-helper.policy.in.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.gnome.org/</vendor_url>
<action id="org.gnome.controlcenter.remote-login-helper">
- <_description>Enable or disable remote login</_description>
- <_message>Authentication is required to enable or disable remote login</_message>
+ <description>Enable or disable remote login</description>
+ <message>Authentication is required to enable or disable remote login</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
diff --git a/panels/sound/data/gnome-sound-panel.desktop.in.in b/panels/sound/data/gnome-sound-panel.desktop.in.in
index 25b4f7ad6..3b2dc3653 100644
--- a/panels/sound/data/gnome-sound-panel.desktop.in.in
+++ b/panels/sound/data/gnome-sound-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Sound
-_Comment=Change sound levels, inputs, outputs, and alert sounds
+Name=Sound
+Comment=Change sound levels, inputs, outputs, and alert sounds
Exec=gnome-control-center sound
Icon=multimedia-volume-control
Terminal=false
@@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Component=sound
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-Settings-Panel=sound
# Translators: those are keywords for the sound control-center panel
-_Keywords=Card;Microphone;Volume;Fade;Balance;Bluetooth;Headset;Audio;
+Keywords=Card;Microphone;Volume;Fade;Balance;Bluetooth;Headset;Audio;
diff --git a/panels/sound/data/sounds/gnome-sounds-default.xml.in.in b/panels/sound/data/sounds/gnome-sounds-default.xml.in.in
index b0574bc5e..9563fa9da 100644
--- a/panels/sound/data/sounds/gnome-sounds-default.xml.in.in
+++ b/panels/sound/data/sounds/gnome-sounds-default.xml.in.in
@@ -3,25 +3,25 @@
<sound deleted="false">
<!-- Translators: This is the name of an audio file that sounds like the bark of a dog.
You might want to translate it into the equivalent words of your language. -->
- <_name>Bark</_name>
+ <name>Bark</name>
<filename>@datadir@/sounds/gnome/default/alerts/bark.ogg</filename>
</sound>
<sound deleted="false">
<!-- Translators: This is the name of an audio file that sounds like a water drip.
You might want to translate it into the equivalent words of your language. -->
- <_name>Drip</_name>
+ <name>Drip</name>
<filename>@datadir@/sounds/gnome/default/alerts/drip.ogg</filename>
</sound>
<sound deleted="false">
<!-- Translators: This is the name of an audio file that sounds like tapping glass.
You might want to translate it into the equivalent words of your language. -->
- <_name>Glass</_name>
+ <name>Glass</name>
<filename>@datadir@/sounds/gnome/default/alerts/glass.ogg</filename>
</sound>
<sound deleted="false">
<!-- Translators: This is the name of an audio file that sounds sort of like a submarine sonar ping.
You might want to translate it into the equivalent words of your language. -->
- <_name>Sonar</_name>
+ <name>Sonar</name>
<filename>@datadir@/sounds/gnome/default/alerts/sonar.ogg</filename>
</sound>
</sounds>
diff --git a/panels/sound/data/sounds/meson.build b/panels/sound/data/sounds/meson.build
index 2d9321aa6..0cdc48267 100644
--- a/panels/sound/data/sounds/meson.build
+++ b/panels/sound/data/sounds/meson.build
@@ -21,11 +21,12 @@ metadata_in = configure_file(
configuration: metadata_conf
)
-custom_target(
+i18n.merge_file(
metadata,
input: metadata_in,
output: metadata,
- command: intltool_xml_cmd,
+ po_dir: po_dir,
+ data_dirs: its_dir,
install: true,
install_dir: join_paths(control_center_pkgdatadir, 'sounds')
)
diff --git a/panels/sound/meson.build b/panels/sound/meson.build
index 7acb59c2a..5a3bc9ac7 100644
--- a/panels/sound/meson.build
+++ b/panels/sound/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/universal-access/gnome-universal-access-panel.desktop.in.in b/panels/universal-access/gnome-universal-access-panel.desktop.in.in
index 10fd7cf1e..91296c226 100644
--- a/panels/universal-access/gnome-universal-access-panel.desktop.in.in
+++ b/panels/universal-access/gnome-universal-access-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Universal Access
-_Comment=Make it easier to see, hear, type, point and click
+Name=Universal Access
+Comment=Make it easier to see, hear, type, point and click
Exec=gnome-control-center universal-access
Icon=preferences-desktop-accessibility
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=Universal Access
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the universal access control-center panel
-_Keywords=Keyboard;Mouse;a11y;Accessibility;Contrast;Zoom;Screen;Reader;text;font;size;AccessX;Sticky;Keys;Slow;Bounce;Mouse;Double;click;Delay;Assist;Repeat;Blink;
+Keywords=Keyboard;Mouse;a11y;Accessibility;Contrast;Zoom;Screen;Reader;text;font;size;AccessX;Sticky;Keys;Slow;Bounce;Mouse;Double;click;Delay;Assist;Repeat;Blink;
diff --git a/panels/universal-access/meson.build b/panels/universal-access/meson.build
index 5b193f9d8..d7983f200 100644
--- a/panels/universal-access/meson.build
+++ b/panels/universal-access/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
diff --git a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
index 3399a4fdd..ed91ba970 100644
--- a/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
+++ b/panels/user-accounts/data/gnome-user-accounts-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Users
-_Comment=Add or remove users and change your password
+Name=Users
+Comment=Add or remove users and change your password
Exec=gnome-control-center user-accounts
Icon=system-users
Terminal=false
@@ -15,4 +15,4 @@ X-GNOME-Bugzilla-Component=user-accounts
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-Settings-Panel=user-accounts
# Translators: those are keywords for the user accounts control-center panel
-_Keywords=Login;Name;Fingerprint;Avatar;Logo;Face;Password;
+Keywords=Login;Name;Fingerprint;Avatar;Logo;Face;Password;
diff --git a/panels/user-accounts/meson.build b/panels/user-accounts/meson.build
index 5d44f5406..1673db053 100644
--- a/panels/user-accounts/meson.build
+++ b/panels/user-accounts/meson.build
@@ -7,11 +7,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)
@@ -50,11 +51,11 @@ install_data(
polkit = 'org.gnome.controlcenter.@0@.policy'.format(cappletname)
-custom_target(
+i18n.merge_file(
polkit,
input: polkit + '.in',
output: polkit,
- command: intltool_xml_cmd,
+ po_dir: po_dir,
install: true,
install_dir: join_paths(control_center_datadir, 'polkit-1', 'actions')
)
diff --git a/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in b/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
index 0f11b2912..7d9e68614 100644
--- a/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
+++ b/panels/user-accounts/org.gnome.controlcenter.user-accounts.policy.in
@@ -8,8 +8,8 @@
<vendor_url>http://www.gnome.org/</vendor_url>
<action id="org.gnome.controlcenter.user-accounts.administration">
- <_description>Manage user accounts</_description>
- <_message>Authentication is required to change user data</_message>
+ <description>Manage user accounts</description>
+ <message>Authentication is required to change user data</message>
<defaults>
<allow_any>no</allow_any>
<allow_inactive>no</allow_inactive>
diff --git a/panels/wacom/gnome-wacom-panel.desktop.in.in b/panels/wacom/gnome-wacom-panel.desktop.in.in
index 3e562b742..38277ed05 100644
--- a/panels/wacom/gnome-wacom-panel.desktop.in.in
+++ b/panels/wacom/gnome-wacom-panel.desktop.in.in
@@ -1,6 +1,6 @@
[Desktop Entry]
-_Name=Wacom Tablet
-_Comment=Set button mappings and adjust stylus sensitivity for graphics tablets
+Name=Wacom Tablet
+Comment=Set button mappings and adjust stylus sensitivity for graphics tablets
Exec=gnome-control-center wacom
Icon=input-tablet
Terminal=false
@@ -14,4 +14,4 @@ X-GNOME-Bugzilla-Product=gnome-control-center
X-GNOME-Bugzilla-Component=wacom
X-GNOME-Bugzilla-Version=@VERSION@
# Translators: those are keywords for the wacom tablet control-center panel
-_Keywords=Tablet;Wacom;Stylus;Eraser;Mouse;
+Keywords=Tablet;Wacom;Stylus;Eraser;Mouse;
diff --git a/panels/wacom/meson.build b/panels/wacom/meson.build
index 7feea2211..dbd9748d4 100644
--- a/panels/wacom/meson.build
+++ b/panels/wacom/meson.build
@@ -20,11 +20,12 @@ desktop_in = configure_file(
configuration: desktop_conf
)
-custom_target(
+i18n.merge_file(
desktop,
+ type: 'desktop',
input: desktop_in,
output: desktop,
- command: intltool_desktop_cmd,
+ po_dir: po_dir,
install: true,
install_dir: control_center_desktopdir
)