changeset 8559:3b5694286fe9

8191840: Update localizations with positional arguments following JDK-8191137 Summary: Resolve the actual issue raised in JDK-8191137 which is present in the translations. Reviewed-by: andrew
author sgehwolf
date Fri, 24 Nov 2017 06:22:38 +0000
parents 027df283d49a
children 3a5876578022
files src/share/classes/sun/security/tools/keytool/Resources_es.java src/share/classes/sun/security/tools/keytool/Resources_fr.java src/share/classes/sun/security/tools/keytool/Resources_it.java src/share/classes/sun/security/tools/keytool/Resources_pt_BR.java
diffstat 4 files changed, 8 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/src/share/classes/sun/security/tools/keytool/Resources_es.java	Fri Nov 24 06:04:10 2017 +0000
+++ b/src/share/classes/sun/security/tools/keytool/Resources_es.java	Fri Nov 24 06:22:38 2017 +0000
@@ -437,8 +437,8 @@
         {"alias.in.cacerts", "Emisor <%s> en cacerts"},
         {"alias.in.keystore", "Emisor <%s>"},
         {"with.weak", "%s (d\u00E9bil)"},
-        {"key.bit", "Clave %s de %d bits"},
-        {"key.bit.weak", "Clave %s de %d bits (d\u00E9bil)"},
+        {"key.bit", "Clave %2$s de %1$d bits"},
+        {"key.bit.weak", "Clave %2$s de %1$d bits (d\u00E9bil)"},
         {".PATTERN.printX509Cert.with.weak",
                 "Propietario: {0}\nEmisor: {1}\nN\u00FAmero de serie: {2}\nV\u00E1lido desde: {3} hasta: {4}\nHuellas digitales del certificado:\n\t MD5: {5}\n\t SHA1: {6}\n\t SHA256: {7}\nNombre del algoritmo de firma: {8}\nAlgoritmo de clave p\u00FAblica de asunto: {9}\nVersi\u00F3n: {10}"},
         {"PKCS.10.with.weak",
--- a/src/share/classes/sun/security/tools/keytool/Resources_fr.java	Fri Nov 24 06:04:10 2017 +0000
+++ b/src/share/classes/sun/security/tools/keytool/Resources_fr.java	Fri Nov 24 06:22:38 2017 +0000
@@ -437,8 +437,8 @@
         {"alias.in.cacerts", "Emetteur <%s> dans les certificats CA"},
         {"alias.in.keystore", "Emetteur <%s>"},
         {"with.weak", "%s (faible)"},
-        {"key.bit", "Cl\u00E9 %s %d bits"},
-        {"key.bit.weak", "Cl\u00E9 %s %d bits (faible)"},
+        {"key.bit", "Cl\u00E9 %2$s %1$d bits"},
+        {"key.bit.weak", "Cl\u00E9 %2$s %1$d bits (faible)"},
         {".PATTERN.printX509Cert.with.weak",
                 "Propri\u00E9taire : {0}\nEmetteur : {1}\nNum\u00E9ro de s\u00E9rie : {2}\nValide du : {3} au : {4}\nEmpreintes du certificat :\n\t MD5 : {5}\n\t SHA1 : {6}\n\t SHA256 : {7}\nNom de l''algorithme de signature : {8}\nAlgorithme de cl\u00E9 publique du sujet : {9}\nVersion : {10}"},
         {"PKCS.10.with.weak",
--- a/src/share/classes/sun/security/tools/keytool/Resources_it.java	Fri Nov 24 06:04:10 2017 +0000
+++ b/src/share/classes/sun/security/tools/keytool/Resources_it.java	Fri Nov 24 06:22:38 2017 +0000
@@ -437,8 +437,8 @@
         {"alias.in.cacerts", "Emittente <%s> in cacerts"},
         {"alias.in.keystore", "Emittente <%s>"},
         {"with.weak", "%s (debole)"},
-        {"key.bit", "Chiave %s a %d bit"},
-        {"key.bit.weak", "Chiave %s a %d bit (debole)"},
+        {"key.bit", "Chiave %2$s a %1$d bit"},
+        {"key.bit.weak", "Chiave %2$s a %1$d bit (debole)"},
         {".PATTERN.printX509Cert.with.weak",
                 "Proprietario: {0}\nEmittente: {1}\nNumero di serie: {2}\nValido da: {3} a: {4}\nImpronte certificato:\n\t MD5:  {5}\n\t SHA1: {6}\n\t SHA256: {7}\nNome algoritmo firma: {8}\nAlgoritmo di chiave pubblica oggetto: {9}\nVersione: {10}"},
         {"PKCS.10.with.weak",
--- a/src/share/classes/sun/security/tools/keytool/Resources_pt_BR.java	Fri Nov 24 06:04:10 2017 +0000
+++ b/src/share/classes/sun/security/tools/keytool/Resources_pt_BR.java	Fri Nov 24 06:22:38 2017 +0000
@@ -437,8 +437,8 @@
         {"alias.in.cacerts", "Emissor <%s> no cacerts"},
         {"alias.in.keystore", "Emissor <%s>"},
         {"with.weak", "%s (fraca)"},
-        {"key.bit", "Chave %s de %d bits"},
-        {"key.bit.weak", "Chave %s de %d bits (fraca)"},
+        {"key.bit", "Chave %2$s de %1$d bits"},
+        {"key.bit.weak", "Chave %2$s de %1$d bits (fraca)"},
         {".PATTERN.printX509Cert.with.weak",
                 "Propriet\u00E1rio: {0}\nEmissor: {1}\nN\u00FAmero de s\u00E9rie: {2}\nV\u00E1lido de {3} at\u00E9 {4}\nFingerprints do certificado:\n\t MD5:  {5}\n\t SHA1: {6}\n\t SHA256: {7}\nNome do algoritmo de assinatura: {8}\nAlgoritmo de Chave P\u00FAblica do Assunto: {9}\nVers\u00E3o: {10}"},
         {"PKCS.10.with.weak",