Skip to content

Commit 59ddfe4

Browse files
committed
minor text changes
1 parent e9fb506 commit 59ddfe4

File tree

7 files changed

+10
-9
lines changed

7 files changed

+10
-9
lines changed

help/en/HelpSet.hs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"http://java.sun.com/products/javahelp/helpset_1_0.dtd">
55

66
<helpset version="1.0">
7-
<title>ADDA GUI Help</title>
7+
<title>ADDA GUI Help [beta version, under developing]</title>
88
<maps>
99
<mapref location="Map.jhm"/>
1010
<homeID>introduction</homeID>
@@ -29,11 +29,10 @@
2929
<size width="1024" height="700" />
3030
<location x="200" y="200" />
3131
<image>icon</image>
32-
<title>ADDA GUI Help</title>
32+
<title>ADDA GUI Help [beta version, under developing]</title>
3333
<toolbar>
3434
<helpaction>javax.help.BackAction</helpaction>
3535
<helpaction>javax.help.ForwardAction</helpaction>
36-
3736
</toolbar>
3837
</presentation>
3938
</helpset>

help/en/TOC.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<toc>
2-
<tocitem text="ADDA GUI Help">
2+
<tocitem text="ADDA GUI Help [beta version, under developing]">
33
<tocitem target="introduction" text="Introduction" />
44
<tocitem target="using_the_manual" text="Using the Manual" />
55
<tocitem target="running_adda" text="Running ADDA">

src/main/java/adda/Context.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525

2626
public class Context {
2727

28+
public static final String VERSION = "beta0.2.1";
29+
2830
protected JFrame mainFrame;
2931

3032
protected MainForm mainForm;

src/main/java/adda/Main.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void run() {
4747

4848

4949

50-
JFrame frame = new JFrame(" ADDA GUI");
50+
JFrame frame = new JFrame(" ADDA GUI ["+ Context.VERSION + "]");
5151
MainForm app = new MainForm();
5252
app.setLoadingVisible(true);
5353
app.getShortcutPanel().setBorder(BorderFactory.createMatteBorder(0, 0, 1, 0, Color.lightGray));
@@ -165,7 +165,7 @@ public void actionPerformed(ActionEvent e) {
165165
helpMenu.add(openHelpSystem);
166166
final JMenuItem about = new JMenuItem("About");
167167
about.addActionListener(e -> {
168-
JOptionPane.showMessageDialog(null, "<html>Version <b>0.1beta</b>.<br> Use [email protected] to contact dev team</html>");
168+
JOptionPane.showMessageDialog(null, "<html>Version <b>" + Context.VERSION +"</b>.<br> Use [email protected] to contact dev team</html>");
169169
});
170170
helpMenu.add(about);
171171

src/main/java/adda/help/HelpProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -668,7 +668,7 @@ public static String getShortDescByID(String id) {
668668
"specifying scattere...");
669669

670670
case "predefined_shapes":
671-
return StringHelper.toDisplayString("Predefined" +
671+
return StringHelper.toDisplayString("Predefined " +
672672
"shapes are initialized by the command line option...");
673673

674674
case "granule_generator":

src/main/java/adda/item/root/projectTree/ProjectTreeNewItemDialog.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ private JButton createZeroButton() {
131131

132132
fileOpenButton.addActionListener(e -> {
133133
JFileChooser fileChooser = new JFileChooser();
134-
fileChooser.setDialogTitle("ADDA orientation average");//todo localization
134+
fileChooser.setDialogTitle(StringHelper.toDisplayString("Project directory"));//todo localization
135135
FileNameExtensionFilter filter = new FileNameExtensionFilter("ADDA config", "dat");
136136
fileChooser.setFileFilter(filter);
137137

src/main/java/adda/item/tab/base/refractiveIndexAggregator/RefractiveIndexAggregatorModel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public void setShapeRefractiveIndexesCount(int shapeRefractiveIndexesCount) {
7575

7676

7777
public RefractiveIndexAggregatorModel() {
78-
setLabel("Refractive indexes");//todo localization
78+
setLabel(StringHelper.toDisplayString("Refractive indices"));//todo localization
7979
SwingUtilities.invokeLater(() -> {
8080
shapeBoxes.forEach(BoxBase::init);
8181
granulBox.init();

0 commit comments

Comments
 (0)