[vlc-devel] commit: Add a i18n'able name. (Christophe Mutricy )

git version control git at videolan.org
Fri Sep 25 00:00:08 CEST 2009


vlc | branch: master | Christophe Mutricy <xtophe at videolan.org> | Thu Sep 24 22:40:52 2009 +0100| [97e6d8492866f2f94ca76a4fca8ea44c48890dec] | committer: Christophe Mutricy 

Add a i18n'able name.

It's nice to have a translatable name (and a capital letter) for all modules who have config options

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

 modules/video_filter/canvas.c   |    1 +
 modules/video_filter/croppadd.c |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/modules/video_filter/canvas.c b/modules/video_filter/canvas.c
index a083b18..acb8bd3 100644
--- a/modules/video_filter/canvas.c
+++ b/modules/video_filter/canvas.c
@@ -101,6 +101,7 @@ static int alloc_init( filter_t *, void * );
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin ()
+    set_shortname( N_("Canvas") )
     set_description( N_("Automatically resize and pad a video") )
     set_capability( "video filter2", 0 )
     set_callbacks( Activate, Destroy )
diff --git a/modules/video_filter/croppadd.c b/modules/video_filter/croppadd.c
index b24af5f..5d505d9 100644
--- a/modules/video_filter/croppadd.c
+++ b/modules/video_filter/croppadd.c
@@ -75,6 +75,7 @@ static picture_t *Filter( filter_t *, picture_t * );
  * Module descriptor
  *****************************************************************************/
 vlc_module_begin ()
+    set_shortname( N_("Cropadd") )
     set_description( N_("Video scaling filter") )
     set_capability( "video filter2", 0 )
     set_callbacks( OpenFilter, CloseFilter )




More information about the vlc-devel mailing list