diff --git a/core/modules/content_translation/content_translation.module b/core/modules/content_translation/content_translation.module index a6cf31c..67e0d74 100644 --- a/core/modules/content_translation/content_translation.module +++ b/core/modules/content_translation/content_translation.module @@ -23,8 +23,8 @@ function content_translation_help($path, $arg) { $output .= '

' . t('Uses') . '

'; $output .= '
'; $output .= '
' . t('Enabling translation') . '
'; - $output .= '

' . t('Before you can translate content, there must be at least two languages added on the languages administration page.', array('!url' => url('admin/config/regional/language'))) . '

'; - $output .= '

' . t('After adding languages, configure translation.', array('!url' => url('admin/config/regional/content-language'))) . '

'; + $output .= '

' . t('Before you can translate content, there must be at least two languages added on the languages administration page.', array('!url' => \Drupal::url('language.admin_overview'))) . '

'; + $output .= '

' . t('After adding languages, configure translation.', array('!url' => \Drupal::url('language.content_settings_page'))) . '

'; $output .= '
' . t('Translating content') . '
'; $output .= '
' . t('After enabling translation you can create a new piece of content, or edit existing content and assign it a language. Then, you will see a Translate tab or link that will gives an overview of the translation status for the current content. From there, you can add translations and edit or delete existing translations. This process is similar for every translatable element on your site, such as taxonomy terms, comments or user accounts.') . '
'; $output .= '
' . t('Changing source language') . '
'; @@ -32,14 +32,14 @@ function content_translation_help($path, $arg) { $output .= '
' . t('Maintaining translations') . '
'; $output .= '
' . t('If editing content in one language requires that translated versions also be updated to reflect the change, use the Flag other translations as outdated check box to mark the translations as outdated and in need of revision.') . '
'; $output .= '
' . t('Translation permissions') . '
'; - $output .= '
' . t('The Content Translation module makes a basic set of permissions available. Additional permissions are made available after translation is enabled for each translatable element.', array('@permissions' => url('admin/people/permissions', array('fragment' => 'module-content_translation')))) . '
'; + $output .= '
' . t('The Content Translation module makes a basic set of permissions available. Additional permissions are made available after translation is enabled for each translatable element.', array('!permissions' => \Drupal::url('user.admin_permissions', array(), array('fragment' => 'module-content_translation')))) . '
'; $output .= '
'; return $output; case 'admin/config/regional/content-language': $output = ''; if (!language_multilingual()) { - $output .= '
' . t('Before you can translate content, there must be at least two languages added on the languages administration page.', array('!url' => url('admin/config/regional/language'))); + $output .= '
' . t('Before you can translate content, there must be at least two languages added on the languages administration page.', array('!url' => \Drupal::url('language.admin_overview'))); } return $output; }