Skip to content
Snippets Groups Projects
Commit dba411ad authored by Emmanuel Milou's avatar Emmanuel Milou
Browse files

Add registration state in the translation catalog

parent 267df3fc
No related branches found
No related tags found
No related merge requests found
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include <accountlist.h> #include <accountlist.h>
#include <actions.h>
#include <string.h> #include <string.h>
GQueue * accountQueue; GQueue * accountQueue;
...@@ -144,19 +145,19 @@ const gchar * account_state_name(account_state_t s) ...@@ -144,19 +145,19 @@ const gchar * account_state_name(account_state_t s)
switch(s) switch(s)
{ {
case ACCOUNT_STATE_REGISTERED: case ACCOUNT_STATE_REGISTERED:
state = "Registered"; state = _("Registered");
break; break;
case ACCOUNT_STATE_UNREGISTERED: case ACCOUNT_STATE_UNREGISTERED:
state = "Not Registered"; state = _("Not Registered");
break; break;
case ACCOUNT_STATE_TRYING: case ACCOUNT_STATE_TRYING:
state = "Trying..."; state = _("Trying...");
break; break;
case ACCOUNT_STATE_ERROR: case ACCOUNT_STATE_ERROR:
state = "Error"; state = _("Error");
break; break;
default: default:
state = "Invalid"; state = _("Invalid");
break; break;
} }
return state; return state;
......
...@@ -145,3 +145,19 @@ msgstr "Paramètres Audio" ...@@ -145,3 +145,19 @@ msgstr "Paramètres Audio"
msgid "%d new voice mail%s" msgid "%d new voice mail%s"
msgstr "%d nouveaux messages vocaux%s" msgstr "%d nouveaux messages vocaux%s"
# SIP registration state
msgid "Registered"
msgstr "Enregistré"
msgid "Not Registered"
msgstr "Non Enregistré"
msgid "Error"
msgstr "Erreur"
msgid "Trying..."
msgstr "En cours..."
msgid "Invalid"
msgstr "Non valide"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment