Skip to content
Snippets Groups Projects
Commit 3a19f4ec authored by Andreas Perhab's avatar Andreas Perhab Committed by fw-bot
Browse files

[FIX] auth_oauth: enable translation of link text for oauth providers


closes odoo/odoo#38492

X-original-commit: 1e012dda
Signed-off-by: default avatarNicolas Martinelli (nim) <nim@odoo.com>
parent cdb3ccf8
No related branches found
No related tags found
No related merge requests found
......@@ -122,6 +122,26 @@ msgstr ""
msgid "Last Updated on"
msgstr ""
#. module: auth_oauth
#: model:ir.model.fields,help:auth_oauth.field_auth_oauth_provider__body
msgid "Link text in Login Dialog"
msgstr ""
#. module: auth_oauth
#: model:auth.oauth.provider,body:auth_oauth.provider_google
msgid "Log in with Google"
msgstr ""
#. module: auth_oauth
#: model:auth.oauth.provider,body:auth_oauth.provider_openerp
msgid "Log in with Odoo.com"
msgstr ""
#. module: auth_oauth
#: model:auth.oauth.provider,body:auth_oauth.provider_facebook
msgid "Log in with facebook"
msgstr ""
#. module: auth_oauth
#: model:ir.model.fields,field_description:auth_oauth.field_res_users__oauth_access_token
msgid "OAuth Access Token"
......
......@@ -19,5 +19,5 @@ class AuthOAuthProvider(models.Model):
data_endpoint = fields.Char(string='Data URL')
enabled = fields.Boolean(string='Allowed')
css_class = fields.Char(string='CSS class', default='fa fa-fw fa-sign-in text-primary')
body = fields.Char(required=True)
body = fields.Char(required=True, help='Link text in Login Dialog', translate=True)
sequence = fields.Integer()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment