]> git.sesse.net Git - vlc/blobdiff - modules/gui/macosx/open.m
String Review round one, Mac OS X interface.
[vlc] / modules / gui / macosx / open.m
index 8b66a5d1a6aeb699165a343df64e60655c3b46b8..b95d03143e9285192aa14ddb8124511e93f6bf32 100644 (file)
@@ -1,8 +1,8 @@
 /*****************************************************************************
- * open.m: MacOS X plugin for vlc
+ * open.m: MacOS X module for vlc
  *****************************************************************************
  * Copyright (C) 2002-2003 VideoLAN
- * $Id: open.m,v 1.41 2003/11/06 18:35:19 hartman Exp $
+ * $Id: open.m,v 1.42 2004/01/25 17:01:57 murray Exp $
  *
  * Authors: Jon Lech Johansen <jon-vl@nanocrew.net> 
  *          Christophe Massiot <massiot@via.ecp.fr>
@@ -464,7 +464,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
     o_videots = [o_disc_videots_folder stringValue];
     b_menus = [o_disc_dvd_menus state];
 
-    if ( [o_type isEqualToString: _NS("VCD")] )
+    if ( [o_type isEqualToString: @"VCD"] )
     {
         if ( [o_device isEqualToString:
                 [NSString stringWithFormat: _NS("No %@s found"), o_type]] )
@@ -480,7 +480,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
         o_mrl_string = [NSString stringWithFormat: @"cdda://%@",
                         o_device]; 
     }
-    else if ( [o_type isEqualToString: _NS("DVD")] )
+    else if ( [o_type isEqualToString: @"DVD"] )
     {
         if ( [o_device isEqualToString:
                 [NSString stringWithFormat: _NS("No %@s found"), o_type]] )
@@ -539,9 +539,9 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
 
     o_mode = [[o_net_mode selectedCell] title];
 
-    if( [o_mode isEqualToString: _NS("UDP/RTP")] ) b_udp = TRUE;   
-    else if( [o_mode isEqualToString: _NS("UDP/RTP Multicast")] ) b_udpm = TRUE;
-    else if( [o_mode isEqualToString: _NS("HTTP/FTP/MMS")] ) b_http = TRUE;
+    if( [o_mode isEqualToString: @"UDP/RTP"] ) b_udp = TRUE;   
+    else if( [o_mode isEqualToString: @"UDP/RTP Multicast"] ) b_udpm = TRUE;
+    else if( [o_mode isEqualToString: @"HTTP/FTP/MMS"] ) b_http = TRUE;
 
     [o_net_udp_port setEnabled: b_udp];
     [o_net_udp_port_stp setEnabled: b_udp];
@@ -577,7 +577,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
 
     o_mode = [[o_net_mode selectedCell] title];
 
-    if( [o_mode isEqualToString: _NS("UDP/RTP")] )
+    if( [o_mode isEqualToString: @"UDP/RTP"] )
     {
         int i_port = [o_net_udp_port intValue];
 
@@ -589,7 +589,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
                 [o_mrl_string stringByAppendingFormat: @"@:%i", i_port]; 
         } 
     }
-    else if( [o_mode isEqualToString: _NS("UDP/RTP Multicast")] ) 
+    else if( [o_mode isEqualToString: @"UDP/RTP Multicast"] ) 
     {
         NSString *o_addr = [o_net_udpm_addr stringValue];
         int i_port = [o_net_udpm_port intValue];
@@ -602,7 +602,7 @@ NSArray *GetEjectableMediaOfClass( const char *psz_class )
                 [o_mrl_string stringByAppendingFormat: @":%i", i_port]; 
         } 
     }
-    else if( [o_mode isEqualToString: _NS("HTTP/FTP/MMS")] )
+    else if( [o_mode isEqualToString: @"HTTP/FTP/MMS"] )
     {
         NSString *o_url = [o_net_http_url stringValue];