diff --git a/dictionaries/en.dictionary.itop.ui.php b/dictionaries/en.dictionary.itop.ui.php index 6206470ee..11d926e88 100644 --- a/dictionaries/en.dictionary.itop.ui.php +++ b/dictionaries/en.dictionary.itop.ui.php @@ -1599,3 +1599,19 @@ Dict::Add('EN US', 'English', 'English', array( 'UI:Newsroom:DisplayMessagesFor_Provider' => 'Display messages from %1$s', 'UI:Newsroom:DisplayAtMost_X_Messages' => 'Display up to %1$s messages in the %2$s menu.', )); + + +// OAuth +Dict::Add('EN US', 'English', 'English', array( + 'Menu:OAuthWizardMenu' => 'OAuth 2.0', + 'UI:OAuth:Wizard:Page:Title' => 'OAuth 2.0 Configuration', + 'UI:OAuth:Wizard:Form:Panel:Title' => 'OAuth 2.0 Configuration', + 'UI:OAuth:Wizard:Form:Input:ClientId:Label' => 'Client Id', + 'UI:OAuth:Wizard:Form:Input:ClientSecret:Label' => 'Client Secret', + 'UI:OAuth:Wizard:Form:Input:Scope:Label' => 'Scope', + 'UI:OAuth:Wizard:Form:Input:Additional:Label' => 'Additional parameters', + 'UI:OAuth:Wizard:Form:Input:RedirectUri:Label' => 'Redirect Uri', + 'UI:OAuth:Wizard:Form:Button:Submit:Label' => 'Authentication', + 'UI:OAuth:Wizard:ResultConf:Panel:Title' => 'Configuration for SMTP', + 'UI:OAuth:Wizard:ResultConf:Panel:Description' => 'Paste this content into your configuration file to use this OAuth connection for your outgoing emails', +)); \ No newline at end of file diff --git a/sources/Core/Authentication/Client/OAuth/OAuthClientResultDisplayConf.php b/sources/Core/Authentication/Client/OAuth/OAuthClientResultDisplayConf.php index 36ae42a26..a2e3c6507 100644 --- a/sources/Core/Authentication/Client/OAuth/OAuthClientResultDisplayConf.php +++ b/sources/Core/Authentication/Client/OAuth/OAuthClientResultDisplayConf.php @@ -12,7 +12,7 @@ class OAuthClientResultDisplayConf implements IOAuthClientResultDisplay $oConfResultPanel = new Panel(Dict::S('UI:OAuth:Wizard:ResultConf:Panel:Title'), [],Panel::DEFAULT_COLOR_SCHEME, 'ibo-oauth-wizard--conf--panel'); $oConfResultPanel->AddCSSClass('ibo-oauth-wizard--result--panel'); $oConfResultPanel->SetIsCollapsible(true); - $oConfResultPanel->AddHtml('
'.Dict::S('UI:OAuthEmailSynchro:Wizard:ResultConf:Panel:Description').'
'); + $oConfResultPanel->AddHtml(''.Dict::S('UI:OAuth:Wizard:ResultConf:Panel:Description').'
'); $oConfResultPanel->AddHtml('');
return $oConfResultPanel;
}
diff --git a/templates/pages/backoffice/oauth/DisplayConfig.html.twig b/templates/pages/backoffice/oauth/DisplayConfig.html.twig
index ed018faee..185943da0 100644
--- a/templates/pages/backoffice/oauth/DisplayConfig.html.twig
+++ b/templates/pages/backoffice/oauth/DisplayConfig.html.twig
@@ -3,6 +3,6 @@
\ No newline at end of file