feat: add translation
This commit is contained in:
parent
38e88e14d5
commit
3ea2a0368e
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ def get_context(context):
|
|||
context["provider_logins"] = []
|
||||
context["disable_signup"] = frappe.utils.cint(frappe.db.get_value("Website Settings", "Website Settings", "disable_signup"))
|
||||
context["logo"] = frappe.get_hooks("app_logo_url")[-1]
|
||||
context["app_name"] = frappe.get_system_settings("app_name") or "Frappe"
|
||||
context["app_name"] = frappe.get_system_settings("app_name") or _("Frappe")
|
||||
providers = [i.name for i in frappe.get_all("Social Login Key", filters={"enable_social_login":1}, order_by="name")]
|
||||
for provider in providers:
|
||||
client_id, base_url = frappe.get_value("Social Login Key", provider, ["client_id", "base_url"])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue