[totem/wip/inigomartinez/meson-improve: 13/14] plugins: Migrate plugins from Intltool to Gettext



commit 740669ba8c6a691a4e7f1fdbf6e49b49eaa1dad3
Author: Iñigo Martínez <inigomartinez gmail com>
Date:   Mon Feb 19 21:33:05 2018 +0100

    plugins: Migrate plugins from Intltool to Gettext
    
    This patch migrates plugins files from Intltool to Gettext by using
    meson's i18n features. However, the migration has workarounds for
    two issues.
    
    The first issue lies in the fact that, even though the `plugin` uses
    the Desktop entry specification[0], it is not recongnized as such by
    gettext because it uses the file extension to detect the supported
    files.
    
    The second issue resides in the translatable entries used by the
    `plugin` files: `Name` and `Description`. Although `Name` is part
    of the default keyworks, `Description` is not.
    
    As a workaround for these problems, the files has been renamed to
    include the `desktop` extension, which helps gettext detecting
    the `plugin` files. After the translation merge process they are
    renamed to their right name without the `desktop` extension.
    
    The default procedure to extract the translatable strings and
    merge them has also been changed. New targets have been included
    to generate the `pot` file and merge the translations.
    
    [0] https://specifications.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html

 meson.build                                        |    5 -
 po/POTFILES.in                                     |  111 ++++++++++----------
 po/POTFILES.skip                                   |    4 +-
 po/meson.build                                     |    6 +-
 ....plugin.in => apple-trailers.plugin.desktop.in} |    4 +-
 ...gin.in => autoload-subtitles.plugin.desktop.in} |    4 +-
 ....in => brasero-disc-recorder.plugin.desktop.in} |    4 +-
 ...ice.plugin.in => dbusservice.plugin.desktop.in} |    4 +-
 .../{gromit.plugin.in => gromit.plugin.desktop.in} |    4 +-
 ...tatus.plugin.in => im-status.plugin.desktop.in} |    4 +-
 .../{lirc.plugin.in => lirc.plugin.desktop.in}     |    4 +-
 ...ugin.in => media-player-keys.plugin.desktop.in} |    4 +-
 src/plugins/meson.build                            |   14 ++-
 ...lugin.in => movie-properties.plugin.desktop.in} |    4 +-
 .../{ontop.plugin.in => ontop.plugin.desktop.in}   |    4 +-
 ...s.plugin.in => opensubtitles.plugin.desktop.in} |    4 +-
 ...e.plugin.in => pythonconsole.plugin.desktop.in} |    4 +-
 .../{recent.plugin.in => recent.plugin.desktop.in} |    4 +-
 ...tation.plugin.in => rotation.plugin.desktop.in} |    4 +-
 ...ala.plugin.in => sample-vala.plugin.desktop.in} |    4 +-
 ...on.plugin.in => samplepython.plugin.desktop.in} |    4 +-
 ...-file.plugin.in => save-file.plugin.desktop.in} |    4 +-
 ...ver.plugin.in => screensaver.plugin.desktop.in} |    4 +-
 ...shot.plugin.in => screenshot.plugin.desktop.in} |    4 +-
 .../{skipto.plugin.in => skipto.plugin.desktop.in} |    4 +-
 ...e.plugin.in => variable-rate.plugin.desktop.in} |    4 +-
 .../{vimeo.plugin.in => vimeo.plugin.desktop.in}   |    4 +-
 ...dp.plugin.in => zeitgeist-dp.plugin.desktop.in} |    4 +-
 28 files changed, 120 insertions(+), 112 deletions(-)
---
diff --git a/meson.build b/meson.build
index 48886b7..70b4886 100644
--- a/meson.build
+++ b/meson.build
@@ -216,11 +216,6 @@ pkg = import('pkgconfig')
 
 po_dir = join_paths(meson.source_root(), 'po')
 
-intltool_merge = find_program('intltool-merge')
-intltool_cache = join_paths(po_dir, '.intltool-merge-cache')
-intltool_desktop_cmd = [intltool_merge, '-d', '-u', '-c', intltool_cache, po_dir, '@INPUT@', '@OUTPUT@']
-intltool_xml_cmd = [intltool_merge, '-x', '-u', '-c', intltool_cache, po_dir, '@INPUT@', '@OUTPUT@']
-
 top_inc = include_directories('.')
 
 subdir('po')
diff --git a/po/POTFILES.in b/po/POTFILES.in
index fd14fb9..21305db 100644
--- a/po/POTFILES.in
+++ b/po/POTFILES.in
@@ -1,84 +1,83 @@
 # List of source files containing translatable strings.
 # Please keep this file sorted alphabetically.
-[encoding: UTF-8]
 data/appdata/org.gnome.Totem.appdata.xml.in
-[type: gettext/glade]data/controls.ui
+data/controls.ui
 data/org.gnome.Totem.desktop.in.in
-[type: gettext/gsettings]data/org.gnome.totem.gschema.xml.in
-[type: gettext/glade]data/playlist.ui
-[type: gettext/glade]data/preferences.ui
-[type: gettext/glade]data/properties.ui
-[type: gettext/glade]data/shortcuts.ui
-[type: gettext/glade]data/totem.ui
-[type: gettext/glade]data/uri.ui
+data/org.gnome.totem.gschema.xml.in
+data/playlist.ui
+data/preferences.ui
+data/properties.ui
+data/shortcuts.ui
+data/totem.ui
+data/uri.ui
 src/backend/bacon-time-label.c
 src/backend/bacon-video-widget.c
 src/backend/bacon-video-widget-gst-missing-plugins.c
+src/grilo.ui
 src/gst/totem-time-helpers.c
-src/properties/bacon-video-widget-properties.c
-[type: gettext/glade]src/grilo.ui
-src/totem.c
-src/totem-gallery-thumbnailer.c
-src/totem-grilo.c
-src/totem-interface.c
-src/totem-main-toolbar.c
-[type: gettext/glade]src/totemmaintoolbar.ui
-src/totem-menu.c
-src/totem-object.c
-src/totem-open-location.c
-src/totem-options.c
-src/totem-playlist.c
-src/totem-preferences.c
-src/totem-properties-main.c
-src/totem-properties-view.c
-[type: gettext/glade]src/totemselectiontoolbar.ui
-src/totem-subtitle-encoding.c
-src/totem-time-label.c
-src/totem-uri.c
-src/totem-video-thumbnailer.c
-[type: gettext/ini]src/plugins/apple-trailers/apple-trailers.plugin.in
-[type: gettext/ini]src/plugins/autoload-subtitles/autoload-subtitles.plugin.in
-[type: gettext/ini]src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.in
+src/plugins/apple-trailers/apple-trailers.plugin.desktop.in
+src/plugins/autoload-subtitles/autoload-subtitles.plugin.desktop.in
+src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.desktop.in
 src/plugins/brasero-disc-recorder/totem-disc-recorder.c
-[type: gettext/ini]src/plugins/dbusservice/dbusservice.plugin.in
+src/plugins/dbusservice/dbusservice.plugin.desktop.in
 src/plugins/dbusservice/dbusservice.py
-[type: gettext/ini]src/plugins/gromit/gromit.plugin.in
+src/plugins/gromit/gromit.plugin.desktop.in
 src/plugins/gromit/totem-gromit.c
-[type: gettext/ini]src/plugins/im-status/im-status.plugin.in
+src/plugins/im-status/im-status.plugin.desktop.in
 src/plugins/im-status/totem-im-status.c
-[type: gettext/ini]src/plugins/lirc/lirc.plugin.in
+src/plugins/lirc/lirc.plugin.desktop.in
 src/plugins/lirc/totem-lirc.c
-[type: gettext/ini]src/plugins/media-player-keys/media-player-keys.plugin.in
-[type: gettext/ini]src/plugins/movie-properties/movie-properties.plugin.in
+src/plugins/media-player-keys/media-player-keys.plugin.desktop.in
+src/plugins/movie-properties/movie-properties.plugin.desktop.in
 src/plugins/movie-properties/totem-movie-properties.c
-[type: gettext/ini]src/plugins/ontop/ontop.plugin.in
-[type: gettext/ini]src/plugins/opensubtitles/opensubtitles.plugin.in
+src/plugins/ontop/ontop.plugin.desktop.in
+src/plugins/opensubtitles/opensubtitles.plugin.desktop.in
 src/plugins/opensubtitles/opensubtitles.py
-[type: gettext/glade]src/plugins/opensubtitles/opensubtitles.ui
-[type: gettext/gsettings]src/plugins/opensubtitles/org.gnome.totem.plugins.opensubtitles.gschema.xml.in
-[type: gettext/gsettings]src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
-[type: gettext/ini]src/plugins/pythonconsole/pythonconsole.plugin.in
+src/plugins/opensubtitles/opensubtitles.ui
+src/plugins/opensubtitles/org.gnome.totem.plugins.opensubtitles.gschema.xml.in
+src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
+src/plugins/pythonconsole/pythonconsole.plugin.desktop.in
 src/plugins/pythonconsole/pythonconsole.py
-[type: gettext/ini]src/plugins/recent/recent.plugin.in
-[type: gettext/ini]src/plugins/rotation/rotation.plugin.in
+src/plugins/recent/recent.plugin.desktop.in
+src/plugins/rotation/rotation.plugin.desktop.in
 src/plugins/rotation/totem-rotation-plugin.vala
-[type: gettext/ini]src/plugins/save-file/save-file.plugin.in
+src/plugins/save-file/save-file.plugin.desktop.in
 src/plugins/save-file/totem-save-file.c
-[type: gettext/ini]src/plugins/screensaver/screensaver.plugin.in
+src/plugins/screensaver/screensaver.plugin.desktop.in
 src/plugins/screensaver/totem-screensaver.c
-[type: gettext/glade]src/plugins/screenshot/gallery.ui
+src/plugins/screenshot/gallery.ui
 src/plugins/screenshot/screenshot-filename-builder.c
-[type: gettext/ini]src/plugins/screenshot/screenshot.plugin.in
+src/plugins/screenshot/screenshot.plugin.desktop.in
 src/plugins/screenshot/totem-gallery.c
 src/plugins/screenshot/totem-gallery-progress.c
 src/plugins/screenshot/totem-screenshot-plugin.c
-[type: gettext/ini]src/plugins/skipto/skipto.plugin.in
-[type: gettext/glade]src/plugins/skipto/skipto.ui
+src/plugins/skipto/skipto.plugin.desktop.in
+src/plugins/skipto/skipto.ui
 src/plugins/skipto/totem-skipto.c
 src/plugins/skipto/totem-skipto-plugin.c
 src/plugins/skipto/totem-time-entry.c
 src/plugins/totem-plugins-engine.c
 src/plugins/variable-rate/totem-variable-rate-plugin.c
-[type: gettext/ini]src/plugins/variable-rate/variable-rate.plugin.in
-[type: gettext/ini]src/plugins/vimeo/vimeo.plugin.in
-[type: gettext/ini]src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.in
+src/plugins/variable-rate/variable-rate.plugin.desktop.in
+src/plugins/vimeo/vimeo.plugin.desktop.in
+src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.desktop.in
+src/properties/bacon-video-widget-properties.c
+src/totem.c
+src/totem-gallery-thumbnailer.c
+src/totem-grilo.c
+src/totem-interface.c
+src/totem-main-toolbar.c
+src/totemmaintoolbar.ui
+src/totem-menu.c
+src/totem-object.c
+src/totem-open-location.c
+src/totem-options.c
+src/totem-playlist.c
+src/totem-preferences.c
+src/totem-properties-main.c
+src/totem-properties-view.c
+src/totemselectiontoolbar.ui
+src/totem-subtitle-encoding.c
+src/totem-time-label.c
+src/totem-uri.c
+src/totem-video-thumbnailer.c
diff --git a/po/POTFILES.skip b/po/POTFILES.skip
index 7a24c2a..4cff0c5 100644
--- a/po/POTFILES.skip
+++ b/po/POTFILES.skip
@@ -19,7 +19,7 @@ src/plugins/publish/org.gnome.totem.plugins.publish.gschema.xml.in
 src/plugins/publish/publish-plugin.glade
 src/plugins/pythonconsole/org.gnome.totem.plugins.pythonconsole.gschema.xml.in
 src/plugins/rotation/totem-rotation-plugin.c
-src/plugins/samplepython/samplepython.plugin.in
-src/plugins/sample-vala/sample-vala.plugin.in
+src/plugins/samplepython/samplepython.plugin.desktop.in
+src/plugins/sample-vala/sample-vala.plugin.desktop.in
 src/plugins/sidebar-test/sidebar-test.plugin.in
 sub/data/org.gnome.Totem.desktop.in
diff --git a/po/meson.build b/po/meson.build
index e9b77d7..572a121 100644
--- a/po/meson.build
+++ b/po/meson.build
@@ -1 +1,5 @@
-i18n.gettext(meson.project_name(), preset: 'glib')
+i18n.gettext(
+  meson.project_name(),
+  preset: 'glib',
+  args: '--keyword=Description'
+)
diff --git a/src/plugins/apple-trailers/apple-trailers.plugin.in 
b/src/plugins/apple-trailers/apple-trailers.plugin.desktop.in
similarity index 66%
rename from src/plugins/apple-trailers/apple-trailers.plugin.in
rename to src/plugins/apple-trailers/apple-trailers.plugin.desktop.in
index 6f1dd32..475d9c5 100644
--- a/src/plugins/apple-trailers/apple-trailers.plugin.in
+++ b/src/plugins/apple-trailers/apple-trailers.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=apple-trailers
 IAge=1
 Builtin=true
-_Name=Apple Trailers
-_Description=Sets the user agent for the Apple Trailers site
+Name=Apple Trailers
+Description=Sets the user agent for the Apple Trailers site
 Authors=Bastien Nocera
 Copyright=Copyright © 2012 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/autoload-subtitles/autoload-subtitles.plugin.in 
b/src/plugins/autoload-subtitles/autoload-subtitles.plugin.desktop.in
similarity index 72%
rename from src/plugins/autoload-subtitles/autoload-subtitles.plugin.in
rename to src/plugins/autoload-subtitles/autoload-subtitles.plugin.desktop.in
index b3f40b8..8e6a5c7 100644
--- a/src/plugins/autoload-subtitles/autoload-subtitles.plugin.in
+++ b/src/plugins/autoload-subtitles/autoload-subtitles.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=autoload-subtitles
 IAge=1
 Builtin=true
-_Name=Autoload Subtitles
-_Description=Autoloads text subtitles
+Name=Autoload Subtitles
+Description=Autoloads text subtitles
 Authors=Bastien Nocera
 Copyright=Copyright © 2012 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.in 
b/src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.desktop.in
similarity index 72%
rename from src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.in
rename to src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.desktop.in
index c6bfab0..fb1b542 100644
--- a/src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.in
+++ b/src/plugins/brasero-disc-recorder/brasero-disc-recorder.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=brasero-disc-recorder
 IAge=1
 Builtin=false
-_Name=Video Disc Recorder
-_Description=Records (S)VCDs or video DVDs
+Name=Video Disc Recorder
+Description=Records (S)VCDs or video DVDs
 Authors=Philippe Rouquier
 Copyright=Copyright © 2008 Philippe Rouquier
 Website=http://www.gnome.org/projects/brasero/
diff --git a/src/plugins/dbusservice/dbusservice.plugin.in 
b/src/plugins/dbusservice/dbusservice.plugin.desktop.in
similarity index 64%
rename from src/plugins/dbusservice/dbusservice.plugin.in
rename to src/plugins/dbusservice/dbusservice.plugin.desktop.in
index b1eee28..ad30504 100644
--- a/src/plugins/dbusservice/dbusservice.plugin.in
+++ b/src/plugins/dbusservice/dbusservice.plugin.desktop.in
@@ -2,8 +2,8 @@
 Loader=python3
 Module=dbusservice
 IAge=1
-_Name=MPRIS D-Bus Interface
-_Description=Send notifications of currently-playing videos and allow remote control using MPRIS.
+Name=MPRIS D-Bus Interface
+Description=Send notifications of currently-playing videos and allow remote control using MPRIS.
 Authors=Lucky <lucky1 data gmail com>, Philip Withnall <philip tecnocode co uk>
 Copyright=Copyright © 2009 Lucky, Philip Withnall
 Website=https://wiki.gnome.org/Apps/Videos
diff --git a/src/plugins/gromit/gromit.plugin.in b/src/plugins/gromit/gromit.plugin.desktop.in
similarity index 67%
rename from src/plugins/gromit/gromit.plugin.in
rename to src/plugins/gromit/gromit.plugin.desktop.in
index 644123c..6c564de 100644
--- a/src/plugins/gromit/gromit.plugin.in
+++ b/src/plugins/gromit/gromit.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=gromit
 IAge=1
-_Name=Gromit Annotations
-_Description=Presentation helper to make annotations on screen
+Name=Gromit Annotations
+Description=Presentation helper to make annotations on screen
 Authors=Bastien Nocera, Jan Arne Petersen
 Copyright=Copyright © 2007 Bastien Nocera, Jan Arne Petersen
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/im-status/im-status.plugin.in b/src/plugins/im-status/im-status.plugin.desktop.in
similarity index 64%
rename from src/plugins/im-status/im-status.plugin.in
rename to src/plugins/im-status/im-status.plugin.desktop.in
index fa6f7f5..bd496e2 100644
--- a/src/plugins/im-status/im-status.plugin.in
+++ b/src/plugins/im-status/im-status.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=totem-im-status
 IAge=1
 Builtin=false
-_Name=Instant Messenger Status
-_Description=Set your Instant Messenger status to away when a movie is playing
+Name=Instant Messenger Status
+Description=Set your Instant Messenger status to away when a movie is playing
 Authors=Bastien Nocera, Philip Withnall
 Copyright=Copyright © 2007, 2011 Bastien Nocera, Philip Withnall
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/lirc/lirc.plugin.in b/src/plugins/lirc/lirc.plugin.desktop.in
similarity index 65%
rename from src/plugins/lirc/lirc.plugin.in
rename to src/plugins/lirc/lirc.plugin.desktop.in
index ab1cf33..705c748 100644
--- a/src/plugins/lirc/lirc.plugin.in
+++ b/src/plugins/lirc/lirc.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=lirc
 IAge=1
-_Name=Infrared Remote Control
-_Description=Support infrared remote control
+Name=Infrared Remote Control
+Description=Support infrared remote control
 Authors=Jan Arne Petersen
 Copyright=Copyright © 2007 Jan Arne Petersen
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/media-player-keys/media-player-keys.plugin.in 
b/src/plugins/media-player-keys/media-player-keys.plugin.desktop.in
similarity index 69%
rename from src/plugins/media-player-keys/media-player-keys.plugin.in
rename to src/plugins/media-player-keys/media-player-keys.plugin.desktop.in
index b5635d3..987307b 100644
--- a/src/plugins/media-player-keys/media-player-keys.plugin.in
+++ b/src/plugins/media-player-keys/media-player-keys.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=media_player_keys
 IAge=1
-_Name=Media Player Keys
-_Description=Support additional media player keys
+Name=Media Player Keys
+Description=Support additional media player keys
 Builtin=true
 Authors=Jan Arne Petersen
 Copyright=Copyright © 2007 Jan Arne Petersen
diff --git a/src/plugins/meson.build b/src/plugins/meson.build
index cd70282..c93cdde 100644
--- a/src/plugins/meson.build
+++ b/src/plugins/meson.build
@@ -125,6 +125,16 @@ plugins_dep = declare_dependency(
   compile_args: warn_flags + ['-DG_LOG_DOMAIN="Totem"']
 )
 
+msgfmt_plugin_cmd = [
+  find_program('msgfmt'),
+  '--desktop',
+  '--keyword=Name',
+  '--keyword=Description',
+  '-d', po_dir,
+  '--template=@INPUT@',
+  '--output=@OUTPUT@'
+]
+
 foreach plugin: plugins
   plugin_dir = join_paths(totem_pluginsdir, plugin)
 
@@ -132,9 +142,9 @@ foreach plugin: plugins
 
   custom_target(
     plugin_data,
-    input: join_paths(plugin, plugin_data + '.in'),
+    input: join_paths(plugin, plugin_data + '.desktop.in'),
     output: plugin_data,
-    command: intltool_desktop_cmd,
+    command: msgfmt_plugin_cmd,
     install: true,
     install_dir: plugin_dir
   )
diff --git a/src/plugins/movie-properties/movie-properties.plugin.in 
b/src/plugins/movie-properties/movie-properties.plugin.desktop.in
similarity index 70%
rename from src/plugins/movie-properties/movie-properties.plugin.in
rename to src/plugins/movie-properties/movie-properties.plugin.desktop.in
index 02bec15..4b8bdc7 100644
--- a/src/plugins/movie-properties/movie-properties.plugin.in
+++ b/src/plugins/movie-properties/movie-properties.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=movie-properties
 IAge=1
 Builtin=true
-_Name=Movie Properties
-_Description=Adds movie properties menu item
+Name=Movie Properties
+Description=Adds movie properties menu item
 Authors=Bastien Nocera
 Copyright=Copyright © 2007 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/ontop/ontop.plugin.in b/src/plugins/ontop/ontop.plugin.desktop.in
similarity index 63%
rename from src/plugins/ontop/ontop.plugin.in
rename to src/plugins/ontop/ontop.plugin.desktop.in
index f1e9bc6..3c41e3c 100644
--- a/src/plugins/ontop/ontop.plugin.in
+++ b/src/plugins/ontop/ontop.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=ontop
 IAge=1
-_Name=Always On Top
-_Description=Keep the main window on top when playing a movie
+Name=Always On Top
+Description=Keep the main window on top when playing a movie
 Authors=Bastien Nocera
 Copyright=Copyright © 2007 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/opensubtitles/opensubtitles.plugin.in 
b/src/plugins/opensubtitles/opensubtitles.plugin.desktop.in
similarity index 67%
rename from src/plugins/opensubtitles/opensubtitles.plugin.in
rename to src/plugins/opensubtitles/opensubtitles.plugin.desktop.in
index 9a9f3e4..5eef71d 100644
--- a/src/plugins/opensubtitles/opensubtitles.plugin.in
+++ b/src/plugins/opensubtitles/opensubtitles.plugin.desktop.in
@@ -2,8 +2,8 @@
 Loader=python3
 Module=opensubtitles
 IAge=1
-_Name=Subtitle Downloader
-_Description=Look for subtitles for the currently playing movie
+Name=Subtitle Downloader
+Description=Look for subtitles for the currently playing movie
 Authors=Xavier Queralt <xqueralt gmail com>
 Copyright=Copyright © 2008 Xavier Queralt
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/pythonconsole/pythonconsole.plugin.in 
b/src/plugins/pythonconsole/pythonconsole.plugin.desktop.in
similarity index 75%
rename from src/plugins/pythonconsole/pythonconsole.plugin.in
rename to src/plugins/pythonconsole/pythonconsole.plugin.desktop.in
index b384c4a..c5ee8eb 100644
--- a/src/plugins/pythonconsole/pythonconsole.plugin.in
+++ b/src/plugins/pythonconsole/pythonconsole.plugin.desktop.in
@@ -2,8 +2,8 @@
 Loader=python3
 Module=pythonconsole
 IAge=1
-_Name=Python Console
-_Description=Interactive Python console
+Name=Python Console
+Description=Interactive Python console
 Authors=Steve Frécinaux <steve istique net>
 Copyright=Copyright © 2006 Steve Frécinaux
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/recent/recent.plugin.in b/src/plugins/recent/recent.plugin.desktop.in
similarity index 65%
rename from src/plugins/recent/recent.plugin.in
rename to src/plugins/recent/recent.plugin.desktop.in
index d7a8346..c2c5c09 100644
--- a/src/plugins/recent/recent.plugin.in
+++ b/src/plugins/recent/recent.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=recent
 IAge=1
 Builtin=true
-_Name=Recent files
-_Description=Adds files that have been played to recent files
+Name=Recent files
+Description=Adds files that have been played to recent files
 Authors=Bastien Nocera
 Copyright=Copyright © 2012 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/rotation/rotation.plugin.in b/src/plugins/rotation/rotation.plugin.desktop.in
similarity index 61%
rename from src/plugins/rotation/rotation.plugin.in
rename to src/plugins/rotation/rotation.plugin.desktop.in
index 02fbd98..5eadb7a 100644
--- a/src/plugins/rotation/rotation.plugin.in
+++ b/src/plugins/rotation/rotation.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=rotation
 IAge=1
-_Name=Rotation Plugin
-_Description=Allows videos to be rotated if they are in the wrong orientation
+Name=Rotation Plugin
+Description=Allows videos to be rotated if they are in the wrong orientation
 Authors=Simon Wenner <simon wenner ch>
 Copyright=Copyright © 2011 Simon Wenner
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/sample-vala/sample-vala.plugin.in 
b/src/plugins/sample-vala/sample-vala.plugin.desktop.in
similarity index 73%
rename from src/plugins/sample-vala/sample-vala.plugin.in
rename to src/plugins/sample-vala/sample-vala.plugin.desktop.in
index 2edfdf7..1db8fab 100644
--- a/src/plugins/sample-vala/sample-vala.plugin.in
+++ b/src/plugins/sample-vala/sample-vala.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=sample-vala
 IAge=1
-_Name=Vala Sample Plugin
-_Description=A useless sample plugin in Vala
+Name=Vala Sample Plugin
+Description=A useless sample plugin in Vala
 Authors=Philip Withnall <philip tecnocode co uk>
 Copyright=Copyright © 2007 James Livingston, Philip Withnall
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/samplepython/samplepython.plugin.in 
b/src/plugins/samplepython/samplepython.plugin.desktop.in
similarity index 74%
rename from src/plugins/samplepython/samplepython.plugin.in
rename to src/plugins/samplepython/samplepython.plugin.desktop.in
index c181497..8edef45 100644
--- a/src/plugins/samplepython/samplepython.plugin.in
+++ b/src/plugins/samplepython/samplepython.plugin.desktop.in
@@ -2,8 +2,8 @@
 Loader=python3
 Module=samplepython
 IAge=1
-_Name=Python Sample Plugin
-_Description=A useless sample plugin in Python
+Name=Python Sample Plugin
+Description=A useless sample plugin in Python
 Authors=Philip Withnall <philip tecnocode co uk>
 Copyright=Copyright © 2006 James Livingston, 2007 Philip Withnall
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/save-file/save-file.plugin.in b/src/plugins/save-file/save-file.plugin.desktop.in
similarity index 68%
rename from src/plugins/save-file/save-file.plugin.in
rename to src/plugins/save-file/save-file.plugin.desktop.in
index a2d6383..37f406f 100644
--- a/src/plugins/save-file/save-file.plugin.in
+++ b/src/plugins/save-file/save-file.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=save-file
 IAge=1
 Builtin=true
-_Name=Save Copy
-_Description=Save a copy of the currently playing movie
+Name=Save Copy
+Description=Save a copy of the currently playing movie
 Authors=Bastien Nocera
 Copyright=Copyright © 2010 Bastien Nocera
 Website=https://wiki.gnome.org/Apps/Videos
diff --git a/src/plugins/screensaver/screensaver.plugin.in 
b/src/plugins/screensaver/screensaver.plugin.desktop.in
similarity index 65%
rename from src/plugins/screensaver/screensaver.plugin.in
rename to src/plugins/screensaver/screensaver.plugin.desktop.in
index 2e8da49..a31e436 100644
--- a/src/plugins/screensaver/screensaver.plugin.in
+++ b/src/plugins/screensaver/screensaver.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=screensaver
 IAge=1
 Builtin=true
-_Name=Screen Saver
-_Description=Deactivates the screen saver when a movie is playing
+Name=Screen Saver
+Description=Deactivates the screen saver when a movie is playing
 Authors=Bastien Nocera
 Copyright=Copyright © 2007 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/screenshot/screenshot.plugin.in b/src/plugins/screenshot/screenshot.plugin.desktop.in
similarity index 69%
rename from src/plugins/screenshot/screenshot.plugin.in
rename to src/plugins/screenshot/screenshot.plugin.desktop.in
index dd29572..ce0c1fa 100644
--- a/src/plugins/screenshot/screenshot.plugin.in
+++ b/src/plugins/screenshot/screenshot.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=screenshot
 IAge=1
 Builtin=true
-_Name=Screenshot
-_Description=Allows screenshots and galleries to be taken of videos
+Name=Screenshot
+Description=Allows screenshots and galleries to be taken of videos
 Authors=Philip Withnall, Bastien Nocera
 Copyright=Copyright © 2008 Philip Withnall, 2004 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/skipto/skipto.plugin.in b/src/plugins/skipto/skipto.plugin.desktop.in
similarity index 73%
rename from src/plugins/skipto/skipto.plugin.in
rename to src/plugins/skipto/skipto.plugin.desktop.in
index 484c8fb..5575660 100644
--- a/src/plugins/skipto/skipto.plugin.in
+++ b/src/plugins/skipto/skipto.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=skipto
 IAge=1
 Builtin=true
-_Name=Skip To
-_Description=Provides the “Skip to” dialog
+Name=Skip To
+Description=Provides the “Skip to” dialog
 Authors=Philip Withnall, Bastien Nocera
 Copyright=Copyright © 2007 Philip Withnall
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/variable-rate/variable-rate.plugin.in 
b/src/plugins/variable-rate/variable-rate.plugin.desktop.in
similarity index 69%
rename from src/plugins/variable-rate/variable-rate.plugin.in
rename to src/plugins/variable-rate/variable-rate.plugin.desktop.in
index 1353e8d..57e5d7f 100644
--- a/src/plugins/variable-rate/variable-rate.plugin.in
+++ b/src/plugins/variable-rate/variable-rate.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=variable-rate
 IAge=1
 Builtin=true
-_Name=Variable Rate
-_Description=Provides the variable rate menu item
+Name=Variable Rate
+Description=Provides the variable rate menu item
 Authors=Bastien Nocera
 Copyright=Copyright © 2016 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/vimeo/vimeo.plugin.in b/src/plugins/vimeo/vimeo.plugin.desktop.in
similarity index 70%
rename from src/plugins/vimeo/vimeo.plugin.in
rename to src/plugins/vimeo/vimeo.plugin.desktop.in
index f18b6eb..1856dbb 100644
--- a/src/plugins/vimeo/vimeo.plugin.in
+++ b/src/plugins/vimeo/vimeo.plugin.desktop.in
@@ -2,8 +2,8 @@
 Module=vimeo
 IAge=1
 Builtin=true
-_Name=Vimeo
-_Description=Sets the user agent for the Vimeo site
+Name=Vimeo
+Description=Sets the user agent for the Vimeo site
 Authors=Bastien Nocera
 Copyright=Copyright © 2013 Bastien Nocera
 Website=http://www.gnome.org/projects/totem/
diff --git a/src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.in 
b/src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.desktop.in
similarity index 71%
rename from src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.in
rename to src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.desktop.in
index 71a6908..8558098 100644
--- a/src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.in
+++ b/src/plugins/zeitgeist-dp/zeitgeist-dp.plugin.desktop.in
@@ -1,8 +1,8 @@
 [Plugin]
 Module=totem-zeitgeist-dp-plugin
 IAge=1
-_Name=Zeitgeist Plugin
-_Description=A plugin sending events to Zeitgeist
+Name=Zeitgeist Plugin
+Description=A plugin sending events to Zeitgeist
 Authors=Michal Hruby <michal mhr gmail com>
 Copyright=Copyright © 2010 Michal Hruby
 Website=http://www.gnome.org/projects/totem/


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]