mirror of
https://github.com/grocy/grocy.git
synced 2026-04-08 13:46:14 +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.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)
|
function(response)
|
||||||
{
|
{
|
||||||
Grocy.Translator = new Translator(response);
|
Grocy.Translator = new Translator(response);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user