Incomplete log sentences

Hello all,
Some logs in our journal are not displayed correctly. for example the log is showed as:
The submission {$articleId} has been archived.
or
user1 has entered a new submission, ID {$submissionId}.
has anyone experienced the same item?
Should I correct the locale key and remove the variable or add the variable to the corresponding code?
I am using an original version of OJS 2.4.6. I checked and logging codes where the same in OJS 2.4.8.

Cheers,

Hi @alirezaaa

It would be best to add the appropriate variable to the corresponding place in the code, if possible. I made a new issue for these that you mentioned, s. locale key parameter missing · Issue #1929 · pkp/pkp-lib · GitHub. If it is possible for you to make a pull request it would be great, else please watch that issue for a patch.

Thanks!
Bozana

Thanks @bozana,
I am looking forward for the patch.

Hi @alirezaaa

I saw your changes – they were good/correct… Thanks! :slight_smile: However, here is the patch for ojs-stable-2_4_8 branch: pkp/pkp-lib#1929 fix missing locale key parameters · pkp/ojs@02bb43d · GitHub

Best,
Bozana