mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Content server: Fix translations not being updated without clearing the browser cache
This commit is contained in:
parent
8bc874e9a6
commit
5e7d0fd42d
@ -128,6 +128,9 @@ def do_update_interface_data():
|
|||||||
if end_type is 'load':
|
if end_type is 'load':
|
||||||
data = JSON.parse(xhr.responseText)
|
data = JSON.parse(xhr.responseText)
|
||||||
update_interface_data(data)
|
update_interface_data(data)
|
||||||
|
if data.translations:
|
||||||
|
get_translations(data.translations)
|
||||||
|
install(data.translations)
|
||||||
).send()
|
).send()
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user