Commit d6e27e7b authored by Sam Hocevar's avatar Sam Hocevar

* ALL: merged more UI strings.

parent 07bc016f
......@@ -87,7 +87,7 @@
<widget>
<class>GtkPixmapMenuItem</class>
<name>menubar_open</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<signal>
<name>activate</name>
<handler>GtkFileOpenShow</handler>
......@@ -115,7 +115,7 @@
<widget>
<class>GtkPixmapMenuItem</class>
<name>menubar_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<signal>
<name>activate</name>
<handler>GtkNetworkOpenShow</handler>
......@@ -391,7 +391,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_file</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<signal>
<name>clicked</name>
<handler>GtkFileOpenShow</handler>
......@@ -419,7 +419,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<signal>
<name>clicked</name>
<handler>GtkNetworkOpenShow</handler>
......@@ -569,7 +569,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_prev</name>
<tooltip>Previous File</tooltip>
<tooltip>Previous file</tooltip>
<signal>
<name>clicked</name>
<handler>GtkPlaylistPrev</handler>
......@@ -1214,7 +1214,7 @@
<widget>
<class>GtkPixmapMenuItem</class>
<name>popup_open</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<signal>
<name>activate</name>
<handler>GtkFileOpenShow</handler>
......@@ -1242,7 +1242,7 @@
<widget>
<class>GtkPixmapMenuItem</class>
<name>popup_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<signal>
<name>activate</name>
<handler>GtkNetworkOpenShow</handler>
......
......@@ -17,7 +17,7 @@ static GnomeUIInfo menubar_file_menu_uiinfo[] =
{
{
GNOME_APP_UI_ITEM, N_("_Open File..."),
N_("Open a File"),
N_("Open a file"),
(gpointer) GtkFileOpenShow, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_OPEN,
0, (GdkModifierType) 0, NULL
......@@ -31,7 +31,7 @@ static GnomeUIInfo menubar_file_menu_uiinfo[] =
},
{
GNOME_APP_UI_ITEM, N_("_Network Stream..."),
N_("Select a Network Stream"),
N_("Select a network stream"),
(gpointer) GtkNetworkOpenShow, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_REFRESH,
0, (GdkModifierType) 0, NULL
......@@ -370,7 +370,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("File"),
_("Open a File"), NULL,
_("Open a file"), NULL,
tmp_toolbar_icon, NULL, NULL);
gtk_widget_ref (toolbar_file);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_file", toolbar_file,
......@@ -394,7 +394,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("Net"),
_("Select a Network Stream"), NULL,
_("Select a network stream"), NULL,
tmp_toolbar_icon, NULL, NULL);
gtk_widget_ref (toolbar_network);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_network", toolbar_network,
......@@ -522,7 +522,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("Prev"),
_("Previous File"), NULL,
_("Previous file"), NULL,
tmp_toolbar_icon, NULL, NULL);
gtk_widget_ref (toolbar_prev);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_prev", toolbar_prev,
......@@ -808,7 +808,7 @@ static GnomeUIInfo popup_file_menu_uiinfo[] =
{
{
GNOME_APP_UI_ITEM, N_("_Open File..."),
N_("Open a File"),
N_("Open a file"),
(gpointer) GtkFileOpenShow, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_OPEN,
0, (GdkModifierType) 0, NULL
......@@ -822,7 +822,7 @@ static GnomeUIInfo popup_file_menu_uiinfo[] =
},
{
GNOME_APP_UI_ITEM, N_("_Network Stream..."),
N_("Select a Network Stream"),
N_("Select a network stream"),
(gpointer) GtkNetworkOpenShow, NULL, NULL,
GNOME_APP_PIXMAP_STOCK, GNOME_STOCK_MENU_REFRESH,
0, (GdkModifierType) 0, NULL
......
......@@ -78,7 +78,7 @@
<widget>
<class>GtkMenuItem</class>
<name>menubar_open</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<accelerator>
<modifiers>0</modifiers>
<key>GDK_F3</key>
......@@ -114,7 +114,7 @@
<widget>
<class>GtkMenuItem</class>
<name>menubar_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<accelerator>
<modifiers>0</modifiers>
<key>GDK_F5</key>
......@@ -410,7 +410,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_open</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<signal>
<name>clicked</name>
<handler>GtkFileOpenShow</handler>
......@@ -436,7 +436,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<signal>
<name>clicked</name>
<handler>GtkNetworkOpenShow</handler>
......@@ -575,7 +575,7 @@
<class>GtkButton</class>
<child_name>Toolbar:button</child_name>
<name>toolbar_prev</name>
<tooltip>Previous File</tooltip>
<tooltip>Previous file</tooltip>
<signal>
<name>clicked</name>
<handler>GtkPlaylistPrev</handler>
......@@ -1194,7 +1194,7 @@
<widget>
<class>GtkMenuItem</class>
<name>popup_file</name>
<tooltip>Open a File</tooltip>
<tooltip>Open a file</tooltip>
<signal>
<name>activate</name>
<handler>GtkFileOpenShow</handler>
......@@ -1220,7 +1220,7 @@
<widget>
<class>GtkMenuItem</class>
<name>popup_network</name>
<tooltip>Select a Network Stream</tooltip>
<tooltip>Select a network stream</tooltip>
<signal>
<name>activate</name>
<handler>GtkNetworkOpenShow</handler>
......
......@@ -159,7 +159,7 @@ create_intf_window (void)
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (menubar_open);
gtk_container_add (GTK_CONTAINER (menubar_file_menu), menubar_open);
gtk_tooltips_set_tip (tooltips, menubar_open, _("Open a File"), NULL);
gtk_tooltips_set_tip (tooltips, menubar_open, _("Open a file"), NULL);
gtk_widget_add_accelerator (menubar_open, "activate", accel_group,
GDK_F3, 0,
GTK_ACCEL_VISIBLE);
......@@ -189,7 +189,7 @@ create_intf_window (void)
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (menubar_network);
gtk_container_add (GTK_CONTAINER (menubar_file_menu), menubar_network);
gtk_tooltips_set_tip (tooltips, menubar_network, _("Select a Network Stream"), NULL);
gtk_tooltips_set_tip (tooltips, menubar_network, _("Select a network stream"), NULL);
gtk_widget_add_accelerator (menubar_network, "activate", accel_group,
GDK_F5, 0,
GTK_ACCEL_VISIBLE);
......@@ -496,7 +496,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("File"),
_("Open a File"), NULL,
_("Open a file"), NULL,
NULL, NULL, NULL);
gtk_widget_ref (toolbar_open);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_open", toolbar_open,
......@@ -518,7 +518,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("Net"),
_("Select a Network Stream"), NULL,
_("Select a network stream"), NULL,
NULL, NULL, NULL);
gtk_widget_ref (toolbar_network);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_network", toolbar_network,
......@@ -636,7 +636,7 @@ create_intf_window (void)
GTK_TOOLBAR_CHILD_BUTTON,
NULL,
_("Prev"),
_("Previous File"), NULL,
_("Previous file"), NULL,
NULL, NULL, NULL);
gtk_widget_ref (toolbar_prev);
gtk_object_set_data_full (GTK_OBJECT (intf_window), "toolbar_prev", toolbar_prev,
......@@ -1179,7 +1179,7 @@ create_intf_popup (void)
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (popup_file);
gtk_container_add (GTK_CONTAINER (popup_open_menu), popup_file);
gtk_tooltips_set_tip (tooltips, popup_file, _("Open a File"), NULL);
gtk_tooltips_set_tip (tooltips, popup_file, _("Open a file"), NULL);
popup_disc = gtk_menu_item_new_with_label ("");
tmp_key = gtk_label_parse_uline (GTK_LABEL (GTK_BIN (popup_disc)->child),
......@@ -1203,7 +1203,7 @@ create_intf_popup (void)
(GtkDestroyNotify) gtk_widget_unref);
gtk_widget_show (popup_network);
gtk_container_add (GTK_CONTAINER (popup_open_menu), popup_network);
gtk_tooltips_set_tip (tooltips, popup_network, _("Select a Network Stream"), NULL);
gtk_tooltips_set_tip (tooltips, popup_network, _("Select a network stream"), NULL);
separator12 = gtk_menu_item_new ();
gtk_widget_ref (separator12);
......
......@@ -3,7 +3,7 @@ object DiscDlg: TDiscDlg
Top = 320
BorderIcons = [biSystemMenu, biMinimize]
BorderStyle = bsDialog
Caption = 'Open disc'
Caption = 'Open Disc'
ClientHeight = 138
ClientWidth = 338
Color = clBtnFace
......
......@@ -2452,17 +2452,17 @@ object MainFrameDlg: TMainFrameDlg
object PopupOpenFile: TMenuItem
Tag = 3
Action = OpenFileAction
Caption = 'Open file...'
Caption = 'Open File...'
end
object PopupOpenDisc: TMenuItem
Tag = 3
Action = OpenDiscAction
Caption = 'Open disc...'
Caption = 'Open Disc...'
end
object PopupNetworkStream: TMenuItem
Tag = 3
Action = NetworkStreamAction
Caption = 'Network stream...'
Caption = 'Network Stream...'
end
end
object N7: TMenuItem
......@@ -2503,7 +2503,7 @@ object MainFrameDlg: TMainFrameDlg
Tag = 3
Category = 'Menu'
Caption = 'Net'
Hint = 'Open a network stream'
Hint = 'Select a network stream'
ImageIndex = 2
ShortCut = 116
OnExecute = NetworkStreamActionExecute
......
/* Automatically generated by 'toolbox --update-po', please don't compile */
/* from modules/gui/win32/about.dfm: */
/*
* from modules/gui/win32/about.dfm:
*/
Caption = _( "About" );
Caption = _( "VideoLAN Client" );
Caption = _( "(C) 1996-2003 - the VideoLAN Team" );
......@@ -10,8 +13,11 @@
Caption = _( "Version x.y.z" );
Caption = _( "OK" );
/* from modules/gui/win32/disc.dfm: */
Caption = _( "Open disc" );
/*
* from modules/gui/win32/disc.dfm:
*/
Caption = _( "Open Disc" );
Caption = _( "Device &name:" );
Caption = _( "Starting position" );
Caption = _( "&Title:" );
......@@ -22,7 +28,10 @@
Caption = _( "Cancel" );
Text = _( "F:\\" );
/* from modules/gui/win32/mainframe.dfm: */
/*
* from modules/gui/win32/mainframe.dfm:
*/
Caption = _( "VideoLAN Client" );
Caption = _( "ToolBar" );
Caption = _( "ToolButtonSep1" );
......@@ -76,15 +85,15 @@
Caption = _( "Subtitles" );
Caption = _( "Playlist..." );
Caption = _( "New stream" );
Caption = _( "Open file..." );
Caption = _( "Open disc..." );
Caption = _( "Network stream..." );
Caption = _( "Open File..." );
Caption = _( "Open Disc..." );
Caption = _( "Network Stream..." );
Caption = _( "File" );
Hint = _( "Open a file" );
Caption = _( "Disc" );
Hint = _( "Open a DVD or VCD" );
Caption = _( "Net" );
Hint = _( "Open a network stream" );
Hint = _( "Select a network stream" );
Caption = _( "Back" );
Caption = _( "Play" );
Hint = _( "Play stream" );
......@@ -129,11 +138,17 @@
Caption = _( "&Mute" );
Hint = _( "Toggle mute" );
/* from modules/gui/win32/messages.dfm: */
/*
* from modules/gui/win32/messages.dfm:
*/
Caption = _( "Messages" );
Caption = _( "OK" );
/* from modules/gui/win32/network.dfm: */
/*
* from modules/gui/win32/network.dfm:
*/
Caption = _( "Open network" );
Caption = _( "Network mode" );
Caption = _( "Port:" );
......@@ -148,7 +163,10 @@
Caption = _( "HTTP/FTP/MMS" );
Text = _( "vlcs" );
/* from modules/gui/win32/playlist.dfm: */
/*
* from modules/gui/win32/playlist.dfm:
*/
Caption = _( "Playlist" );
Caption = _( "OK" );
Caption = _( "Filename" );
......@@ -176,7 +194,10 @@
Caption = _( "Play" );
Hint = _( "Play the selected stream" );
/* from modules/gui/win32/preferences.dfm: */
/*
* from modules/gui/win32/preferences.dfm:
*/
Caption = _( "Preferences" );
Caption = _( "Apply" );
Caption = _( "Save" );
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
#! /bin/sh
## toolbox for vlc, the VideoLAN Client
## $Id: toolbox,v 1.3 2003/01/15 13:16:39 sam Exp $
## $Id: toolbox,v 1.4 2003/01/16 09:00:32 sam Exp $
##
## Authors: Samuel Hocevar <sam@zoy.org>
......@@ -275,8 +275,8 @@ then
printf "/* Automatically generated by 'toolbox --update-po', please don't compile */\n" > modules/gui/win32/strings.cpp
find modules/gui/win32 -name '*.dfm' | while read file
do
printf "\n/* from $file: */\n" >> modules/gui/win32/strings.cpp
perl -ne 'chop; chop; if( $_ =~ / (Caption|Text|Hint) / || $buffer =~ /[+=] *$/ ) { $buffer =~ s/\+ *$//; $buffer .= $_; } if( $buffer =~ /'"'"' *$/) { $buffer =~ s/'"'"'/"/g; $buffer =~ s/\\/\\\\/g; $buffer =~ s/=/= _(/; print $buffer." );\n"; $buffer = "";}' < $file | grep -v '"-*"' >> modules/gui/win32/strings.cpp || exit 1
printf "\n/*\n * from $file:\n */\n\n" >> modules/gui/win32/strings.cpp
perl -ne 'chop; chop; if( / (Caption|Text|Hint) / || $buffer =~ /[+=] *$/ ) { $buffer =~ s/\+ *$//; $buffer .= $_; } if( $buffer =~ /'"'"' *$/) { $buffer =~ s/'"'"'/"/g; $buffer =~ s/\\/\\\\/g; $buffer =~ s/=/= _(/; print $buffer." );\n"; $buffer = "";}' < $file | grep -v '"-*"' >> modules/gui/win32/strings.cpp || exit 1
done
# clean old potfiles
cd po
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment