Commit 84b1163f authored by Felix Paul Kühne's avatar Felix Paul Kühne

* fixed some untranslatable strings and strings which existed both with and...

* fixed some untranslatable strings and strings which existed both with and without trailing spaces. Thanks to Jonas A. Larsen for notifying me about them.
parent 6f2374bf
...@@ -48,7 +48,7 @@ static void Close( vlc_object_t * ); ...@@ -48,7 +48,7 @@ static void Close( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
set_description( _("GnomeVFS filesystem file input") ); set_description( _("GnomeVFS filesystem file input") );
set_shortname( _("GnomeVFS") ); set_shortname( "GnomeVFS" );
set_category( CAT_INPUT ); set_category( CAT_INPUT );
set_subcategory( SUBCAT_INPUT_ACCESS ); set_subcategory( SUBCAT_INPUT_ACCESS );
add_integer( "gnomevfs-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE ); add_integer( "gnomevfs-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
......
...@@ -361,7 +361,7 @@ VCDEntryPoints( access_t * p_access ) ...@@ -361,7 +361,7 @@ VCDEntryPoints( access_t * p_access )
seekpoint_t *s = vlc_seekpoint_New(); seekpoint_t *s = vlc_seekpoint_New();
char psz_entry[100]; char psz_entry[100];
snprintf(psz_entry, sizeof(psz_entry), "%s%02d", _("Entry "), i ); snprintf(psz_entry, sizeof(psz_entry), "%s %02d", _("Entry"), i );
p_vcdplayer->p_entries[i] = vcdinfo_get_entry_lsn(p_vcdplayer->vcd, i); p_vcdplayer->p_entries[i] = vcdinfo_get_entry_lsn(p_vcdplayer->vcd, i);
...@@ -425,7 +425,7 @@ VCDSegments( access_t * p_access ) ...@@ -425,7 +425,7 @@ VCDSegments( access_t * p_access )
seekpoint_t *s = vlc_seekpoint_New(); seekpoint_t *s = vlc_seekpoint_New();
p_vcdplayer->p_segments[i] = vcdinfo_get_seg_lsn(p_vcdplayer->vcd, i); p_vcdplayer->p_segments[i] = vcdinfo_get_seg_lsn(p_vcdplayer->vcd, i);
snprintf( psz_segment, sizeof(psz_segment), "%s%02d", _("Segment "), snprintf( psz_segment, sizeof(psz_segment), "%s %02d", _("Segment"),
i ); i );
s->i_byte_offset = 0; /* Not sure what this would mean here */ s->i_byte_offset = 0; /* Not sure what this would mean here */
...@@ -469,7 +469,7 @@ VCDTitles( access_t * p_access ) ...@@ -469,7 +469,7 @@ VCDTitles( access_t * p_access )
vlc_input_title_New(); vlc_input_title_New();
char psz_track[80]; char psz_track[80];
snprintf( psz_track, sizeof(psz_track), "%s%02d", _("Track "), snprintf( psz_track, sizeof(psz_track), "%s %02d", _("Track"),
i ); i );
t->i_size = (int64_t) vcdinfo_get_track_size( p_vcdplayer->vcd, t->i_size = (int64_t) vcdinfo_get_track_size( p_vcdplayer->vcd,
i ) i )
...@@ -530,7 +530,7 @@ VCDLIDs( access_t * p_access ) ...@@ -530,7 +530,7 @@ VCDLIDs( access_t * p_access )
char psz_lid[100]; char psz_lid[100];
seekpoint_t *s = vlc_seekpoint_New(); seekpoint_t *s = vlc_seekpoint_New();
snprintf( psz_lid, sizeof(psz_lid), "%s%02d", _("LID "), snprintf( psz_lid, sizeof(psz_lid), "%s %02d", _("LID"),
i_lid ); i_lid );
s->i_byte_offset = 0; /* A lid doesn't have an offset s->i_byte_offset = 0; /* A lid doesn't have an offset
......
...@@ -5193,9 +5193,9 @@ void demux_sys_t::PreloadLinked( matroska_segment_c *p_segment ) ...@@ -5193,9 +5193,9 @@ void demux_sys_t::PreloadLinked( matroska_segment_c *p_segment )
// create a name if there is none // create a name if there is none
if ( p_title->psz_name == NULL ) if ( p_title->psz_name == NULL )
{ {
sz_name = N_("Segment "); sz_name = N_("Segment");
char psz_str[6]; char psz_str[6];
sprintf( psz_str, "%d", (int)i ); sprintf( psz_str, " %d", (int)i );
sz_name += psz_str; sz_name += psz_str;
p_title->psz_name = strdup( sz_name.c_str() ); p_title->psz_name = strdup( sz_name.c_str() );
} }
......
...@@ -54,7 +54,7 @@ using namespace CyberLink; ...@@ -54,7 +54,7 @@ using namespace CyberLink;
static void Close( vlc_object_t * ); static void Close( vlc_object_t * );
vlc_module_begin(); vlc_module_begin();
set_shortname( _("UPnP")); set_shortname( "UPnP");
set_description( _("Universal Plug'n'Play discovery") ); set_description( _("Universal Plug'n'Play discovery") );
set_category( CAT_PLAYLIST ); set_category( CAT_PLAYLIST );
set_subcategory( SUBCAT_PLAYLIST_SD ); set_subcategory( SUBCAT_PLAYLIST_SD );
...@@ -110,7 +110,7 @@ static int Open( vlc_object_t *p_this ) ...@@ -110,7 +110,7 @@ static int Open( vlc_object_t *p_this )
p_view = playlist_ViewFind( p_sys->p_playlist, VIEW_CATEGORY ); p_view = playlist_ViewFind( p_sys->p_playlist, VIEW_CATEGORY );
p_sys->p_node = playlist_NodeCreate( p_sys->p_playlist, VIEW_CATEGORY, p_sys->p_node = playlist_NodeCreate( p_sys->p_playlist, VIEW_CATEGORY,
_("UPnP"), p_view->p_root ); "UPnP", p_view->p_root );
p_sys->p_node->i_flags |= PLAYLIST_RO_FLAG; p_sys->p_node->i_flags |= PLAYLIST_RO_FLAG;
p_sys->p_node->i_flags &= ~PLAYLIST_SKIP_FLAG; p_sys->p_node->i_flags &= ~PLAYLIST_SKIP_FLAG;
val.b_bool = VLC_TRUE; val.b_bool = VLC_TRUE;
......
...@@ -149,7 +149,7 @@ static char *ppsz_pos_descriptions[] = ...@@ -149,7 +149,7 @@ static char *ppsz_pos_descriptions[] =
*****************************************************************************/ *****************************************************************************/
vlc_module_begin(); vlc_module_begin();
set_capability( "sub filter", 0 ); set_capability( "sub filter", 0 );
set_shortname( N_("RSS" )); set_shortname( "RSS" );
set_callbacks( CreateFilter, DestroyFilter ); set_callbacks( CreateFilter, DestroyFilter );
set_category( CAT_VIDEO ); set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_SUBPIC ); set_subcategory( SUBCAT_VIDEO_SUBPIC );
......
...@@ -216,11 +216,11 @@ vlc_module_begin(); ...@@ -216,11 +216,11 @@ vlc_module_begin();
set_category( CAT_VIDEO ); set_category( CAT_VIDEO );
set_subcategory( SUBCAT_VIDEO_VOUT ); set_subcategory( SUBCAT_VIDEO_VOUT );
#ifdef MODULE_NAME_IS_wingapi #ifdef MODULE_NAME_IS_wingapi
set_shortname( _("Windows GAPI") ); set_shortname( "Windows GAPI" );
set_description( _("Windows GAPI video output") ); set_description( _("Windows GAPI video output") );
set_capability( "video output", 20 ); set_capability( "video output", 20 );
#else #else
set_shortname( _("Windows GDI") ); set_shortname( "Windows GDI" );
set_description( _("Windows GDI video output") ); set_description( _("Windows GDI video output") );
set_capability( "video output", 10 ); set_capability( "video output", 10 );
#endif #endif
......
...@@ -231,13 +231,13 @@ void vout_IntfInit( vout_thread_t *p_vout ) ...@@ -231,13 +231,13 @@ void vout_IntfInit( vout_thread_t *p_vout )
var_Change( p_vout, "crop", VLC_VAR_DELCHOICE, &val, 0 ); var_Change( p_vout, "crop", VLC_VAR_DELCHOICE, &val, 0 );
val.psz_string = ""; text.psz_string = _("Default"); val.psz_string = ""; text.psz_string = _("Default");
var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text ); var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "001:1"; text.psz_string = _("1:1"); val.psz_string = "001:1"; text.psz_string = "1:1";
var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text ); var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "004:3"; text.psz_string = _("4:3"); val.psz_string = "004:3"; text.psz_string = "4:3";
var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text ); var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "16:9"; text.psz_string = _("16:9"); val.psz_string = "16:9"; text.psz_string = "16:9";
var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text ); var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text );
val.psz_string = "221:100"; text.psz_string = _("221:100"); val.psz_string = "221:100"; text.psz_string = "221:100";
var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text ); var_Change( p_vout, "crop", VLC_VAR_ADDCHOICE, &val, &text );
var_AddCallback( p_vout, "crop", CropCallback, NULL ); var_AddCallback( p_vout, "crop", CropCallback, NULL );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment