Change oioioi~master~I0661b460c2cdf8fd48c8932dc25e0010e78a1e64, patchset 2
https://gerrit.sio2project.mimuw.edu.pl/3346
SIO-2278 Navbar translations doesn't work in problemset
In my local sio copy it appeared English even if language was set to Polish.
Hopefully my change fixes both problems.
Modifying navbar registry happens once during the initialization,
so these texts are saved once in the init, therefor only one translation happens.
When changing the language, no modification is possible to these strings.
Added translation in reading these texts from registry,
making sure they get translated every time they are loaded.
Removed translation from regiter functions,
so that registered textx is the text to be translated.
By doing so, I am sure that the text won't get translated before adding,
because the it would not be ever translated back.
Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64
https://gerrit.sio2project.mimuw.edu.pl/3346
SIO-2278Navbar translations doesn't work in problemsetIn my local sio copy it appeared English even if language was set to Polish.
Hopefully my change fixes both problems.
Modifying navbar registry happens once during the initialization,
so these texts are saved once in the init, therefor only one translation happens.
When changing the language, no modification is possible to these strings.
Added translation in reading these texts from registry,
making sure they get translated every time they are loaded.
TODO: remove translation from initializing registry!
Change-Id: I0661b460c2cdf8fd48c8932dc25e0010e78a1e64