X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=include%2Fvlc_intf_strings.h;h=cd532b5c9e5b4ee7264189b101b2eaab0b391523;hb=12ade3e3bc975d5426ba4af155b7372c31093b31;hp=dd7c28d172e401e9dcce1b06b025376c2cb4ed7b;hpb=e1b1fc71d5583ff58739d83c96dc15cd52859463;p=vlc diff --git a/include/vlc_intf_strings.h b/include/vlc_intf_strings.h index dd7c28d172..cd532b5c9e 100644 --- a/include/vlc_intf_strings.h +++ b/include/vlc_intf_strings.h @@ -21,66 +21,84 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA. *****************************************************************************/ -#if !defined( __LIBVLC__ ) - #error You are not libvlc or one of its plugins. You cannot include this file +#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 -#ifndef _VLC_ISTRINGS_H -#define _VLC_ISTRINGS_H 1 - /*************** Open dialogs **************/ #define I_OP_OPF N_("Quick &Open File...") #define I_OP_ADVOP N_("&Advanced Open...") -#define I_OP_OPDIR N_("Open &Directory...") - +#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_("Information...") -#define I_MENU_CODECINFO N_("Codec Information...") -#define I_MENU_MSG N_("Messages...") -#define I_MENU_EXT N_("Extended settings...") -#define I_MENU_GOTOTIME N_("Go to specific time...") -#define I_MENU_BOOKMARK N_("Bookmarks...") -#define I_MENU_VLM N_("VLM Configuration...") +#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_("&Bookmarks") +#define I_MENU_VLM N_("&VLM Configuration") -#define I_MENU_ABOUT N_("About VLC media player...") +#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_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_ADD N_("Add node") +#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..."), \ + 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_NOREPEAT N_("No repeat") +#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_("No 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_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 N_("Add directory...") +#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_("Load playlist file...") +#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_FILTER N_("Search Filter") -#define I_PL_SD N_("Additional sources") +#define I_PL_SD N_("&Services Discovery" ) /*************** Preferences *************/ @@ -115,4 +133,20 @@ "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_("" \ + "

Welcome to VLC media player Help

" \ + "

Documentation

" \ + "

You can find VLC documentation on VideoLAN's wiki website.

" \ + "

If you are a newcomer to VLC media player, please read the
Introduction to VLC media player.

" \ + "

You will find some information on how to use the player in the
\"How to play files with VLC media player\" document.

" \ + "

For all the saving, converting, transcoding, encoding, muxing and streaming tasks, you should find useful information in the Streaming Documentation.

" \ + "

If you are unsure about terminology, please consult the knowledge base.

" \ + "

To understand the main keyboard shortcuts, read the shortcuts page.

" \ + "

Help

" \ + "

Before asking any question, please refer yourself to the FAQ.

" \ + "

You might then get (and give) help on the Forums, the mailing-lists or our IRC channel (#videolan on irc.freenode.net).

" \ + "

Contribute to the project

" \ + "

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 promote VLC media player.

" \ + "") + #endif