Changeset 870a36bbd13b26ff2e55bb33462f659952255b18

Show
Ignore:
Timestamp:
07/06/08 12:58:01 (2 months ago)
Author:
Rémi Denis-Courmont <rdenis@simphalempin.com>
git-committer:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215341881 +0300
git-parent:

[614adab2f96a88b548583b9acf9a31da33cdae58]

git-author:
Rémi Denis-Courmont <rdenis@simphalempin.com> 1215341714 +0300
Message:

Protocol names are localized.

There are real-life cases. There may also be differences in punctuations
and character sets. Besides the VLC core will anyway apply gettext to
these strings, so they are translatable in any case...

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • modules/access/http.c

    r62ec225 r870a36b  
    9898    set_description( N_("HTTP input") ); 
    9999    set_capability( "access", 0 ); 
    100     set_shortname( "HTTP(S)" ); 
     100    set_shortname( N_( "HTTP(S)" ) ); 
    101101    set_category( CAT_INPUT ); 
    102102    set_subcategory( SUBCAT_INPUT_ACCESS ); 
  • modules/access/rtmp/access.c

    r62ec225 r870a36b  
    5151vlc_module_begin(); 
    5252    set_description( N_("RTMP input") ); 
    53     set_shortname( "RTMP" ); 
     53    set_shortname( N_("RTMP") ); 
    5454    set_category( CAT_INPUT ); 
    5555    set_subcategory( SUBCAT_INPUT_ACCESS ); 
  • modules/access_output/rtmp.c

    r62ec225 r870a36b  
    5454vlc_module_begin(); 
    5555    set_description( N_("RTMP stream output") ); 
    56     set_shortname( "RTMP" ); 
     56    set_shortname( N_("RTMP" ) ); 
    5757    set_capability( "sout access", 50 ); 
    5858    set_category( CAT_SOUT ); 
  • modules/audio_output/waveout.c

    r62ec225 r870a36b  
    477477        { 
    478478            val.i_int = AOUT_VAR_5_1; 
    479             text.psz_string = "5.1"
     479            text.psz_string = (char *)N_("5.1")
    480480            var_Change( p_aout, "audio-device", 
    481481                        VLC_VAR_ADDCHOICE, &val, &text ); 
  • modules/codec/subtitles/subsusf.c

    r62ec225 r870a36b  
    4949vlc_module_begin(); 
    5050    set_capability( "decoder", 40 ); 
    51     set_shortname( "USFSubs" ); 
     51    set_shortname( N_("USFSubs")); 
    5252    set_description( N_("USF subtitles decoder") ); 
    5353    set_callbacks( OpenDecoder, CloseDecoder ); 
  • modules/demux/rtp.c

    r62ec225 r870a36b  
    8080 */ 
    8181vlc_module_begin (); 
    82     set_shortname ( "RTP" ); 
     82    set_shortname (_("RTP")); 
    8383    set_description (_("(Experimental) Real-Time Protocol demuxer")); 
    8484    set_category (CAT_INPUT); 
  • modules/demux/ty.c

    r62ec225 r870a36b  
    5757 
    5858vlc_module_begin(); 
    59     set_shortname( "TY" ); 
     59    set_shortname( N_("TY") ); 
    6060    set_description(N_("TY Stream audio/video demux")); 
    6161    set_category( CAT_INPUT ); 
  • modules/gui/macosx/open.m

    r62ec225 r870a36b  
    183183 
    184184    [[o_disc_type cellAtRow:0 column:0] setTitle: _NS("VIDEO_TS directory")]; 
    185     [[o_disc_type cellAtRow:1 column:0] setTitle: @"DVD"]; 
    186     [[o_disc_type cellAtRow:2 column:0] setTitle: @"VCD"]; 
     185    [[o_disc_type cellAtRow:1 column:0] setTitle: _NS("DVD")]; 
     186    [[o_disc_type cellAtRow:2 column:0] setTitle: _NS("VCD")]; 
    187187    [[o_disc_type cellAtRow:3 column:0] setTitle: _NS("Audio CD")]; 
    188188 
     
    192192    [o_net_http_url_lbl setStringValue: _NS("URL")]; 
    193193 
    194     [[o_net_mode cellAtRow:0 column:0] setTitle: @"UDP/RTP"]; 
     194    [[o_net_mode cellAtRow:0 column:0] setTitle: _NS("UDP/RTP")]; 
    195195    [[o_net_mode cellAtRow:1 column:0] setTitle: _NS("UDP/RTP Multicast")]; 
    196     [[o_net_mode cellAtRow:2 column:0] setTitle: @"HTTP/FTP/MMS/RTSP"]; 
     196    [[o_net_mode cellAtRow:2 column:0] setTitle: _NS("HTTP/FTP/MMS/RTSP")]; 
    197197    [o_net_timeshift_ckbox setTitle: _NS("Allow timeshifting")]; 
    198198 
  • modules/stream_out/rtp.c

    r62ec225 r870a36b  
    159159 
    160160vlc_module_begin(); 
    161     set_shortname( "RTP" ); 
     161    set_shortname( N_("RTP")); 
    162162    set_description( N_("RTP stream output") ); 
    163163    set_capability( "sout stream", 0 );