Browse Source

Fixes #232 Clarify what the two Shortcut Panels are used for, so it doesn't confuse users.

MeFisto94 5 years ago
parent
commit
f4c5cb83b7

+ 4 - 2
nbi/stub/ext/components/products/blender/src/org/mycompany/wizard/panels/Bundle.properties

@@ -39,8 +39,10 @@
 
 
 ################################################################################
 ################################################################################
 # will be augmented with the product name from data/Bundle.properties
 # will be augmented with the product name from data/Bundle.properties
-P.title= Installation
-P.description=Create desktop shortcut.
+# Note: Augmentation is broken, see ShortcutCreationPanel.java
+
+P.title= Blender
+P.description=Create a desktop shortcut for the Blender 3D Editor.
 
 
 P.create.desktop.shortcut=Create Desktop icon
 P.create.desktop.shortcut=Create Desktop icon
 P.create.start.menu.shortcut.windows=Create Start menu entry
 P.create.start.menu.shortcut.windows=Create Start menu entry

+ 9 - 1
nbi/stub/ext/components/products/blender/src/org/mycompany/wizard/panels/ShortcutCreationPanel.java

@@ -149,8 +149,16 @@ public class ShortcutCreationPanel extends ErrorMessagePanel {
     }
     }
     /////////////////////////////////////////////////////////////////////////////////
     /////////////////////////////////////////////////////////////////////////////////
     // Constants
     // Constants
+    
+    /* @TODO: "ResourceUtils.getString("data","product.display.name")" is broken
+     * It should fetch the properties from the data folder and then we should
+     * also do the same for the description. For some reason the Resource "data"
+     * is not found (See #227). I've integrated everything within P.title and
+     * P.description, doesn't matter for now since we have no i18n anyway.
+     * - MeFisto94
+    */
     public static final String DEFAULT_TITLE =
     public static final String DEFAULT_TITLE =
-            ResourceUtils.getString("data","product.display.name") + ResourceUtils.getString(ShortcutCreationPanel.class,
+            ResourceUtils.getString(ShortcutCreationPanel.class,
             "P.title"); // NOI18N
             "P.title"); // NOI18N
     public static final String DEFAULT_DESCRIPTION =
     public static final String DEFAULT_DESCRIPTION =
             ResourceUtils.getString(ShortcutCreationPanel.class,
             ResourceUtils.getString(ShortcutCreationPanel.class,