Commit b63e6cf2 authored by robin.ingelbrecht's avatar robin.ingelbrecht Committed by robin.ingelbrecht

Issue #3006989 by robin.ingelbrecht: multilanguage support

parent 0289ed1a
......@@ -15,7 +15,7 @@ function flipclock_requirements($phase) {
$requirements['flipclock']['title'] = 'FlipClock.js';
$requirements['flipclock']['value'] = t('Installed');
if (file_exists(DRUPAL_ROOT . '/libraries/flipclock/compiled/flipclock.min.js')) {
if (file_exists(DRUPAL_ROOT . '/libraries/FlipClock/compiled/flipclock.min.js')) {
$requirements['flipclock']['severity'] = REQUIREMENT_OK;
}
else {
......@@ -23,7 +23,7 @@ function flipclock_requirements($phase) {
$requirements['flipclock']['value'] = t('Not found');
// Provide a download link to the lightgallery jQuery plugin.
$requirements['flipclock']['description'] = t('The <a href="@flipclock" target="_blank">FlipClock.js</a> jQuery plugin is missing. Make sure /libraries/flipclock/compiled/flipclock.min.js exists', [
$requirements['flipclock']['description'] = t('The <a href="@flipclock" target="_blank">FlipClock.js</a> jQuery plugin is missing. Make sure /libraries/FlipClock/compiled/flipclock.min.js exists', [
'@flipclock' => 'http://flipclockjs.com/',
]);
$requirements['flipclock']['severity'] = REQUIREMENT_ERROR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment