Changeset 13783 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2018-05-18T09:39:33+02:00 (7 years ago)
Author:
Don-vip
Message:

see #8011 - attempt to display list of Launchpad contributors to current translation

Sources:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/actions/AboutAction.java

    r13782 r13783  
    121121        about.addTab(tr("Plugins"), new JScrollPane(PluginHandler.getInfoPanel()));
    122122
     123        // Get the list of Launchpad contributors using customary msgid “translator-credits”
     124        String translators = tr("translator-credits");
     125        if (translators != null && !translators.isEmpty() && !translators.equals("translator-credits")) {
     126            about.addTab(tr("Translators"), createScrollPane(new JosmTextArea(translators)));
     127        }
     128
    123129        // Intermediate panel to allow proper optionPane resizing
    124130        JPanel panel = new JPanel(new GridBagLayout());
Note: See TracChangeset for help on using the changeset viewer.