Commit db7107f2 authored by Felix Paul Kühne's avatar Felix Paul Kühne

* minor string fixes

parent 1bf86eb0
...@@ -239,9 +239,9 @@ static VLCBookmarks *_o_sharedInstance = nil; ...@@ -239,9 +239,9 @@ static VLCBookmarks *_o_sharedInstance = nil;
if( p_old_input != p_input ) if( p_old_input != p_input )
{ {
NSBeginCriticalAlertSheet(_NS("Input has changed"), _NS("OK"), \ NSBeginCriticalAlertSheet(_NS("Input has changed"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("Input " \ @"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("Input " \
"has changed, unable to save bookmark. Use \"pause\" while " \ "has changed, unable to save bookmark. Use \"Pause\" while " \
"editing bookmarks to keep the same input.")); "editing bookmarks to keep the same input."));
vlc_object_release( p_input ); vlc_object_release( p_input );
return; return;
} }
...@@ -289,8 +289,8 @@ static VLCBookmarks *_o_sharedInstance = nil; ...@@ -289,8 +289,8 @@ static VLCBookmarks *_o_sharedInstance = nil;
if( [o_tbl_dataTable numberOfSelectedRows] < 2 ) if( [o_tbl_dataTable numberOfSelectedRows] < 2 )
{ {
NSBeginAlertSheet(_NS("Invalid selection"), _NS("OK"), \ NSBeginAlertSheet(_NS("Invalid selection"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \ @"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"You must select two bookmarks")); "You have to select two bookmarks."));
return; return;
} }
input_thread_t *p_input = input_thread_t *p_input =
...@@ -299,8 +299,8 @@ static VLCBookmarks *_o_sharedInstance = nil; ...@@ -299,8 +299,8 @@ static VLCBookmarks *_o_sharedInstance = nil;
if( !p_input ) if( !p_input )
{ {
NSBeginCriticalAlertSheet(_NS("No input found"), _NS("OK"), \ NSBeginCriticalAlertSheet(_NS("No input found"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \ @"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"The stream must be playing or paused for bookmarks to work")); "The stream must be playing or paused for bookmarks to work."));
return; return;
} }
......
...@@ -587,9 +587,9 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -587,9 +587,9 @@ static VLCWizard *_o_sharedInstance = nil;
/* show a sheet that the user didn't select a file */ /* show a sheet that the user didn't select a file */
NSBeginInformationalAlertSheet(_NS("No input selected"), \ NSBeginInformationalAlertSheet(_NS("No input selected"), \
_NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil, \ _NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil, \
_NS("You selected neither a new stream nor a valid playlist " \ _NS("You have selected neither a new stream nor a valid " \
"item. VLC is unable to guess, which input you want use. "\ "playlist item. VLC is unable to guess, which input you " \
"\n\n Choose one before going to the next page.")); "want use.\n\n Choose one before going to the next page."));
} }
} }
else if ([[[o_tab_pageHolder selectedTabViewItem] label] isEqualToString: \ else if ([[[o_tab_pageHolder selectedTabViewItem] label] isEqualToString: \
...@@ -1111,7 +1111,7 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -1111,7 +1111,7 @@ static VLCWizard *_o_sharedInstance = nil;
/* complain to the user that "" is no valid path */ /* complain to the user that "" is no valid path */
NSBeginInformationalAlertSheet(_NS("No file selected"), _NS("OK"), \ NSBeginInformationalAlertSheet(_NS("No file selected"), _NS("OK"), \
@"", @"", o_wizard_window, nil, nil, nil, nil, _NS("You you " \ @"", @"", o_wizard_window, nil, nil, nil, nil, _NS("You you " \
"need to select a file, you want to save to. \n\n Enter either " \ "need to select a file, you want to save to.\n\n Enter either " \
"a valid path or choose a location through the button's " \ "a valid path or choose a location through the button's " \
"dialog-box.")); "dialog-box."));
} else { } else {
...@@ -1670,6 +1670,8 @@ static VLCWizard *_o_sharedInstance = nil; ...@@ -1670,6 +1670,8 @@ static VLCWizard *_o_sharedInstance = nil;
[[o_userSelections objectForKey:@"encapFormat"] intValue]] \ [[o_userSelections objectForKey:@"encapFormat"] intValue]] \
objectAtIndex:0]; objectAtIndex:0];
/* don't use ".ps" as suffix, since the OSX Finder confuses our creations
* with PostScript-files and wants to open them with Preview.app */
if (theEncapFormat != @"ps") if (theEncapFormat != @"ps")
{ {
[savePanel setRequiredFileType: theEncapFormat]; [savePanel setRequiredFileType: theEncapFormat];
......
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