[vlc-devel] commit: Do not translate log messages ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Aug 13 20:25:27 CEST 2008


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Aug 13 21:28:14 2008 +0300| [7c809307289043ef1ae07f305eab5ec2deeb73b8] | committer: Rémi Denis-Courmont 

Do not translate log messages

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=7c809307289043ef1ae07f305eab5ec2deeb73b8
---

 modules/codec/subtitles/subsdec.c |    8 ++++----
 modules/codec/subtitles/subsusf.c |    4 ++--
 modules/control/lirc.c            |    2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/modules/codec/subtitles/subsdec.c b/modules/codec/subtitles/subsdec.c
index f6abcd9..0ce9de2 100644
--- a/modules/codec/subtitles/subsdec.c
+++ b/modules/codec/subtitles/subsdec.c
@@ -351,9 +351,9 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
     {
         if (EnsureUTF8( psz_subtitle ) == NULL)
         {
-            msg_Err( p_dec, _("failed to convert subtitle encoding.\n"
+            msg_Err( p_dec, "failed to convert subtitle encoding.\n"
                      "Try manually setting a character-encoding "
-                     "before you open the file.") );
+                     "before you open the file." );
         }
     }
     else
@@ -387,9 +387,9 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
             if( ( ret == (size_t)(-1) ) || inbytes_left )
             {
                 free( psz_new_subtitle );
-                msg_Err( p_dec, _("failed to convert subtitle encoding.\n"
+                msg_Err( p_dec, "failed to convert subtitle encoding.\n"
                         "Try manually setting a character-encoding "
-                                "before you open the file.") );
+                                "before you open the file." );
                 return NULL;
             }
 
diff --git a/modules/codec/subtitles/subsusf.c b/modules/codec/subtitles/subsusf.c
index 6e074d7..ff8e3d7 100644
--- a/modules/codec/subtitles/subsusf.c
+++ b/modules/codec/subtitles/subsusf.c
@@ -212,8 +212,8 @@ static subpicture_t *ParseText( decoder_t *p_dec, block_t *p_block )
     /* USF Subtitles are mandated to be UTF-8 -- make sure it is */
     if (EnsureUTF8( psz_subtitle ) == NULL)
     {
-        msg_Err( p_dec, _("USF subtitles must be in UTF-8 format.\n"
-                 "This stream contains USF subtitles which aren't.") );
+        msg_Err( p_dec, "USF subtitles must be in UTF-8 format.\n"
+                 "This stream contains USF subtitles which aren't." );
     }
 
     /* Create the subpicture unit */
diff --git a/modules/control/lirc.c b/modules/control/lirc.c
index 0ae6fbb..de500e1 100644
--- a/modules/control/lirc.c
+++ b/modules/control/lirc.c
@@ -186,7 +186,7 @@ static void Run( intf_thread_t *p_intf )
                     osd_MenuActivate( VLC_OBJECT(p_intf) );
                 else
                 {
-                    msg_Err( p_intf, _("Please provide one of the following parameters:") );
+                    msg_Err( p_intf, "Please provide one of the following parameters:" );
                     msg_Err( p_intf, "[on|off|up|down|left|right|select]" );
                     break;
                 }




More information about the vlc-devel mailing list