Rename get_lang_page

This commit is contained in:
Andrew 2022-04-14 19:34:21 -04:00
parent 20141f3cba
commit b380f09b06
2 changed files with 3 additions and 3 deletions

View File

@ -37,7 +37,7 @@ class PublicHandler(BaseHandler):
"version": self.helper.get_version_string(), "version": self.helper.get_version_string(),
"error": error, "error": error,
"lang": self.helper.get_setting("language"), "lang": self.helper.get_setting("language"),
"lang_page": self.helper.getLangPage(self.helper.get_setting("language")), "lang_page": self.helper.get_lang_page(self.helper.get_setting("language")),
"query": "", "query": "",
} }
if self.request.query: if self.request.query:
@ -86,7 +86,7 @@ class PublicHandler(BaseHandler):
"version": self.helper.get_version_string(), "version": self.helper.get_version_string(),
"error": error, "error": error,
"lang": self.helper.get_setting("language"), "lang": self.helper.get_setting("language"),
"lang_page": self.helper.getLangPage(self.helper.get_setting("language")), "lang_page": self.helper.get_lang_page(self.helper.get_setting("language")),
"query": "", "query": "",
} }
if self.request.query: if self.request.query:

View File

@ -9,7 +9,7 @@ class StatusHandler(BaseHandler):
def get(self): def get(self):
page_data = {} page_data = {}
page_data["lang"] = self.helper.get_setting("language") page_data["lang"] = self.helper.get_setting("language")
page_data["lang_page"] = self.helper.getLangPage( page_data["lang_page"] = self.helper.get_lang_page(
self.helper.get_setting("language") self.helper.get_setting("language")
) )
page_data["servers"] = self.controller.servers.get_all_servers_stats() page_data["servers"] = self.controller.servers.get_all_servers_stats()