Closed jmacura closed 2 years ago
@jmacura Hey, I just went to H4E to the same panel also logged in, and didn't notice this bug. Could there be something else causing this? Also does the map has ID set, maybe the {app} is undefined at some point and the translation breaks?!?
@DailisLangovskis Good point. Only relevant to Firefox browser. There is literally nothing when I open the form in Edge.
And I have checked that the map has an ID 'map1' set, so it is neither 'default' nor undefined.
Missing {{ }} in line `placeholder="'COMMON.name' | translateHs...
On Tue, 6 Sept 2022, 22:38 jmacura, @.***> wrote:
And I have checked that the map has an ID 'map1' set, so it is neither 'default' nor undefined.
— Reply to this email directly, view it on GitHub https://github.com/hslayers/hslayers-ng/issues/3323#issuecomment-1238574437, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAR6XZWVJI563XVLLKXLTV46MTNANCNFSM6AAAAAAQFKGKG4 . You are receiving this because you were assigned.Message ID: @.***>
I'd say, that placeholder should be wrapped in [] brackets.
Than pipe | wouldnt be evalued imho but can try
On Tue, 6 Sept 2022, 22:46 Dailis, @.***> wrote:
I'd say, that placeholder should be wrapped in [] brackets.
— Reply to this email directly, view it on GitHub https://github.com/hslayers/hslayers-ng/issues/3323#issuecomment-1238581756, or unsubscribe https://github.com/notifications/unsubscribe-auth/AADAR6SP5MW5NSWMUNDGD2DV46NRPANCNFSM6AAAAAAQFKGKG4 . You are receiving this because you were assigned.Message ID: @.***>
@jmacura Can You test if this fixes it now?
@DailisLangovskis It does fix it, indeed. Thanks!
Though I am curious why all these placeholders are empty.. Or is it only me again?
@DailisLangovskis It does fix it, indeed. Thanks!
Though I am curious why all these placeholders are empty.. Or is it only me again?
I guess here is why -> Issue
Bug
Describe the bug Translation strings are not loaded for save-map panel.
To Reproduce Steps to reproduce the behavior:
translateHs
plain interpolation stringExpected behavior Translation shall appear there.
Screenshots
Additional context Found at https://hub4everybody.lesprojekt.cz/map/ Observed in Firefox 104, not observed in Edge 105