diff --git a/routeSQL.php b/routeSQL.php index cdffd5a..8416951 100644 --- a/routeSQL.php +++ b/routeSQL.php @@ -19,6 +19,10 @@ class routeSQL public $deleteConfirm = true; /** Push the actions buttons at end of line */ public $actionsAtEnd = false; + /** The Text to Delete */ + public $textDelete = ""; + /** The Text to Edit */ + public $textEdit = ""; /** The model file containing the database description */ private $model_file = ""; /** The model class included in the model file */ @@ -49,6 +53,8 @@ class routeSQL $this->username = $username; $this->password = $password; $this->driver_options = $driver_options; + $this->textDelete = dgettext("domframework","Delete"); + $this->textEdit = dgettext("domframework","Edit"); } /** Connect to the database */ @@ -137,15 +143,14 @@ class routeSQL $content .= "