From 600975db8b6b118048f646ea2d3fad83f4f09bec Mon Sep 17 00:00:00 2001 From: Frode Petterson Date: Mon, 10 Aug 2015 13:04:38 +0200 Subject: [PATCH] Inconsistent placeholder format. Causes issues in WP. --- h5p.classes.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/h5p.classes.php b/h5p.classes.php index c291c2d..45329b0 100644 --- a/h5p.classes.php +++ b/h5p.classes.php @@ -1029,9 +1029,9 @@ class H5PValidator { ($h5pData['coreApi']['minorVersion'] > H5PCore::$coreApi['minorVersion']))) { $this->h5pF->setErrorMessage( - $this->h5pF->t('The library "%library_name" requires H5P %requiredVersion, but only H5P %coreApi is installed.', + $this->h5pF->t('The library "%libraryName" requires H5P %requiredVersion, but only H5P %coreApi is installed.', array( - '%library_name' => $library_name, + '%libraryName' => $library_name, '%requiredVersion' => $h5pData['coreApi']['majorVersion'] . '.' . $h5pData['coreApi']['minorVersion'], '%coreApi' => H5PCore::$coreApi['majorVersion'] . '.' . H5PCore::$coreApi['minorVersion'] )));