summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJennifer Hodgdon2013-06-14 13:03:28 (GMT)
committerJennifer Hodgdon2013-06-14 13:03:28 (GMT)
commitba810ba122cb25e7a4d91bcb7fd3cdcea7b823a6 (patch)
treed1cc227d1d58787f5d320f55f9a7ea5e9e48e9bd
parent7d7f3376554c5687826aeefa415f9efe884346b2 (diff)
Issue #1899486 by Gábor Hojtsy, YesCT, Schnitzel, pixelite, sahain: Make link for translating content always say translate instead of translations
-rw-r--r--core/modules/comment/comment.module2
-rw-r--r--core/modules/translation/translation.module4
-rw-r--r--core/modules/translation_entity/translation_entity.module4
3 files changed, 5 insertions, 5 deletions
diff --git a/core/modules/comment/comment.module b/core/modules/comment/comment.module
index 7a1ac04..e309ec7 100644
--- a/core/modules/comment/comment.module
+++ b/core/modules/comment/comment.module
@@ -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,
);
diff --git a/core/modules/translation/translation.module b/core/modules/translation/translation.module
index 9fa4ac2..6d0c1ea 100644
--- a/core/modules/translation/translation.module
+++ b/core/modules/translation/translation.module
@@ -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',
diff --git a/core/modules/translation_entity/translation_entity.module b/core/modules/translation_entity/translation_entity.module
index 78a489f..6f6c740 100644
--- a/core/modules/translation_entity/translation_entity.module
+++ b/core/modules/translation_entity/translation_entity.module
@@ -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,