Issue #2037847 by droplet: Join position strings together to fix translatability in the administrative interface for the Image module "Crop" effect.
parent
decfc2f14b
commit
d161af6a98
|
@ -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.
|
||||
|
|
|
@ -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'],
|
||||
|
|
Loading…
Reference in New Issue