Commit 9becaf1b authored by webchick's avatar webchick

Issue #1078618 by Sutharsan, Takafumi: Add string context to Scale.

parent 430481ff
......@@ -46,7 +46,7 @@ public function settingsForm(array $form, array &$form_state) {
);
$elements['scale'] = array(
'#type' => 'select',
'#title' => t('Scale'),
'#title' => t('Scale', array(), array('decimal places')),
'#options' => drupal_map_assoc(range(0, 10)),
'#default_value' => $this->getSetting('scale'),
'#description' => t('The number of digits to the right of the decimal.'),
......
......@@ -78,7 +78,7 @@ public function settingsForm(array $form, array &$form_state, $has_data) {
);
$element['scale'] = array(
'#type' => 'select',
'#title' => t('Scale'),
'#title' => t('Scale', array(), array('decimal places')),
'#options' => MapArray::copyValuesToKeys(range(0, 10)),
'#default_value' => $settings['scale'],
'#description' => t('The number of digits to the right of the decimal.'),
......
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