diff --git a/application/controllers/Station.php b/application/controllers/Station.php index a11639dd0..cf519e9a7 100644 --- a/application/controllers/Station.php +++ b/application/controllers/Station.php @@ -187,7 +187,7 @@ class Station extends CI_Controller if ($this->qra->validate_grid($grid)) { return true; } else { - $this->form_validation->set_message('check_locator', 'Please check value for grid locator ('.strtoupper($grid).').'); + $this->form_validation->set_message('check_locator', sprintf(__("Please check value for grid locator (%s)"), strtoupper($grid))); return false; } } diff --git a/application/controllers/User.php b/application/controllers/User.php index 1d9d7d536..ed6f75e04 100644 --- a/application/controllers/User.php +++ b/application/controllers/User.php @@ -1408,7 +1408,7 @@ class User extends CI_Controller { if ($this->qra->validate_grid($grid)) { return true; } else { - $this->form_validation->set_message('check_locator', 'Please check value for grid locator ('.strtoupper($grid).').'); + $this->form_validation->set_message('check_locator', sprintf(__("Please check value for grid locator (%s)"), strtoupper($grid))); return false; } }