Skip to content

Commit

Permalink
[BUGFIX] Move translations of general information widget to EXT:dashb…
Browse files Browse the repository at this point in the history
…oard

Removed the dependency on EXT:about by adding translations for the
General Information widget to EXT:dashboard itself.

Releases: master, 10.4
Resolves: #91399
Change-Id: I8b84e334e3aa814947722846ca73b799f9a1a19e
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/65038
Tested-by: TYPO3com <noreply@typo3.com>
Tested-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Jigal van Hemert <jigal.van.hemert@typo3.org>
Reviewed-by: Benni Mack <benni@typo3.org>
  • Loading branch information
Richard Haeser authored and bmack committed Jul 15, 2020
1 parent 1b85129 commit 0f08c16
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,12 @@
<trans-unit id="widgets.t3information.description" xml:space="preserve">
<source>Some general information about TYPO3 and the version used</source>
</trans-unit>
<trans-unit id="widgets.t3information.text" resname="widgets.t3information.text">
<source><![CDATA[TYPO3 CMS is an enterprise-class, Open Source Content Management System, used internationally to build and manage websites of all types, from small sites for non-profits to multilingual enterprise solutions for large corporations.<br /><br />For further information visit <a href="https://typo3.org/typo3-cms/" target="_blank" rel="noreferrer">typo3.org</a>.<br /><br />TYPO3 CMS is <b>freely available</b> under the <a href="https://typo3.org/typo3-cms/overview/licenses/" target="_blank" rel="noreferrer">TYPO3-license (GNU/GPL)</a>.<br /><br />You are using version %s - Copyright %s %s]]></source>
</trans-unit>
<trans-unit id="widgets.t3information.logo" resname="widgets.t3information.logo">
<source>TYPO3 CMS logo</source>
</trans-unit>

<trans-unit id="widgets.sysLogErrors.title" xml:space="preserve">
<source>Number of errors in system log</source>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
<div class="col-sm-8">
<f:if condition="{currentVersion} && {copyrightYear}">
<p>
{f:translate(key: 'LLL:EXT:about/Resources/Private/Language/Modules/about.xlf:cms_description',
{f:translate(key: 'widgets.t3information.text',
extensionName: 'dashboard',
arguments: '{
0: currentVersion,
1: "&copy; {copyrightYear}",
Expand All @@ -18,7 +19,7 @@
<div class="col-sm-4">
<img src="{f:uri.resource(path: 'Images/typo3_orange.svg', extensionName: 'backend')}"
class="widget-t3information-logo"
alt="{f:translate(key:'LLL:EXT:about/Resources/Private/Language/Modules/about.xlf:typo3_logo')}"/>
alt="{f:translate(key:'widgets.t3information.logo', extensionName: 'dashboard')}"/>
</div>
</div>

Expand Down

0 comments on commit 0f08c16

Please sign in to comment.