]> git.0d.be Git - empathy.git/commitdiff
Display an accurate error when not enough credit
authorEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Fri, 15 Apr 2011 17:12:59 +0000 (18:12 +0100)
committerEmilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk>
Mon, 5 Sep 2011 14:20:35 +0000 (15:20 +0100)
libempathy-gtk/empathy-call-utils.c

index eb01fe25bcc0fb3332a3a3b4ae14eea50ddb7785..0926230ec742e7f45975ccabc9aa7d1c897ed385 100644 (file)
@@ -55,6 +55,8 @@ get_error_display_message (GError *error)
         return _("The specified contact is not valid");
       case TP_ERROR_EMERGENCY_CALLS_NOT_SUPPORTED:
         return _("Emergency calls are not supported on this protocol");
+      case TP_ERROR_INSUFFICIENT_BALANCE:
+        return _("You don't have enough credit in order to place this call");
     }
 
   return _("There was an error starting the call");