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;
if( p_old_input != p_input )
{
NSBeginCriticalAlertSheet(_NS("Input has changed"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("Input " \
"has changed, unable to save bookmark. Use \"pause\" while " \
"editing bookmarks to keep the same input."));
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("Input " \
"has changed, unable to save bookmark. Use \"Pause\" while " \
"editing bookmarks to keep the same input."));
vlc_object_release( p_input );
return;
}
......@@ -289,8 +289,8 @@ static VLCBookmarks *_o_sharedInstance = nil;
if( [o_tbl_dataTable numberOfSelectedRows] < 2 )
{
NSBeginAlertSheet(_NS("Invalid selection"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"You must select two bookmarks"));
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"You have to select two bookmarks."));
return;
}
input_thread_t *p_input =
......@@ -299,8 +299,8 @@ static VLCBookmarks *_o_sharedInstance = nil;
if( !p_input )
{
NSBeginCriticalAlertSheet(_NS("No input found"), _NS("OK"), \
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"The stream must be playing or paused for bookmarks to work"));
@"", @"", o_bookmarks_window, nil, nil, nil, nil, _NS("" \
"The stream must be playing or paused for bookmarks to work."));
return;
}
......
......@@ -587,9 +587,9 @@ static VLCWizard *_o_sharedInstance = nil;
/* show a sheet that the user didn't select a file */
NSBeginInformationalAlertSheet(_NS("No input selected"), \
_NS("OK"), @"", @"", o_wizard_window, nil, nil, nil, nil, \
_NS("You selected neither a new stream nor a valid playlist " \
"item. VLC is unable to guess, which input you want use. "\
"\n\n Choose one before going to the next page."));
_NS("You have selected neither a new stream nor a valid " \
"playlist item. VLC is unable to guess, which input you " \
"want use.\n\n Choose one before going to the next page."));
}
}
else if ([[[o_tab_pageHolder selectedTabViewItem] label] isEqualToString: \
......@@ -1111,7 +1111,7 @@ static VLCWizard *_o_sharedInstance = nil;
/* complain to the user that "" is no valid path */
NSBeginInformationalAlertSheet(_NS("No file selected"), _NS("OK"), \
@"", @"", 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 " \
"dialog-box."));
} else {
......@@ -1670,6 +1670,8 @@ static VLCWizard *_o_sharedInstance = nil;
[[o_userSelections objectForKey:@"encapFormat"] intValue]] \
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")
{
[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