<commit_before><?php
// Convert a relative URL into an absolute URL and redirect the browser there.
function TranslateMenuOptions ()
{
	foreach ( array(
	'Main',
	'Log Off',
	'Change My Password',
	'Change My Settings',
	'Admin',
	'Edit Users',
	'Add New User',
	'Edit Custom Person Fields',
	'Edit Donation Funds',
	'Backup Database',
	'CSV Import',
	'Access report',
	'Edit General Settings',
	'Edit Report Settings',
	'Edit User Default Settings',
	'Envelope Manager',
	'Please select this option to register ChurchInfo after configuring.',
	'People/Families',
	'Add New Person',
	'View All Persons',
	'Classification Manager',
	'---------------------------',
	'Edit volunteer opportunities',
	'Add New Family',
	'View All Families',
	'Family Geographic Utilties',
	'Family Map',
	'Family Roles Manager',
	'Events',
	'List Church Events',
	'Add Church Event',
	'List Event Types',
	'Check-in and Check-out',
	'Deposit',
	'Create New Deposit',
	'View All Deposits',
	'Deposit Reports',
	'Edit Deposit Slip',
	'Cart',
	'List Cart Items',
	'Empty Cart',
	'Empty Cart to Group',
	'Empty Cart to Family',
	'Empty Cart to Event',
	'Data/Reports',
	'CSV Export Records',
	'Query Menu',
	'Reports Menu',
	'Groups',
	'List Groups',
	'Add a New Group',
	'Edit Group Types',
	'Group Assignment Helper',
	'Properties',
	'People Properties',
	'Family Properties',
	'Group Properties',
	'Property Types',
	'Help',
	'About ChurchInfo',
	'Wiki Documentation',
	'People',
	'Families',
	'Geographic features',
	'Groups',
	'Finances',
	'Reports',
	'Administration',
	'Cart',
	'Properties',
	'Notes',
	'Custom Fields',
	'Classifications',
	'Canvass Support',
	'Events',
	'Menu Options',
	'Edit Custom Family Fields'
	) as $str) {
		$sSQL = "update menuconfig_mcf set content='" . gettext ($str) . "' where content_english='". $str . "'";
		RunQuery ($sSQL);
	}
}

?><commit_msg>small organization change to aid debugging<commit_after><?php
// Convert a relative URL into an absolute URL and redirect the browser there.
function TranslateMenuOptions ()
{
	$allOptions = array(
	'Main',
	'Log Off',
	'Change My Password',
	'Change My Settings',
	'Admin',
	'Edit Users',
	'Add New User',
	'Edit Custom Person Fields',
	'Edit Donation Funds',
	'Backup Database',
	'CSV Import',
	'Access report',
	'Edit General Settings',
	'Edit Report Settings',
	'Edit User Default Settings',
	'Envelope Manager',
	'Please select this option to register ChurchInfo after configuring.',
	'People/Families',
	'Add New Person',
	'View All Persons',
	'Classification Manager',
	'---------------------------',
	'Edit volunteer opportunities',
	'Add New Family',
	'View All Families',
	'Family Geographic Utilties',
	'Family Map',
	'Family Roles Manager',
	'Events',
	'List Church Events',
	'Add Church Event',
	'List Event Types',
	'Check-in and Check-out',
	'Deposit',
	'Create New Deposit',
	'View All Deposits',
	'Deposit Reports',
	'Edit Deposit Slip',
	'Cart',
	'List Cart Items',
	'Empty Cart',
	'Empty Cart to Group',
	'Empty Cart to Family',
	'Empty Cart to Event',
	'Data/Reports',
	'CSV Export Records',
	'Query Menu',
	'Reports Menu',
	'Groups',
	'List Groups',
	'Add a New Group',
	'Edit Group Types',
	'Group Assignment Helper',
	'Properties',
	'People Properties',
	'Family Properties',
	'Group Properties',
	'Property Types',
	'Help',
	'About ChurchInfo',
	'Wiki Documentation',
	'People',
	'Families',
	'Geographic features',
	'Groups',
	'Finances',
	'Reports',
	'Administration',
	'Cart',
	'Properties',
	'Notes',
	'Custom Fields',
	'Classifications',
	'Canvass Support',
	'Events',
	'Menu Options',
	'Edit Custom Family Fields'
	);
	
	foreach ($allOptions as $str) {
		$sSQL = "update menuconfig_mcf set content='" . gettext ($str) . "' where content_english='". $str . "'";
		RunQuery ($sSQL);
	}
}

?>
{'fraction_non_alphanumeric': 0.16507936507936508, 'fraction_numerical': 0.0, 'mean_word_length': 4.363120567375886, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4544151', 'n_tokens_mistral': 1313, 'n_tokens_neox': 1271, 'n_words': 423}