* fixed some untranslatable strings and strings which existed both with and without...
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Oct 2005 17:27:01 +0000 (17:27 +0000)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 30 Oct 2005 17:27:01 +0000 (17:27 +0000)
modules/access/gnomevfs.c
modules/access/vcdx/access.c
modules/demux/mkv.cpp
modules/services_discovery/upnp.cpp
modules/video_filter/rss.c
modules/video_output/wingdi.c
src/video_output/vout_intf.c

index 9fa55a2..6a45134 100644 (file)
@@ -48,7 +48,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( _("GnomeVFS filesystem file input") );
-    set_shortname( _("GnomeVFS") );
+    set_shortname( "GnomeVFS" );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_ACCESS );
     add_integer( "gnomevfs-caching", DEFAULT_PTS_DELAY / 1000, NULL, CACHING_TEXT, CACHING_LONGTEXT, VLC_TRUE );
index cb1ac4c..e0588d8 100644 (file)
@@ -361,7 +361,7 @@ VCDEntryPoints( access_t * p_access )
          seekpoint_t *s = vlc_seekpoint_New();
          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);
          
@@ -425,7 +425,7 @@ VCDSegments( access_t * p_access )
         seekpoint_t *s = vlc_seekpoint_New();
         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 );
 
         s->i_byte_offset = 0; /* Not sure what this would mean here */
@@ -469,7 +469,7 @@ VCDTitles( access_t * p_access )
               vlc_input_title_New();
             char psz_track[80];
 
-            snprintf( psz_track, sizeof(psz_track), "%s%02d", _("Track "),
+            snprintf( psz_track, sizeof(psz_track), "%s %02d", _("Track"),
                                                     i );
             t->i_size    = (int64_t) vcdinfo_get_track_size( p_vcdplayer->vcd, 
                                                             i ) 
@@ -530,7 +530,7 @@ VCDLIDs( access_t * p_access )
         char psz_lid[100];
         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 );
 
         s->i_byte_offset = 0; /*  A lid doesn't have an offset
index 7f09149..6aed601 100644 (file)
@@ -5193,9 +5193,9 @@ void demux_sys_t::PreloadLinked( matroska_segment_c *p_segment )
             // create a name if there is none
             if ( p_title->psz_name == NULL )
             {
-                sz_name = N_("Segment ");
+                sz_name = N_("Segment");
                 char psz_str[6];
-                sprintf( psz_str, "%d", (int)i );
+                sprintf( psz_str, " %d", (int)i );
                 sz_name += psz_str;
                 p_title->psz_name = strdup( sz_name.c_str() );
             }
index 569ab38..ef21933 100644 (file)
@@ -54,7 +54,7 @@ using namespace CyberLink;
     static void Close( vlc_object_t * );
 
 vlc_module_begin();
-    set_shortname( _("UPnP"));
+    set_shortname( "UPnP");
     set_description( _("Universal Plug'n'Play discovery") );
     set_category( CAT_PLAYLIST );
     set_subcategory( SUBCAT_PLAYLIST_SD );
@@ -110,7 +110,7 @@ static int Open( vlc_object_t *p_this )
 
     p_view = playlist_ViewFind( 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_SKIP_FLAG;
     val.b_bool = VLC_TRUE;
index 2d279eb..6c349a2 100644 (file)
@@ -149,7 +149,7 @@ static char *ppsz_pos_descriptions[] =
  *****************************************************************************/
 vlc_module_begin();
     set_capability( "sub filter", 0 );
-    set_shortname( N_("RSS" ));
+    set_shortname( "RSS" );
     set_callbacks( CreateFilter, DestroyFilter );
     set_category( CAT_VIDEO );
     set_subcategory( SUBCAT_VIDEO_SUBPIC );
index 00fa366..c7c0d5b 100644 (file)
@@ -216,11 +216,11 @@ vlc_module_begin();
     set_category( CAT_VIDEO );
     set_subcategory( SUBCAT_VIDEO_VOUT );
 #ifdef MODULE_NAME_IS_wingapi
-    set_shortname( _("Windows GAPI") );
+    set_shortname( "Windows GAPI" );
     set_description( _("Windows GAPI video output") );
     set_capability( "video output", 20 );
 #else
-    set_shortname( _("Windows GDI") );
+    set_shortname( "Windows GDI" );
     set_description( _("Windows GDI video output") );
     set_capability( "video output", 10 );
 #endif
index 09ff7b7..1f3fc5d 100644 (file)
@@ -231,13 +231,13 @@ void vout_IntfInit( vout_thread_t *p_vout )
     var_Change( p_vout, "crop", VLC_VAR_DELCHOICE, &val, 0 );
     val.psz_string = ""; text.psz_string = _("Default");
     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 );
-    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 );
-    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 );
-    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_AddCallback( p_vout, "crop", CropCallback, NULL );