summaryrefslogtreecommitdiff
path: root/modules/locale
diff options
context:
space:
mode:
Diffstat (limited to 'modules/locale')
-rw-r--r--modules/locale/locale.module2
-rw-r--r--modules/locale/locale.test6
2 files changed, 4 insertions, 4 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module
index cc558048e..0ece6958b 100644
--- a/modules/locale/locale.module
+++ b/modules/locale/locale.module
@@ -57,7 +57,7 @@ function locale_help($path, $arg) {
return '<p>' . t('This page exports the translated strings used by your site. An export file may be in Gettext Portable Object (<em>.po</em>) form, which includes both the original string and the translation (used to share translations with others), or in Gettext Portable Object Template (<em>.pot</em>) form, which includes the original strings only (used to create new translations with a Gettext translation editor).') . '</p>';
case 'admin/international/translate/translate':
return '<p>' . t('This page allows a translator to search for specific translated and untranslated strings, and is used when creating or editing translations. (Note: For translation tasks involving many strings, it may be more convenient to <a href="@export">export</a> strings for offline editing in a desktop Gettext translation editor.) Searches may be limited to strings found within a specific text group or in a specific language.', array('@export' => url('admin/international/translate/export'))) . '</p>';
- case 'admin/build/block/configure':
+ case 'admin/structure/block/configure':
if ($arg[4] == 'locale' && $arg[5] == 0) {
return '<p>' . t('This block is only shown if <a href="@languages">at least two languages are enabled</a> and <a href="@configuration">language negotiation</a> is set to something other than <em>None</em>.', array('@languages' => url('admin/international/language'), '@configuration' => url('admin/international/language/configure'))) . '</p>';
}
diff --git a/modules/locale/locale.test b/modules/locale/locale.test
index c33322e1d..57605f1a5 100644
--- a/modules/locale/locale.test
+++ b/modules/locale/locale.test
@@ -1057,7 +1057,7 @@ class LanguageSwitchingFunctionalTest extends DrupalWebTestCase {
$edit = array(
'locale_language-switcher[region]' => 'left',
);
- $this->drupalPost('admin/build/block', $edit, t('Save blocks'));
+ $this->drupalPost('admin/structure/block', $edit, t('Save blocks'));
// Add language.
$edit = array(
@@ -1364,12 +1364,12 @@ class LocaleContentFunctionalTest extends DrupalWebTestCase {
$this->drupalPost('admin/international/language/configure', $edit, t('Save settings'));
// Set page content type to use multilingual support.
- $this->drupalGet('admin/build/node-type/page');
+ $this->drupalGet('admin/structure/node-type/page');
$this->assertText(t('Multilingual support'), t('Multilingual support fieldset present on content type configuration form.'));
$edit = array(
'language_content_type' => 1,
);
- $this->drupalPost('admin/build/node-type/page', $edit, t('Save content type'));
+ $this->drupalPost('admin/structure/node-type/page', $edit, t('Save content type'));
$this->assertRaw(t('The content type %type has been updated.', array('%type' => 'Page')), t('Page content type has been updated.'));
$this->drupalLogout();