]> git.sesse.net Git - vlc/blobdiff - include/vlc_intf_strings.h
decoder: add input_DecoderDrain()
[vlc] / include / vlc_intf_strings.h
index 0153c8d22cff831c078260ee4b4d29b1ce2c5f61..25c57b37172dd9463d882efdf74d329949a07d03 100644 (file)
 /*****************************************************************************
  * vlc_intf_strings.h : Strings for main interfaces
  *****************************************************************************
- * Copyright (C) 2003 the VideoLAN team
- * $Id: vlc_config_cat.h 16001 2006-07-09 15:01:13Z dionoea $
+ * Copyright (C) 2003 VLC authors and VideoLAN
+ * $Id$
  *
  * Authors: ClĂ©ment Stenac <zorglub@videolan.org>
  *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2 of the License, or
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU Lesser General Public License as published by
+ * the Free Software Foundation; either version 2.1 of the License, or
  * (at your option) any later version.
  *
  * This program is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU Lesser General Public License
+ * along with this program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
  *****************************************************************************/
 
-#ifndef _VLC_ISTRINGS_H
-#define _VLC_ISTRINGS_H 1
+#ifndef VLC_INTF_STRINGS_H
+#define VLC_INTF_STRINGS_H 1
+
+/**
+ * \file
+ * This file defines a number of strings used in user interfaces
+ */
+
+/* A helper macro that will expand to either of the arguments
+   depanding on platform. The arguments are supposed to be:
+   1. dir: a string containing "directory"
+   2. folder: a string with the same meaning but with directory
+              substituted with "folder"
+*/
+#if defined( _WIN32 ) || defined(__APPLE__)
+    #define I_DIR_OR_FOLDER( dir, folder ) folder
+#else
+    #define I_DIR_OR_FOLDER( dir, folder ) dir
+#endif
 
 /*************** Open dialogs **************/
 
-#define I_POP_SEL_FILES N_("Select one or more files to open")
+#define I_OP_OPF        N_("&Open File...")
+#define I_OP_ADVOP      N_("&Advanced Open...")
+#define I_OP_OPDIR I_DIR_OR_FOLDER( N_("Open D&irectory..."), \
+                                    N_("Open &Folder...") )
+#define I_OP_SEL_FILES  N_("Select one or more files to open")
+#define I_OP_SEL_DIR   I_DIR_OR_FOLDER( N_("Select Directory"), N_("Select Folder") )
 
 /******************* Menus *****************/
 
+#define I_MENU_INFO  N_("Media &Information")
+#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_("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_("Delete")
-#define I_POP_INFO N_("Information")
-#define I_POP_SORT N_("Sort")
-#define I_POP_ADD N_("Add node")
+#define I_POP_DEL N_("Remove Selected")
+#define I_POP_INFO N_("Information...")
+#define I_POP_NEWFOLDER I_DIR_OR_FOLDER( N_("Create Directory..."), \
+                                         N_("Create Folder...") )
+#define I_POP_RENAMEFOLDER I_DIR_OR_FOLDER( N_("Rename Directory..."), \
+                                         N_("Rename Folder...") )
+#define I_POP_EXPLORE I_DIR_OR_FOLDER( N_("Show Containing Directory..."), \
+                                       N_("Show Containing Folder...") )
+#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_RANDOM     N_("Random")
+#define I_PL_NORANDOM   N_("Random Off")
+#define I_PL_ADDPL      N_("Add to Playlist")
+
+#define I_PL_ADDF       N_("Add File...")
+#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_SEARCH     N_("Search")
+
 
 /*************** Preferences *************/
 
-#define I_HIDDEN_ADV N_( "Some options are available but hidden. "\
-                         "Check \"Advanced options\" to see them." )
+
+/*************** Video filters **************/
+
+#define I_WAVE      N_("Waves")
+#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>" \
+            "<p>You can find VLC documentation on VideoLAN's <a href=\"http://wiki.videolan.org\">wiki</a> website.</p>" \
+            "<p>If you are a newcomer to VLC media player, please read the<br><a href=\"http://wiki.videolan.org/Documentation:VLC_for_dummies\"><em>Introduction to VLC media player</em></a>.</p>" \
+            "<p>You will find some information on how to use the player in the <br>\"<a href=\"http://wiki.videolan.org/Documentation:Play_HowTo\"><em>How to play files with VLC media player</em></a>\" document.</p>" \
+            "<p>For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the <a href=\"http://wiki.videolan.org/Documentation:Streaming_HowTo\">Streaming Documentation</a>.</p>" \
+            "<p>If you are unsure about terminology, please consult the <a href=\"http://wiki.videolan.org/Knowledge_Base\">knowledge base</a>.</p>" \
+            "<p>To understand the main keyboard shortcuts, read the <a href=\"http://wiki.videolan.org/Hotkeys\">shortcuts</a> page.</p>" \
+        "<h3>Help</h3>" \
+            "<p>Before asking any question, please refer yourself to the <a href=\"http://www.videolan.org/support/faq.html\">FAQ</a>.</p>" \
+            "<p>You might then get (and give) help on the <a href=\"http://forum.videolan.org\">Forums</a>, the <a href=\"http://www.videolan.org/vlc/lists.html\">mailing-lists</a> or our IRC channel (<em>#videolan</em> on irc.freenode.net).</p>" \
+        "<h3>Contribute to the project</h3>" \
+            "<p>You can help the VideoLAN project giving some of your time to help the community, to design skins, to translate the documentation, to test and to code. You can also give funds and material to help us. And of course, you can <b>promote</b> VLC media player.</p>" \
+    "</body></html>")
+
 #endif