diff options
author | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-08-26 00:38:51 +0400 |
---|---|---|
committer | Dieter Adriaenssens <ruleant@users.sourceforge.net> | 2011-08-26 00:38:51 +0400 |
commit | 5c751cd1c033664ea830c1fd152f11ab826092d6 (patch) | |
tree | f0a13de3ff8d28c0a394de08381c6884515b8c5a /export.php | |
parent | fd118e02d45cab28409e64837fdcc8367a5c9ce8 (diff) |
make die() messages translatable, where possible
Diffstat (limited to 'export.php')
-rw-r--r-- | export.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/export.php b/export.php index c5af244c59..aa64600459 100644 --- a/export.php +++ b/export.php @@ -26,7 +26,7 @@ $type = $what; // Check export type if (! isset($export_list[$type])) { - die('Bad type!'); + die(__('Bad type!')); } /** @@ -103,7 +103,7 @@ if ($export_type == 'server') { } elseif ($export_type == 'table' && strlen($db) && strlen($table)) { $err_url = 'tbl_export.php?' . PMA_generate_common_url($db, $table); } else { - die('Bad parameters!'); + die(__('Bad parameters!')); } // Get the functions specific to the export type |