From 547a186f60dc2b4b12d1e9e87ce7cfe367d80d47 Mon Sep 17 00:00:00 2001
From: Olivier PEREZ <olivier@olivierperez.fr>
Date: Mon, 2 Feb 2015 21:00:42 +0100
Subject: [PATCH] Translate message 'This poll doesn't exist'

---
 adminstuds.php | 2 +-
 exportcsv.php  | 2 +-
 studs.php      | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/adminstuds.php b/adminstuds.php
index ae70089b..2fb5ac9f 100644
--- a/adminstuds.php
+++ b/adminstuds.php
@@ -52,7 +52,7 @@ if (!empty($_GET['poll']) && strlen($_GET['poll']) === 24) {
 }
 
 if (!$poll) {
-    $smarty->assign('error', 'This poll doesn\'t exist');
+    $smarty->assign('error', _('This poll doesn\'t exist !'));
     $smarty->display('error.tpl');
     exit;
 }
diff --git a/exportcsv.php b/exportcsv.php
index f5efcd71..509f6f68 100644
--- a/exportcsv.php
+++ b/exportcsv.php
@@ -48,7 +48,7 @@ if (!empty($_GET['poll'])) {
 }
 
 if (!$poll) {
-    $smarty->assign('error', 'This poll doesn\'t exist');
+    $smarty->assign('error', _('This poll doesn\'t exist !'));
     $smarty->display('error.tpl');
     exit;
 }
diff --git a/studs.php b/studs.php
index 76f36224..d0c5798e 100644
--- a/studs.php
+++ b/studs.php
@@ -97,7 +97,7 @@ if (!empty($_GET['poll'])) {
 }
 
 if (!$poll) {
-    $smarty->assign('error', 'This poll doesn\'t exist');
+    $smarty->assign('error', _('This poll doesn\'t exist !'));
     $smarty->display('error.tpl');
     exit;
 }
-- 
GitLab