https://bz.apache.org/bugzilla/show_bug.cgi?id=59131

            Bug ID: 59131
           Summary: HTTP Request with JLabeledChoice editable for Method
                    isn't localized (L10N)
           Product: JMeter
           Version: Nightly (Please specify date)
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 33630
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=33630&action=edit
JLabeledChoice Not L10N

The new change of the Method field to have an editable field to add or delete a
method bring an issue in the localized versions of JMeter, the label of Add and
Delete button isn't localize, it's hard-coded in the
src/jorphan/org/apache/jorphan/gui/JLabeledChoice.java L149/L153.

This class is build inside the jorphan.jar package, which don't have any import
form JMeter API, so it's not possible to use the JMeter L10N mechanism.

Three options:

1/ Change the "Add" and "Del" label with " + " and " - " characters. Not
necessary to add some L10N mechanism, the plus and minus are recognized for Add
and Delete action in UI.

2/ Use icons for + and - (same than the collapse/expand toolbar button). Need
to add inside the jorphan.jar the icons and manage the HiDPI (some properties
to add or try to manage this automatically)

3/ Add some L10N messages.properties mechanism inside the jorphan.jar and use
this to translate the UI.

In attachment, some draft screenshot.

What is your prefer option ? 1 / 2 / 3 / other way ?

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to