diff options
Diffstat (limited to 'modules/locale')
-rw-r--r-- | modules/locale/locale.module | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/locale/locale.module b/modules/locale/locale.module index 836cb5089..f239bb176 100644 --- a/modules/locale/locale.module +++ b/modules/locale/locale.module @@ -26,7 +26,7 @@ function locale_help($section = "admin/help#locale") { case 'admin/locale/language/add': return t("<p>You need to add all languages you would like to provide the site interface in. If you can't find the desired language in the quick add dropdown, then need to provide the proper language code yourself. The language code might be used to negotiate with browsers and present flags, so it is important to pick one that is standardised for the desired language. You can also add languages by <a href=\"%import\">importing translations</a> directly into a language not yet set up.</p>", array("%import" => url("admin/locale/language/import"))); case 'admin/locale/language/import': - return t("<p>This page allows you to import a translation provided in the gettext Portable Object (.po) format. The easiest way to get your site translated is to grab an existing Drupal translation and to import it. You can obtain translations from the <a href=\"%url\">Drupal localization page</a>.</p>", array('%url' => 'http://drupal.org/localization')); + return t("<p>This page allows you to import a translation provided in the gettext Portable Object (.po) format. The easiest way to get your site translated is to grab an existing Drupal translation and to import it. You can obtain translations from the <a href=\"%url\">Drupal translation page</a>.</p>", array('%url' => 'http://drupal.org/translations')); case 'admin/locale/language/export': return t("<p>This page allows you to export Drupal strings. The first option is to export a translation so it can be shared. The second option is to generate a translation template, which contains all Drupal strings, but without their translations. You can use this template to start a new translation using a specialized desktop application.</p>"); case 'admin/locale/string/search': @@ -385,7 +385,7 @@ function locale_admin_import() { // Now import strings into the language $file = file_check_upload('file'); - if ($ret = _locale_import_po($file->path, $edit['langcode'], $edit['mode']) == FALSE) { + if ($ret = _locale_import_po($file->filepath, $edit['langcode'], $edit['mode']) == FALSE) { watchdog('error', t('Translation import failed.')); watchdog('locale', t('Translation import failed.')); } |