Skip to content

Commit

Permalink
i18n table level multiactions
Browse files Browse the repository at this point in the history
  • Loading branch information
xzilla committed Apr 21, 2007
1 parent f6cae2e commit 3d7db75
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 7 deletions.
6 changes: 5 additions & 1 deletion lang/english.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
* $Id: english.php,v 1.204 2007/04/21 04:13:26 xzilla Exp $
* $Id: english.php,v 1.205 2007/04/21 15:39:54 xzilla Exp $
*/

// Language and character set
Expand Down Expand Up @@ -227,6 +227,10 @@
$lang['strconfvacuumtable'] = 'Are you sure you want to vacuum "%s"?';
$lang['strconfanalyzetable'] = 'Are you sure you want to analyze "%s"?';
$lang['strestimatedrowcount'] = 'Estimated row count';
$lang['strspecifytabletoanalyze'] = 'You must specify at least one table to analyze';
$lang['strspecifytabletoempty'] = 'You must specify at least one table to empty';
$lang['strspecifytabletodrop'] = 'You must specify at least one table to drop';
$lang['strspecifytabletovacuum'] = 'You must specify at least one table to vacuum';

// Columns
$lang['strcolprop'] = 'Column properties';
Expand Down
6 changes: 5 additions & 1 deletion lang/recoded/english.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* English language file for phpPgAdmin. Use this as a basis
* for new translations.
*
* $Id: english.php,v 1.156 2007/04/21 04:13:26 xzilla Exp $
* $Id: english.php,v 1.157 2007/04/21 15:39:54 xzilla Exp $
*/

// Language and character set
Expand Down Expand Up @@ -227,6 +227,10 @@
$lang['strconfvacuumtable'] = 'Are you sure you want to vacuum "%s"?';
$lang['strconfanalyzetable'] = 'Are you sure you want to analyze "%s"?';
$lang['strestimatedrowcount'] = 'Estimated row count';
$lang['strspecifytabletoanalyze'] = 'You must specify at least one table to analyze';
$lang['strspecifytabletoempty'] = 'You must specify at least one table to empty';
$lang['strspecifytabletodrop'] = 'You must specify at least one table to drop';
$lang['strspecifytabletovacuum'] = 'You must specify at least one table to vacuum';

// Columns
$lang['strcolprop'] = 'Column properties';
Expand Down
10 changes: 5 additions & 5 deletions tables.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
/**
* List tables in a database
*
* $Id: tables.php,v 1.89 2007/04/16 16:59:46 soranzo Exp $
* $Id: tables.php,v 1.90 2007/04/21 15:40:08 xzilla Exp $
*/

// Include application functions
Expand Down Expand Up @@ -498,7 +498,7 @@ function doEmpty($confirm) {
global $PHP_SELF;

if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
doDefault('No table(s) given to empty...'); //TODO i18n
doDefault($lang['strspecifytabletoempty']);
exit();
}

Expand Down Expand Up @@ -562,7 +562,7 @@ function doDrop($confirm) {
global $PHP_SELF;

if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
doDefault('No table(s) given to drop...'); // TODO i18n
doDefault($lang['strspecifytabletodrop']);
exit();
}

Expand Down Expand Up @@ -638,7 +638,7 @@ function doVacuum($confirm) {
global $PHP_SELF;

if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
doDefault('No table(s) given to vacuum...'); //TODO i18n
doDefault($lang['strspecifytabletovacuum']);
exit();
}
if ($confirm) {
Expand Down Expand Up @@ -711,7 +711,7 @@ function doAnalyze($confirm) {
global $PHP_SELF;

if (empty($_REQUEST['table']) && empty($_REQUEST['ma'])) {
doDefault('No table(s) given to analyze...'); //TODO i18n
doDefault($lang['strspecifytabletoanalyze']);
exit();
}
if ($confirm) {
Expand Down

0 comments on commit 3d7db75

Please sign in to comment.