mirror of
https://github.com/grocy/grocy.git
synced 2026-03-29 09:09:25 +02:00
Invalidate browser cache on language change
This commit is contained in:
parent
cb24a7149f
commit
9ba7ee54a7
|
|
@ -232,7 +232,7 @@ U = function(relativePath)
|
|||
}
|
||||
|
||||
Grocy.Translator = new Translator(); // Dummy, real instance is loaded async below
|
||||
Grocy.Api.Get("system/localization-strings?v=" + Grocy.Version,
|
||||
Grocy.Api.Get("system/localization-strings?v=" + Grocy.Version + "&language=" + Grocy.Culture,
|
||||
function(response)
|
||||
{
|
||||
Grocy.Translator = new Translator(response);
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user