Unify string for adding colums to index

This commit is contained in:
Michal Čihař 2012-11-15 09:47:25 +01:00
parent 88d6409f8f
commit ffb01442cf
2 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ $js_messages['strFormEmpty'] = __('Missing value in the form!');
$js_messages['strNotNumber'] = __('This is not a number!');
$js_messages['strAddIndex'] = __('Add Index');
$js_messages['strEditIndex'] = __('Edit Index');
$js_messages['strAddToIndex'] = __('Add %d column(s) to index');
$js_messages['strAddToIndex'] = __('Add %s column(s) to index');
/* Charts */
/* l10n: Default description for the y-Axis of Charts */

View File

@ -326,7 +326,7 @@ if ($GLOBALS['is_ajax_request'] != true || ! empty($_REQUEST['ajax_page_request'
<?php
echo __('Or') . ' ';
printf(
__('Add to index &nbsp;%s&nbsp;column(s)') . "\n",
__('Add %s column(s) to index') . "\n",
'<input type="text" name="added_fields" size="2" value="1" />'
);
echo '<input type="submit" name="add_fields" value="' . __('Go') . '" />' . "\n";
@ -334,7 +334,7 @@ if ($GLOBALS['is_ajax_request'] != true || ! empty($_REQUEST['ajax_page_request'
</span>
<?php
} else {
$btn_value = sprintf(__('Add %d column(s) to index'), 1);
$btn_value = sprintf(__('Add %s column(s) to index'), 1);
echo '<div class="slider"></div>';
echo '<div class="add_fields">';
echo '<input type="submit" value="' . $btn_value . '" />';