This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 31295 - PVCS : I18N - Cannot display mnemonic after translation
Summary: PVCS : I18N - Cannot display mnemonic after translation
Status: RESOLVED FIXED
Alias: None
Product: obsolete
Classification: Unclassified
Component: vcsgeneric (show other bugs)
Version: -S1S-
Hardware: All All
: P4 blocker (vote)
Assignee: Martin Entlicher
URL:
Keywords: I18N
Depends on:
Blocks:
 
Reported: 2003-02-21 07:35 UTC by yasuhiro
Modified: 2006-01-04 15:48 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description yasuhiro 2003-02-21 07:35:58 UTC
In
"vcsgeneric/profiles/pvcs/src/org/netbeans/modules
/vcs/profiles/pvcs/config/Bundle.properties",

"COMMAND_PVCS_MERGE_RevisionNumber" and
"COMMAND_PVCS_MERGE_VersionLabel" has three
mnemonics.

COMMAND_PVCS_MERGE_RevisionNumber
   1:
ACS_COMMAND_PVCS_MERGE_Parent_RevisionNumber_mnc
   2: ACS_COMMAND_PVCS_MERGE_B1_RevisionNumber_mnc
   3: ACS_COMMAND_PVCS_MERGE_B2_RevisionNumber_mnc
   
COMMAND_PVCS_MERGE_VersionLabel
   1:
ACS_COMMAND_PVCS_MERGE_Parent_VersionLabel_mnc
   2: ACS_COMMAND_PVCS_MERGE_B1_VersionLabel_mnc
   3: ACS_COMMAND_PVCS_MERGE_B2_VersionLabel_mnc

--- Bundle.properties ---
COMMAND_PVCS_MERGE_RevisionNumber=Revision Number:
COMMAND_PVCS_MERGE_VersionLabel=Version Label:
ACS_COMMAND_PVCS_MERGE_Parent_RevisionNumber_mnc=R
ACS_COMMAND_PVCS_MERGE_Parent_VersionLabel_mnc=V
ACS_COMMAND_PVCS_MERGE_B1_RevisionNumber_mnc=e
ACS_COMMAND_PVCS_MERGE_B1_VersionLabel_mnc=i
ACS_COMMAND_PVCS_MERGE_B2_RevisionNumber_mnc=o
ACS_COMMAND_PVCS_MERGE_B2_VersionLabel_mnc=L
-------------------------
   
Generally, after translation a message for caption
into Japanese, the message has no single-byte
characters.
So we should add a alphabetical character to tail
of
multi-byte message, like following:

COMMAND_PVCS_MERGE_RevisionNumber=<multi-bye
message>(R):

But in this case, one message has more than one
mnemonic.
So we cannot add the mnemonics to the caption.

Please fix this so that a caption and a mnemonic
are 
made to be set to 1 to 1.

If other messages has some mnemonics,
please fix too.

Yasuhiro Kobayashi
Comment 1 Martin Entlicher 2004-01-29 18:10:00 UTC
The problem is fixed in trunk:

Checking in Bundle.properties;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/Bundle.properties,v
 <--  Bundle.properties
new revision: 1.16; previous revision: 1.15
done
Checking in pvcs.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcs.xml,v
 <--  pvcs.xml
new revision: 1.8; previous revision: 1.7
done
Checking in pvcsLoc_XX.xml;
/cvs/vcsgeneric/profiles/pvcs/src/org/netbeans/modules/vcs/profiles/pvcs/config/pvcsLoc_XX.xml,v
 <--  pvcsLoc_XX.xml
new revision: 1.8; previous revision: 1.7
done