Created attachment 177190 [details] go_to_page_dialog_in_bg_locale In a new Writer document, choose Edit - Go to Page. If UI language is set to Czech (cs), Slovak (sk) or Bulgarian (bg), the dialog shows e.g. "Stránka 1 z $1" instead of "Stránka 1 z 1" - placeholder "$1" is not replaced by page count. For other tested locales (en, de, eo, ru, sl, hr), it works as expected. Tested in 7.2.3.2 and in current 7.4.0.0.alpha0+, Build ID: 22dd44f479fe9b3c34b03ae55177c7b66170e41b
On pc Debian with master sources updated today, I could reproduce this (at least with Czech language).
I put some debug in SwGotoPageDlg ctr sw/source/uibase/utlui/gotodlg.cxx and noticed this: a) In Czech I got: "z $_1" before and after replacement b) In French I got: "_de $1" before replacement "_de 1" after replacement see https://opengrok.libreoffice.org/xref/core/sw/source/uibase/utlui/gotodlg.cxx?r=29489b33#42 More weirdly, if I change translation and put "u $1" I got: "_u $1" before replacement "_u 1" after replacement Just wonder where the "_" does come from and why its location change. Caolán: thought you might be interested in this one.
Ok I think it's the automatic process of shortcut addings. "z" is already used for shortcut _Cancel/zruší.
The simplest way to fix this is to prevent the generation of a shortcut for "z %1" since it's useless. I suppose there must a way to do it.
BTW, I don't reproduce this with gen rendering but can reproduce this with gtk3 or kf5 ones.
I gave a try with this: https://gerrit.libreoffice.org/c/core/+/127790
Julien Nabet committed a patch related to this issue. It has been pushed to "master": https://git.libreoffice.org/core/commit/22a9faa36057b96b8478f7a1f990762fa78f3d26 tdf#146472: Missing page count in Go to Page dialog for some locales It will be available in 7.4.0. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-2": https://git.libreoffice.org/core/commit/ff68d7d5f5a29c7bd2016914d43628d11015eb5e tdf#146472: Missing page count in Go to Page dialog for some locales It will be available in 7.2.6. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
Patch for 7.3 waiting for review here: https://gerrit.libreoffice.org/c/core/+/127768
Julien Nabet committed a patch related to this issue. It has been pushed to "libreoffice-7-3": https://git.libreoffice.org/core/commit/df00367b8fe5d6b495c8e568f1ec732992e86d07 tdf#146472: Missing page count in Go to Page dialog for some locales It will be available in 7.3.0.2. The patch should be included in the daily builds available at https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More information about daily builds can be found at: https://wiki.documentfoundation.org/Testing_Daily_Builds Affected users are encouraged to test the fix and report feedback.
I can confirm that the page count is now shown correctly in the latest master (Build ID: 102a29d59a0a195ee42a52d5563adf99fa32a541). Thanks a lot for investigating this and for the quick fix!