mirror of
https://github.com/grocy/grocy.git
synced 2025-08-17 11:06:36 +00:00
Invalidate browser cache on language change
This commit is contained in:
@@ -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);
|
||||||
|
Reference in New Issue
Block a user