Improve output message from translation import process

This commit is contained in:
Carlos Ruiz 2011-03-08 11:03:32 -05:00
parent cd24e36409
commit 2960ff204b
1 changed files with 4 additions and 3 deletions

View File

@ -215,14 +215,15 @@ public class WTranslationDialog extends TranslationController implements IFormCo
// All Tables // All Tables
if (AD_Table.getValue().equals("")) if (AD_Table.getValue().equals(""))
{ {
msg = null; msg = "";
for (int i = 1; i < cbTable.getItemCount(); i++) for (int i = 1; i < cbTable.getItemCount(); i++)
{ {
AD_Table = (ValueNamePair)cbTable.getItemAtIndex(i).toValueNamePair(); AD_Table = (ValueNamePair)cbTable.getItemAtIndex(i).toValueNamePair();
msg += imp // Carlos Ruiz - globalqss - improve output message from translation import process
msg += AD_Table.getValue() + " " + (imp
? t.importTrl (directory, AD_Client_ID, AD_Language.getValue(), AD_Table.getValue()) ? t.importTrl (directory, AD_Client_ID, AD_Language.getValue(), AD_Table.getValue())
: t.exportTrl (directory, AD_Client_ID, AD_Language.getValue(), AD_Table.getValue()); : t.exportTrl (directory, AD_Client_ID, AD_Language.getValue(), AD_Table.getValue())) + " ";
} }
if(msg == null || msg.length() == 0) if(msg == null || msg.length() == 0)