! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Removing translated strings from debug log
Status:
RESOLVED: FIXED
Product:
Xfce4-panel

Comments

Description Daichi Kawahata 2005-07-22 15:10:22 CEST
With --debug=full compilation, I've noticed debug log has translated
strings.

In my opinion, it'd be better if translated messages only appear at
user-visible places while logged messages keep English as is.

That allows user reporting outputted debug messages with copy & paste.

Reproducible: Always
Steps to Reproduce:




The following is the patch for the present,

Index: panel/main.c
===================================================================
--- panel/main.c        (revision 16261)
+++ panel/main.c        (working copy)
@@ -471,12 +471,12 @@
 #if DEBUG
     if (!session_managed)
     {
-       g_message (_("%s: Successfully started without session management"),
+       g_message ("%s: Successfully started without session management",
                   PACKAGE);
     }
     else
     {
-       g_message (_("%s: Successfully started with session management"),
+       g_message ("%s: Successfully started with session management",
                   PACKAGE);
     }
 #endif
Comment 1 Jasper Huijsmans editbugs 2005-07-22 19:07:46 CEST
In earlier versions these were not debug messages, but meant as user feedback,
for the advanced user. I commented them out because they proved to be a bit too
confusing. I'll probably remove them completelyone day...
Comment 2 Jasper Huijsmans editbugs 2005-10-26 19:54:26 CEST
I think I fixed this. If not, it's a WONTFIX ;-)

Bug #1090

Reported by:
Daichi Kawahata
Reported on: 2005-07-22
Last modified on: 2010-11-20

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Attachments

Additional information