From 0eed649beb2e31c2ffff1709f571166cf0598b0d Mon Sep 17 00:00:00 2001 From: xjm <xjm@65776.no-reply.drupal.org> Date: Mon, 5 Oct 2015 10:49:57 -0500 Subject: [PATCH] =?UTF-8?q?Issue=20#2572637=20by=20ifrik,=20dubois,=20ndob?= =?UTF-8?q?romirov,=20jhodgdon,=20G=C3=A1bor=20Hojtsy,=20lachezar.valchev,?= =?UTF-8?q?=20xjm:=20Update=20the=20hook=5Fhelp=20for=20the=20Interface=20?= =?UTF-8?q?translation=20module=20again?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/modules/locale/locale.module | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/modules/locale/locale.module b/core/modules/locale/locale.module index 9cd1c755635b..387d0c3b7c2f 100644 --- a/core/modules/locale/locale.module +++ b/core/modules/locale/locale.module @@ -158,6 +158,8 @@ function locale_help($route_name, RouteMatchInterface $route_match) { $output .= '<dd>' . t('You can check how much of the interface on your site is translated into which language on the <a href=":languages">Languages</a> page. On the <a href=":translation-updates">Available translation updates</a> page, you can check whether interface translation updates are available on the <a href=":server">Drupal translation server</a>.', array(':languages' => \Drupal::url('entity.configurable_language.collection'), ':translation-updates' => \Drupal::url('locale.translate_status'), ':server' => 'https://localize.drupal.org')) . '<dd>'; $output .= '<dt>' . t('Translating individual strings') . '</dt>'; $output .= '<dd>' . t('You can translate individual strings directly on the <a href=":translate">User interface translation</a> page, or download the currently-used translation file for a specific language on the <a href=":export">Interface translation export</a> page. Once you have edited the translation file, you can then import it again on the <a href=":import">Interface translation import</a> page.', array(':translate' => \Drupal::url('locale.translate_page'), ':export' => \Drupal::url('locale.translate_export'), ':import' => \Drupal::url('locale.translate_import'))) . '</dd>'; + $output .= '<dt>' . t('Overriding default English strings') . '</dt>'; + $output .= '<dd>' . t('If translation is enabled for English, you can <em>override</em> the default English interface text strings in your site with other English text strings on the <a href=":translate">User interface translation</a> page. Translation is off by default for English, but you can turn it on by visiting the <em>Edit language</em> page for <em>English</em> from the <a href=":languages">Languages</a> page.', array(':translate' => \Drupal::url('locale.translate_page'), ':languages' => \Drupal::url('entity.configurable_language.collection'))) . '</dd>'; $output .= '</dl>'; return $output; -- GitLab