-
Notifications
You must be signed in to change notification settings - Fork 31
Expand file tree
/
Copy pathreputation_system.php
More file actions
116 lines (101 loc) · 3.83 KB
/
reputation_system.php
File metadata and controls
116 lines (101 loc) · 3.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
<?php
/**
*
* Reputation System
*
* @copyright (c) 2014 Lukasz Kaczynski
* @license GNU General Public License, version 2 (GPL-2.0)
*
*/
/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
exit;
}
if (empty($lang) || !is_array($lang))
{
$lang = array();
}
// DEVELOPERS PLEASE NOTE
//
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
//
// Placeholders can now contain order information, e.g. instead of
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
// translators to re-order the output of data while ensuring it remains correct
//
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
// equally where a string contains only two placeholders which are used to wrap text
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
//
// Some characters for use
// ’ » “ ” …
$lang = array_merge($lang, array(
'RS_TITLE' => 'Reputation System',
'RS_ACTION' => 'Action',
'RS_DATE' => 'Date',
'RS_DETAILS' => 'User reputation details',
'RS_FROM' => 'From',
'RS_LIST' => 'User reputation points list',
'RS_POST_COUNT' => 'Points for post',
'RS_POST_REPUTATION' => 'Post reputation',
'RS_USER_COUNT' => 'Points from user',
'RS_POSITIVE_COUNT' => 'Positive',
'RS_NEGATIVE_COUNT' => 'Negative',
'RS_STATS' => 'Statistics',
'RS_WEEK' => 'Last week',
'RS_MONTH' => 'Last month',
'RS_6MONTHS' => 'Last 6 months',
'RS_POINT' => 'Point',
'RS_POINTS_TITLE' => array(
1 => 'Point: %d',
2 => 'Points: %d',
),
'RS_POST_DELETE' => 'Post deleted',
'RS_POWER' => 'Reputation power',
'RS_TIME' => 'Time',
'RS_TO' => 'to',
'RS_TO_USER' => 'To',
'RS_VOTING_POWER' => 'Remaining power points',
'RS_EMPTY_DATA' => 'There are no reputation points.',
'RS_NA' => 'n/a',
'RS_NO_ID' => 'No ID',
'RS_NO_REPUTATION' => 'There is no such reputation.',
'NO_REPUTATION_SELECTED' => 'You did not select reputation point.',
'RS_REPUTATION_DELETE_CONFIRM' => 'Do you really want to delete this reputation?',
'RS_REPUTATIONS_DELETE_CONFIRM' => 'Do you really want to delete these reputation?',
'RS_POINTS_DELETED' => array(
1 => 'The reputation has been deleted.',
2 => 'The reputations have been deleted.',
),
'RS_CLEAR_POST' => 'Clear post reputation',
'RS_CLEAR_POST_CONFIRM' => 'Do you really want to delete all reputation points for that post?',
'RS_CLEARED_POST' => 'The post reputation has been cleared.',
'RS_CLEAR_USER' => 'Clear user reputation',
'RS_CLEAR_USER_CONFIRM' => 'Do you really want to delete all reputation points for that user?',
'RS_CLEARED_USER' => 'The user reputation has been cleared.',
'RS_LATEST_REPUTATIONS' => 'Latest reputations',
'LIST_REPUTATIONS' => array(
1 => '%d reputation',
2 => '%d reputations',
),
'ALL_REPUTATIONS' => 'All reputations',
'RS_NEW_REPUTATIONS' => 'New reputation points',
'RS_NEW_REP' => 'You received <strong>1 new</strong> reputation comment',
'RS_NEW_REPS' => 'You received <strong>%s new</strong> reputation comments',
'RS_CLICK_TO_VIEW' => 'Go to received points',
'RS_MORE_DETAILS' => '» more details',
'RS_USER_REPUTATION' => '%s\'s reputation',
'RS_VOTE_POWER_LEFT' => '%1$d of %2$d',
'RS_POWER_DETAILS' => 'How reputation power should be calculated',
'RS_POWER_DETAIL_AGE' => 'By registration date',
'RS_POWER_DETAIL_POSTS' => 'By number of posts',
'RS_POWER_DETAIL_REPUTATION' => 'By reputation',
'RS_POWER_DETAIL_WARNINGS' => 'By warnings',
'RS_POWER_DETAIL_MIN' => 'Minimum reputation power for all users',
'RS_POWER_DETAIL_MAX' => 'Reputation power capped at maximum allowed',
'RS_POWER_DETAIL_GROUP_POWER' => 'Reputation power based on user group',
'RS_GROUP_POWER' => 'Reputation power based on user group',
));