/*****************************************************************************
- * prefs.m: MacOS X plugin for vlc
+ * prefs.m: MacOS X module for vlc
*****************************************************************************
- * Copyright (C) 2002-2003 VideoLAN
- * $Id: prefs.m,v 1.35 2003/11/11 23:50:41 hartman Exp $
+ * Copyright (C) 2002-2004 VideoLAN
+ * $Id$
*
- * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
- * Derk-Jan Hartman <thedj at users.sf.net>
+ * Authors: Jon Lech Johansen <jon-vl@nanocrew.net>
+ * Derk-Jan Hartman <hartman at videolan dot 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
{
NSBeginInformationalAlertSheet(_NS("Reset Preferences"), _NS("Cancel"), _NS("Continue"),
nil, o_prefs_window, self, @selector(sheetDidEnd: returnCode: contextInfo:), NULL, nil,
- _NS("Beware this will reset your VLC Media Player config file.\n"
+ _NS("Beware this will reset your VLC media player preferences.\n"
"Are you sure you want to continue?") );
}
[o_view setAutoresizingMask: NSViewWidthSizable];
s_rc.origin.x = X_ORIGIN;
s_rc.origin.y = Y_ORIGIN;
- BOOL b_right_cat = FALSE;
+ BOOL b_right_cat = TRUE;
if( p_item ) do
{
module_config_t *p_item;
int i_index,j;
- /* List the plugins */
+ /* List the modules */
p_list = vlc_list_find( p_intf, VLC_OBJECT_MODULE, FIND_ANYWHERE );
if( !p_list ) return nil;
}
if( p_module == NULL )
{
- msg_Err( p_intf, "Could not find the main module in our prefs" );
+ msg_Err( p_intf, "could not find the main module in our preferences" );
return nil;
}
if( i_index < p_list->i_count )
}
while( p_item->i_type != CONFIG_HINT_END && p_item++ );
- /* Add the plugins item */
+ /* Add the modules item */
[o_children addObject:[[VLCTreeItem alloc] initWithName: _NS("Modules")
ID: 0 parent:self]];
}
if( !strcmp( p_module->psz_object_name, "main" ) )
continue;
- /* Exclude empty plugins */
+ /* Exclude empty modules */
p_item = p_module->p_config;
if( !p_item ) continue;
do
if( !strcmp( p_module->psz_object_name, "main" ) )
continue;
- /* Exclude empty plugins */
+ /* Exclude empty modules */
p_item = p_module->p_config;
if( !p_item ) continue;
do