The point of the i18n branch is to allow independent patching and merging. I 
suggest you add a TODO
// TODO: JAL-1354 do not index with i18n strings

.. in fact – raise a bug and cite the bug in the TODO. One of us will look at 
it as we merge in the i18n changes.

I’m still looking at your last commits – unfortunately, I’m dealing with some 
stuff at the moment which means I won’t have finished reviewing them until 
Monday. Don’t let this stop you !

Jim
From: [email protected] [mailto:[email protected]] 
On Behalf Of David Roldán Martínez
Sent: 20 September 2014 17:50
To: Jalview Development List
Subject: [Jalview-dev] i18n review

Hi all,

I almost have the i18n review also finish but I've found several issues that 
I'll leave unfix because I think they need further changes in the code.
We should avoid, as much as possible, comparisions (or other logic) relaying 
directly in strings shown at user interface. For example:

    wsList.setModel(new WsUrlTableModel(tdat));
    wsList.getColumn("Status").setMinWidth(10);
[...]
    public String getColumnName(int column)
    {
      if (column == 1)
      {
        return "Status";
      }
      return "Service URL";
    }
If the string gets translated, the application will not work properly (or even 
won't work at all).
I can fix these type of issues but, from my point of view, it's better to them 
in the main branch instead of the i18n branch, because they will need 
not-i18n-changes before to fix i18n. What do you think about that?
Cheers,
    David


The University of Dundee is a registered Scottish Charity, No: SC015096
_______________________________________________
Jalview-dev mailing list
[email protected]
http://www.compbio.dundee.ac.uk/mailman/listinfo/jalview-dev

Reply via email to