From ee12c14aa04fc21fa114e7d5b9b004b7d9232e24 Mon Sep 17 00:00:00 2001 From: Christian Beer Date: Fri, 10 Mar 2017 15:00:05 +0100 Subject: [PATCH] Drupal: fixed error messages see comment in https://dev.gridrepublic.org/browse/DBOINCP-317 --- .../boinc/modules/boinctranslate/boinctranslate.module | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drupal/sites/default/boinc/modules/boinctranslate/boinctranslate.module b/drupal/sites/default/boinc/modules/boinctranslate/boinctranslate.module index 4fb4c070b5..e720414c83 100644 --- a/drupal/sites/default/boinc/modules/boinctranslate/boinctranslate.module +++ b/drupal/sites/default/boinc/modules/boinctranslate/boinctranslate.module @@ -352,7 +352,7 @@ function boinctranslate_initialize_languages() { } else { $variables = array( - '%project' => $project, + '%project' => $project_name, ); drupal_set_message( t('No languages found for %project. (Does the configured account have sufficient privileges at Transifex?)', $variables), @@ -368,7 +368,7 @@ function boinctranslate_initialize_languages() { } else { $variables = array( - '%project' => $project, + '%project' => $project_name, ); drupal_set_message( t('Invalid response while getting languages for %project.', $variables),