Change the language variables
authorCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:42:58 +0000 (12:42 +0100)
committerCyperghost <olaf_schmitz_1@t-online.de>
Thu, 8 Feb 2024 11:42:58 +0000 (12:42 +0100)
wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php
wcfsetup/install/lang/de.xml
wcfsetup/install/lang/en.xml

index e65bd013764906d70d03556130e2c5164ce0be76..7bbfa56f8c88509975b37f7b50c3de502a60a9a3 100644 (file)
@@ -69,9 +69,7 @@ final class ExpiringLicensesAcpDashboardBox extends AbstractAcpDashboardBox
 
     public function getTitle(): string
     {
-        return WCF::getLanguage()->getDynamicVariable('wcf.acp.dashboard.box.expiringLicenses', [
-            'expiringLicenses' => $this->getExpiredLicenses(),
-        ]);
+        return WCF::getLanguage()->get('wcf.acp.dashboard.box.expiredLicenses.title');
     }
 
     public function getContent(): string
index 09b01aeaf95fc62d84d46099692ed925641d4630..7e18e59d3b443d7e1ea2cd27bbd587639b09ae4d 100644 (file)
@@ -959,8 +959,9 @@ Sie erreichen das Fehlerprotokoll unter: {link controller='ExceptionLogView' isE
                <item name="wcf.acp.dashboard.box.statusMessage"><![CDATA[Status]]></item>
                <item name="wcf.acp.dashboard.box.missing.extensions"><![CDATA[Die {plural value=$missingExtensions|count one='PHP-Erweiterung' other='PHP-Erweiterungen'} {implode from=$missingExtensions item=extension}<strong>{$extension}</strong>{/implode} {plural value=$missingExtensions|count one='fehlt' other='fehlen'}.]]></item>
                <item name="wcf.acp.dashboard.configure"><![CDATA[Dashboard konfigurieren]]></item>
-               <item name="wcf.acp.dashboard.box.expiredLicenses"><![CDATA[Abgelaufene {plural value=$expiredLicenses one='Lizenz' other='Lizenzen'}]]></item>
-               <item name="wcf.acp.dashboard.box.expiringLicenses"><![CDATA[Auslaufende {plural value=$expiringLicenses one='Lizenz' other='Lizenzen'}]]></item>
+               <item name="wcf.acp.dashboard.box.expiredLicenses.title"><![CDATA[Zugang zu Updates und Support]]></item>
+               <item name="wcf.acp.dashboard.box.expiredLicenses"><![CDATA[Nicht mehr berechtigt]]></item>
+               <item name="wcf.acp.dashboard.box.expiringLicenses"><![CDATA[Endet demnächst]]></item>
        </category>
        <category name="wcf.acp.index">
                <item name="wcf.acp.index.inRescueMode"><![CDATA[{if LANGUAGE_USE_INFORMAL_VARIANT}Du rufst{else}Sie rufen{/if} diese Installation über eine abweichende Domain auf, etwa aufgrund eines Umzuges. Bitte {if LANGUAGE_USE_INFORMAL_VARIANT}korrigiere{else}korrigieren Sie{/if} die Einstellungen unter <a href="{link controller='ApplicationManagement'}{/link}">Apps verwalten</a>.]]></item>
index 8a1b39df4b6aa3813e0e26f3464bf174a2eec335..af87208917f0b902f48d486418ca65e5c96906a3 100644 (file)
@@ -937,8 +937,9 @@ You can access the error log at: {link controller='ExceptionLogView' isEmail=tru
                <item name="wcf.acp.dashboard.box.statusMessage"><![CDATA[Status]]></item>
                <item name="wcf.acp.dashboard.box.missing.extensions"><![CDATA[The PHP {plural value=$missingExtensions|count one='extension' other='extensions'} {implode from=$missingExtensions item=extension}<strong>{$extension}</strong>{/implode} {plural value=$missingExtensions|count one='is' other='are'} missing.]]></item>
                <item name="wcf.acp.dashboard.configure"><![CDATA[Configure Dashboard]]></item>
-               <item name="wcf.acp.dashboard.box.expiredLicenses"><![CDATA[Expired {plural value=$expiredLicenses one='license' other='licenses'}]]></item>
-               <item name="wcf.acp.dashboard.box.expiringLicenses"><![CDATA[Expiring {plural value=$expiringLicenses one='license' other='licenses'}]]></item>
+               <item name="wcf.acp.dashboard.box.expiredLicenses.title"><![CDATA[Access to updates and support]]></item>
+               <item name="wcf.acp.dashboard.box.expiredLicenses"><![CDATA[No longer authorised]]></item>
+               <item name="wcf.acp.dashboard.box.expiringLicenses"><![CDATA[Ends soon]]></item>
        </category>
        <category name="wcf.acp.index">
                <item name="wcf.acp.index.inRescueMode"><![CDATA[You are accessing this installation from an unknown domain, possibly caused by moving to a new host. Please update the settings on <a href="{link controller='ApplicationManagement'}{/link}">Manage Apps</a>.]]></item>