Author: dandre
Date: Tue Jun 18 22:37:05 2013
New Revision: 4476
Log:
remove hard coded message
Modified:
trunk/AncestrisCore/core.report/src/genj/report/ReportDetail.java
Modified: trunk/AncestrisCore/core.report/src/genj/report/ReportDetail.java
==============================================================================
--- trunk/AncestrisCore/core.report/src/genj/report/ReportDetail.java
(original)
+++ trunk/AncestrisCore/core.report/src/genj/report/ReportDetail.java Tue Jun
18 22:37:05 2013
@@ -53,7 +53,7 @@
gh.setParameter(GridBagHelper.FILL_HORIZONTAL);
gh.setInsets(new Insets(0, 0, 0, 5));
- lFile = new JLabel("");
+ lFile = new JLabel(""); //NOI18N
lFile.setForeground(Color.black);
gh.add(new JLabel(res.getString("report.file")),2,0);
@@ -61,7 +61,7 @@
// ... Report's author
- lAuthor = new JLabel("");
+ lAuthor = new JLabel(""); //NOI18N
lAuthor.setForeground(Color.black);
gh.add(new JLabel(res.getString("report.author")),2,1);
@@ -84,23 +84,23 @@
JScrollPane spInfo = new JScrollPane(tpInfo);
gh.add(spInfo,2,4,2,1,GridBagHelper.GROWFILL_BOTH);
- tpInfo.setText("Some very long info on report from file");
+ tpInfo.setText(res.getString("report.detail.long"));
}
public void setReport(Report report) {
// update info
if (report == null) {
- lFile .setText("");
- lAuthor .setText("");
- lVersion .setText("");
- tpInfo .setText("");
+ lFile .setText(""); //NOI18N
+ lAuthor .setText(""); //NOI18N
+ lVersion .setText(""); //NOI18N
+ tpInfo .setText(""); //NOI18N
} else {
editorKit.setFrom(report.getClass());
lFile .setText(report.getClass().getSimpleName());
lAuthor .setText(report.getAuthor());
lVersion .setText(getReportVersion(report));
- tpInfo .setText(report.getInfo().replaceAll("\n", "<br>"));
+ tpInfo .setText(report.getInfo().replaceAll("\n", "<br>")); //NOI18N
tpInfo .setCaretPosition(0);
}
}
@@ -114,7 +114,7 @@
String version = report.getVersion();
String update = report.getLastUpdate();
if (update != null)
- version += " - " + Resources.get(this).getString("report.updated") + ":
" + update;
+ version += " - " + Resources.get(this).getString("report.updated") + ":
" + update; //NOI18N
return version;
}
---------------------------------------------------------------------
Site Web Ancestris : http://www.ancestris.org
<*> Pour vous desinscrire de cette liste, envoyez un mail a :
[email protected]
<*> Pour obtenir de l'aide sur les commandes de la liste :
[email protected]
Pour obtenir tous les messages lies a ce fil de discussion, cliquez sur le
lien ci-dessous, cela ouvrira votre logiciel de messagerie. Il vous suffira
d'envoyer le message :
[email protected]