Description: In LO Writer, using Spanish UI, there is a missing space between words when two pages are displayed in dual layout view. See attached images. E.g. of bad spacing → «Páginas 1y2 de 96» Example of correct spacing → «Páginas 1 y 2 de 96» Other page combos are OK, for instance, «Página 3-6 de 96» Spanish PO string maybe be coming from POT file «sw/messages.pot» It also happens in LO 7.5.4.2 Steps to Reproduce: 1. Open LO writer 2. Create 2 blank pages 3. Set multi page view and scroll up/down Actual Results: It displays Páginas 1y2 de 2 Expected Results: I should display Páginas 1 y 2 de 2 Reproducible: Always User Profile Reset: No Additional Info: Version: 7.6.0.0.beta1+ (X86_64) / LibreOffice Community Build ID: a6d35a7940a2c72594b470aec341c867e6faf82c CPU threads: 2; OS: Linux 6.1; UI render: default; VCL: gtk3 Locale: es-ES (es_ES.UTF-8); UI: en-US Calc: threaded
Created attachment 188075 [details] Missing space
Created attachment 188076 [details] Good spacing
Involved string could be this: https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/es/?checksum=ea223f8fe19c72ed&q=P%C3%A1ginas+%251&sort_by=-priority%2Cposition But it looks fine. There is no «y» and just a missing space between dash «%1-%2» so I don't know where the string «1y2» is getting its source.
On pc Debian x86-64 with master sources updated today, I could reproduce this. I think these from sw/messages.po must be modified: STR_PAGES_COUNT gqFYf STR_PAGES_COUNT_EXTENDED BqLqv 9498 #. gqFYf 9499 #: sw/inc/strings.hrc:1317 9500 msgctxt "STR_PAGES_COUNT" 9501 msgid "Pages %1 - %2 of %3" 9502 msgstr "Páginas %1-%2 de %3" 9503 9504 #. BqLqv 9505 #: sw/inc/strings.hrc:1318 9506 msgctxt "STR_PAGES_COUNT_EXTENDED" 9507 msgid "Pages %1 - %2 of %3 [Pages %4 - %5]" 9508 msgstr "Páginas %1-%2 de %3 [pp. %4-%5]" the quote is replaced afterwards in sw/source/uibase/uiview/view2.cxx 1831 // replace range indicator with two pages conjunction if applicable 1832 if ((aVisiblePageNumbers.nLastPhy - aVisiblePageNumbers.nFirstPhy) == 1) 1833 aPageStr = aPageStr.replaceAll("-", SwResId(STR_PAGES_TWO_CONJUNCTION)); See https://opengrok.libreoffice.org/xref/core/sw/source/uibase/uiview/view2.cxx?r=bbb104ea#1833 So in Weblate, we can find these there: https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/es/?checksum=ea223f8fe19c72ed&q=note%3AgqFYf&sort_by=-priority%2Cposition https://translations.documentfoundation.org/translate/libo_ui-master/swmessages/es/?offset=1&q=note%3ABqLqv&sort_by=-priority%2Cposition&checksum= For the moment, the repo on Weblate seems locked. Adolfo: are you ok for the replace after the repo is unlocked?
Adolfo: since the repo was opened again, I made the suggestions.
Just installed LO 7.6.0.3 and this issue seems to be solved.
Thank you for the feedback!