From d161af6a982b9939a2a94dab486481e15be3b9bc Mon Sep 17 00:00:00 2001 From: David Rothstein <drothstein@gmail.com> Date: Sat, 5 Apr 2014 20:10:11 -0400 Subject: [PATCH] Issue #2037847 by droplet: Join position strings together to fix translatability in the administrative interface for the Image module "Crop" effect. --- CHANGELOG.txt | 2 ++ modules/image/image.admin.inc | 16 ++++++++-------- 2 files changed, 10 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.txt b/CHANGELOG.txt index 6baf6254c140..7a8221d6812e 100644 --- a/CHANGELOG.txt +++ b/CHANGELOG.txt @@ -1,6 +1,8 @@ Drupal 7.27, xxxx-xx-xx (development version) ----------------------- +- Fixed untranslatable text strings in the administrative interface for the + "Crop" effect provided by the Image module (minor string change). - Fixed up a bug in the Taxonomy module update function introduced in Drupal 7.26 that caused memory and CPU problems on sites with very large numbers of unpublished nodes. diff --git a/modules/image/image.admin.inc b/modules/image/image.admin.inc index 7e626219d866..cebe8940d3c8 100644 --- a/modules/image/image.admin.inc +++ b/modules/image/image.admin.inc @@ -592,15 +592,15 @@ function image_crop_form($data) { '#type' => 'radios', '#title' => t('Anchor'), '#options' => array( - 'left-top' => t('Top') . ' ' . t('Left'), - 'center-top' => t('Top') . ' ' . t('Center'), - 'right-top' => t('Top') . ' ' . t('Right'), - 'left-center' => t('Center') . ' ' . t('Left'), + 'left-top' => t('Top left'), + 'center-top' => t('Top center'), + 'right-top' => t('Top right'), + 'left-center' => t('Center left'), 'center-center' => t('Center'), - 'right-center' => t('Center') . ' ' . t('Right'), - 'left-bottom' => t('Bottom') . ' ' . t('Left'), - 'center-bottom' => t('Bottom') . ' ' . t('Center'), - 'right-bottom' => t('Bottom') . ' ' . t('Right'), + 'right-center' => t('Center right'), + 'left-bottom' => t('Bottom left'), + 'center-bottom' => t('Bottom center'), + 'right-bottom' => t('Bottom right'), ), '#theme' => 'image_anchor', '#default_value' => $data['anchor'], -- GitLab