From 2ee436eaa19fd5819a0e6c705b5fcc93f11fb338 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 2 Aug 2013 10:39:03 +0200 Subject: poche / pocket / bolsillo / Tasche & more --- import.php | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) (limited to 'import.php') diff --git a/import.php b/import.php index c1ebdf49..45fe8334 100644 --- a/import.php +++ b/import.php @@ -14,11 +14,7 @@ include dirname(__FILE__).'/inc/config.php'; include dirname(__FILE__).'/inc/simple_html_dom.php'; if (!isset($_GET['start'])) { - echo ' - Please execute the import script locally, it can take a very long time.

- Please choose between Pocket & Readabilty : -
Bye bye Pocket, let\'s go ! -
Bye bye Readability, let\'s go !'; + echo _('Please execute the import script locally, it can take a very long time.') . '

' . _('Please choose between Pocket & Readabilty :') . '
' . _('Bye bye Pocket, let\'s go !') . '
' . _('Bye bye Readability, let\'s go !') . ''; } else { if ($_GET['start'] == 'pocket') { @@ -49,7 +45,7 @@ else { $read = 1; } - echo 'Import from Pocket completed. Welcome to #poche !'; + echo _('Import from Pocket completed.') . '' . _('Welcome to poche !') .''; logm('import from pocket completed'); } else if ($_GET['start'] == 'readability') { @@ -67,11 +63,11 @@ else { action_to_do('add', $url); } - echo 'Import from Readability completed. Welcome to #poche !'; + echo _('Import from Readability completed.') . '' . _('Welcome to poche !') . ''; logm('import from Readability completed'); } else { - echo 'Error with the import. Welcome to #poche !'; + echo _('Error with the import.') . '' . _('Back to poche'). ''; logm('error with the import'); } } \ No newline at end of file -- cgit v1.2.3