[pulseaudio-commits] [Git][pulseaudio/pulseaudio][master] message-params: Remove unwanted translations from log statements

PulseAudio Marge Bot (@pulseaudio-merge-bot) gitlab at gitlab.freedesktop.org
Sun Oct 24 12:21:12 UTC 2021



PulseAudio Marge Bot pushed to branch master at PulseAudio / pulseaudio


Commits:
696ffb46 by Igor V. Kovalenko at 2021-10-24T13:37:47+03:00
message-params: Remove unwanted translations from log statements

Part-of: <https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/merge_requests/655>

- - - - -


1 changed file:

- src/pulsecore/message-handler.c


Changes:

=====================================
src/pulsecore/message-handler.c
=====================================
@@ -139,14 +139,14 @@ int pa_message_handler_send_message(pa_core *c, const char *object_path, const c
              * Wrap message parameters into JSON string and try again.
              * User might have missed double-quotes and passed ARGSTRING instead of proper JSON "ARGSTRING"
              */
-            pa_log_warn(_("Message parameters is not a valid JSON, wrapping into JSON string '\"%s\"'"), message_parameters);
+            pa_log_warn("Message parameters is not a valid JSON, wrapping into JSON string '\"%s\"'", message_parameters);
 
             wrapped_message_parameters = pa_sprintf_malloc("\"%s\"", message_parameters);
             parameters = pa_json_parse(wrapped_message_parameters);
             pa_xfree(wrapped_message_parameters);
 
             if (!parameters) {
-                pa_log_error(_("Message parameters is not a valid JSON object. Tried both '%s' and '\"%s\"'"),
+                pa_log_error("Message parameters is not a valid JSON object. Tried both '%s' and '\"%s\"'",
                         message_parameters, message_parameters);
                 return -PA_ERR_INVALID;
             }



View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/696ffb464cd312c91b6c09cb1a8201d02b69c588

-- 
View it on GitLab: https://gitlab.freedesktop.org/pulseaudio/pulseaudio/-/commit/696ffb464cd312c91b6c09cb1a8201d02b69c588
You're receiving this email because of your account on gitlab.freedesktop.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/pulseaudio-commits/attachments/20211024/ae1b0252/attachment.htm>


More information about the pulseaudio-commits mailing list