[frogr] Improved error messages when quota for videos has been exceeded
- From: Mario Sanchez Prada <msanchez src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [frogr] Improved error messages when quota for videos has been exceeded
- Date: Sun, 4 Nov 2012 21:47:53 +0000 (UTC)
commit 99d5c98436605eb8057694020ffa849dff33164a
Author: Mario Sanchez Prada <msanchez gnome org>
Date: Sat Nov 3 19:34:17 2012 +0100
Improved error messages when quota for videos has been exceeded
src/frogr-controller.c | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/frogr-controller.c b/src/frogr-controller.c
index bd94af9..9761c46 100644
--- a/src/frogr-controller.c
+++ b/src/frogr-controller.c
@@ -307,7 +307,7 @@ _handle_flicksoup_error (FrogrController *self, GError *error, gboolean notify_u
break;
case FSP_ERROR_UPLOAD_INVALID_FILE:
- msg = g_strdup (_("Error uploading picture:\nFile invalid"));
+ msg = g_strdup (_("Error uploading:\nFile invalid"));
break;
case FSP_ERROR_UPLOAD_QUOTA_PHOTO_EXCEEDED:
@@ -315,7 +315,9 @@ _handle_flicksoup_error (FrogrController *self, GError *error, gboolean notify_u
break;
case FSP_ERROR_UPLOAD_QUOTA_VIDEO_EXCEEDED:
- msg = g_strdup (_("Error uploading video:\nQuota exceeded"));
+ msg = g_strdup_printf (_("Error uploading video:\nYou can't upload more videos with this account\n"
+ "Quota exceeded (limit: %d videos per month)"),
+ frogr_account_get_current_videos (priv->account));
break;
case FSP_ERROR_PHOTO_NOT_FOUND:
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]