mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 09:39:57 +00: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…
x
Reference in New Issue
Block a user