Skip to content
Snippets Groups Projects
Commit d161af6a authored by David Rothstein's avatar David Rothstein
Browse files

Issue #2037847 by droplet: Join position strings together to fix...

Issue #2037847 by droplet: Join position strings together to fix translatability in the administrative interface for the Image module "Crop" effect.
parent decfc2f1
No related branches found
No related tags found
No related merge requests found
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.
......
......@@ -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'],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment