[vlc-devel] [PATCH 1/2] hard deleting many useless(?) string defines

Christoph Miebach christoph.miebach at web.de
Fri Apr 26 07:42:01 CEST 2013


---
 include/vlc_intf_strings.h | 45 +--------------------------------------------
 modules/gui/qt4/menus.cpp  |  3 +--
 2 files changed, 2 insertions(+), 46 deletions(-)

diff --git a/include/vlc_intf_strings.h b/include/vlc_intf_strings.h
index e52c5a8..95e861a 100644
--- a/include/vlc_intf_strings.h
+++ b/include/vlc_intf_strings.h
@@ -56,17 +56,15 @@
 #define I_MENU_CODECINFO  N_("&Codec Information")
 #define I_MENU_MSG   N_("&Messages")
 #define I_MENU_GOTOTIME N_("Jump to Specific &Time")
-#define I_MENU_BOOKMARK N_("&Bookmarks")
+#define I_MENU_BOOKMARK N_("Custom &Bookmarks")
 #define I_MENU_VLM N_("&VLM Configuration")
 
 #define I_MENU_ABOUT N_("&About")
 
 /* Playlist popup */
 #define I_POP_PLAY N_("Play")
-#define I_POP_PREPARSE N_("Fetch Information")
 #define I_POP_DEL N_("Remove Selected")
 #define I_POP_INFO N_("Information...")
-#define I_POP_SORT N_("Sort")
 #define I_POP_NEWFOLDER I_DIR_OR_FOLDER( N_("Create Directory..."), \
                                          N_("Create Folder...") )
 #define I_POP_EXPLORE I_DIR_OR_FOLDER( N_("Show Containing Directory..."), \
@@ -74,65 +72,24 @@
 #define I_POP_STREAM N_("Stream...")
 #define I_POP_SAVE N_("Save...")
 
-
 /*************** Playlist *************/
 
-#define I_PL_LOOP       N_("Repeat All")
-#define I_PL_REPEAT     N_("Repeat One")
-#define I_PL_NOREPEAT   N_("No Repeat")
-
-#define I_PL_RANDOM     N_("Random")
-#define I_PL_NORANDOM   N_("Random Off")
-
 #define I_PL_ADDPL      N_("Add to Playlist")
-#define I_PL_ADDML      N_("Add to Media Library")
 
 #define I_PL_ADDF       N_("Add File...")
-#define I_PL_ADVADD     N_("Advanced Open...")
 #define I_PL_ADDDIR     I_DIR_OR_FOLDER( N_("Add Directory..."), \
                                          N_("Add Folder...") )
 
 #define I_PL_SAVE       N_("Save Playlist to &File...")
-#define I_PL_LOAD       N_("Open Play&list...")
 
 #define I_PL_SEARCH     N_("Search")
-#define I_PL_FILTER     N_("Search Filter")
 
-#define I_PL_SD         N_("&Services Discovery" )
 
 /*************** Preferences *************/
 
-#define I_HIDDEN_ADV N_( "Some options are available but hidden. "\
-                         "Check \"Advanced options\" to see them." )
 
 /*************** Video filters **************/
 
-#define I_CLONE     N_("Image clone")
-#define I_CLONE_TIP N_("Clone the image")
-
-#define I_MAGNIFY       N_("Magnification")
-#define I_MAGNIFY_TIP   N_("Magnify a part of the video. You can select " \
-                           "which part of the image should be magnified." )
-
-#define I_WAVE      N_("Waves")
-#define I_WAVE_TIP  N_("\"Waves\" video distortion effect")
-
-#define I_RIPPLE_TIP N_("\"Water surface\" video distortion effect")
-
-#define I_INVERT_TIP N_("Image colors inversion")
-
-#define I_WALL_TIP N_("Split the image to make an image wall")
-
-#define I_PUZZLE_TIP N_("Create a \"puzzle game\" with the video.\n" \
-                        "The video gets split in parts that you must sort.")
-
-#define I_GRADIENT_TIP N_("\"Edge detection\" video distortion effect.\n" \
-                    "Try changing the various settings for different effects" )
-
-#define I_COLORTHRES_TIP N_("\"Color detection\" effect. The whole image " \
-                  "will be turned to black and white, except the parts that "\
-                  "are of the color that you select in the settings.")
-
 #define I_LONGHELP N_("<html><head><meta http-equiv=\"Content-Type\" content=\"text/html; charset=utf-8\" /></head><body>" \
     "<h2>Welcome to VLC media player Help</h2>" \
         "<h3>Documentation</h3>" \
diff --git a/modules/gui/qt4/menus.cpp b/modules/gui/qt4/menus.cpp
index 6cac894..e057ea9 100644
--- a/modules/gui/qt4/menus.cpp
+++ b/modules/gui/qt4/menus.cpp
@@ -709,8 +709,7 @@ QMenu *VLCMenuBar::NavigMenu( intf_thread_t *p_intf, QMenu *menu )
     submenu->setTearOffEnabled( true );
     addActionWithSubmenu( menu, "program", qtr( "&Program" ) );
 
-    /* FixMe: sync I_MENU_BOOKMARK string */
-    submenu = new QMenu( qtr( "Custom &Bookmarks" ), menu );
+    submenu = new QMenu( qtr( I_MENU_BOOKMARK ), menu );
     submenu->setTearOffEnabled( true );
     addDPStaticEntry( submenu, qtr( "&Manage" ), "",
                       SLOT( bookmarksDialog() ), "Ctrl+B" );
-- 
1.8.1.4




More information about the vlc-devel mailing list