From 2a6623e5ae06406e85edf4b3f4fc09b49749f95d Mon Sep 17 00:00:00 2001 From: Cyperghost Date: Thu, 8 Feb 2024 12:24:19 +0100 Subject: [PATCH] Using plural function --- .../files/acp/templates/expiringLicensesAcpDashboardBox.tpl | 2 +- .../dashboard/box/ExpiringLicensesAcpDashboardBox.class.php | 2 +- wcfsetup/install/lang/de.xml | 4 ++-- wcfsetup/install/lang/en.xml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/wcfsetup/install/files/acp/templates/expiringLicensesAcpDashboardBox.tpl b/wcfsetup/install/files/acp/templates/expiringLicensesAcpDashboardBox.tpl index 24408f9ba0..b032f9550d 100644 --- a/wcfsetup/install/files/acp/templates/expiringLicensesAcpDashboardBox.tpl +++ b/wcfsetup/install/files/acp/templates/expiringLicensesAcpDashboardBox.tpl @@ -13,7 +13,7 @@ {/hascontent} {hascontent}
-

{lang}wcf.acp.dashboard.box.expiredLicences{/lang}

+

{lang}wcf.acp.dashboard.box.expiredLicenses{/lang}

{content} {foreach from=$expiredLicenses item=date key=packageName}
diff --git a/wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php b/wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php index 4a33293a05..97a8b75bb2 100644 --- a/wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php +++ b/wcfsetup/install/files/lib/system/acp/dashboard/box/ExpiringLicensesAcpDashboardBox.class.php @@ -70,7 +70,7 @@ final class ExpiringLicensesAcpDashboardBox extends AbstractAcpDashboardBox public function getTitle(): string { return WCF::getLanguage()->getDynamicVariable('wcf.acp.dashboard.box.expiringLicenses', [ - 'expiredLicenses' => $this->getExpiredLicenses(), + 'expiringLicenses' => $this->getExpiredLicenses(), ]); } diff --git a/wcfsetup/install/lang/de.xml b/wcfsetup/install/lang/de.xml index bf57dde1f2..d9e0561ce6 100644 --- a/wcfsetup/install/lang/de.xml +++ b/wcfsetup/install/lang/de.xml @@ -959,8 +959,8 @@ Sie erreichen das Fehlerprotokoll unter: {link controller='ExceptionLogView' isE {$extension}{/implode} {plural value=$missingExtensions|count one='fehlt' other='fehlen'}.]]> - - + + Apps verwalten.]]> diff --git a/wcfsetup/install/lang/en.xml b/wcfsetup/install/lang/en.xml index 26bfb9cb55..64459ee7d9 100644 --- a/wcfsetup/install/lang/en.xml +++ b/wcfsetup/install/lang/en.xml @@ -937,8 +937,8 @@ You can access the error log at: {link controller='ExceptionLogView' isEmail=tru {$extension}{/implode} {plural value=$missingExtensions|count one='is' other='are'} missing.]]> - - + + Manage Apps.]]> -- 2.20.1