]> git.sesse.net Git - vlc/commitdiff
l10n string fixes
authorFelix Paul Kühne <fkuehne@videolan.org>
Sun, 6 Jul 2008 10:18:46 +0000 (12:18 +0200)
committerFelix Paul Kühne <fkuehne@videolan.org>
Sun, 6 Jul 2008 10:19:40 +0000 (12:19 +0200)
Note that _protocol abbreviations_ and friends are not localisable!

13 files changed:
modules/access/dshow/dshow.cpp
modules/access/http.c
modules/access/rtmp/access.c
modules/access/screen/screen.c
modules/access_output/rtmp.c
modules/audio_output/waveout.c
modules/codec/subtitles/subsusf.c
modules/demux/rtp.c
modules/demux/ty.c
modules/gui/macosx/open.m
modules/stream_out/rtp.c
src/libvlc-module.c
src/misc/update.c

index 477396e8e2886299a3bc48f364ddd6fe1cd8c008..a531f7fa303c28b99ed6dfa921cf021c2b574085 100644 (file)
@@ -162,7 +162,7 @@ static const char *const ppsz_amtuner_mode_text[] = { N_("Default"),
 
 #define AUDIO_CHANNELS_TEXT N_("Number of audio channels")
 #define AUDIO_CHANNELS_LONGTEXT N_( \
-    "Select audio input format with the given number of audio channesl (if non 0)" )
+    "Select audio input format with the given number of audio channels (if non 0)" )
 
 #define AUDIO_SAMPLERATE_TEXT N_("Audio sample rate")
 #define AUDIO_SAMPLERATE_LONGTEXT N_( \
index 15b2be30d81f302b67ffb689001f9bddba30f283..089d30612b9247e88745c585f029645fcc2584cf 100644 (file)
@@ -97,7 +97,7 @@ static void Close( vlc_object_t * );
 vlc_module_begin();
     set_description( N_("HTTP input") );
     set_capability( "access", 0 );
-    set_shortname( N_( "HTTP(S)" ) );
+    set_shortname( "HTTP(S)" );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_ACCESS );
 
index 0d3ad022f08ef1cd50b8eb0e47f1c2845c2a04e0..5e427f3ce8535c2f0828df9a1c027519475d9a50 100644 (file)
@@ -50,7 +50,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( N_("RTMP input") );
-    set_shortname( N_("RTMP") );
+    set_shortname( "RTMP" );
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_ACCESS );
 
index c4f7422ab85f24fab6c1df32b4fd918bfd446cbd..6f92341657e05a0b5ac8a1a72a593b7201b2c198 100644 (file)
 
 #define WIDTH_TEXT N_( "Subscreen width" )
 #define WIDTH_LONGTEXT N_( \
-    "Subscreen width." )
+    "Subscreen width" )
 
 #define HEIGHT_TEXT N_( "Subscreen height" )
 #define HEIGHT_LONGTEXT N_( \
-    "Subscreen height."  )
+    "Subscreen height"  )
 
 #define FOLLOW_MOUSE_TEXT N_( "Follow the mouse" )
 #define FOLLOW_MOUSE_LONGTEXT N_( \
-    "Follow the mouse when capturing a subscreen" )
+    "Follow the mouse when capturing a subscreen." )
 #endif
 
 static int  Open ( vlc_object_t * );
index a26690a097cfdb9f7973ba8cf4cb02556b870e5b..a482c037732c69860c20032c4c5b1548c8a833e8 100644 (file)
@@ -53,7 +53,7 @@ static void Close( vlc_object_t * );
 
 vlc_module_begin();
     set_description( N_("RTMP stream output") );
-    set_shortname( N_("RTMP" ) );
+    set_shortname( "RTMP" );
     set_capability( "sout access", 50 );
     set_category( CAT_SOUT );
     set_subcategory( SUBCAT_SOUT_STREAM );
index bf9ac039186fd44a0fb4954c82d4906ccbb77b7e..d3ef47c1d6e0d84e5ea013a97b55b9be1638d2f5 100644 (file)
@@ -476,7 +476,7 @@ static void Probe( aout_instance_t * p_aout )
             == VLC_SUCCESS )
         {
             val.i_int = AOUT_VAR_5_1;
-            text.psz_string = (char *)N_("5.1");
+            text.psz_string = "5.1";
             var_Change( p_aout, "audio-device",
                         VLC_VAR_ADDCHOICE, &val, &text );
             msg_Dbg( p_aout, "device supports 5.1 channels" );
index 162cd1d49deff6b6c371964df7a0218675919aaf..9ce8d450794c2b3b2080599a7f3afd5e3af3d367 100644 (file)
@@ -48,7 +48,7 @@ static subpicture_region_t *LoadEmbeddedImage( decoder_t *p_dec, subpicture_t *p
 
 vlc_module_begin();
     set_capability( "decoder", 40 );
-    set_shortname( N_("USFSubs"));
+    set_shortname( "USFSubs" );
     set_description( N_("USF subtitles decoder") );
     set_callbacks( OpenDecoder, CloseDecoder );
     set_category( CAT_INPUT );
index ee99286a276e272fc76e1d584cb45da996c4c45b..1706b0fd785a2b8da0646026e4fbd087e0ae7991 100644 (file)
@@ -79,7 +79,7 @@ static void Close (vlc_object_t *);
  * Module descriptor
  */
 vlc_module_begin ();
-    set_shortname (_("RTP"));
+    set_shortname ( "RTP" );
     set_description (_("(Experimental) Real-Time Protocol demuxer"));
     set_category (CAT_INPUT);
     set_subcategory (SUBCAT_INPUT_DEMUX);
index 98d48ca831faf6188a136a6cb9e1f94c614c102f..f43c1b0bb99d0965ce544cc680406a9ae48fff6b 100644 (file)
@@ -56,7 +56,7 @@ static int  Open ( vlc_object_t * );
 static void Close( vlc_object_t * );
 
 vlc_module_begin();
-    set_shortname( N_("TY") );
+    set_shortname( "TY" );
     set_description(N_("TY Stream audio/video demux"));
     set_category( CAT_INPUT );
     set_subcategory( SUBCAT_INPUT_DEMUX );
index 36fac3802ee4bb78b325bd078ee46e64499d64e2..ea6c3c08cdd8519706615ae40689b0c96d315044 100644 (file)
@@ -182,8 +182,8 @@ static VLCOpen *_o_sharedMainInstance = nil;
     [o_disc_dvd_menus setTitle: _NS("No DVD menus")];
 
     [[o_disc_type cellAtRow:0 column:0] setTitle: _NS("VIDEO_TS directory")];
-    [[o_disc_type cellAtRow:1 column:0] setTitle: _NS("DVD")];
-    [[o_disc_type cellAtRow:2 column:0] setTitle: _NS("VCD")];
+    [[o_disc_type cellAtRow:1 column:0] setTitle: @"DVD"];
+    [[o_disc_type cellAtRow:2 column:0] setTitle: @"VCD"];
     [[o_disc_type cellAtRow:3 column:0] setTitle: _NS("Audio CD")];
 
     [o_net_udp_port_lbl setStringValue: _NS("Port")];
@@ -191,9 +191,9 @@ static VLCOpen *_o_sharedMainInstance = nil;
     [o_net_udpm_port_lbl setStringValue: _NS("Port")];
     [o_net_http_url_lbl setStringValue: _NS("URL")];
 
-    [[o_net_mode cellAtRow:0 column:0] setTitle: _NS("UDP/RTP")];
+    [[o_net_mode cellAtRow:0 column:0] setTitle: @"UDP/RTP"];
     [[o_net_mode cellAtRow:1 column:0] setTitle: _NS("UDP/RTP Multicast")];
-    [[o_net_mode cellAtRow:2 column:0] setTitle: _NS("HTTP/FTP/MMS/RTSP")];
+    [[o_net_mode cellAtRow:2 column:0] setTitle: @"HTTP/FTP/MMS/RTSP"];
     [o_net_timeshift_ckbox setTitle: _NS("Allow timeshifting")];
 
     [o_net_udp_port setIntValue: config_GetInt( p_intf, "server-port" )];
index fb79a6881801efd34feb9e7338aa63b2e4cc85f1..75b28b8f79005d775a6c8e994c078f19c1736dca 100644 (file)
@@ -158,7 +158,7 @@ static void Close( vlc_object_t * );
 #define MAX_EMPTY_BLOCKS 200
 
 vlc_module_begin();
-    set_shortname( N_("RTP"));
+    set_shortname( "RTP" );
     set_description( N_("RTP stream output") );
     set_capability( "sout stream", 0 );
     add_shortcut( "rtp" );
index 47669ac82282bc86fa448e057472f1e484c22f27..46b0580fac42bc8cf99c2133065b69b99c2b90af 100644 (file)
@@ -1352,9 +1352,9 @@ static const char *const ppsz_albumart_descriptions[] =
     "video output for the time being." )
 
 #define MENU_ON_KEY_TEXT N_("Display OSD menu on top of video output")
-#define MENU_ON_KEY_LONGTEXT N_("Display OSDmenu on top of video output")
+#define MENU_ON_KEY_LONGTEXT N_("Display OSD menu on top of video output")
 #define MENU_OFF_KEY_TEXT N_("Do not display OSD menu on video output")
-#define MENU_OFF_KEY_LONGTEXT N_("Do not display OSDmenu on top of video output")
+#define MENU_OFF_KEY_LONGTEXT N_("Do not display OSD menu on top of video output")
 #define MENU_RIGHT_KEY_TEXT N_("Highlight widget on the right")
 #define MENU_RIGHT_KEY_LONGTEXT N_( \
         "Move OSD menu highlight to the widget on the right")
index 45fb993e4debc448ff24f5cac144f8c8a9f236fa..dd556a3e5f1fdb539a3f6522fae4cd3fee1e5a41 100644 (file)
@@ -1576,9 +1576,9 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
     {
         utf8_unlink( psz_destfile );
 
-        intf_UserFatal( p_udt, true, _("File can not be verified"),
+        intf_UserFatal( p_udt, true, _("File could not be verified"),
             _("It was not possible to download a cryptographic signature for "
-              "downloaded file \"%s\", and so VLC deleted it."),
+              "the downloaded file \"%s\". Thus, it was deleted."),
             psz_destfile );
         msg_Err( p_udt, "Couldn't download signature of downloaded file" );
         goto end;
@@ -1589,9 +1589,9 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
         utf8_unlink( psz_destfile );
         msg_Err( p_udt, "Invalid signature issuer" );
         intf_UserFatal( p_udt, true, _("Invalid signature"),
-            _("The cryptographic signature for downloaded file \"%s\" was "
-              "invalid and couldn't be used to securely verify it, and so "
-              "VLC deleted it."),
+            _("The cryptographic signature for the downloaded file \"%s\" was "
+              "invalid and could not be used to securely verify it. Thus, the "
+              "file was deleted."),
             psz_destfile );
         goto end;
     }
@@ -1601,9 +1601,9 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
         utf8_unlink( psz_destfile );
         msg_Err( p_udt, "Invalid signature type" );
         intf_UserFatal( p_udt, true, _("Invalid signature"),
-            _("The cryptographic signature for downloaded file \"%s\" was "
-              "invalid and couldn't be used to securely verify it, and so "
-              "VLC deleted it."),
+            _("The cryptographic signature for the downloaded file \"%s\" was "
+              "invalid and could not be used to securely verify it. Thus, the "
+              "file was deleted."),,
             psz_destfile );
         goto end;
     }
@@ -1614,8 +1614,8 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
         msg_Err( p_udt, "Unable to hash %s", psz_destfile );
         utf8_unlink( psz_destfile );
         intf_UserFatal( p_udt, true, _("File not verifiable"),
-            _("It was not possible to securely verify downloaded file \"%s\", "
-              "and so VLC deleted it."),
+            _("It was not possible to securely verify the downloaded file"
+              " \"%s\". Thus, it was VLC deleted."),
             psz_destfile );
 
         goto end;
@@ -1626,7 +1626,7 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
     {
         utf8_unlink( psz_destfile );
         intf_UserFatal( p_udt, true, _("File corrupted"),
-            _("Downloaded file \"%s\" was corrupted, and so VLC deleted it."),
+            _("Downloaded file \"%s\" was corrupted. Thus, it was deleted."),
              psz_destfile );
         msg_Err( p_udt, "Bad SHA1 hash for %s", psz_destfile );
         free( p_hash );
@@ -1638,7 +1638,7 @@ static void update_DownloadReal( update_download_thread_t *p_udt )
     {
         utf8_unlink( psz_destfile );
         intf_UserFatal( p_udt, true, _("File corrupted"),
-            _("Downloaded file \"%s\" was corrupted, and so VLC deleted it."),
+            _("Downloaded file \"%s\" was corrupted. Thus, it was deleted."),
              psz_destfile );
         msg_Err( p_udt, "BAD SIGNATURE for %s", psz_destfile );
         free( p_hash );