[vlc-devel] commit: Add a i18n'able name. (Christophe Mutricy )
git version control
git at videolan.org
Fri Sep 25 00:05:06 CEST 2009
vlc | branch: 1.0-bugfix | Christophe Mutricy <xtophe at videolan.org> | Thu Sep 24 22:40:52 2009 +0100| [08128f69a5f799540e230678bc1d6248387712e0] | 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
(cherry picked from commit 97e6d8492866f2f94ca76a4fca8ea44c48890dec)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=08128f69a5f799540e230678bc1d6248387712e0
---
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 e6c79cd..f2074e5 100644
--- a/modules/video_filter/canvas.c
+++ b/modules/video_filter/canvas.c
@@ -102,6 +102,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 63b5341..887e6e5 100644
--- a/modules/video_filter/croppadd.c
+++ b/modules/video_filter/croppadd.c
@@ -76,6 +76,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