[vlc-devel] commit: Fix plugin strings translation ( Rémi Denis-Courmont )
git version control
git at videolan.org
Wed Jan 28 22:39:22 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Jan 28 23:05:52 2009 +0200| [1f50361f07b281f209dee4dc1aa308c2a1fcef80] | committer: Rémi Denis-Courmont
Fix plugin strings translation
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1f50361f07b281f209dee4dc1aa308c2a1fcef80
---
modules/access/rtp/rtp.c | 4 ++--
modules/access/zip/zipstream.c | 4 ++--
modules/audio_filter/resampler/bandlimited.c | 2 +-
modules/codec/aes3.c | 2 +-
modules/control/globalhotkeys/win32.c | 4 ++--
modules/control/globalhotkeys/x11.c | 4 ++--
modules/misc/stats/stats.c | 10 +++++-----
modules/video_filter/colorthres.c | 4 ++--
modules/video_filter/postproc.c | 3 +--
9 files changed, 18 insertions(+), 19 deletions(-)
diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 3bf529d..eb10279 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -81,8 +81,8 @@ static void Close (vlc_object_t *);
* Module descriptor
*/
vlc_module_begin ()
- set_shortname (_("RTP"))
- set_description (_("Real-Time Protocol (RTP) input"))
+ set_shortname (N_("RTP"))
+ set_description (N_("Real-Time Protocol (RTP) input"))
set_category (CAT_INPUT)
set_subcategory (SUBCAT_INPUT_DEMUX)
set_capability ("access_demux", 0)
diff --git a/modules/access/zip/zipstream.c b/modules/access/zip/zipstream.c
index 6596cd6..663483a 100644
--- a/modules/access/zip/zipstream.c
+++ b/modules/access/zip/zipstream.c
@@ -45,12 +45,12 @@ vlc_module_begin()
set_shortname( "Zip" )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_STREAM_FILTER )
- set_description( _( "Zip files filter" ) )
+ set_description( N_( "Zip files filter" ) )
set_capability( "stream_filter", 1 )
set_callbacks( StreamOpen, StreamClose )
add_submodule()
set_subcategory( SUBCAT_INPUT_ACCESS )
- set_description( _( "Zip access" ) )
+ set_description( N_( "Zip access" ) )
set_capability( "access", 0 )
add_shortcut( "unzip" )
add_shortcut( "zip" )
diff --git a/modules/audio_filter/resampler/bandlimited.c b/modules/audio_filter/resampler/bandlimited.c
index 12e1f0b..8b5d1b0 100644
--- a/modules/audio_filter/resampler/bandlimited.c
+++ b/modules/audio_filter/resampler/bandlimited.c
@@ -100,7 +100,7 @@ vlc_module_begin ()
set_callbacks( Create, Close )
add_submodule ()
- set_description( _("Audio filter for band-limited interpolation resampling") )
+ set_description( N_("Audio filter for band-limited interpolation resampling") )
set_capability( "audio filter2", 20 )
set_callbacks( OpenFilter, CloseFilter )
vlc_module_end ()
diff --git a/modules/codec/aes3.c b/modules/codec/aes3.c
index e1f1c15..986fa78 100644
--- a/modules/codec/aes3.c
+++ b/modules/codec/aes3.c
@@ -45,7 +45,7 @@ vlc_module_begin ()
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACODEC )
- set_description( _("AES3/SMPTE 302M audio decoder") )
+ set_description( N_("AES3/SMPTE 302M audio decoder") )
set_capability( "decoder", 100 )
set_callbacks( OpenDecoder, Close )
diff --git a/modules/control/globalhotkeys/win32.c b/modules/control/globalhotkeys/win32.c
index d8bfaef..6f89672 100644
--- a/modules/control/globalhotkeys/win32.c
+++ b/modules/control/globalhotkeys/win32.c
@@ -43,10 +43,10 @@ LRESULT CALLBACK WMHOTKEYPROC( HWND, UINT, WPARAM, LPARAM );
* Module descriptor
*****************************************************************************/
vlc_module_begin()
- set_shortname( _("Global Hotkeys") )
+ set_shortname( N_("Global Hotkeys") )
set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
- set_description( _("Global Hotkeys interface") )
+ set_description( N_("Global Hotkeys interface") )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
vlc_module_end()
diff --git a/modules/control/globalhotkeys/x11.c b/modules/control/globalhotkeys/x11.c
index 33580eb..7ffd007 100644
--- a/modules/control/globalhotkeys/x11.c
+++ b/modules/control/globalhotkeys/x11.c
@@ -44,10 +44,10 @@ static void Close( vlc_object_t *p_this );
* Module descriptor
*****************************************************************************/
vlc_module_begin()
- set_shortname( _("Global Hotkeys") )
+ set_shortname( N_("Global Hotkeys") )
set_category( CAT_INTERFACE )
set_subcategory( SUBCAT_INTERFACE_HOTKEYS )
- set_description( _("Global Hotkeys interface") )
+ set_description( N_("Global Hotkeys interface") )
set_capability( "interface", 0 )
set_callbacks( Open, Close )
vlc_module_end()
diff --git a/modules/misc/stats/stats.c b/modules/misc/stats/stats.c
index 2323252..14c9691 100644
--- a/modules/misc/stats/stats.c
+++ b/modules/misc/stats/stats.c
@@ -45,24 +45,24 @@
*****************************************************************************/
vlc_module_begin ()
- set_shortname( _("Stats"))
- set_description( _("Stats encoder function") )
+ set_shortname( N_("Stats"))
+ set_description( N_("Stats encoder function") )
set_capability( "encoder", 0 )
add_shortcut( "stats" )
set_callbacks( OpenEncoder, CloseEncoder )
add_submodule ()
set_section( N_( "Stats decoder" ), NULL )
- set_description( _("Stats decoder function") )
+ set_description( N_("Stats decoder function") )
set_capability( "decoder", 0 )
set_callbacks( OpenDecoder, CloseDecoder )
add_submodule ()
set_section( N_( "Stats demux" ), NULL )
- set_description( _("Stats demux function") )
+ set_description( N_("Stats demux function") )
set_capability( "demux", 0 )
set_callbacks( OpenDemux, CloseDemux )
add_submodule ()
set_section( N_( "Stats video output" ), NULL )
- set_description( _("Stats video output function") )
+ set_description( N_("Stats video output function") )
set_capability( "video output", 0 )
set_callbacks( OpenVideo, NULL )
vlc_module_end ()
diff --git a/modules/video_filter/colorthres.c b/modules/video_filter/colorthres.c
index 9c3c2d2..ed3da46 100644
--- a/modules/video_filter/colorthres.c
+++ b/modules/video_filter/colorthres.c
@@ -74,9 +74,9 @@ vlc_module_begin ()
COLOR_LONGTEXT, false )
change_integer_list( pi_color_values, ppsz_color_descriptions, NULL )
add_integer( CFG_PREFIX "saturationthres", 20, NULL,
- _("Saturaton threshold"), "", false )
+ N_("Saturaton threshold"), "", false )
add_integer( CFG_PREFIX "similaritythres", 15, NULL,
- _("Similarity threshold"), "", false )
+ N_("Similarity threshold"), "", false )
set_callbacks( Create, Destroy )
vlc_module_end ()
diff --git a/modules/video_filter/postproc.c b/modules/video_filter/postproc.c
index 5dcdc2e..bea2b0e 100644
--- a/modules/video_filter/postproc.c
+++ b/modules/video_filter/postproc.c
@@ -63,8 +63,7 @@ static int PPNameCallback( vlc_object_t *, char const *,
"better looking pictures." )
#define NAME_TEXT N_("FFmpeg post processing filter chains")
-/* defined by libpostproc */
-#define NAME_LONGTEXT pp_help
+#define NAME_LONGTEXT NAME_TEXT
#define FILTER_PREFIX "postproc-"
More information about the vlc-devel
mailing list