File tree Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Expand file tree Collapse file tree 4 files changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -58,6 +58,7 @@ public function handleRequest(ServerRequestInterface $request): ResponseInterfac
5858 'typo3Info ' => $ this ->typo3Information ,
5959 'typo3Version ' => $ this ->version ,
6060 'donationUrl ' => $ this ->typo3Information ::URL_DONATE ,
61+ 'trademarkUrl ' => $ this ->typo3Information ::URL_TRADEMARK ,
6162 'loadedExtensions ' => $ this ->getLoadedExtensions (),
6263 'messages ' => $ event ->getMessages (),
6364 'modules ' => $ this ->moduleProvider ->getModules ($ this ->getBackendUser ()),
Original file line number Diff line number Diff line change 6969 <trans-unit id =" extension.copyright" >
7070 <source >Extensions are copyright of their respective owners.</source >
7171 </trans-unit >
72+ <trans-unit id =" extension.trademark" >
73+ <source >TYPO3 is a registered %strademark%s.</source >
74+ </trans-unit >
7275 <trans-unit id =" details.link" >
7376 <source >Go to %s for details.</source >
7477 </trans-unit >
Original file line number Diff line number Diff line change 22 {f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/Modules/about.xlf:cms_description',
33 arguments: '{
44 0: "© {typo3Info.copyrightYear}",
5- 1: "Kasper Skårhøj"
5+ 1: "Kasper Skårhøj."
6+ }') -> f:format.raw()}
7+ </ p >
8+ < p >
9+ {f:translate(key: 'LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.trademark',
10+ arguments: '{
11+ 0: "< a href =\ "{trademarkUrl}\" target=\"_blank\" rel=\"noreferrer\"> ",
12+ 1: "</ a > "
613 }') -> f:format.raw()}
714</ p >
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ class Typo3Information
3030 public const URL_LICENSE = 'https://typo3.org/project/licenses/ ' ;
3131 public const URL_EXCEPTION = 'https://typo3.org/go/exception/CMS/ ' ;
3232 public const URL_DONATE = 'https://typo3.org/community/contribute/donate/ ' ;
33+ public const URL_TRADEMARK = 'https://typo3.org/trademark ' ;
3334 private const URL_DOCS = 'https://docs.typo3.org/permalink/%s@%s ' ;
3435
3536 protected LanguageService $ languageService ;
@@ -105,6 +106,11 @@ public function getCopyrightNotice(): string
105106 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:copyright ' ) . ' © '
106107 . htmlspecialchars ($ this ->getCopyrightYear ()) . ' Kasper Skårhøj. ' .
107108 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.copyright ' ) . ' ' .
109+ sprintf (
110+ $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:extension.trademark ' ),
111+ '<a href=" ' . htmlspecialchars (static ::URL_TRADEMARK ) . '" target="_blank" rel="noreferrer"> ' ,
112+ '</a> '
113+ ) . ' ' .
108114 sprintf (
109115 $ this ->languageService ->sL ('LLL:EXT:backend/Resources/Private/Language/locallang_login.xlf:details.link ' ),
110116 '<a href=" ' . htmlspecialchars (static ::URL_COMMUNITY ) . '" target="_blank" rel="noreferrer"> ' . htmlspecialchars (static ::URL_COMMUNITY ) . '</a> '
You can’t perform that action at this time.
0 commit comments