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 257197 - Translation for ODCS support
Summary: Translation for ODCS support
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: ODCS (show other bugs)
Version: 8.2
Hardware: PC Windows 7
: P2 normal (vote)
Assignee: Antonin Nebuzelsky
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-12-17 16:33 UTC by Tomas Pavek
Modified: 2016-01-07 03:01 UTC (History)
1 user (show)

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
contents of stable uc (20.39 KB, image/png)
2015-12-19 01:58 UTC, Masaki Katakai
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tomas Pavek 2015-12-17 16:33:49 UTC
Please provide translations to standard set of languages for the ODCS support -- like for other NetBeans features that are part of the standard build. It is needed for JDeveloper where the ODCS support is included by default in the product.

This is mainly the Team Server UI and the ODCS tasks support. Here is a list of project folders that are added as part of ODCS support to JDev and which are not standard part of NetBeans (thus not translated):

team.server
odcs
odcs.hudson
odcs.tasks
odcs.tasks.bridge
odcs.ui
odcs.versioning

It would be great if it could be done for the next major release of NetBeans (8.2).
Comment 1 Masaki Katakai 2015-12-19 01:58:00 UTC
Created attachment 157853 [details]
contents of stable uc

I found another modules in stable UC kit

http://smetiste.cz.oracle.com/builds/netbeans/trunk/daily/2015-12-19_00-02-04/zip/stableuc-l10n-201512190002.zip

Are the following also need to be localized?

odcs-git
odcs-kit
team-server-nb
Comment 2 Tomas Stupka 2015-12-21 12:55:31 UTC
> Are the following also need to be localized?
> odcs-git
> odcs-kit
yes in case that also 
OpenIDE-Module-Display-Category, OpenIDE-Module-Name, etc 
are localized

> team-server-nb
yes

thanks for noticing
Comment 3 Tomas Pavek 2015-12-21 13:16:52 UTC
Yes, though not used in JDev, they are part of the NetBeans UC content together with the rest of the ODCS support, so make sense to be translated as well.
Comment 4 Masaki Katakai 2015-12-28 08:18:33 UTC
Thank you Tomas,

I evaluated properties files quickly. There are some issues.
Could you evaluate?

1. duplicate keys in same properties file

    odcs-versioning/odcs-versioning/org/netbeans/modules/odcs/versioning/Bundle.properties
        GetSourcesFromODCSPanel.RepositoryLabel=repository

2. there are some jLabel? message. Is this corret? I understand these are
    initial message and will be replaced with actual UI strings. However,
    it's not good idea such messages in translatable files.

./odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/query/Bundle.properties
    QueryPanel.tableSummaryLabel.text_1=jLabel2
    QueryPanel.nameLabel.text_1=jLabel4
    QueryPanel.lastRefreshDateLabel.text_1=jLabel4
    QueryPanel.noContentLabel.text=jLabel9
    QueryPanel.jLabel2.text_1=jLabel2

./odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/repository/Bundle.properties
    RepositoryPanel.validateLabel.text_1=jLabel4

./odcs-versioning/odcs-versioning/org/netbeans/modules/odcs/versioning/Bundle.properties
    GetSourcesFromODCSPanel.jLabel1.text=jLabel1
    GetSourcesFromODCSPanel.serverLabel.text=jLabel3

./odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/Bundle.properties
    NameWizardPanelGUI.serverLabel.text=jLabel1

3. marked as NOI18N but it looks translatable

team-server/team-server/org/netbeans/modules/team/server/ui/common/Bundle.properties
#NOI18N
LBL_No_Team_Project_Open=No Team Project Open

4. Are these all lower-case characters

team-server/team-server/org/netbeans/modules/team/server/ui/common/Bundle.properties

LBL_Retry=retry
    Retry?
CTL_Show=show
    Show?
LBL_Logout=logout
    Logout?

5. not easy to understand for these strings. How these strings are displayed?

LBL_OpenNetBeansIDEProject1=Open NetBeans IDE Project
LBL_OpenNetBeansIDEProject2=to get sources

6. it's nice if useful comment for {0}

team-server/team-server/org/netbeans/modules/team/server/ui/common/Bundle.properties
LBL_MembersOnline=Members ({0} online)

odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/Bundle.properties
SourceAndIssuesWizardPanelGUI.GitOnKenai=Git (on {0})
Comment 5 Masaki Katakai 2015-12-28 09:34:21 UTC
list of translatable files:

extra/odcs-git/odcs-git/org/netbeans/modules/odcs/git/Bundle.properties
extra/odcs-hudson/odcs-hudson/org/netbeans/modules/odcs/hudson/Bundle.properties
extra/odcs-kit/odcs-kit/org/netbeans/modules/odcs/kit/Bundle.properties
extra/odcs-tasks-bridge/odcs-tasks-bridge/org/netbeans/modules/odcs/tasks/bridge/Bundle.properties
extra/odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/Bundle.properties
extra/odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/issue/Bundle.properties
extra/odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/query/Bundle.properties
extra/odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/repository/Bundle.properties
extra/odcs-tasks/odcs-tasks/org/netbeans/modules/odcs/tasks/util/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/api/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/dashboard/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/project/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/project/activity/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/settings/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/share/Bundle.properties
extra/odcs-ui/odcs-ui/org/netbeans/modules/odcs/ui/utils/Bundle.properties
extra/odcs-versioning/odcs-versioning/org/netbeans/modules/odcs/versioning/Bundle.properties
extra/odcs/odcs/org/netbeans/modules/odcs/Bundle.properties
extra/team-server-nb/team-server-nb/org/netbeans/modules/team/server/nb/Bundle.properties
extra/team-server/team-server/org/netbeans/modules/team/server/Bundle.properties
extra/team-server/team-server/org/netbeans/modules/team/server/ui/common/Bundle.properties
extra/team-server/team-server/org/netbeans/modules/team/server/ui/picker/Bundle.properties
extra/team-server/team-server/org/netbeans/modules/team/server/ui/spi/Bundle.properties
Comment 6 Tomas Pavek 2015-12-29 13:59:29 UTC
Thanks Masaki for finding and writing down the issues. I've made a cleanup to address them, see:

http://hg.netbeans.org/jet-main/rev/25c185c55423
http://hg.netbeans.org/jet-main/rev/d2f94f09eb23
http://hg.netbeans.org/jet-main/rev/d34bf76e0203

As for
> 4. Are these all lower-case characters?
CTL_Show was not used so I've removed it.
The other two strings are correct as they are (in lower case).


Let us know if you notice other issues.
Comment 7 Masaki Katakai 2016-01-07 03:01:13 UTC
Thank you very much Tomas! It looks good!

I have sent the kit to doc team for more evaluation.