diff --git a/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php b/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php index 2fe13ba..7f8882d 100644 --- a/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php +++ b/core/modules/locale/lib/Drupal/locale/Tests/LocaleCompareTest.php @@ -2,7 +2,7 @@ /** * @file - * Definition of Drupal\locale\Tests\LocaleCompareUnitTest. + * Definition of Drupal\locale\Tests\LocaleCompareTest. */ namespace Drupal\locale\Tests; @@ -30,7 +30,7 @@ class LocaleCompareTest extends WebTestBase { } /** - * Tets for translation status storage and translation status compare. + * Test for translation status storage and translation status comparison. */ function testLocaleCompare() { // Create and login user. diff --git a/core/modules/locale/locale.compare.inc b/core/modules/locale/locale.compare.inc index 10bfaa7..670136a 100644 --- a/core/modules/locale/locale.compare.inc +++ b/core/modules/locale/locale.compare.inc @@ -13,16 +13,14 @@ const LOCALE_TRANSLATION_DEFAULT_SERVER = "localize.drupal.org"; /** - * Default URL of the xml file at the translation server containing all - * available languages. + * Default location of xml available language list on the translation server. * * @see locale_translation_default_translation_server(). */ const LOCALE_TRANSLATION_DEFAULT_SERVER_URL = 'http://localize.drupal.org/l10n_server.xml'; /** - * Default pattern of path and name of the gettext file at the translation - * server. + * Default location of gettext file on the translation server. * * @see locale_translation_default_translation_server(). */ @@ -63,7 +61,7 @@ function locale_translation_flush_projects() { } /** - * Build list of projects and stores the result in the database. + * Builds list of projects and stores the result in the database. */ function locale_translation_build_projects() { // This function depends on Update module. We degrade gracefully. diff --git a/core/modules/locale/locale.install b/core/modules/locale/locale.install index fc9d4a0..726f224 100644 --- a/core/modules/locale/locale.install +++ b/core/modules/locale/locale.install @@ -32,7 +32,11 @@ function locale_uninstall() { variable_del('locale_cache_length'); variable_del('locale_translation_plurals'); variable_del('locale_translation_javascript'); - // @todo Delete locale_translation_ variables. + variable_del('locale_translation_test_system_info_alter'); + variable_del('locale_translation_check_disabled'); + variable_del('locale_translation_default_server'); + variable_del('locale_translation_default_server_url'); + variable_del('locale_translation_default_server_pattern'); // Remove all node type language variables. Node module might have been // enabled, but may be disabled, so use a wildcard delete. @@ -161,7 +165,7 @@ function locale_schema() { ); $schema['locale_project'] = array( - 'description' => 'Update information for project translations.', + 'description' => 'Translation status information for projects and server data.', 'fields' => array( 'name' => array( 'description' => 'A unique short name to identify the project.', @@ -654,7 +658,7 @@ function locale_update_8009() { /** * Add {locale_file} table. */ -function locale_update_8011() { +function locale_update_8010() { $table = array( 'description' => 'File import status information for interface translation files.', 'fields' => array( @@ -693,7 +697,7 @@ function locale_update_8011() { /** * Add a cache table and locale_project table for the locale module. */ -function locale_update_8010() { +function locale_update_8011() { // Add a 'locale' cache table. $table = drupal_get_schema_unprocessed('system', 'cache'); $table['description'] = 'Cache table for the locale module to store various data.'; @@ -701,7 +705,7 @@ function locale_update_8010() { // Add locale_project table. db_create_table('locale_project', array( - 'description' => 'Update information for project translations.', + 'description' => 'Translation status information for projects and server data.', 'fields' => array( 'name' => array( 'description' => 'A unique short name to identify the project.', diff --git a/core/modules/locale/tests/modules/locale_test/locale_test.module b/core/modules/locale/tests/modules/locale_test/locale_test.module index bb47741..c16eea7 100644 --- a/core/modules/locale/tests/modules/locale_test/locale_test.module +++ b/core/modules/locale/tests/modules/locale_test/locale_test.module @@ -2,7 +2,7 @@ /** * @file - * Simulate a custom module with a local po file. + * Simulate a custom module with a local po file. */ /**