Make prep_status() message translatable - Mailing list pgsql-hackers

From Kyotaro Horiguchi
Subject Make prep_status() message translatable
Date
Msg-id 20250407.155546.2129693791769531891.horikyota.ntt@gmail.com
Whole thread Raw
Responses Re: Make prep_status() message translatable
List pgsql-hackers
Hello,

The recent commit 173c97812ff made the following change:

-    prep_status("Adding \".old\" suffix to old global/pg_control");
+    prep_status("Adding \".old\" suffix to old " XLOG_CONTROL_FILE);

This change results in a message that is untranslatable, at least into
Japanese.  In addition, the file name should be quoted.

The attached patch modifies the message to use %s for XLOG_CONTROL_FILE,  
making it properly translatable.

regards.

-- 
Kyotaro Horiguchi
NTT Open Source Software Center

Attachment

pgsql-hackers by date:

Previous
From: Rahila Syed
Date:
Subject: Re: Enhancing Memory Context Statistics Reporting
Next
From: Bernd Helmle
Date:
Subject: Re: Modern SHA2- based password hashes for pgcrypto