<?xml version="1.0"?>
<?xml-stylesheet type="text/xsl" href="http://www.fustrate.com/dev/sources/Other/modification.xsl"?>
<!DOCTYPE modification SYSTEM "http://www.simplemachines.org/xml/modification">
<modification xmlns="http://www.simplemachines.org/xml/modification" xmlns:smf="http://www.simplemachines.org/">
	<id>yodaofdarkness:advrep</id>
	<version>0.1.4</version>

	<file name="$languagedir/Errors.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['smf61'] = 'Sorry, you are not permitted to modify your own karma.';]]></search>
			<add><![CDATA[
$txt['smf61'] = 'Sorry, you are not permitted to modify your own reputation.';]]></add>
		</operation>

		<operation>
			<search position="replace"><![CDATA[
$txt['cannot_karma_edit'] = 'You aren\'t permitted to modify other people\'s karma.';]]></search>
			<add><![CDATA[
$txt['cannot_karma_edit'] = 'You aren\'t permitted to modify other people\'s reputation.';]]></add>
		</operation>
	</file>

	<file name="$languagedir/Help.english.php">
		<operation>
			<search position="replace"><![CDATA[
$helptxt['karmaMode'] = 'Karma is a feature that shows the popularity of a member. Members, if allowed, can
		\'applaud\' or \'smite\' other members, which is how their popularity is calculated. You can change the
		number of posts needed to have a &quot;karma&quot;, the time between smites or applauds, and if administrators
		have to wait this time as well.<br /><br />Whether or not groups of members can smite others is controlled by
		a permission.  If you have trouble getting this feature to work for everyone, double check your permissions.';]]></search>
			<add><![CDATA[
$helptxt['karmaMode'] = 'Reputation is a feature that shows the popularity of a member. Members, if allowed, can
		\'applaud\' or \'smite\' other members, which is how their popularity is calculated. You can change the
		number of posts needed to have a &quot;reputation&quot;, the time between smites or applauds, and if administrators
		have to wait this time as well.<br /><br />Whether or not groups of members can smite others is controlled by
		a permission.  If you have trouble getting this feature to work for everyone, double check your permissions.';]]></add>
		</operation>
	</file>

	<file name="$languagedir/index.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['smf60'] = 'Sorry, you don\'t have enough posts to modify karma - you need at least ';
$txt['smf62'] = 'Sorry, you can\'t repeat a karma action without waiting ';]]></search>
			<add><![CDATA[
$txt['smf60'] = 'Sorry, you don\'t have enough posts to modify reputation - you need at least %1$d.';
$txt['smf62'] = 'Sorry, you can\'t repeat a reputation action without waiting %1$s %2$s.';]]></add>
		</operation>
	</file>

	<file name="$languagedir/ManagePermissions.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['permissionname_karma_edit'] = 'Change other people\'s karma';
$txt['permissionhelp_karma_edit'] = 'Karma is a feature that shows the popularity of a member. In order to use this feature, you need to have it enabled in \'Features and Options\'. This permission will allow a membergroup to cast a vote. This permission has no effect on guests.';]]></search>
			<add><![CDATA[
$txt['permissionname_karma_edit'] = 'Change other people\'s reputation';
$txt['permissionhelp_karma_edit'] = 'Reputation is a feature that shows the popularity of a member. In order to use this feature, you need to have it enabled in \'Features and Options\'. This permission will allow a membergroup to cast a vote. This permission has no effect on guests.';]]></add>
		</operation>
	</file>

	<file name="$languagedir/ModSettings.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['smf293'] = 'Karma';
$txt['karmaMode'] = 'Karma mode';
$txt['smf64'] = 'Disable karma|Enable karma total|Enable karma positive/negative';
$txt['karmaMinPosts'] = 'Set the minimum posts needed to modify karma';
$txt['karmaWaitTime'] = 'Set wait time in hours';
$txt['karmaTimeRestrictAdmins'] = 'Restrict administrators to wait time';
$txt['karmaLabel'] = 'Karma label';
$txt['karmaApplaudLabel'] = 'Karma applaud label';
$txt['karmaSmiteLabel'] = 'Karma smite label';]]></search>
			<add><![CDATA[
$txt['smf293'] = 'Reputation';
$txt['karmaMode'] = 'Reputation mode';
$txt['smf64'] = 'Disable reputation|Enable reputation';
$txt['karmaMinPosts'] = 'Set the minimum posts needed to modify reputation';
$txt['karmaWaitTime'] = 'Set wait time in hours';
$txt['karmaTimeRestrictAdmins'] = 'Restrict administrators to wait time';
$txt['karmaLabel'] = 'Reputation label';
$txt['karmaApplaudLabel'] = 'Reputation applaud label';
$txt['karmaSmiteLabel'] = 'Reputation smite label';]]></add>
		</operation>
	</file>

	<file name="$languagedir/Reports.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['group_perms_name_karma_edit'] = 'Edit user karma';]]></search>
			<add><![CDATA[
$txt['group_perms_name_karma_edit'] = 'Edit user reputation';]]></add>
		</operation>
	</file>

	<file name="$languagedir/Stats.english.php">
		<operation>
			<search position="replace"><![CDATA[
$txt['smf_stats_17'] = 'Best Karma';
$txt['smf_stats_18'] = 'Worst Karma';]]></search>
			<add><![CDATA[
$txt['smf_stats_17'] = 'Best Reputation';
$txt['smf_stats_18'] = 'Worst Reputation';]]></add>
		</operation>
	</file>

	<file name="$languagedir/Modifications.english.php">
		<operation>
			<search position="end" />
			<add><![CDATA[
// Advanced Reputation System - Karma pop-up
$txt['karma_title'] = 'Reputation';
$txt['karma_power'] = 'Reputation Power';
$txt['karma_add_to'] = 'Add to Reputation';
$txt['karma_your_opinion'] = 'What do you think of this post?';
$txt['add_karma'] = 'Add Reputation';
$txt['submit'] = 'Submit';
$txt['comment'] = 'Comment';
$txt['karma_agree'] = 'I agree';
$txt['karma_disagree'] = 'I disagree';

// Advanced Reputation System - Karma log
$txt['no_reputation_log'] = 'There are no entries in the reputation log.';
$txt['reputation_log'] = 'Reputation Log';
$txt['reputation_you'] = 'You';
$txt['reputation_sent'] = 'Your reputation action has been sent';

// Advanced Reputation System - Profile
$txt['user_disable_karma'] = 'Disable display of own reputation?';
$txt['user_disable_karma_description'] = 'Your reputation will not be shown to other users, but you will still receive/lose points.';
$txt['reputation'] = 'View Reputation';
$txt['karma_latest_title'] = 'Latest Reputation Actions';
$txt['no_reputation_actions'] = 'You haven\'t sent or received any reputation!';

// Advanced Reputation System - Permissions
$txt['permissionname_disable_karma_display'] = 'Disable display of own reputation';
$txt['permissionhelp_disable_karma_display'] = 'When a user chooses to disable his or her own reputation, no reputation info will be show to other users - effectively a \'neutral\' reputation.';
$txt['permissionname_negative_karma'] = 'Can -reputation other users';
$txt['permissionhelp_negative_karma'] = 'Can this user send negative reputation to other users? Sometimes used as an incentive for a paid subscription.';
$txt['permissionname_positive_karma'] = 'Can +reputation other users';
$txt['permissionhelp_positive_karma'] = 'Can this user send positive reputation to other users? Most members should be able to.';
$txt['permissionname_delete_karma'] = 'Delete reputuation actions';
$txt['permissionhelp_delete_karma'] = 'Can this user undo reputation actions through their profile?';

// Advanced Reputation System - Settings
$txt['karmaBarPower'] = 'Users gain 1 power for every __ points?<br />
	<span style="font-size: smaller; padding: 3px;">Default 100</span>';
$txt['karmaBarPoints'] = 'Users gain 1 bar image for every __ points?<br />
	<span style="font-size: smaller; padding: 3px;">Default 1000</span>';
$txt['karmaDescriptions'] = 'Reputation descriptions - one per line!<br />
	<span style="font-size: smaller; padding: 3px;">These are the text that appears when you hover over a bar image.</span>';
$txt['karmaDisabledDescription'] = 'Description for members who disable their reputation display.';
$txt['karmaNegativeDescription'] = 'Description for members who have negative reputation.';
$txt['karmaValuePost'] = 'How many points per post?';
$txt['karmaValueThread'] = 'How many points per thread?';
$txt['karmaRegistration'] = 'Welcome new members with how many points?';
$txt['karmaSpreadAround'] = 'How many people does a user have to give reputation to before they can repeat a person?';
$txt['karmaMaxPerDay'] = 'How many times a day can a person give reputation?';
$txt['karma_settings_desc'] = '<b>Reputation Points</b>: The individual points that are received when a user makes a post, creates a thread, or is given reputation by another user.<br />
<br />
<b>Reputation Power</b>: The strength with which a person can give another member reputation. A member with a reputation power of 0 will not affect another user\'s reputation at all.';

// Advanced Reputation System - Errors
$txt['karma_cant_agree'] = 'You are not allowed to give positive reputation to this user!';
$txt['karma_cant_disagree'] = 'You are not allowed to give negative reputation to this user!';
$txt['karma_choose_action'] = 'Make up your mind! Either agree or disagree, please.';
$txt['karma_maxed_out'] = 'You have used up all %1$d of your allowed reputation actions!';
$txt['karma_please_wait'] = 'You must wait %1$d hours between reputation actions. You have approximately %2$d minutes left to wait.';
$txt['karma_spread_around'] = 'Please spread the love before giving it to this user again.';
$txt['karma_didnt_update'] = 'There was an error with the database. Please try again.';
$txt['karma_didnt_log'] = 'There was an error with the reputation log. Please alert an administrator.';
$txt['karma_sent_twice'] = 'You can\'t send reputation twice in the same post!';]]></add>
		</operation>
	</file>

</modification>
