Task #3444
closedWeblate: some links to source string are invalid
0%
Description
In Weblate, "Source string" area contains "Source string location link" which is sometimes invalid.
For example this string: https://translations.documentfoundation.org/translate/libo_ui-master/cuimessages/cs/?offset=696
has the link: https://git.libreoffice.org/core/+/master/cui/messages/cui/uiconfig/ui/accelconfigpage.ui/#80
whereas the correct one should be: https://git.libreoffice.org/core/+/master/cui/uiconfig/ui/accelconfigpage.ui/#80
Updated by Guilhem Moulin almost 4 years ago
- Category set to Weblate
- Status changed from New to Closed
- Assignee set to Guilhem Moulin
Thanks, fixed. The problem was that some URLs use the component name in the source string, such as https://git.libreoffice.org/core/+/master/instsetoo_native/inc_openoffice/windows/msi_languages/ActionTe.ulf#0 for instsetoo_nativeinc_openofficewindowsmsi_languages
; some others do not, such as https://git.libreoffice.org/core/+/master/cui/inc/numcategories.hrc#16 for cuimessages
; and some even use a submodule, such as https://git.libreoffice.org/dictionaries/+/master/en/description.xml#0 for dictionariesen/en
. So one can't have all component inherit a single vcs-browser. Hardcoded the URLs for now, let's see how that works when new projects are spawned.
Updated by Stanislav Horáček almost 4 years ago
Thanks for your effort, indeed it worked.
However, now, after the strings update, "Source string location link" is completely missing for the UI project. Could it be put back?
Updated by Guilhem Moulin almost 4 years ago
Stanislav Horáček wrote:
However, now, after the strings update, "Source string location link" is completely missing for the UI project. Could it be put back?
Could you share the page with the missing link?
Updated by Stanislav Horáček almost 4 years ago
I wrote it too soon:) There is only a few exceptional strings, as here:
https://translations.documentfoundation.org/translate/libo_ui-master/cuimessages/cs/?checksum=887a0df814ecc1bb
Otherwise it looks good - so thanks again!
Updated by Guilhem Moulin almost 4 years ago
Stanislav Horáček wrote:
I wrote it too soon:) There is only a few exceptional strings, as here:
https://translations.documentfoundation.org/translate/libo_ui-master/cuimessages/cs/?checksum=887a0df814ecc1bb
Was this non-empty before my changes? AFAICT Weblate hides it because the unit's location
field is empty but I didn't touch that column earlier. In fact all changes were on another table. I don't know why the field is empty though :-)
Updated by Stanislav Horáček almost 4 years ago
They were new in the last update, so you don't need to worry about your changes:))
Updated by Guilhem Moulin almost 4 years ago
Then I don't know, maybe Christian Lohmaier did something different in that last update? Probably best to open a new ticket anyway :-)