Commit ba810ba1 authored by jhodgdon's avatar jhodgdon

Issue #1899486 by Gábor Hojtsy, YesCT, Schnitzel, pixelite, sahain: Make link...

Issue #1899486 by Gábor Hojtsy, YesCT, Schnitzel, pixelite, sahain: Make link for translating content always say translate instead of translations
parent 7d7f3376
......@@ -956,7 +956,7 @@ function comment_links(Comment $comment, EntityInterface $node) {
// Add translations link for translation-enabled comment bundles.
if (module_exists('translation_entity') && translation_entity_translate_access($comment)) {
$links['comment-translations'] = array(
'title' => t('translations'),
'title' => t('translate'),
'href' => 'comment/' . $comment->id() . '/translations',
'html' => TRUE,
);
......
......@@ -39,7 +39,7 @@ function translation_help($path, $arg) {
$output .= '<dt>' . t('Assigning a language to content') . '</dt>';
$output .= '<dd>' . t('Use the <em>Language</em> drop down to select the appropriate language when creating or editing content.') . '</dd>';
$output .= '<dt>' . t('Translating content') . '</dt>';
$output .= '<dd>' . t('Users with the <em>translate all content</em> or <em>translate own content</em> permission can translate content, if the content type has been configured to allow translations. To translate content, select the <em>Translations</em> tab when viewing the content, select the language for which you wish to provide content, and then enter the content.') . '</dd>';
$output .= '<dd>' . t('Users with the <em>translate all content</em> or <em>translate own content</em> permission can translate content, if the content type has been configured to allow translations. To translate content, select the <em>Translate</em> tab when viewing the content, select the language for which you wish to provide content, and then enter the content.') . '</dd>';
$output .= '<dt>' . t('Maintaining translations') . '</dt>';
$output .= '<dd>' . t('If editing content in one language requires that translated versions also be updated to reflect the change, use the <em>Flag translations as outdated</em> check box to mark the translations as outdated and in need of revision. Individual translations may also be marked for revision by selecting the <em>This translation needs to be updated</em> check box on the translation editing form.') . '</dd>';
$output .= '</dl>';
......@@ -56,7 +56,7 @@ function translation_help($path, $arg) {
function translation_menu() {
$items = array();
$items['node/%node/translate'] = array(
'title' => 'Translations',
'title' => 'Translate',
'page callback' => 'translation_node_overview',
'page arguments' => array(1),
'access callback' => '_translation_tab_access',
......
......@@ -26,7 +26,7 @@ function translation_entity_help($path, $arg) {
$output .= '<dd><p>' . t('Before you can translate content, there must be at least two languages added on the <a href="!url">languages administration</a> page.', array('!url' => url('admin/config/regional/language'))) . '</p>';
$output .= '<p>' . t('After adding languages, <a href="!url">configure translation</a>.', array('!url' => url('admin/config/regional/content-language'))) . '</p>';
$output .= '<dt>' . t('Translating content') . '</dt>';
$output .= '<dd>' . 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 <em>Translations</em> 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.') . '</dd>';
$output .= '<dd>' . 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 <em>Translate</em> 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.') . '</dd>';
$output .= '<dt>' . t('Changing source language') . '</dt>';
$output .= '<dd>' . t('When there are two or more possible source languages, selecting a <em>Source language</em> will repopulate the form using the specified source\'s values. For example, French is much closer to Spanish than to Chinese, so changing the French translation\'s source language to Spanish can assist translators.') . '</dd>';
$output .= '<dt>' . t('Maintaining translations') . '</dt>';
......@@ -147,7 +147,7 @@ function translation_entity_menu() {
}
$items["$path/translations"] = array(
'title' => 'Translations',
'title' => 'Translate',
'page callback' => 'translation_entity_overview',
'page arguments' => array($entity_position),
'type' => MENU_LOCAL_TASK,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment