From b0887b2f97d2586b5e95fc0b70ca7baa6c484fc0 Mon Sep 17 00:00:00 2001 From: "Thomas E. Horner" Date: Wed, 8 Aug 2012 00:58:51 +0200 Subject: [PATCH] committing the correct minor text change --- 3.0/modules/remote/controllers/gallery_remote.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/3.0/modules/remote/controllers/gallery_remote.php b/3.0/modules/remote/controllers/gallery_remote.php index bb28815d..26170cc2 100644 --- a/3.0/modules/remote/controllers/gallery_remote.php +++ b/3.0/modules/remote/controllers/gallery_remote.php @@ -239,7 +239,7 @@ class Gallery_Remote_Controller extends Controller { } } catch (ORM_Validation_Exception $e) { - $reply->set('status_text', t('Failed to save album with name %name.', array('name' => $name))); + $reply->set('status_text', t('Failed to validate album with name %name.', array('name' => $name))); $reply->send(gallery_remote::CREATE_ALBUM_FAILED); } } @@ -357,7 +357,7 @@ class Gallery_Remote_Controller extends Controller { catch (ORM_Validation_Exception $e) { $validation = $e->validation; //print_r($validation->errors()); exit; - $reply->set('status_text', t('Failed to validate item %item: %errors', array('item' => $filename, 'errors' => str_replace("\n", ' ', print_r($validation->errors(),true))) )); + $reply->set('status_text', t('Failed to save item %item: %errors', array('item' => $filename, 'errors' => str_replace("\n", ' ', print_r($validation->errors(),true))) )); $reply->send(gallery_remote::UPLOAD_PHOTO_FAIL); //FIXME gallery remote ignores this return value and continues to wait } catch (Exception $e) {