N°2504 N°3169 N°5102 Add dictionaries

This commit is contained in:
Stephen Abello
2022-05-13 14:06:11 +02:00
parent 8c217fdac9
commit caf939bf58
3 changed files with 18 additions and 2 deletions

View File

@@ -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',
));

View File

@@ -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('<p>'.Dict::S('UI:OAuthEmailSynchro:Wizard:ResultConf:Panel:Description').'</p>');
$oConfResultPanel->AddHtml('<p>'.Dict::S('UI:OAuth:Wizard:ResultConf:Panel:Description').'</p>');
$oConfResultPanel->AddHtml('<pre><code id="ibo-oauth-wizard--conf--result"></code></pre>');
return $oConfResultPanel;
}

View File

@@ -3,6 +3,6 @@
<fieldset class="'ibo-oauth-wizard--conf--panel ibo-oauth-wizard--result--panel'">
<legend>{{ 'UI:OAuth:Wizard:ResultConf:Panel:Title'|dict_s }}</legend>
<p>{{ 'UI:OAuthEmailSynchro:Wizard:ResultConf:Panel:Description'|dict_s }}</p>
<p>{{ 'UI:OAuth:Wizard:ResultConf:Panel:Description'|dict_s }}</p>
<pre><code id="ibo-oauth-wizard--conf--result"></code></pre>
</fieldset>