Merge branch 'subtree'
[fanfix.git] / src / be / nikiroo / fanfix / reader / ui / GuiReaderPropertiesFrame.java
index deddc3cd84dbbd10b0355853487247bf46ef7e61..9615d757219db1beb2932e876c55462c82b6e0f2 100644 (file)
@@ -4,6 +4,7 @@ import java.awt.BorderLayout;
 
 import javax.swing.JFrame;
 
+import be.nikiroo.fanfix.bundles.StringIdGui;
 import be.nikiroo.fanfix.data.MetaData;
 import be.nikiroo.fanfix.data.Story;
 import be.nikiroo.fanfix.library.BasicLibrary;
@@ -19,13 +20,14 @@ public class GuiReaderPropertiesFrame extends JFrame {
        /**
         * Create a new {@link GuiReaderPropertiesFrame}.
         * 
-        * @param ib
+        * @param lib
         *            the library to use for the cover image
         * @param meta
         *            the meta to describe
         */
        public GuiReaderPropertiesFrame(BasicLibrary lib, MetaData meta) {
-               setTitle(meta.getLuid() + ": " + meta.getTitle());
+               setTitle(GuiReader.trans(StringIdGui.TITLE_STORY, meta.getLuid(),
+                               meta.getTitle()));
 
                GuiReaderPropertiesPane desc = new GuiReaderPropertiesPane(lib, meta);
                setSize(800,