Bug 1148775 - Wrong short form translations for add-user tool
Summary: Wrong short form translations for add-user tool
Keywords:
Status: CLOSED EOL
Alias: None
Product: JBoss Enterprise Application Platform 6
Classification: JBoss
Component: Localization
Version: 6.4.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: EAP 6.4.0
Assignee: jboss-set
QA Contact: Nikoleta Hlavickova
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-10-02 10:24 UTC by Petr Kremensky
Modified: 2019-08-19 12:47 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-08-19 12:47:15 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 901193 0 urgent CLOSED add-user check is not i18n, while prompt is 2021-02-22 00:41:40 UTC

Internal Links: 901193

Description Petr Kremensky 2014-10-02 10:24:52 UTC
Description of problem:
BZ901193 fixes the add user utility behaviour with i18n. The utility response is generated according to the content of DomainManagementMessages.i18n_*.properties files. Running just a simple check one can notice a few differences among languages.

Version-Release number of selected component (if applicable):
 EAP 6.4.0.DR3

Steps to Reproduce:
1. export LC_ALL=fr_FR.utf8
[pkremens@dhcp-4-200 bin]$ ./add-user.sh 
Quel type d'utilisateur souhaitez-vous ajouter ? 
 a) Management User (mgmt-users.properties) 
 b) Application User (application-users.properties)
(a): a
Saisir les informations sur le nouvel utilisateur
Utiliser le domaine 'ManagementRealm' selon les fichiers de propriétés existants.
Nom d'utilisateur : admin
Le nom d'utilisateur 'admin' est facile à deviner
Êtes-vous certain de vouloir ajouter l'utilisateur 'admin' oui/non ? o

Actual results:
 * Erreur * 
JBAS015240: Réponse non valide. (Les réponses valides sont oui, o, non et n)

Expected results:
 * Erreur * 
JBAS015240: Réponse non valide. (Les réponses valides sont oui, oui, non et n)

Additional info:
English values
 yes=yes
 shortYes=y
 no=no
 shortNo=n
DomainManagementMessages.i18n_fr.properties
 yes=oui
 shortYes=oui
 no=non
 shortNo=n

--------------------------------
Incorrect short form in Spanish DomainManagementMessages.i18n_es.properties
yes=S\u00ED
shortYes=y
no=No
shortNo=n

short from should be IMO 's'

--------------------------------
Missing space in Spanish invalidConfirmationResponse string: 

export LC_ALL=es_ES.utf8
...

 * Error * 
JBAS015240: Respuesta inválida (las respuestas válidas sonSí, y, No y n)
--------------------------------
Double space in German
*_de.properties:invalidConfirmationResponse=Ung\u00FCltige Antwort. (G\u00FCltige Antworten sind  %s and %s)


Note You need to log in before you can comment on or make changes to this bug.