2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
// Check if interface translation data is collected from hook_info.
$projects=locale_translation_project_list();
$this->assertFalse(isset($projects['locale_test_translate']),'Hidden module not found');
$this->assertEqual($projects['locale_test']['info']['interface translation server pattern'],'core/modules/locale/test/test.%language.po','Interface translation parameter found in project info.');
$this->assertEqual($projects['locale_test']['name'],'locale_test',format_string('%key found in project info.',['%key'=>'interface translation project']));
}
/**
* Checks if local or remote translation sources are detected.