diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php index c30c707..7564bbd 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleUpdateInterfaceTest.php @@ -2,7 +2,7 @@ /** * @file - * Definition of Drupal\locale\Tests\LocaleUpdateInterfaceTest. + * Tests for Drupal\locale\Tests\LocaleUpdateInterfaceTest. */ namespace Drupal\locale\Tests; @@ -104,4 +104,5 @@ function testInterface() { $this->assertText(t('@module (@version).', array('@module' => 'Locale test translate', '@version' => '1.3-dev')), 'Release details'); $this->assertText(t('No translation files are provided for development releases.'), 'Release info'); } -} \ No newline at end of file + +} diff --git a/core/modules/locale/locale.pages.inc b/core/modules/locale/locale.pages.inc index 86e333b..21f4d48 100644 --- a/core/modules/locale/locale.pages.inc +++ b/core/modules/locale/locale.pages.inc @@ -770,15 +770,15 @@ function locale_translation_language_table($form_element) { * "Translation source" setting at admin/config/regional/translate/settings. * This method will produce debug information including the respective path(s) * based on this setting. + * * Translations for development versions are never fetched, so the debug info * for that is a fixed message. * - * @param string $version - * Version of the project. - * @param string $remote_path - * Remote path where the translation file was tried to load from. - * @param string $local_path - * Local path where the translation file was tried to load from. + * @param array $source + * An array which is the project information of the source. + * + * @return string + * The string which contains debug information. */ function _locale_translation_status_debug_info($source) { $remote_path = isset($source->files['remote']->uri) ? $source->files['remote']->uri : ''; @@ -800,7 +800,11 @@ function _locale_translation_status_debug_info($source) { } /** - * Default theme function for translation edit form. + * Returns HTML for translation edit form. + * + * @param array $variables + * An associative array containing: + * - form: The form that contains the language information. * * @see locale_translate_edit_form() * @ingroup themeable @@ -838,7 +842,12 @@ function theme_locale_translate_edit_form_strings($variables) { } /** - * Default theme function for translation status information per language. + * Returns HTML for translation status information per language. + * + * @param array $variables + * An associative array containing: + * - updates: The projects which have updates. + * - not_found: The projects which updates are not found. * * @see locale_translation_status() * @ingroup themeable