Merge branch 'subtree'
[fanfix.git] / src / be / nikiroo / fanfix / bundles / StringIdGui.java
index 705eef483e8c1b591b35c63f9488cbd439eb6c94..c109f4257aec7c640a74f7af57277071964f3480 100644 (file)
@@ -32,10 +32,10 @@ public enum StringIdGui {
         * Use it when you need a real translation but still don't have a key.
         */
        DUMMY, //
-       @Meta(def = "Fanfix %s local library", format = Format.STRING, description = "the title of the main window of Fanfix, the library", info = "%s = current Fanfix version")
+       @Meta(def = "Fanfix %s", format = Format.STRING, description = "the title of the main window of Fanfix, the library", info = "%s = current Fanfix version")
        // The titles/subtitles:
        TITLE_LIBRARY, //
-       @Meta(def = "Fanfix %s on %s", format = Format.STRING, description = "the title of the main window of Fanfix, the library, when the library has a name (i.e., is not local)", info = "%s = current Fanfix version, %s = library name")
+       @Meta(def = "Fanfix %s", format = Format.STRING, description = "the title of the main window of Fanfix, the library, when the library has a name (i.e., is not local)", info = "%s = current Fanfix version, %s = library name")
        TITLE_LIBRARY_WITH_NAME, //
        @Meta(def = "Fanfix Configuration", format = Format.STRING, description = "the title of the configuration window of Fanfix, also the name of the menu button")
        TITLE_CONFIG, //
@@ -109,6 +109,8 @@ public enum StringIdGui {
        MENU_FILE_OPEN, //
        @Meta(def = "Edit", format = Format.STRING, description = "the edit menu")
        MENU_EDIT, //
+       @Meta(def = "Prefetch to cache", format = Format.STRING, description = "the edit/send to cache menu button, to download the story into the cache if not already done")
+       MENU_EDIT_DOWNLOAD_TO_CACHE, //
        @Meta(def = "Clear cache", format = Format.STRING, description = "the clear cache menu button, to clear the cache for a single book")
        MENU_EDIT_CLEAR_CACHE, //
        @Meta(def = "Redownload", format = Format.STRING, description = "the edit/redownload menu button, to download the latest version of the book")
@@ -119,6 +121,8 @@ public enum StringIdGui {
        MENU_EDIT_SET_COVER_FOR_SOURCE, //
        @Meta(def = "Set as cover for author", format = Format.STRING, description = "the edit/Set as cover for author menu button")
        MENU_EDIT_SET_COVER_FOR_AUTHOR, //
+       @Meta(def = "Search", format = Format.STRING, description = "the search menu to open the earch stories on one of the searchable websites")
+       MENU_SEARCH,
        @Meta(def = "View", format = Format.STRING, description = "the view menu")
        MENU_VIEW, //
        @Meta(def = "Word count", format = Format.STRING, description = "the view/word_count menu button, to show the word/image/story count as secondary info")
@@ -139,16 +143,16 @@ public enum StringIdGui {
        MENU_AUTHORS_UNKNOWN, //
 
        // Progress names
-       @Meta(def = "Removing old copy", format = Format.STRING, description = "progress bar caption for the 'removing old copy' step of 'redownload'")
-       PROGRESS_REDOWNLOAD_REMOVE_OLD_COPY, //
        @Meta(def = "Reload books", format = Format.STRING, description = "progress bar caption for the 'reload books' step of all outOfUi operations")
        PROGRESS_OUT_OF_UI_RELOAD_BOOKS, //
+       @Meta(def = "Change the source of the book to %s", format = Format.STRING, description = "progress bar caption for the 'change source' step of the ReDownload operation", info = "%s = new source name")
+       PROGRESS_CHANGE_SOURCE, //
 
        // Error messages
        @Meta(def = "An error occured when contacting the library", format = Format.STRING, description = "default description if the error is not known")
        ERROR_LIB_STATUS, //
        @Meta(def = "You are not allowed to access this library", format = Format.STRING, description = "library access not allowed")
-       ERROR_LIB_STATUS_UNAUTORIZED, //
+       ERROR_LIB_STATUS_UNAUTHORIZED, //
        @Meta(def = "Library not valid", format = Format.STRING, description = "the library is invalid (not correctly set up)")
        ERROR_LIB_STATUS_INVALID, //
        @Meta(def = "Library currently unavailable", format = Format.STRING, description = "the library is out of commission")
@@ -161,11 +165,11 @@ public enum StringIdGui {
        ERROR_URL_IMPORT_FAILED,
 
        // Others
-       @Meta(def = "&nbsp;&nbsp;<B>Chapter <P COLOR='#7777DD'>%d</P>/%d</B>", format = Format.STRING, description = "(html) the chapter progression value used on the viewers", info = "%d = chapter number, %d = total chapters")
+       @Meta(def = "&nbsp;&nbsp;<B>Chapitre <SPAN COLOR='#444466'>%d</SPAN>&nbsp;/&nbsp;%d</B>", format = Format.STRING, description = "(html) the chapter progression value used on the viewers", info = "%d = chapter number, %d = total chapters")
        CHAPTER_HTML_UNNAMED, //
-       @Meta(def = "&nbsp;&nbsp;<B>Chapter <P COLOR='#7777DD'>%d</P>/%d</B>: %s", format = Format.STRING, description = "(html) the chapter progression value used on the viewers", info = "%d = chapter number, %d = total chapters, %s = chapter name")
+       @Meta(def = "&nbsp;&nbsp;<B>Chapitre <SPAN COLOR='#444466'>%d</SPAN>&nbsp;/&nbsp;%d</B>: %s", format = Format.STRING, description = "(html) the chapter progression value used on the viewers", info = "%d = chapter number, %d = total chapters, %s = chapter name")
        CHAPTER_HTML_NAMED, //
-       @Meta(def = "Image <P COLOR='#7777DD'>%d</P>/%d", format = Format.STRING, description = "(html) the chapter progression value used on the viewers", info = "%d = currnt image number, %d = total images")
+       @Meta(def = "Image %d / %d", format = Format.STRING, description = "(NO html) the chapter progression value used on the viewers", info = "%d = current image number, %d = total images")
        IMAGE_PROGRESSION, //
        
        ;