N°6167 - Introduce API for the content of the Welcome Popup (#505)

* API for the content of the Welcome Popup

* Apply suggestions from code review

* N°7410 - Refactor code to match conventions

* N°7410 - Refactor to new design

* N°7410 - Review adjustments

* N°7410 - Review adjustments

* N°7410 - Update translations

* N°7410 - Update setup complied file

* Update sources/Application/WelcomePopup/Provider/DefaultProvider.php

---------

Co-authored-by: Molkobain <lajarige.guillaume@free.fr>
This commit is contained in:
Denis
2024-04-18 16:57:07 +02:00
committed by GitHub
parent 62f5f2c942
commit 3a8ad59e6c
59 changed files with 1665 additions and 649 deletions

View File

@@ -0,0 +1,24 @@
<?php
/*
* @copyright Copyright (C) 2010-2023 Combodo SARL
* @license http://opensource.org/licenses/AGPL-3.0
*/
// UI elements
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'UI:WelcomePopup:Button:RemindLater' => 'Remind me later~~',
'UI:WelcomePopup:Button:Acknowledge' => 'Got it~~',
]);
// Message
Dict::Add('ZH CN', 'Chinese', '简体中文', [
'UI:WelcomePopup:Message:320_01:Title' => ITOP_APPLICATION_SHORT . ' 3: Introducing fullmoon design~~',
'UI:WelcomePopup:Message:320_01:Description' => '<div>恭喜, 您运行的是'.ITOP_APPLICATION.' '.ITOP_VERSION_NAME.'!</div>
<br>
<div>此版本全新设计了一个现代且易用的后台界面.</div>
<br>
<div>我们不仅保留'.ITOP_APPLICATION.'中您所喜爱的核心功能,同时使其更具现代化.
我们衷心地希望您喜爱此版本,正如我们在设计和实现它的时候一样.</div>
<br>
<div>定制化您的'.ITOP_APPLICATION.'设置,实现个性化体验.</div>',
]);