[Pcsclite-cvs-commit] r2366 - trunk/Drivers/ccid/src

Ludovic Rousseau rousseau at alioth.debian.org
Tue Jan 30 16:46:07 CET 2007


Author: rousseau
Date: 2007-01-30 16:46:07 +0100 (Tue, 30 Jan 2007)
New Revision: 2366

Modified:
   trunk/Drivers/ccid/src/ccid.c
Log:
ccid_open_hack(): add the l10n of the 10th string "PIN blocked"


Modified: trunk/Drivers/ccid/src/ccid.c
===================================================================
--- trunk/Drivers/ccid/src/ccid.c	2007-01-30 15:01:50 UTC (rev 2365)
+++ trunk/Drivers/ccid/src/ccid.c	2007-01-30 15:46:07 UTC (rev 2366)
@@ -73,7 +73,7 @@
 			{
 #define L10N_HEADER_SIZE 5
 #define L10N_STRING_MAX_SIZE 16
-#define L10N_NB_STRING 9
+#define L10N_NB_STRING 10
 
 				unsigned char cmd[L10N_HEADER_SIZE + L10N_NB_STRING * L10N_STRING_MAX_SIZE];
 				unsigned char res[20];
@@ -89,7 +89,8 @@
 					"Delai depasse",
 					"* essai restant",
 					"Inserer carte",
-					"Erreur carte" };
+					"Erreur carte",
+					"PIN bloque" };
 
 				const char *de[] = {
 					"PIN eingeben",
@@ -100,7 +101,8 @@
 					"Zeit abgelaufen",
 					"* Versuche ubrig",
 					"Karte einstecken",
-					"Fehler Karte" };
+					"Fehler Karte",
+					"PIN blockiert" };
 
 				const char *es[] = {
 					"Introducir PIN",
@@ -111,7 +113,8 @@
 					"Tiempo Agotado",
 					"* ensayos quedan",
 					"Introducir Tarj.",
-					"Error en Tarjeta" };
+					"Error en Tarjeta",
+					"PIN bloqueado" };
 
 				const char *it[] = {
 					"Inserire PIN",
@@ -122,7 +125,8 @@
 					"Tempo scaduto",
 					"* prove rimaste",
 					"Inserire Carta",
-					"Errore Carta" };
+					"Errore Carta",
+					"PIN ostruito"};
 
 				const char *pt[] = {
 					"Insira PIN",
@@ -133,7 +137,8 @@
 					"Tempo expirou",
 					"* tentiv. restam",
 					"Introduza cartao",
-					"Erro cartao" };
+					"Erro cartao",
+					"PIN bloqueado" };
 
 				const char *en[] = {
 					"Enter PIN",
@@ -144,7 +149,8 @@
 					"Time Out",
 					"* retries left",
 					"Insert Card",
-					"Card Error" };
+					"Card Error",
+					"PIN blocked" };
 
 				char *lang;
 				const char **l10n;




More information about the Pcsclite-cvs-commit mailing list