[vlc-devel] commit: Shortname corrections (Jean-Baptiste Kempf )

git version control git at videolan.org
Thu Jan 28 14:08:42 CET 2010


vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu Jan 28 14:07:23 2010 +0100| [b158efcfd9d2f17b4390ad511b295171ce491551] | committer: Jean-Baptiste Kempf 

Shortname corrections

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b158efcfd9d2f17b4390ad511b295171ce491551
---

 modules/audio_output/pulse.c           |    2 +-
 modules/misc/lua/vlc.c                 |    2 +-
 modules/misc/xdg-screensaver.c         |    2 +-
 modules/services_discovery/mediadirs.c |    6 +++---
 modules/video_filter/rss.c             |    2 +-
 modules/video_output/msw/wingdi.c      |    4 ++--
 modules/video_output/omapfb.c          |    2 +-
 7 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/modules/audio_output/pulse.c b/modules/audio_output/pulse.c
index a2ccfbc..0195192 100644
--- a/modules/audio_output/pulse.c
+++ b/modules/audio_output/pulse.c
@@ -96,7 +96,7 @@ static void uninit(aout_instance_t *p_aout);
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin ()
-    set_shortname( "Pulse Audio" )
+    set_shortname( "PulseAudio" )
     set_description( N_("Pulseaudio audio output") )
     set_capability( "audio output", 160 )
     set_category( CAT_AUDIO )
diff --git a/modules/misc/lua/vlc.c b/modules/misc/lua/vlc.c
index 2d156ee..bb4ba98 100644
--- a/modules/misc/lua/vlc.c
+++ b/modules/misc/lua/vlc.c
@@ -108,7 +108,7 @@ vlc_module_begin ()
         set_callbacks( Open_LuaIntf, Close_LuaIntf )
 
     add_submodule ()
-        set_shortname( "Lua Extension" )
+        set_shortname( N_("Lua Extension") )
         add_shortcut( "luaextension" )
         set_capability( "extension", 1 )
         set_callbacks( Open_Extension, Close_Extension )
diff --git a/modules/misc/xdg-screensaver.c b/modules/misc/xdg-screensaver.c
index 429485d..9636645 100644
--- a/modules/misc/xdg-screensaver.c
+++ b/modules/misc/xdg-screensaver.c
@@ -32,7 +32,7 @@ static int Open (vlc_object_t *);
 static void Close (vlc_object_t *);
 
 vlc_module_begin ()
-    set_shortname ("XDG-screensaver" )
+    set_shortname (N_("XDG-screensaver") )
     set_description (N_("XDG screen saver inhibition") )
     set_capability ("inhibit", 10 )
     set_callbacks (Open, Close)
diff --git a/modules/services_discovery/mediadirs.c b/modules/services_discovery/mediadirs.c
index 1dd4ce8..d948f78 100644
--- a/modules/services_discovery/mediadirs.c
+++ b/modules/services_discovery/mediadirs.c
@@ -67,21 +67,21 @@ vlc_module_begin ()
     set_category( CAT_PLAYLIST )
     set_subcategory( SUBCAT_PLAYLIST_SD )
 
-        set_shortname( "Video" )
+        set_shortname( N_("Video") )
         set_description( N_("My Videos") )
         set_capability( "services_discovery", 10 )
         set_callbacks( OpenVideo, Close )
         add_shortcut( "video_dir" )
 
     add_submodule ()
-        set_shortname( "Audio" )
+        set_shortname( N_("Audio") )
         set_description( N_("My Music") )
         set_capability( "services_discovery", 10 )
         set_callbacks( OpenAudio, Close )
         add_shortcut( "audio_dir" )
 
     add_submodule ()
-        set_shortname( "Picture")
+        set_shortname( N_("Picture") )
         set_description( N_("My Pictures") )
         set_capability( "services_discovery", 10 )
         set_callbacks( OpenPicture, Close )
diff --git a/modules/video_filter/rss.c b/modules/video_filter/rss.c
index af30af5..3d72591 100644
--- a/modules/video_filter/rss.c
+++ b/modules/video_filter/rss.c
@@ -191,7 +191,7 @@ static const char *const ppsz_title_modes[] =
  *****************************************************************************/
 vlc_module_begin ()
     set_capability( "sub filter", 1 )
-    set_shortname( "RSS / Atom" )
+    set_shortname( N_("RSS / Atom") )
     set_help(RSS_HELP)
     set_callbacks( CreateFilter, DestroyFilter )
     set_category( CAT_VIDEO )
diff --git a/modules/video_output/msw/wingdi.c b/modules/video_output/msw/wingdi.c
index 65492bf..fe97eeb 100644
--- a/modules/video_output/msw/wingdi.c
+++ b/modules/video_output/msw/wingdi.c
@@ -55,11 +55,11 @@ vlc_module_begin ()
     set_category(CAT_VIDEO)
     set_subcategory(SUBCAT_VIDEO_VOUT)
 #ifdef MODULE_NAME_IS_wingapi
-    set_shortname("Windows GAPI")
+    set_shortname("GAPI")
     set_description(N_("Windows GAPI video output"))
     set_capability("vout display", 20)
 #else
-    set_shortname("Windows GDI")
+    set_shortname("GDI")
     set_description(N_("Windows GDI video output"))
     set_capability("vout display", 10)
 #endif
diff --git a/modules/video_output/omapfb.c b/modules/video_output/omapfb.c
index 08105b8..bd530a4 100644
--- a/modules/video_output/omapfb.c
+++ b/modules/video_output/omapfb.c
@@ -88,7 +88,7 @@ static void ToggleFullScreen ( vout_thread_t * );
     "Embed the framebuffer overlay into a X11 window" )
 
 vlc_module_begin();
-    set_shortname( "OMAP framebuffer" );
+    set_shortname( N_("OMAP framebuffer") );
     set_category( CAT_VIDEO );
     set_subcategory( SUBCAT_VIDEO_VOUT );
     add_file( FB_DEV_VAR, "/dev/fb0", NULL, DEVICE_TEXT, DEVICE_LONGTEXT,




More information about the vlc-devel mailing list