diff --git a/README.md b/README.md
index 082b67b..a144dc2 100644
--- a/README.md
+++ b/README.md
@@ -1,7 +1,7 @@
phpBB-Reputation-System
=======================
-A full reputation (karma) system for phpBB3.1, with adjustable reputation settings.
+A full reputation (karma) system for phpBB3.3, with adjustable reputation settings.
## Features
* AJAX post rating
@@ -12,7 +12,7 @@ A full reputation (karma) system for phpBB3.1, with adjustable reputation settin
* and more
## Quick Install
-You can install this on the latest copy of the develop branch ([phpBB 3.1-dev](https://github.com/phpbb/phpbb3)) by following the steps below:
+You can install this on the latest copy of phpBB ([phpBB 3.3](https://github.com/phpbb/phpbb3)) by following the steps below:
1. Download the latest repository.
2. Unzip the downloaded release, and change the name of the folder to `reputation`.
@@ -38,7 +38,6 @@ You can install this on the latest copy of the develop branch ([phpBB 3.1-dev](h
- [x] Notifications
- [ ] Responsive design
- [ ] Reputation ranks
-- [x] Updater from version for phpBB 3.0.x to release for phpBB 3.1.x - in progress (testing phase)
## License
[GNU General Public License v2](http://opensource.org/licenses/GPL-2.0)
diff --git a/composer.json b/composer.json
index d89107e..af5545c 100644
--- a/composer.json
+++ b/composer.json
@@ -3,7 +3,7 @@
"type": "phpbb-extension",
"description": "An extension which adds reputations (karma) to your board.",
"homepage": "https://github.com/Pico88/phpBB-Reputation-System",
- "version": "1.0.0-dev",
+ "version": "1.1.0-dev",
"license": "GPL-2.0",
"authors": [
{
@@ -13,12 +13,12 @@
}
],
"require": {
- "php": ">=5.3.3"
+ "php": ">=7.0"
},
"extra": {
"display-name": "Reputation System",
"soft-require": {
- "phpbb/phpbb": ">=3.1.0-RC2,<3.2.*@dev"
+ "phpbb/phpbb": ">=3.3.0"
}
}
}
diff --git a/config/listeners.yml b/config/listeners.yml
index 553c50f..099de22 100644
--- a/config/listeners.yml
+++ b/config/listeners.yml
@@ -2,61 +2,61 @@ services:
pico.reputation.acp_listener:
class: pico\reputation\event\acp_listener
arguments:
- - @request
- - @template
+ - '@request'
+ - '@template'
tags:
- { name: event.listener }
pico.reputation.index_listener:
class: pico\reputation\event\index_listener
arguments:
- - @auth
- - @config
- - @dbal.conn
- - @controller.helper
- - @template
- - @user
+ - '@auth'
+ - '@config'
+ - '@dbal.conn'
+ - '@controller.helper'
+ - '@template'
+ - '@user'
tags:
- { name: event.listener }
pico.reputation.main_listener:
class: pico\reputation\event\main_listener
arguments:
- - @config
- - @template
+ - '@config'
+ - '@template'
tags:
- { name: event.listener }
pico.reputation.mcp_listener:
class: pico\reputation\event\mcp_listener
arguments:
- - @auth
- - @config
- - @request
- - @template
- - @user
- - @pico.reputation.manager
+ - '@auth'
+ - '@config'
+ - '@request'
+ - '@template'
+ - '@user'
+ - '@pico.reputation.manager'
tags:
- { name: event.listener }
pico.reputation.memberlist_listener:
class: pico\reputation\event\memberlist_listener
arguments:
- - @auth
- - @config
- - @controller.helper
+ - '@auth'
+ - '@config'
+ - '@controller.helper'
tags:
- { name: event.listener }
pico.reputation.viewtopic_listener:
class: pico\reputation\event\viewtopic_listener
arguments:
- - @auth
- - @config
- - @controller.helper
- - @template
- - @user
- - @pico.reputation.helper
- - %tables.reputations%
+ - '@auth'
+ - '@config'
+ - '@controller.helper'
+ - '@template'
+ - '@user'
+ - '@pico.reputation.helper'
+ - '%tables.reputations%'
tags:
- - { name: event.listener }
\ No newline at end of file
+ - { name: event.listener }
diff --git a/config/notifications.yml b/config/notifications.yml
index 88e8ffa..2c02cbd 100644
--- a/config/notifications.yml
+++ b/config/notifications.yml
@@ -1,55 +1,45 @@
services:
pico.reputation.notification.type.rate_post_positive:
class: pico\reputation\notification\type\rate_post_positive
- scope: prototype # scope MUST be prototype for this to work!
+ shared: false
+ parent: notification.type.base
arguments:
- - @user_loader
- - @dbal.conn
- - @cache.driver
- - @user
- - @auth
- - @config
- - %core.root_path%
- - %core.php_ext%
- - %tables.notification_types%
- - %tables.notifications%
- - %tables.user_notifications%
+ - '@cache.driver'
+ - '@config'
+ - '%tables.notification_types%'
+ - '%tables.notifications%'
+ calls:
+ - [set_controller_helper, ['@controller.helper']]
+ - [set_user_loader, ['@user_loader']]
tags:
- { name: notification.type }
pico.reputation.notification.type.rate_post_negative:
class: pico\reputation\notification\type\rate_post_negative
- scope: prototype # scope MUST be prototype for this to work!
+ shared: false
+ parent: notification.type.base
arguments:
- - @user_loader
- - @dbal.conn
- - @cache.driver
- - @user
- - @auth
- - @config
- - %core.root_path%
- - %core.php_ext%
- - %tables.notification_types%
- - %tables.notifications%
- - %tables.user_notifications%
+ - '@cache.driver'
+ - '@config'
+ - '%tables.notification_types%'
+ - '%tables.notifications%'
+ calls:
+ - [set_controller_helper, ['@controller.helper']]
+ - [set_user_loader, ['@user_loader']]
tags:
- { name: notification.type }
pico.reputation.notification.type.rate_user:
class: pico\reputation\notification\type\rate_user
- scope: prototype # scope MUST be prototype for this to work!
+ shared: false
+ parent: notification.type.base
arguments:
- - @user_loader
- - @dbal.conn
- - @cache.driver
- - @user
- - @auth
- - @config
- - @controller.helper
- - %core.root_path%
- - %core.php_ext%
- - %tables.notification_types%
- - %tables.notifications%
- - %tables.user_notifications%
+ - '@cache.driver'
+ - '@config'
+ - '%tables.notification_types%'
+ - '%tables.notifications%'
+ calls:
+ - [set_controller_helper, ['@controller.helper']]
+ - [set_user_loader, ['@user_loader']]
tags:
- - { name: notification.type }
\ No newline at end of file
+ - { name: notification.type }
diff --git a/config/routing.yml b/config/routing.yml
index 97cfeae..8c7647d 100644
--- a/config/routing.yml
+++ b/config/routing.yml
@@ -1,54 +1,69 @@
reputation_clear_post_controller:
- pattern: /reputation/clear/post/{post_id}
- defaults: { _controller: pico.reputation.action.controller:clear_post }
+ path: /reputation/clear/post/{post_id}
+ defaults:
+ _controller: pico.reputation.action.controller:clear_post
requirements:
post_id: \d+
reputation_clear_user_controller:
- pattern: /reputation/clear/user/{uid}
- defaults: { _controller: pico.reputation.action.controller:clear_user }
+ path: /reputation/clear/user/{uid}
+ defaults:
+ _controller: pico.reputation.action.controller:clear_user
requirements:
uid: \d+
reputation_delete_controller:
- pattern: /reputation/delete/{rid}
- defaults: { _controller: pico.reputation.action.controller:delete }
+ path: /reputation/delete/{rid}
+ defaults:
+ _controller: pico.reputation.action.controller:delete
requirements:
rid: \d+
reputation_details_controller:
- pattern: /reputation/{uid}/{sort_key}/{sort_dir}/{page}
- defaults: { _controller: pico.reputation.details.controller:details, sort_key: id, sort_dir: dsc, page: 1 }
+ path: /reputation/{uid}/{sort_key}/{sort_dir}/{page}
+ defaults:
+ _controller: pico.reputation.details.controller:details
+ sort_key: 'id'
+ sort_dir: 'dsc'
+ page: 1
requirements:
uid: \d+
- sort_key: id|username|time|point|action
- sort_dir: asc|dsc
+ sort_key: 'id|username|time|point|action'
+ sort_dir: 'asc|dsc'
reputation_post_details_controller:
- pattern: /reputation/details/post/{post_id}/{sort_key}/{sort_dir}
- defaults: { _controller: pico.reputation.details.controller:postdetails, sort_key: id, sort_dir: dsc }
+ path: /reputation/details/post/{post_id}/{sort_key}/{sort_dir}
+ defaults:
+ _controller: pico.reputation.details.controller:postdetails
+ sort_key: 'id'
+ sort_dir: 'dsc'
requirements:
post_id: \d+
- sort_key: id|username|time|point
- sort_dir: asc|dsc
+ sort_key: 'id|username|time|point'
+ sort_dir: 'asc|dsc'
reputation_post_rating_controller:
- pattern: /reputation/rate/post/{mode}/{post_id}
- defaults: { _controller: pico.reputation.rating.controller:post }
+ path: /reputation/rate/post/{mode}/{post_id}
+ defaults:
+ _controller: pico.reputation.rating.controller:post
requirements:
- mode: positive|negative
+ mode: 'positive|negative'
post_id: \d+
reputation_user_details_controller:
- pattern: /reputation/details/user/{uid}/{sort_key}/{sort_dir}
- defaults: { _controller: pico.reputation.details.controller:userdetails, sort_key: id, sort_dir: dsc }
+ path: /reputation/details/user/{uid}/{sort_key}/{sort_dir}
+ defaults:
+ _controller: pico.reputation.details.controller:userdetails
+ sort_key: 'id'
+ sort_dir: 'dsc'
requirements:
uid: \d+
- sort_key: id|username|time|point|action
- sort_dir: asc|dsc
+ sort_key: 'id|username|time|point|action'
+ sort_dir: 'asc|dsc'
reputation_user_rating_controller:
- pattern: /reputation/rate/user/{uid}
- defaults: { _controller: pico.reputation.rating.controller:user }
+ path: /reputation/rate/user/{uid}
+ defaults:
+ _controller: pico.reputation.rating.controller:user
requirements:
- uid: \d+
+ uid: \d+
\ No newline at end of file
diff --git a/config/services.yml b/config/services.yml
index 4d67c87..597d014 100644
--- a/config/services.yml
+++ b/config/services.yml
@@ -7,69 +7,69 @@ services:
pico.reputation.acp.controller:
class: pico\reputation\controller\acp_controller
arguments:
- - @config
- - @dbal.conn
- - @request
- - @template
- - @user
- - @pico.reputation.manager
- - %tables.reputations%
- - %core.root_path%
- - %core.adm_relative_path%
- - %core.php_ext%
+ - '@config'
+ - '@dbal.conn'
+ - '@request'
+ - '@template'
+ - '@user'
+ - '@pico.reputation.manager'
+ - '%tables.reputations%'
+ - '%core.root_path%'
+ - '%core.adm_relative_path%'
+ - '%core.php_ext%'
pico.reputation.action.controller:
class: pico\reputation\controller\action_controller
arguments:
- - @auth
- - @controller.helper
- - @dbal.conn
- - @request
- - @user
- - @pico.reputation.helper
- - @pico.reputation.manager
- - %tables.reputations%
- - %tables.reputation_types%
- - %core.root_path%
- - %core.php_ext%
+ - '@auth'
+ - '@controller.helper'
+ - '@dbal.conn'
+ - '@request'
+ - '@user'
+ - '@pico.reputation.helper'
+ - '@pico.reputation.manager'
+ - '%tables.reputations%'
+ - '%tables.reputation_types%'
+ - '%core.root_path%'
+ - '%core.php_ext%'
pico.reputation.details.controller:
class: pico\reputation\controller\details_controller
arguments:
- - @auth
- - @config
- - @controller.helper
- - @dbal.conn
- - @pagination
- - @request
- - @symfony_request
- - @template
- - @user
- - @pico.reputation.helper
- - @pico.reputation.manager
- - @pico.reputation.power
- - %tables.reputations%
- - %tables.reputation_types%
- - %core.root_path%
- - %core.php_ext%
+ - '@auth'
+ - '@config'
+ - '@controller.helper'
+ - '@dbal.conn'
+ - '@pagination'
+ - '@request'
+ - '@symfony_request'
+ - '@template'
+ - '@user'
+ - '@pico.reputation.helper'
+ - '@pico.reputation.manager'
+ - '@pico.reputation.power'
+ - '%tables.reputations%'
+ - '%tables.reputation_types%'
+ - '%core.root_path%'
+ - '%core.php_ext%'
pico.reputation.rating.controller:
class: pico\reputation\controller\rating_controller
arguments:
- - @auth
- - @config
- - @controller.helper
- - @dbal.conn
- - @request
- - @symfony_request
- - @template
- - @user
- - @pico.reputation.helper
- - @pico.reputation.manager
- - @pico.reputation.power
- - %tables.reputations%
- - %core.root_path%
- - %core.php_ext%
+ - '@auth'
+ - '@config'
+ - '@controller.helper'
+ - '@dbal.conn'
+ - '@request'
+ - '@symfony_request'
+ - '@template'
+ - '@user'
+ - '@pico.reputation.helper'
+ - '@pico.reputation.manager'
+ - '@pico.reputation.power'
+ - '%tables.reputations%'
+ - '%core.root_path%'
+ - '%core.php_ext%'
pico.reputation.helper:
class: pico\reputation\core\reputation_helper
@@ -77,22 +77,22 @@ services:
pico.reputation.manager:
class: pico\reputation\core\reputation_manager
arguments:
- - @auth
- - @cache
- - @config
- - @dbal.conn
- - @log
- - @notification_manager
- - @template
- - @user
- - %tables.reputations%
- - %tables.reputation_types%
- - %core.root_path%
- - %core.php_ext%
+ - '@auth'
+ - '@cache'
+ - '@config'
+ - '@dbal.conn'
+ - '@log'
+ - '@notification_manager'
+ - '@template'
+ - '@user'
+ - '%tables.reputations%'
+ - '%tables.reputation_types%'
+ - '%core.root_path%'
+ - '%core.php_ext%'
pico.reputation.power:
class: pico\reputation\core\reputation_power
arguments:
- - @config
- - @dbal.conn
- - %tables.reputations%
\ No newline at end of file
+ - '@config'
+ - '@dbal.conn'
+ - '%tables.reputations%'
diff --git a/config/tables.yml b/config/tables.yml
index 8aa4066..e6a1d2a 100644
--- a/config/tables.yml
+++ b/config/tables.yml
@@ -1,3 +1,3 @@
parameters:
- tables.reputations: %core.table_prefix%reputations
- tables.reputation_types: %core.table_prefix%reputation_types
+ tables.reputations: '%core.table_prefix%reputations'
+ tables.reputation_types: '%core.table_prefix%reputation_types'
diff --git a/controller/action_controller.php b/controller/action_controller.php
index 4173b40..2f0f97a 100644
--- a/controller/action_controller.php
+++ b/controller/action_controller.php
@@ -413,7 +413,7 @@ public function clear_user($uid)
}
else
{
- confirm_box(false, $this->user->lang('RS_CLEAR_POST_CONFIRM'), $s_hidden_fields);
+ confirm_box(false, $this->user->lang('RS_CLEAR_USER_CONFIRM'), $s_hidden_fields);
}
}
}
diff --git a/controller/details_controller.php b/controller/details_controller.php
index 14bc50a..ef7c614 100644
--- a/controller/details_controller.php
+++ b/controller/details_controller.php
@@ -103,7 +103,7 @@ public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config
}
/**
- * Main reputation details controller
+ * Main reputation details controller
*
* @param int $uid User ID taken from the URL
* @param string $sort_key Sort key: id|username|time|point|action (default: id)
@@ -132,7 +132,7 @@ public function details($uid, $sort_key, $sort_dir, $page)
AND user_id = $uid";
$result = $this->db->sql_query($sql);
$user_row = $this->db->sql_fetchrow($result);
- $this->db->sql_freeresult($result);
+ $this->db->sql_freeresult($result);
// Check if an user exists - if not, throw the error and return to the index page
if (empty($user_row))
@@ -200,7 +200,7 @@ public function details($uid, $sort_key, $sort_dir, $page)
'ACTION' => $this->user->lang('RS_' . strtoupper($row['reputation_type_name']) . '_RATING'),
'AVATAR' => phpbb_get_user_avatar($row),
'TIME' => $this->user->format_date($row['reputation_time']),
- 'COMMENT' => $row['reputation_comment'],
+ 'COMMENT' => censor_text($row['reputation_comment']),
'POINTS' => $row['reputation_points'],
'POINTS_CLASS' => $this->reputation_helper->reputation_class($row['reputation_points']),
'POINTS_TITLE' => $this->user->lang('RS_POINTS_TITLE', $row['reputation_points']),
@@ -490,7 +490,7 @@ public function postdetails($post_id, $sort_key, $sort_dir)
'USERNAME' => get_username_string('full', $row['user_id_from'], $row['username'], $row['user_colour']),
'AVATAR' => phpbb_get_user_avatar($row),
'TIME' => $this->user->format_date($row['reputation_time']),
- 'COMMENT' => $row['reputation_comment'],
+ 'COMMENT' => censor_text($row['reputation_comment']),
'POINTS' => $row['reputation_points'],
'POINTS_CLASS' => $this->reputation_helper->reputation_class($row['reputation_points']),
'POINTS_TITLE' => $this->user->lang('RS_POINTS_TITLE', $row['reputation_points']),
@@ -632,7 +632,7 @@ public function userdetails($uid, $sort_key, $sort_dir)
'ACTION' => $this->user->lang('RS_' . strtoupper($row['reputation_type_name']) . '_RATING'),
'AVATAR' => phpbb_get_user_avatar($row),
'TIME' => $this->user->format_date($row['reputation_time']),
- 'COMMENT' => $row['reputation_comment'],
+ 'COMMENT' => censor_text($row['reputation_comment']),
'POINTS' => $row['reputation_points'],
'POINTS_CLASS' => $this->reputation_helper->reputation_class($row['reputation_points']),
'POINTS_TITLE' => $this->user->lang('RS_POINTS_TITLE', $row['reputation_points']),
@@ -671,4 +671,4 @@ public function userdetails($uid, $sort_key, $sort_dir)
return $this->helper->render('userdetails.html');
}
-}
\ No newline at end of file
+}
diff --git a/controller/rating_controller.php b/controller/rating_controller.php
index 91531e6..adf3c08 100644
--- a/controller/rating_controller.php
+++ b/controller/rating_controller.php
@@ -103,7 +103,7 @@ public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config
/**
* Display the post rating page
*
- * @param string $mode Mode taken from the URL
+ * @param string $mode Mode taken from the URL
* @param int $post_id Post ID taken from the URL
* @return Symfony\Component\HttpFoundation\Response A Symfony Response object
* @access public
@@ -434,7 +434,7 @@ public function post($mode, $post_id)
// Save vote
if ($submit)
{
- // Prevent cheater to break the forum permissions to give negative points or give more points than they can
+ // Prevent cheater to break the forum permissions to give negative points or give more points than they can
if (!$this->auth->acl_get('f_rs_rate_negative', $row['forum_id']) && $points < 0 || $points < 0 && $this->config['rs_min_rep_negative'] && ($this->user->data['user_reputation'] < $this->config['rs_min_rep_negative']) || $this->config['rs_enable_power'] && (($points > $max_voting_allowed) || ($points < -$max_voting_allowed)))
{
$submit = false;
@@ -483,6 +483,7 @@ public function post($mode, $post_id)
'user_id_from' => $this->user->data['user_id'],
'post_id' => $post_id,
'post_subject' => $row['post_subject'],
+ 'comment' => $comment,
);
$notification_type = ($points > 0) ? 'pico.reputation.notification.type.rate_post_positive' : 'pico.reputation.notification.type.rate_post_negative';
@@ -825,7 +826,7 @@ public function user($uid)
if ($submit)
{
- //Prevent cheater to break the forum permissions to give negative points or give more points than they can
+ //Prevent cheater to break the forum permissions to give negative points or give more points than they can
if (!$this->auth->acl_get('u_rs_rate_negative') && $points < 0 || $points < 0 && $this->config['rs_min_rep_negative'] && ($this->user->data['user_reputation'] < $this->config['rs_min_rep_negative']) || $this->config['rs_enable_power'] && (($points > $max_voting_allowed) || ($points < -$max_voting_allowed)))
{
$submit = false;
@@ -898,4 +899,4 @@ public function user($uid)
return $this->helper->render('rateuser.html', $this->user->lang('RS_USER_RATING'));
}
-}
\ No newline at end of file
+}
diff --git a/event/viewtopic_listener.php b/event/viewtopic_listener.php
index 55a0a39..b1eefd8 100644
--- a/event/viewtopic_listener.php
+++ b/event/viewtopic_listener.php
@@ -208,11 +208,12 @@ public function post_row_reputation($event)
'RS_RATE_POST_NEGATIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_NEGATIVE'),
'RS_RATE_POST_POSITIVE' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_RATE_POST_POSITIVE'),
+ 'RS_POST_REPUTATION' => $row['user_voted'] ? $this->user->lang('RS_POST_RATED') : $this->user->lang('RS_POST_REPUTATION'),
'U_RATE_POST_POSITIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'positive', 'post_id' => $post_id)),
'U_RATE_POST_NEGATIVE' => $this->helper->route('reputation_post_rating_controller', array('mode' => 'negative', 'post_id' => $post_id)),
'U_VIEW_POST_REPUTATION' => $this->helper->route('reputation_post_details_controller', array('post_id' => $post_id)),
- 'U_VIEW_USER_REPUTATION' => $this->helper->route('reputation_user_details_controller', array('uid' => $poster_id)),
+ 'U_VIEW_USER_REPUTATION' => $this->helper->route('reputation_details_controller', array('uid' => $poster_id)),
'POST_REPUTATION' => $row['post_reputation'],
'POST_REPUTATION_CLASS' => $this->reputation_helper->reputation_class($row['post_reputation']),
diff --git a/language/de_x_sie/exceptions.php b/language/de_x_sie/exceptions.php
new file mode 100644
index 0000000..33abc2c
--- /dev/null
+++ b/language/de_x_sie/exceptions.php
@@ -0,0 +1,56 @@
+ 'erforderliches Feld fehlt',
+ 'EXCEPTION_INVALID_ARGUMENT' => 'Ungültiges Argument für `%1$s`. Grund: %2$s.',
+ 'EXCEPTION_INVALID_TYPE' => 'Reputations-Typ existiert nicht',
+ 'EXCEPTION_OUT_OF_BOUNDS' => 'Das Feld `%1$s` empfängt Daten außerhalb seiner Grenzen',
+));
diff --git a/language/de_x_sie/info_acp_reputation.php b/language/de_x_sie/info_acp_reputation.php
new file mode 100644
index 0000000..f46b209
--- /dev/null
+++ b/language/de_x_sie/info_acp_reputation.php
@@ -0,0 +1,60 @@
+ 'Reputationssystem',
+ 'ACP_REPUTATION_OVERVIEW' => 'Überblick',
+ 'ACP_REPUTATION_SETTINGS' => 'Einstellungen',
+ 'ACP_REPUTATION_RATE' => 'Bewerten',
+ 'ACP_REPUTATION_SYNC' => 'Synchronisieren',
+
+ 'RS_FORUM_REPUTATION' => 'Aktiviere Beitragsbewertung',
+ 'RS_FORUM_REPUTATION_EXPLAIN' => 'Erlaube Mitgliedern, Beiträge anderer zu bewerten.',
+
+ 'RS_GROUP_POWER' => 'Gruppen-Reputation',
+ 'RS_GROUP_POWER_EXPLAIN' => 'Wenn dieses Feld befüllt wird, wird die Reputation der Mitglieder überschrieben und basiert nicht mehr auf Beiträgen etc.',
+
+ 'LOG_REPUTATION_DELETED' => 'Bewertung gelöscht Von Benutzer: %1$s An Benutzer: %2$s Punkte: %3$s Typ: %4$s Bewertungs-ID: %5$s',
+ 'LOG_POST_REPUTATION_CLEARED' => 'Beitragsbewertung gelöscht Autor des Beitrags: %1$s Beitragsthema: %2$s',
+ 'LOG_USER_REPUTATION_CLEARED' => 'Benutzerbewertung gelöscht Benutzer: %1$s',
+ 'LOG_REPUTATION_SYNC' => 'Reputationssystem resynchronisiert',
+ 'LOG_REPUTATION_TRUNCATE' => 'Alle Bewertungen gelöscht',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Bewertungseinstellungen verändert',
+));
diff --git a/language/de_x_sie/permissions_reputation.php b/language/de_x_sie/permissions_reputation.php
new file mode 100644
index 0000000..2886ad7
--- /dev/null
+++ b/language/de_x_sie/permissions_reputation.php
@@ -0,0 +1,56 @@
+ 'Reputation',
+
+ 'ACL_A_REPUTATION' => 'Kann Reputationseinstellungen verwalten',
+
+ 'ACL_M_RS_MODERATE' => 'Kann Reputationspunkte moderieren',
+ 'ACL_M_RS_RATE' => 'Kann zusätzliche Reputationspunkte verteilen',
+
+ 'ACL_U_RS_DELETE' => 'Kann Bewertungen löschen',
+ 'ACL_U_RS_RATE' => 'Kann andere Benutzer bewerten',
+ 'ACL_U_RS_RATE_NEGATIVE' => 'Kann andere Benutzer negativ bewerten Benutzer muss die Möglichkeit zur Bewertung anderer Benutzer haben, um andere Benutzer negativ bewerten zu können.',
+ 'ACL_U_RS_RATE_POST' => 'Kann die Beiträge anderer Benutzer bewerten',
+ 'ACL_U_RS_VIEW' => 'Kann die Reputation anzeigen',
+
+ 'ACL_F_RS_RATE' => 'Kann die Beiträge anderer Benutzer bewerten',
+ 'ACL_F_RS_RATE_NEGATIVE' => 'Kann die Beiträge anderer Benutzer negativ bewerten Benutzer muss die Möglichkeit zur Bewertung von Beiträgen haben, um Beiträge negativ bewerten zu können.',
+));
diff --git a/language/de_x_sie/reputation_acp.php b/language/de_x_sie/reputation_acp.php
new file mode 100644
index 0000000..69f2087
--- /dev/null
+++ b/language/de_x_sie/reputation_acp.php
@@ -0,0 +1,154 @@
+ 'Here you can configure Reputation System’s settings. They are divided into groups.',
+ 'ACP_REPUTATION_RATE_EXPLAIN' => 'Here you can award additional reputation points to any users.',
+
+ 'RS_ENABLE' => 'Enable Reputation System',
+
+ 'RS_SYNC' => 'Synchronise Reputation System',
+ 'RS_SYNC_EXPLAIN' => 'You can synchronise reputation points after a mass removal of posts/topics/users, changing reputation settings, changing post authors, conversions from others systems. This may take a while. You will be notified when the process is completed. Warning! All reputation points that do not match the reputation settings will be deleted during synchronization . It is recommended to make backup of the reputation table (DB) before synchronisation.',
+ 'RS_SYNC_REPUTATION_CONFIRM' => 'Are you sure you wish to synchronise reputations?',
+
+ 'RS_TRUNCATE' => 'Clear Reputation System',
+ 'RS_TRUNCATE_EXPLAIN' => 'This procedure completely removes all data. Action is not reversible!',
+ 'RS_TRUNCATE_CONFIRM' => 'Are you sure you wish to clear Reputation System?',
+ 'RS_TRUNCATE_DONE' => 'Reputations were cleared.',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Altered Reputation System settings',
+
+ // Setting legend
+ 'ACP_RS_MAIN' => 'General',
+ 'ACP_RS_DISPLAY' => 'Display settings',
+ 'ACP_RS_POSTS_RATING' => 'Post rating',
+ 'ACP_RS_USERS_RATING' => 'User rating',
+ 'ACP_RS_COMMENT' => 'Comments',
+ 'ACP_RS_POWER' => 'Reputation power',
+ 'ACP_RS_TOPLIST' => 'Toplist',
+
+ // General
+ 'RS_NEGATIVE_POINT' => 'Allow negative points',
+ 'RS_NEGATIVE_POINT_EXPLAIN' => 'When disabled users can not give negative points.',
+ 'RS_MIN_REP_NEGATIVE' => 'Minimum reputation for negative voting',
+ 'RS_MIN_REP_NEGATIVE_EXPLAIN' => 'How much reputation is required to give negative points. Setting the value to 0 disables this behaviour.',
+ 'RS_WARNING' => 'Enable warnings',
+ 'RS_WARNING_EXPLAIN' => 'Users with proper permissions can give negative points when warning users.',
+ 'RS_WARNING_MAX_POWER' => 'Maximum reputation power for warnings',
+ 'RS_WARNING_MAX_POWER_EXPLAIN' => 'Maximum reputation power allowed for warnings.',
+ 'RS_MIN_POINT' => 'Minimum points',
+ 'RS_MIN_POINT_EXPLAIN' => 'Limits the minimum reputation points a user can receive. Setting the value to 0 disables this behaviour.',
+ 'RS_MAX_POINT' => 'Maximum points',
+ 'RS_MAX_POINT_EXPLAIN' => 'Limits the maximum reputation points a user can receive. Setting the value to 0 disables this behaviour.',
+ 'RS_PREVENT_OVERRATING' => 'Prevent overrating',
+ 'RS_PREVENT_OVERRATING_EXPLAIN' => 'Block users from rating the same user. Example: if user A has more than 10 reputation entries and 85% of them come from user B, user B can not rate that user until his votes ratio is higher than 85%. To disable this feature set one or both values to 0.',
+ 'RS_PREVENT_NUM' => 'Total reputation entries of user A is equal to or higher than',
+ 'RS_PREVENT_PERC' => ' and ratio of user B votes is equal to or higher than',
+ 'RS_PER_PAGE' => 'Reputations per page',
+ 'RS_PER_PAGE_EXPLAIN' => 'How many rows should we display in tables of reputation points?',
+ 'RS_DISPLAY_AVATAR' => 'Display avatars',
+ 'RS_POINT_TYPE' => 'Method for displaying points',
+ 'RS_POINT_TYPE_EXPLAIN' => 'Viewing reputation points can be displayed as either the exact value of reputation points a user gave or as an image showing a plus or minus for positive or negative points. The Image method is useful if you set up reputation points so that one rating always equals to one point.',
+ 'RS_POINT_VALUE' => 'Value',
+ 'RS_POINT_IMG' => 'Image',
+
+ // Post rating
+ 'RS_POST_RATING' => 'Enable post rating',
+ 'RS_POST_RATING_EXPLAIN' => 'Allow users to rate other user posts. On each forums management page you can enable or disable reputations.',
+ 'RS_ALLOW_REPUTATION_BUTTON' => 'Submit and enable Reputation System in all forums',
+ 'RS_ANTISPAM' => 'Anti-Spam',
+ 'RS_ANTISPAM_EXPLAIN' => 'Block users from rating any more posts after they have rated the defined number of posts within the defined number of hours. To disable this feature set one or both values to 0.',
+ 'RS_POSTS' => 'Number of rated posts',
+ 'RS_HOURS' => 'in the last hours',
+ 'RS_ANTISPAM_METHOD' => 'Anti-Spam check method',
+ 'RS_ANTISPAM_METHOD_EXPLAIN' => 'Method for checking Anti-Spam. “Same user” method checks reputation given to the same user. “All users” method checks reputation regardless of who received points.',
+ 'RS_SAME_USER' => 'Same user',
+ 'RS_ALL_USERS' => 'All users',
+
+ // User rating
+ 'RS_USER_RATING' => 'Allow rating of users from their profile page',
+ 'RS_USER_RATING_GAP' => 'Voting gap',
+ 'RS_USER_RATING_GAP_EXPLAIN' => 'Time period a user must wait before they can give another rating to a user they have already rated. Setting the value to 0 disables this behaviour and users can rate other users once each.',
+
+ // Comments
+ 'RS_ENABLE_COMMENT' => 'Enable comments',
+ 'RS_ENABLE_COMMENT_EXPLAIN' => 'When enabled, users will be able to add a personal comment with their rating.',
+ 'RS_FORCE_COMMENT' => 'Force user to enter comment',
+ 'RS_FORCE_COMMENT_EXPLAIN' => 'Users will be required to add a comment with their rating.',
+ 'RS_COMMENT_NO' => 'No',
+ 'RS_COMMENT_BOTH' => 'Both user and post ratings',
+ 'RS_COMMENT_POST' => 'Only post ratings',
+ 'RS_COMMENT_USER' => 'Only user ratings',
+ 'RS_COMMEN_LENGTH' => 'Comment length',
+ 'RS_COMMEN_LENGTH_EXPLAIN' => 'The number of characters allowed within a comment. Set to 0 for unlimited characters.',
+
+ // Reputation power
+ 'RS_ENABLE_POWER' => 'Enable reputation power',
+ 'RS_ENABLE_POWER_EXPLAIN' => 'Reputation power is something that users earn and spend on voting. New users have low power, active and veteran users gain more power. The more power you have the more you can vote during a specified period of time and the more influence you can have on the rating of another user or post. Users can choose during voting how much power they will spend on a vote, giving more points to interesting posts.',
+ 'RS_POWER_RENEWAL' => 'Power renewal time',
+ 'RS_POWER_RENEWAL_EXPLAIN' => 'This controls how users can spend earned power. If you set this option, users must wait for the given time interval before they can vote again. The more reputation power a user has, the more points they can spend in the set time. Setting the value to 0 disables this behaviour and users can vote without waiting.',
+ 'RS_MIN_POWER' => 'Starting/Minimum reputation power',
+ 'RS_MIN_POWER_EXPLAIN' => 'This is how much reputation power newly registered users, banned users and users with low reputation or other criteria have. Users can’t go lower than this minimum voting power. Allowed 0-10. Recommended 1.',
+ 'RS_MAX_POWER' => 'Maximum power spending per vote',
+ 'RS_MAX_POWER_EXPLAIN' => 'Maximum amount of power that a user can spend per vote. Even if a user has millions of points, they’ll still be limited by this maximum number when voting. Users will select this from dropdown menu: 1 to X Allowed 1-20. Recommended: 3.',
+ 'RS_POWER_EXPLAIN' => 'Reputation power explanation',
+ 'RS_POWER_EXPLAIN_EXPLAIN' => 'Explain how reputation power is calculated to users.',
+ 'RS_TOTAL_POSTS' => 'Gain power with number of posts',
+ 'RS_TOTAL_POSTS_EXPLAIN' => 'User will gain 1 reputation power every X number of posts set here.',
+ 'RS_MEMBERSHIP_DAYS' => 'Gain power with length of the user’s membership',
+ 'RS_MEMBERSHIP_DAYS_EXPLAIN' => 'User will gain 1 reputation power every X number of days set here',
+ 'RS_POWER_REP_POINT' => 'Gain power with the user’s reputation',
+ 'RS_POWER_REP_POINT_EXPLAIN' => 'User will gain 1 reputation power every X number of reputation points they earn set here.',
+ 'RS_LOSE_POWER_WARN' => 'Lose power with warnings',
+ 'RS_LOSE_POWER_WARN_EXPLAIN' => 'Each warning decreases reputation power by this amount of points. Warnings expire in accordance with the settings in General -> Board Configuration -> Board settings',
+
+ // Toplist
+ 'RS_ENABLE_TOPLIST' => 'Enable Toplist',
+ 'RS_ENABLE_TOPLIST_EXPLAIN' => 'Display a list of users with the most reputation points on the index page.',
+ 'RS_TOPLIST_DIRECTION' => 'Direction of list',
+ 'RS_TOPLIST_DIRECTION_EXPLAIN' => 'Display the users in the list in a horizontal or vertical direction.',
+ 'RS_TL_HORIZONTAL' => 'Horizontal',
+ 'RS_TL_VERTICAL' => 'Vertical',
+ 'RS_TOPLIST_NUM' => 'Number of Users to Display',
+ 'RS_TOPLIST_NUM_EXPLAIN' => 'Number of users displayed on the toplist.',
+
+ // Rate module
+ 'POINTS_INVALID' => 'Points field has to contain only numbers.',
+ 'RS_VOTE_SAVED' => 'Your vote has been saved successfully',
+));
diff --git a/language/de_x_sie/reputation_common.php b/language/de_x_sie/reputation_common.php
new file mode 100644
index 0000000..42fbaba
--- /dev/null
+++ b/language/de_x_sie/reputation_common.php
@@ -0,0 +1,59 @@
+ 'Reputation',
+
+ 'RS_DISABLED' => 'Diese Funktion wurde vom Administator deaktiviert.',
+
+ 'RS_COMMENT' => 'Kommentar',
+ 'RS_POINTS' => 'Punkte',
+
+ 'RS_POST_REPUTATION' => 'Beitragsbewertung',
+ 'RS_POST_RATED' => 'Sie haben diesen Beitrag bewertet',
+ 'RS_RATE_POST_POSITIVE' => 'Beitrag positiv bewerten',
+ 'RS_RATE_POST_NEGATIVE' => 'Beitrag negativ bewerten',
+ 'RS_RATE_USER' => 'Benutzer bewerten',
+ 'RS_VIEW_DETAILS' => 'Details zeigen',
+
+ 'NOTIFICATION_TYPE_REPUTATION' => 'Jemand hat Ihnen eine Bewertung gegeben',
+ 'NOTIFICATION_RATE_POST_POSITIVE' => 'Positiv bewertet durch %s für einen Beitrag',
+ 'NOTIFICATION_RATE_POST_NEGATIVE' => 'Negativ bewertet durch %s für einen Beitrag',
+ 'NOTIFICATION_RATE_USER' => 'Bewertet durch %s',
+));
diff --git a/language/de_x_sie/reputation_rating.php b/language/de_x_sie/reputation_rating.php
new file mode 100644
index 0000000..c8c56e1
--- /dev/null
+++ b/language/de_x_sie/reputation_rating.php
@@ -0,0 +1,66 @@
+ 'Sie können nicht so schnell Bewertungen vergeben. Versuchen Sie es später erneut.',
+ 'RS_COMMENT_TOO_LONG' => 'Ihr Kommenator enthält %1$s Zeichen und ist zu lang. Das Maximum der erlaubten Zeichen ist: %2$s.',
+ 'RS_NEGATIVE' => 'Negativ',
+ 'RS_NO_COMMENT' => 'Sie können das Kommentarfeld nicht leer belassen.',
+ 'RS_NO_POST' => 'Dieser Beitrag existiert nicht.',
+ 'RS_NO_POWER' => 'Ihre Reputation ist zu niedrig.',
+ 'RS_NO_POWER_LEFT' => 'Nicht genug Reputationspunkte. Warten Sie bis sie erneuert werden. Ihre Reputation ist %s',
+ 'RS_NO_USER_ID' => 'Der angefragte Benutzer existiert nicht.',
+ 'RS_POSITIVE' => 'Positiv',
+ 'RS_POST_RATING' => 'Beitragsbewertung',
+ 'RS_RATE_BUTTON' => 'Bewerten',
+ 'RS_SAME_POST' => 'Sie haben diesen Beitrag bereits bewertet. Sie haben %s Punkte vergeben.',
+ 'RS_SAME_USER' => 'Sie haben diesen Benutzer bereits bewertet',
+ 'RS_SELF' => 'Sie können sich nicht selbst bewerten',
+ 'RS_USER_ANONYMOUS' => 'Sie können keine anonymen Benutzer bewerten.',
+ 'RS_USER_BANNED' => 'Sie können keine gesperrten Benutzer bewerten.',
+ 'RS_USER_CANNOT_DELETE' => 'Sie können diese Bewertung nicht löschen.',
+ 'RS_USER_DISABLED' => 'Sie können keine Bewertungen vergeben.',
+ 'RS_USER_GAP' => 'Sie können denselben Benutzer nicht so schnell hintereinander bewerten. Versuchen Sie es in %s.',
+ 'RS_USER_NEGATIVE' => 'Sie können keine negativen Bewertungen vergeben. Ihre Reputation muss höher als %s sein.',
+ 'RS_USER_RATING' => 'Benutzerbewertung',
+ 'RS_VIEW_DISALLOWED' => 'Sie dürfen keine Reputationspunkte sehen.',
+ 'RS_VOTE_POWER_LEFT_OF_MAX' => '%1$d Reputationspunkte von %2$d übrig. Maximum pro Abstimmung: %3$d',
+ 'RS_VOTE_SAVED' => 'Stimme gespeichert',
+ 'RS_WARNING_RATING' => 'Warnung',
+));
diff --git a/language/de_x_sie/reputation_system.php b/language/de_x_sie/reputation_system.php
new file mode 100644
index 0000000..36b4055
--- /dev/null
+++ b/language/de_x_sie/reputation_system.php
@@ -0,0 +1,116 @@
+ 'Reputationssystem',
+
+ 'RS_ACTION' => 'Aktion',
+ 'RS_DATE' => 'Datum',
+ 'RS_DETAILS' => 'Benutzerbewertungsdetails',
+ 'RS_FROM' => 'Von',
+ 'RS_LIST' => 'Benutzerbewertungsliste',
+ 'RS_POST_COUNT' => 'Punkte für Beitrag',
+ 'RS_POST_REPUTATION' => 'Beitragsbewertung',
+ 'RS_USER_COUNT' => 'Punkte von Benutzer',
+ 'RS_POSITIVE_COUNT' => 'Positiv',
+ 'RS_NEGATIVE_COUNT' => 'Negativ',
+ 'RS_STATS' => 'Statistiken',
+ 'RS_WEEK' => 'Letzte Woche',
+ 'RS_MONTH' => 'Letzer Monat',
+ 'RS_6MONTHS' => 'Letzte 6 Monate',
+ 'RS_POINT' => 'Punkt',
+ 'RS_POINTS_TITLE' => array(
+ 1 => 'Punkt: %d',
+ 2 => 'Punkte: %d',
+ ),
+ 'RS_POST_DELETE' => 'Beitrag gelöscht',
+ 'RS_POWER' => 'Reputation',
+ 'RS_TIME' => 'Zeit',
+ 'RS_TO' => 'an',
+ 'RS_TO_USER' => 'An',
+ 'RS_VOTING_POWER' => 'Restliche Reputationspunkte',
+
+ 'RS_EMPTY_DATA' => 'Es gibt keine Bewertungspunkte.',
+ 'RS_NA' => '--',
+ 'RS_NO_ID' => 'Keine ID',
+ 'RS_NO_REPUTATION' => 'Diese Bewertung gibt es nicht.',
+
+ 'NO_REPUTATION_SELECTED' => 'Sie haben keinen Bewertungspunkt ausgewählt.',
+
+ 'RS_REPUTATION_DELETE_CONFIRM' => 'Wollen Sie diese Bewertung wirklich löschen?',
+ 'RS_REPUTATIONS_DELETE_CONFIRM' => 'Wollen Sie diese Bewertungen wirklich löschen?',
+ 'RS_POINTS_DELETED' => array(
+ 1 => 'Die Bewertung wurde gelöscht.',
+ 2 => 'Die Bewertungen wurden gelöscht.',
+ ),
+
+ 'RS_CLEAR_POST' => 'Beitragsbewertung löschen',
+ 'RS_CLEAR_POST_CONFIRM' => 'Wollen Sie wirklich alle Bewertungspunkte für diesen Beitrag löschen?',
+ 'RS_CLEARED_POST' => 'Die Beitragsbewertung wurde gelöscht.',
+ 'RS_CLEAR_USER' => 'Benutzerbewertung löschen',
+ 'RS_CLEAR_USER_CONFIRM' => 'Wollen Sie wirklich alle Bewertungspunkte für diesen Benutzer löschen?',
+ 'RS_CLEARED_USER' => 'Die Benutzerbewertung wurde gelöscht.',
+
+ 'RS_LATEST_REPUTATIONS' => 'Die letzten Bewertungen',
+ 'LIST_REPUTATIONS' => array(
+ 1 => '%d Bewertung',
+ 2 => '%d Bewertungen',
+ ),
+ 'ALL_REPUTATIONS' => 'Alle Bewertungen',
+
+ 'RS_NEW_REPUTATIONS' => 'Neue Bewertungspunkte',
+ 'RS_NEW_REP' => 'Sie haben einen neuen Bewertungskommentar',
+ 'RS_NEW_REPS' => 'Sie haben %s neue Bewertungskommentare',
+ 'RS_CLICK_TO_VIEW' => 'Zu erhaltenen Punkten gehen',
+
+ 'RS_MORE_DETAILS' => '» mehr Details',
+
+ 'RS_USER_REPUTATION' => '%ss Bewertung',
+
+ 'RS_VOTE_POWER_LEFT' => '%1$d von %2$d',
+
+ 'RS_POWER_DETAILS' => 'Wie die Reputation berechnet wird',
+ 'RS_POWER_DETAIL_AGE' => 'Durch Registrierungsdatum',
+ 'RS_POWER_DETAIL_POSTS' => 'Durch die Anzahl der Beiträge',
+ 'RS_POWER_DETAIL_REPUTATION' => 'Durch die Reputation',
+ 'RS_POWER_DETAIL_WARNINGS' => 'Durch Warnungen',
+ 'RS_POWER_DETAIL_MIN' => 'Minimale Reputation für alle Benutzer',
+ 'RS_POWER_DETAIL_MAX' => 'Reputation kann nach oben beschränkt werden',
+ 'RS_POWER_DETAIL_GROUP_POWER' => 'Reputation basierend auf Benutzergruppe',
+ 'RS_GROUP_POWER' => 'Reputation basierend auf Benutzergruppe',
+));
diff --git a/language/de_x_sie/reputation_toplist.php b/language/de_x_sie/reputation_toplist.php
new file mode 100644
index 0000000..0021307
--- /dev/null
+++ b/language/de_x_sie/reputation_toplist.php
@@ -0,0 +1,47 @@
+ 'Reputations-Rangliste',
+ 'RS_TOPLIST_EXPLAIN' => 'Die beliebtesten Mitglieder',
+
+ 'RS_NO_USERS' => 'es gibt keine Benutzer anzuzeigen',
+
+ 'RS_NEW_LINE' => ' ',
+));
diff --git a/language/de_x_sie/reputation_warning.php b/language/de_x_sie/reputation_warning.php
new file mode 100644
index 0000000..5bbffaa
--- /dev/null
+++ b/language/de_x_sie/reputation_warning.php
@@ -0,0 +1,49 @@
+ 'Reputationspunke für Warnung',
+ 'MCP_RS_ADD_WARNING_EXPLAIN' => 'Sie können diesen Benutzer für schlechtes Benehmen negativ. Dazu müssen Sie unten einen Haken setzen.',
+ 'MCP_RS_ADD_REPUTATION' => 'Bewertung hinzufügen',
+
+ 'MCP_RS_POINTS' => array(
+ 1 => '-%d Punkt',
+ 2 => '-%d Punkte',
+ ),
+));
diff --git a/language/en/info_acp_reputation.php b/language/en/info_acp_reputation.php
index 5329c30..e47e525 100644
--- a/language/en/info_acp_reputation.php
+++ b/language/en/info_acp_reputation.php
@@ -55,4 +55,5 @@
'LOG_USER_REPUTATION_CLEARED' => 'Cleared user reputation User: %1$s',
'LOG_REPUTATION_SYNC' => 'Reputation System resynchronised',
'LOG_REPUTATION_TRUNCATE' => 'Cleared reputations',
+ 'REPUTATION_SETTINGS_CHANGED' => 'Altered Reputation System settings',
));
diff --git a/language/en/reputation_acp.php b/language/en/reputation_acp.php
index 69f2087..41caf7c 100644
--- a/language/en/reputation_acp.php
+++ b/language/en/reputation_acp.php
@@ -44,7 +44,7 @@
'RS_ENABLE' => 'Enable Reputation System',
'RS_SYNC' => 'Synchronise Reputation System',
- 'RS_SYNC_EXPLAIN' => 'You can synchronise reputation points after a mass removal of posts/topics/users, changing reputation settings, changing post authors, conversions from others systems. This may take a while. You will be notified when the process is completed. Warning! All reputation points that do not match the reputation settings will be deleted during synchronization . It is recommended to make backup of the reputation table (DB) before synchronisation.',
+ 'RS_SYNC_EXPLAIN' => 'You can synchronise reputation points after a mass removal of posts/topics/users, changing reputation settings, changing post authors, conversions from others systems. This may take a while. You will be notified when the process is completed. Warning! All reputation points that do not match the reputation settings will be deleted during synchronization. It is recommended to make backup of the reputation table (DB) before synchronisation.',
'RS_SYNC_REPUTATION_CONFIRM' => 'Are you sure you wish to synchronise reputations?',
'RS_TRUNCATE' => 'Clear Reputation System',
diff --git a/language/en/reputation_common.php b/language/en/reputation_common.php
index d8b9e55..fdf6dc6 100644
--- a/language/en/reputation_common.php
+++ b/language/en/reputation_common.php
@@ -45,7 +45,7 @@
'RS_COMMENT' => 'Comment',
'RS_POINTS' => 'Points',
- 'RS_POST_REPUTATION' => 'Post reputation',
+ 'RS_POST_REPUTATION' => 'Post reputation',
'RS_POST_RATED' => 'You have rated this post',
'RS_RATE_POST_POSITIVE' => 'Rate post positive',
'RS_RATE_POST_NEGATIVE' => 'Rate post negative',
@@ -53,7 +53,7 @@
'RS_VIEW_DETAILS' => 'View details',
'NOTIFICATION_TYPE_REPUTATION' => 'Someone gives you reputation point',
- 'NOTIFICATION_RATE_POST_POSITIVE' => 'Rated positively by %s for post',
- 'NOTIFICATION_RATE_POST_NEGATIVE' => 'Rated negatively by %s for post',
+ 'NOTIFICATION_RATE_POST_POSITIVE' => 'Rated positively by %s for post %s',
+ 'NOTIFICATION_RATE_POST_NEGATIVE' => 'Rated negatively by %s for post %s',
'NOTIFICATION_RATE_USER' => 'Rated by %s',
));
diff --git a/language/en/reputation_system.php b/language/en/reputation_system.php
index 0583acd..c1fae48 100644
--- a/language/en/reputation_system.php
+++ b/language/en/reputation_system.php
@@ -107,7 +107,7 @@
'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_REPUTAION' => 'By reputation',
+ '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',
diff --git a/language/fr/exceptions.php b/language/fr/exceptions.php
new file mode 100644
index 0000000..6dd0270
--- /dev/null
+++ b/language/fr/exceptions.php
@@ -0,0 +1,46 @@
+ 'Champ obligatoire manquant',
+ 'EXCEPTION_INVALID_ARGUMENT' => 'L’argument spécifié pour `%1$s` est invalide. Raison : %2$s.',
+ 'EXCEPTION_INVALID_TYPE' => 'Ce type de réputation n’existe pas',
+ 'EXCEPTION_OUT_OF_BOUNDS' => 'Le champ `%1$s` a reçu des données au-delà de ses limites',
+));
diff --git a/language/fr/info_acp_reputation.php b/language/fr/info_acp_reputation.php
new file mode 100644
index 0000000..a9863b6
--- /dev/null
+++ b/language/fr/info_acp_reputation.php
@@ -0,0 +1,60 @@
+ 'Système de réputation',
+ 'ACP_REPUTATION_OVERVIEW' => 'Vue d’ensemble',
+ 'ACP_REPUTATION_SETTINGS' => 'Paramètres',
+ 'ACP_REPUTATION_RATE' => 'Noter',
+ 'ACP_REPUTATION_SYNC' => 'Synchroniser',
+
+ 'RS_FORUM_REPUTATION' => 'Activer les notes pour les messages (réputation)',
+ 'RS_FORUM_REPUTATION_EXPLAIN' => 'Autoriser tout utilisateur à noter les messages postés par les autres utilisateurs dans ce forum.',
+
+ 'RS_GROUP_POWER' => 'Points d’influence du groupe',
+ 'RS_GROUP_POWER_EXPLAIN' => 'Si ce champ est rempli, les points d’influence des membres seront écrasés et ne seront pas basés sur les messages etc.',
+
+ 'LOG_REPUTATION_DELETED' => 'Réputation supprimée De l’utilisateur : %1$s Pour l’utilisateur : %2$s Points : %3$s Type : %4$s ID du message : %5$s',
+ 'LOG_POST_REPUTATION_CLEARED' => 'Réputation du message effacée Auteur du message : %1$s Sujet du message : %2$s',
+ 'LOG_USER_REPUTATION_CLEARED' => 'Réputation de l’utilisateur effacée Utilisateur : %1$s',
+ 'LOG_REPUTATION_SYNC' => 'Système de réputation resynchronisé',
+ 'LOG_REPUTATION_TRUNCATE' => 'Réputations effacées',
+ 'REPUTATION_SETTINGS_CHANGED' => 'Paramètres du système de réputation modifiés',
+));
diff --git a/language/fr/permissions_reputation.php b/language/fr/permissions_reputation.php
new file mode 100644
index 0000000..4448761
--- /dev/null
+++ b/language/fr/permissions_reputation.php
@@ -0,0 +1,57 @@
+ 'Réputation',
+
+ 'ACL_A_REPUTATION' => 'Peut gérer les paramètres de réputation.',
+
+ 'ACL_M_RS_MODERATE' => 'Peut modérer les points de réputation.',
+ 'ACL_M_RS_RATE' => 'Peut attribuer des points de réputation supplémentaires.',
+
+ 'ACL_U_RS_DELETE' => 'Peut supprimer les points donnés.',
+ 'ACL_U_RS_RATE' => 'Peut noter les autres utilisateurs.',
+ 'ACL_U_RS_RATE_NEGATIVE' => 'Peut noter négativement les autres utilisateurs. L’utilisateur doit être en mesure de noter les autres utilisateurs avant qu’il / elle puisse noter négativement les autres utilisateurs.',
+ 'ACL_U_RS_RATE_POST' => 'Peut noter les messages postés par les autres utilisateurs.',
+ 'ACL_U_RS_VIEW' => 'Peut voir la réputation.',
+
+ 'ACL_F_RS_RATE' => 'Peut noter les messages postés par les autres utilisateurs.',
+ 'ACL_F_RS_RATE_NEGATIVE' => 'Peut noter négativement les messages postés par les autres utilisateurs. L’utilisateur doit être en mesure de noter les messages postés par les autres utilisateurs avant qu’il / elle puisse noter négativement les messages postés par les autres utilisateurs.',
+));
diff --git a/language/fr/reputation_acp.php b/language/fr/reputation_acp.php
new file mode 100644
index 0000000..7b81519
--- /dev/null
+++ b/language/fr/reputation_acp.php
@@ -0,0 +1,155 @@
+ 'Sur cette page, vous pouvez configurer les paramètres du système de réputation. Ils sont divisés en groupes.',
+ 'ACP_REPUTATION_RATE_EXPLAIN' => 'Ici vous pouvez attribuer des points de réputation supplémentaires à tous les utilisateurs.',
+
+ 'RS_ENABLE' => 'Activer le système de réputation',
+
+ 'RS_SYNC' => 'Synchroniser le système de réputation',
+ 'RS_SYNC_EXPLAIN' => 'Vous pouvez synchroniser les points de réputation après une suppression de masse de messages / sujets / utilisateurs, d’une modification des paramètres de réputation, de changements d’auteurs de messages ou de conversions depuis d’autres systèmes. Cela peut prendre un certain temps. Vous serez avertis lorsque le processus sera terminé. Attention ! Tous les points de réputation qui ne correspondent pas aux paramètres de réputation seront supprimés lors de la synchronisation. Il est recommandé d’effectuer une sauvegarde de la table de la réputation (de la base de données) avant la synchronisation.',
+ 'RS_SYNC_REPUTATION_CONFIRM' => 'Êtes-vous sûr de vouloir synchroniser les réputations ?',
+
+ 'RS_TRUNCATE' => 'Effacer le système de réputation',
+ 'RS_TRUNCATE_EXPLAIN' => 'Cette procédure élimine toutes les données. L’action est irréversible !',
+ 'RS_TRUNCATE_CONFIRM' => 'Êtes-vous sûr de vouloir effacer le système de réputation ?',
+ 'RS_TRUNCATE_DONE' => 'Les réputations ont été effacées.',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Paramètres du système de réputation modifiés',
+
+ // Setting legend
+ 'ACP_RS_MAIN' => 'Général',
+ 'ACP_RS_DISPLAY' => 'Paramètres d’affichage',
+ 'ACP_RS_POSTS_RATING' => 'Notes des messages',
+ 'ACP_RS_USERS_RATING' => 'Notes des utilisateurs',
+ 'ACP_RS_COMMENT' => 'Commentaires',
+ 'ACP_RS_POWER' => 'Points d’influence',
+ 'ACP_RS_TOPLIST' => 'Top des réputations',
+
+ // General
+ 'RS_NEGATIVE_POINT' => 'Permettre les points négatifs',
+ 'RS_NEGATIVE_POINT_EXPLAIN' => 'Lorsque désactivé les utilisateurs ne peuvent pas donner de points négatifs.',
+ 'RS_MIN_REP_NEGATIVE' => 'Réputation minimum pour les notes négatives',
+ 'RS_MIN_REP_NEGATIVE_EXPLAIN' => 'Nombre de points de réputation nécessaires à avoir pour donner des points négatifs. Définir sur 0 pour désactiver cette fonctionnalité.',
+ 'RS_WARNING' => 'Activer les points négatifs pour les avertissements',
+ 'RS_WARNING_EXPLAIN' => 'Les utilisateurs ayant les autorisations appropriées pour avertir les utilisateurs et donner des points négatifs peuvent réaliser ces deux actions en même temps.',
+ 'RS_WARNING_MAX_POWER' => 'Maximum de points d’influence pour les avertissements',
+ 'RS_WARNING_MAX_POWER_EXPLAIN' => 'Nombre maximum de points d’influence qui peuvent être retirés à l’utilisateur recevant un avertissement.',
+ 'RS_MIN_POINT' => 'Points minimums',
+ 'RS_MIN_POINT_EXPLAIN' => 'Nombre minimum de points de réputation qu’un utilisateur peut recevoir. Définir sur 0 pour désactiver cette fonctionnalité.',
+ 'RS_MAX_POINT' => 'Points maximums',
+ 'RS_MAX_POINT_EXPLAIN' => 'Nombre maximum de points de réputation qu’un utilisateur peut recevoir. Définir sur 0 pour désactiver cette fonctionnalité.',
+ 'RS_PREVENT_OVERRATING' => 'Empêcher de surévaluer',
+ 'RS_PREVENT_OVERRATING_EXPLAIN' => 'Bloque les utilisateurs souhaitant noter le même utilisateur. Exemple : Si un utilisateur A a plus de 10 points de réputation dont 85% proviennent d’un utilisateur B, l’utilisateur B ne peut plus noter cet utilisateur tant que son ratio de notes est supérieur à 85%. Pour désactiver cette fonctionnalité définir sur 0 une ou deux de ces valeurs.',
+ 'RS_PREVENT_NUM' => 'Total des points de réputation de l’utilisateur A supérieur ou égal à',
+ 'RS_PREVENT_PERC' => ' et le ratio des notes de l’utilisateur B est supérieur ou égal à',
+ 'RS_PER_PAGE' => 'Réputations par page',
+ 'RS_PER_PAGE_EXPLAIN' => 'Combien de lignes devons-nous afficher dans le tableau des points de réputation ?',
+ 'RS_DISPLAY_AVATAR' => 'Afficher les avatars',
+ 'RS_POINT_TYPE' => 'Méthode d’affichage des points',
+ 'RS_POINT_TYPE_EXPLAIN' => 'L’affichage des points de réputation peut être, soit représenté par la valeur exacte des points de réputation qu’un utilisateur a donné, soit sous forme d’une image montrant un plus ou un moins pour les points positifs ou négatifs. La méthode par l’image est utile si vous définissez des points de réputation ainsi la note sera toujours égal à 1 point.',
+ 'RS_POINT_VALUE' => 'Valeur',
+ 'RS_POINT_IMG' => 'Image',
+
+ // Post rating
+ 'RS_POST_RATING' => 'Activer les notes pour les messages',
+ 'RS_POST_RATING_EXPLAIN' => 'Autoriser tout utilisateur à noter les messages postés par les autres utilisateurs. Sur chaque page de gestion des forums, vous pouvez activer ou désactiver cette fonctionnalité.',
+ 'RS_ALLOW_REPUTATION_BUTTON' => 'Activer le système de réputation dans tous les forums',
+ 'RS_ANTISPAM' => 'Anti-spam',
+ 'RS_ANTISPAM_EXPLAIN' => 'Bloque les utilisateurs souhaitant noter plus de messages que la limite de messages définie et suivant le laps de temps limite défini. Pour désactiver cette fonctionnalité définir sur 0 une ou deux de ces valeurs.',
+ 'RS_POSTS' => 'Nombre de messages notés',
+ 'RS_HOURS' => 'suivant le nombre d’heures',
+ 'RS_ANTISPAM_METHOD' => 'Méthode de vérification anti-spam',
+ 'RS_ANTISPAM_METHOD_EXPLAIN' => 'Méthode de vérification anti-spam. « Même utilisateur » vérifie les réputations données pour le même utilisateur. « Tous les utilisateurs » vérifie la réputation indépendamment de qui a reçu des points.',
+ 'RS_SAME_USER' => 'Même utilisateur',
+ 'RS_ALL_USERS' => 'Tous les utilisateurs',
+
+ // User rating
+ 'RS_USER_RATING' => 'Permet de noter les utilisateurs depuis leur page de profil',
+ 'RS_USER_RATING_GAP' => 'Intervalle des notes',
+ 'RS_USER_RATING_GAP_EXPLAIN' => 'Période de temps durant laquelle un utilisateur ne peut pas donner une autre note à un utilisateur qu’il a déjà noté. 0 désactive cette fonctionnalité et permet aux utilisateurs de noter d’autres utilisateurs chaque fois qu’ils le souhaitent.',
+
+ // Comments
+ 'RS_ENABLE_COMMENT' => 'Activer les commentaires',
+ 'RS_ENABLE_COMMENT_EXPLAIN' => 'Si activé, les utilisateurs seront en mesure d’ajouter un commentaire personnel à leur note.',
+ 'RS_FORCE_COMMENT' => 'Obligation de saisir un commentaire',
+ 'RS_FORCE_COMMENT_EXPLAIN' => 'Les utilisateurs seront tenus d’ajouter un commentaire à leur note.',
+ 'RS_COMMENT_NO' => 'Jamais',
+ 'RS_COMMENT_BOTH' => 'Les deux',
+ 'RS_COMMENT_POST' => 'Notes pour les messages',
+ 'RS_COMMENT_USER' => 'Notes à l’utilisateur',
+ 'RS_COMMEN_LENGTH' => 'Longueur du commentaire',
+ 'RS_COMMEN_LENGTH_EXPLAIN' => 'Nombre de caractères autorisés dans un commentaire. Définir sur 0 pour un nombre illimité de caractères.',
+
+ // Reputation power
+ 'RS_ENABLE_POWER' => 'Activer les points d’influence',
+ 'RS_ENABLE_POWER_EXPLAIN' => 'Les points d’influence sont obtenus par les utilisateurs et s’utilisent en délivrant une note. Les nouveaux utilisateurs ont peu de points d’influence, les utilisateurs actifs et les utilisateurs anciens ont plus de points d’influence. Plus vous avez de points d’influence plus vous pourrez noter longtemps suivant une période de temps déterminée et plus vous aurez d’influence sur la note d’un autre utilisateur ou d’un message. Les utilisateurs peuvent choisir lors de leur note combien de points d’influence ils vont utiliser pour cette note, leur permettant ainsi de donner plus de points à des messages intéressants.',
+ 'RS_POWER_RENEWAL' => 'Temps de renouvellement des points d’influence',
+ 'RS_POWER_RENEWAL_EXPLAIN' => 'Contrôle la façon dont les utilisateurs utilise leurs points d’influence. Si vous activez cette option, les utilisateurs doivent patienter durant l’intervalle de temps déterminé avant de pouvoir noter à nouveau. Plus l’utilisateur a des points d’influence, plus il peut utiliser de points durant cet intervalle de temps. 0 désactive cette fonctionnalité et les utilisateurs peuvent noter sans attendre.',
+ 'RS_MIN_POWER' => 'Minimum de points d’influence',
+ 'RS_MIN_POWER_EXPLAIN' => 'Nombre de points d’influence qu’obtiennent les nouveaux utilisateurs, les utilisateurs bannis, les utilisateurs à faible réputation et les utilisateurs selon d’autres critères. Les utilisateurs ne peuvent pas descendre en-dessous de ce nombre de points d’influence. 0 à 10 sont autorisés. 1 est recommandé.',
+ 'RS_MAX_POWER' => 'Maximum de points d’influence',
+ 'RS_MAX_POWER_EXPLAIN' => 'Nombre maximum de points d’influence qu’un utilisateur peut utiliser par note. Même si un utilisateur a des millions de points, il sera limité par ce nombre maximum au moment de noter. Les utilisateurs pourront sélectionner ceci dans un menu déroulant : 1 à X 1 à 20 sont autorisés. 3 est recommandé.',
+ 'RS_POWER_EXPLAIN' => 'Explication sur les points d’influence',
+ 'RS_POWER_EXPLAIN_EXPLAIN' => 'Expliquer aux utilisateurs comment les points d’influence sont calculés.',
+ 'RS_TOTAL_POSTS' => 'Points d’influence obtenus suivant le nombre de messages',
+ 'RS_TOTAL_POSTS_EXPLAIN' => 'L’utilisateur obtiendra des points d’influence tous les X messages définis ici.',
+ 'RS_MEMBERSHIP_DAYS' => 'Points d’influence obtenus suivant l’ancienneté de l’utilisateur',
+ 'RS_MEMBERSHIP_DAYS_EXPLAIN' => 'L’utilisateur obtiendra des points d’influence tous les X jours d’ancienneté définis ici.',
+ 'RS_POWER_REP_POINT' => 'Points d’influence obtenus suivant la réputation de l’utilisateur',
+ 'RS_POWER_REP_POINT_EXPLAIN' => 'L’utilisateur obtiendra des points d’influence tous les X points de réputation qu’il obtient définis ici.',
+ 'RS_LOSE_POWER_WARN' => 'Points d’influence retirés suivant les avertissements',
+ 'RS_LOSE_POWER_WARN_EXPLAIN' => 'Chaque avertissement diminue la quantité de points d’influence de l’utilisateur. L’expiration des avertissements est définie dans les paramètres Général -> Configuration Générale -> Configuration du forum',
+
+ // Toplist
+ 'RS_ENABLE_TOPLIST' => 'Activer le Top des réputations',
+ 'RS_ENABLE_TOPLIST_EXPLAIN' => 'Affiche une liste des utilisateurs ayant le plus de points de réputation sur la page d’index.',
+ 'RS_TOPLIST_DIRECTION' => 'Orientation de la liste',
+ 'RS_TOPLIST_DIRECTION_EXPLAIN' => 'Affiche les utilisateurs dans la liste suivant une orientation horizontale ou verticale.',
+ 'RS_TL_HORIZONTAL' => 'Horizontale',
+ 'RS_TL_VERTICAL' => 'Verticale',
+ 'RS_TOPLIST_NUM' => 'Nombre d’utilisateurs à afficher',
+ 'RS_TOPLIST_NUM_EXPLAIN' => 'Nombre d’utilisateurs affichés dans le Top des réputations.',
+
+ // Rate module
+ 'POINTS_INVALID' => 'Le champ Points doit contenir uniquement des chiffres.',
+ 'RS_VOTE_SAVED' => 'Note enregistrée avec succès',
+));
diff --git a/language/fr/reputation_common.php b/language/fr/reputation_common.php
new file mode 100644
index 0000000..26b5f22
--- /dev/null
+++ b/language/fr/reputation_common.php
@@ -0,0 +1,60 @@
+ 'Réputation',
+
+ 'RS_DISABLED' => 'Désolé, mais l’administrateur a désactivé cette fonctionnalité.',
+
+ 'RS_COMMENT' => 'Commentaire',
+ 'RS_POINTS' => 'Points',
+
+ 'RS_POST_REPUTATION' => 'Réputation du message',
+ 'RS_POST_RATED' => 'Vous avez noté ce message',
+ 'RS_RATE_POST_POSITIVE' => 'Note positive au message',
+ 'RS_RATE_POST_NEGATIVE' => 'Note négative au message',
+ 'RS_RATE_USER' => 'Noter l’utilisateur',
+ 'RS_VIEW_DETAILS' => 'Voir les détails',
+
+ 'NOTIFICATION_TYPE_REPUTATION' => 'Quelqu’un vous a donné un point de réputation',
+ 'NOTIFICATION_RATE_POST_POSITIVE' => 'Noté positivement par %s pour le message',
+ 'NOTIFICATION_RATE_POST_NEGATIVE' => 'Noté négativement par %s pour le message',
+ 'NOTIFICATION_RATE_USER' => 'Noté par %s',
+));
diff --git a/language/fr/reputation_rating.php b/language/fr/reputation_rating.php
new file mode 100644
index 0000000..05af61a
--- /dev/null
+++ b/language/fr/reputation_rating.php
@@ -0,0 +1,67 @@
+ 'Vous ne pouvez pas donner des points de réputation si tôt. Vous pouvez réessayer plus tard.',
+ 'RS_COMMENT_TOO_LONG' => 'Votre commentaire contient %1$s caractères et est trop long. Nombre maximum de caractères autorisé : %2$s.',
+ 'RS_NEGATIVE' => 'Négatif',
+ 'RS_NO_COMMENT' => 'Vous ne pouvez pas laisser le champ du commentaire vide.',
+ 'RS_NO_POST' => 'Il n’y a pas de message.',
+ 'RS_NO_POWER' => 'Vos points d’influence ne sont pas suffisants.',
+ 'RS_NO_POWER_LEFT' => 'Pas assez de points d’influence. Attendez qu’ils se renouvellent. Vos points d’influence sont de %s',
+ 'RS_NO_USER_ID' => 'L’utilisateur demandé n’existe pas.',
+ 'RS_POSITIVE' => 'Positif',
+ 'RS_POST_RATING' => 'Note donnée au message',
+ 'RS_RATE_BUTTON' => 'Noter',
+ 'RS_SAME_POST' => 'Vous avez déjà noté ce message. Vous avez donné %s points de réputation.',
+ 'RS_SAME_USER' => 'Vous avez déjà noté cet utilisateur.',
+ 'RS_SELF' => 'Vous ne pouvez pas vous donner des points de réputation',
+ 'RS_USER_ANONYMOUS' => 'Vous n’êtes pas autorisé à donner des points de réputation aux utilisateurs anonymes.',
+ 'RS_USER_BANNED' => 'Vous n’êtes pas autorisé à donner des points de réputation pour les utilisateurs bannis.',
+ 'RS_USER_CANNOT_DELETE' => 'Vous n’avez pas la permission de supprimer cette réputation.',
+ 'RS_USER_DISABLED' => 'Vous n’êtes pas autorisé à donner un point de réputation.',
+ 'RS_USER_GAP' => 'Vous ne pouvez pas évaluer le même utilisateur si tôt. Vous pourrez essayer de nouveau dans %s.',
+ 'RS_USER_NEGATIVE' => 'Vous n’êtes pas autorisé à donner des points de réputation négatifs. Votre réputation doit être supérieure à %s.',
+ 'RS_USER_RATING' => 'Note donnée à l’utilisateur',
+ 'RS_VIEW_DISALLOWED' => 'Vous n’êtes pas autorisé à afficher les points de réputation.',
+ 'RS_VOTE_POWER_LEFT_OF_MAX' => '%1$d points d’influence utilisés sur %2$d. Maximum par note : %3$d',
+ 'RS_VOTE_SAVED' => 'Note sauvegardée',
+ 'RS_WARNING_RATING' => 'Avertissement',
+));
diff --git a/language/fr/reputation_system.php b/language/fr/reputation_system.php
new file mode 100644
index 0000000..27a7900
--- /dev/null
+++ b/language/fr/reputation_system.php
@@ -0,0 +1,118 @@
+ 'Système de réputation',
+
+ 'RS_ACTION' => 'Action',
+ 'RS_DATE' => 'Date',
+ 'RS_DETAILS' => 'Détails de la réputation de l’utilisateur',
+ 'RS_FROM' => 'De',
+ 'RS_LIST' => 'Liste des points de réputation de l’utilisateur',
+ 'RS_POST_COUNT' => 'Points des messages',
+ 'RS_POST_REPUTATION' => 'Réputation du message',
+ 'RS_USER_COUNT' => 'Points d’utilisateur',
+ 'RS_POSITIVE_COUNT' => 'Notes positives',
+ 'RS_NEGATIVE_COUNT' => 'Notes négatives',
+ 'RS_STATS' => 'Statistiques',
+ 'RS_WEEK' => 'La semaine dernière',
+ 'RS_MONTH' => 'Le mois dernier',
+ 'RS_6MONTHS' => 'Les 6 derniers mois',
+ 'RS_POINT' => 'Point',
+ 'RS_POINTS_TITLE' => array(
+ 1 => 'Point : %d',
+ 2 => 'Point(s) : %d',
+ ),
+ 'RS_POST_DELETE' => 'Message supprimé',
+ 'RS_POWER' => 'Points d’influence',
+ 'RS_TIME' => 'Heure',
+ 'RS_TO' => 'à',
+ 'RS_TO_USER' => 'À',
+ 'RS_VOTING_POWER' => 'Points d’influence restants',
+
+ 'RS_EMPTY_DATA' => 'Il n’y a pas de point de réputation.',
+ 'RS_NA' => 'N/A',
+ 'RS_NO_ID' => 'Aucun ID',
+ 'RS_NO_REPUTATION' => 'Il n’y a pas de réputation.',
+
+ 'NO_REPUTATION_SELECTED' => 'Vous n’avez pas sélectionné de point de réputation.',
+
+ 'RS_REPUTATION_DELETE_CONFIRM' => 'Voulez-vous vraiment supprimer cette réputation ?',
+ 'RS_REPUTATIONS_DELETE_CONFIRM' => 'Voulez-vous vraiment supprimer ces réputations ?',
+ 'RS_POINTS_DELETED' => array(
+ 1 => 'La réputation a été supprimée.',
+ 2 => 'Les réputations ont été supprimées.',
+ ),
+
+ 'RS_CLEAR_POST' => 'Effacer la réputation de ce message',
+ 'RS_CLEAR_POST_CONFIRM' => 'Voulez-vous vraiment supprimer tous les points de réputation pour ce message ?',
+ 'RS_CLEARED_POST' => 'Le message réputation a été effacé.',
+ 'RS_CLEAR_USER' => 'Effacer la réputation',
+ 'RS_CLEAR_USER_CONFIRM' => 'Voulez-vous vraiment supprimer tous les points de réputation pour cet utilisateur ?',
+ 'RS_CLEARED_USER' => 'La réputation de l’utilisateur a été effacée.',
+
+ 'RS_LATEST_REPUTATIONS' => 'Dernières réputations',
+ 'LIST_REPUTATIONS' => array(
+ 1 => '%d réputation',
+ 2 => '%d réputations',
+ ),
+ 'ALL_REPUTATIONS' => 'Toutes les réputations',
+
+ 'RS_NEW_REPUTATIONS' => 'Nouveaux points de réputation',
+ 'RS_NEW_REP' => 'Vous avez reçu 1 nouveau commentaire de réputation',
+ 'RS_NEW_REPS' => 'Vous avez reçu %s nouveaux commentaires de réputation',
+ 'RS_CLICK_TO_VIEW' => 'Voir les points reçus',
+
+ 'RS_MORE_DETAILS' => '» Plus de détails',
+
+ 'RS_USER_REPUTATION' => 'Réputation de %s',
+
+ 'RS_VOTE_POWER_LEFT' => '%1$d sur %2$d',
+
+ 'RS_POWER_DETAILS' => 'Points d’influence calculés selon',
+ 'RS_POWER_DETAIL_AGE' => 'Date d’inscription',
+ 'RS_POWER_DETAIL_POSTS' => 'Nombre de messages',
+ 'RS_POWER_DETAIL_REPUTATION' => 'Réputation',
+ 'RS_POWER_DETAIL_WARNINGS' => 'Avertissements',
+ 'RS_POWER_DETAIL_MIN' => 'Minimum de points d’influence autorisé',
+ 'RS_POWER_DETAIL_MAX' => 'Maximum de points d’influence autorisé',
+ 'RS_POWER_DETAIL_GROUP_POWER' => 'Points d’influence basés sur les groupes d’utilisateurs',
+ 'RS_GROUP_POWER' => 'Groupes d’utilisateurs',
+));
diff --git a/language/fr/reputation_toplist.php b/language/fr/reputation_toplist.php
new file mode 100644
index 0000000..466811c
--- /dev/null
+++ b/language/fr/reputation_toplist.php
@@ -0,0 +1,48 @@
+ 'Top des réputations',
+ 'RS_TOPLIST_EXPLAIN' => 'Utilisateurs réputés',
+
+ 'RS_NO_USERS' => 'Il n’y a pas d’utilisateur à afficher',
+
+ 'RS_NEW_LINE' => ' ',
+));
diff --git a/language/fr/reputation_warning.php b/language/fr/reputation_warning.php
new file mode 100644
index 0000000..3384d36
--- /dev/null
+++ b/language/fr/reputation_warning.php
@@ -0,0 +1,50 @@
+ 'Points de réputation pour les avertissements',
+ 'MCP_RS_ADD_WARNING_EXPLAIN' => 'Vous pouvez attribuer des points de réputation négatifs à cet utilisateur pour son mauvais comportement, etc.. Cela fonctionnera uniquement si vous avez coché la case ci-dessous.',
+ 'MCP_RS_ADD_REPUTATION' => 'Ajouter une réputation',
+
+ 'MCP_RS_POINTS' => array(
+ 1 => '-%d point',
+ 2 => '-%d points',
+ ),
+));
diff --git a/language/pl/exceptions.php b/language/pl/exceptions.php
new file mode 100644
index 0000000..221c4cf
--- /dev/null
+++ b/language/pl/exceptions.php
@@ -0,0 +1,56 @@
+ 'brak wymaganego pola',
+ 'EXCEPTION_INVALID_ARGUMENT' => 'Nieprawidłowy argument wybrany dla `%1$s`. Powód: %2$s.',
+ 'EXCEPTION_INVALID_TYPE' => 'typ reputacji nie istnieje',
+ 'EXCEPTION_OUT_OF_BOUNDS' => 'Pole `%1$s` otrzymało dane poza zakresem',
+));
diff --git a/language/pl/info_acp_reputation.php b/language/pl/info_acp_reputation.php
new file mode 100644
index 0000000..c8db376
--- /dev/null
+++ b/language/pl/info_acp_reputation.php
@@ -0,0 +1,60 @@
+ 'System reputacji',
+ 'ACP_REPUTATION_OVERVIEW' => 'Przegląd',
+ 'ACP_REPUTATION_SETTINGS' => 'Ustawienia',
+ 'ACP_REPUTATION_RATE' => 'Ocena',
+ 'ACP_REPUTATION_SYNC' => 'Synchronizuj',
+
+ 'RS_FORUM_REPUTATION' => 'Pozwól na ocenianie postów (reputacja)',
+ 'RS_FORUM_REPUTATION_EXPLAIN' => 'Zezwól użytkownikom oceniać posty napisane przez innych użytkowników',
+
+ 'RS_GROUP_POWER' => 'Moc reputacji grupy',
+ 'RS_GROUP_POWER_EXPLAIN' => 'Jeżeli to pole jest wypełnione, moc reputacji członków jest nadpisywana i nie zależy od postów itp.',
+
+ 'LOG_REPUTATION_DELETED' => 'Usunięto reputację Od użytkownika: %1$s Dla użytkownika: %2$s Punkty: %3$s Typ: %4$s ID: %5$s',
+ 'LOG_POST_REPUTATION_CLEARED' => 'Usunięto reputację posta Autor posta: %1$s Temat posta: %2$s',
+ 'LOG_USER_REPUTATION_CLEARED' => 'Usunięto reputację użytkownika Użytkownik: %1$s',
+ 'LOG_REPUTATION_SYNC' => 'System reputacji ponownie zsynchronizowany',
+ 'LOG_REPUTATION_TRUNCATE' => 'Reputacja wyczyszczona',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Altered Reputation System settings',
+));
diff --git a/language/pl/permissions_reputation.php b/language/pl/permissions_reputation.php
new file mode 100644
index 0000000..5c6438a
--- /dev/null
+++ b/language/pl/permissions_reputation.php
@@ -0,0 +1,56 @@
+ 'Reputacja',
+
+ 'ACL_A_REPUTATION' => 'Zarządza ustawieniami systemu reputacji',
+
+ 'ACL_M_RS_MODERATE' => 'Moderuje punkty reputacji',
+ 'ACL_M_RS_RATE' => 'Przyznaje dodatkowe punkty reputacji',
+
+ 'ACL_U_RS_DELETE' => 'Usuwa przyznane punkty',
+ 'ACL_U_RS_RATE' => 'Ocenia innych użytkowników',
+ 'ACL_U_RS_RATE_NEGATIVE' => 'Negatywnie ocenia innych użytkowników Użytkownik musi móc oceniać innych użytkowników, zanim negatywnie oceni innych użytkowników.',
+ 'ACL_U_RS_RATE_POST' => 'Ocenia posty napisane przez innych użytkowników',
+ 'ACL_U_RS_VIEW' => 'Wyświetla punkty reputacji',
+
+ 'ACL_F_RS_RATE' => 'Ocenia posty innych użytkowników',
+ 'ACL_F_RS_RATE_NEGATIVE' => 'Negatywnie oceniać posty innych użytkowników Użytkownik musi móc oceniać posty innych użytkowników, zanim negatywnie oceni posty innych użytkowników.',
+));
diff --git a/language/pl/reputation_acp.php b/language/pl/reputation_acp.php
new file mode 100644
index 0000000..e33e8ce
--- /dev/null
+++ b/language/pl/reputation_acp.php
@@ -0,0 +1,154 @@
+ 'Tutaj możesz skonfigurować ustawienia systemu reputacji. Są one podzielone na grupy.',
+ 'ACP_REPUTATION_RATE_EXPLAIN' => 'Tutaj możesz przyznawać dodatkowe punkty reputacji dowolnym użytkownikom.',
+
+ 'RS_ENABLE' => 'Włącz system reputacji',
+
+ 'RS_SYNC' => 'Zsynchronizuj system reputacji',
+ 'RS_SYNC_EXPLAIN' => 'Możesz zsynchronizować punkty reputacji, po masowym usunięciu postów/tematów/użytkowników, zmienić ustawienia reputacji, zmienić autorów postów, konwersje z innych systemów. To może chwilę potrwać. Zostaniesz powiadomiony, kiedy proces się zakończy. Uwaga! Wszystkie punkty reputacji, które nie pasują do ustawień reputacji, będą usunięte podczas synchronizacji. Zaleca się zrobić backup tabeli reputacji (DB) przed synchronizacją.',
+ 'RS_SYNC_REPUTATION_CONFIRM' => 'Jesteś pewien, że chcesz zsynchronizować reputację?',
+
+ 'RS_TRUNCATE' => 'Wyczyść system reputacji',
+ 'RS_TRUNCATE_EXPLAIN' => 'Ta procedura całkowicie usuwa dane. Po wykonaniu, jest niemożliwa do cofnięcia!',
+ 'RS_TRUNCATE_CONFIRM' => 'Jesteś pewien, że chcesz wyczyścić system reputacji?',
+ 'RS_TRUNCATE_DONE' => 'Reputacje wyczyszczono.',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Zmieniono ustawienia systemu reputacji',
+
+ // Setting legend
+ 'ACP_RS_MAIN' => 'Ogólne',
+ 'ACP_RS_DISPLAY' => 'Ustawienia wyświetlania',
+ 'ACP_RS_POSTS_RATING' => 'Oceny postów',
+ 'ACP_RS_USERS_RATING' => 'Oceny użytkowników',
+ 'ACP_RS_COMMENT' => 'Komentarze',
+ 'ACP_RS_POWER' => 'Moc reputacji',
+ 'ACP_RS_TOPLIST' => 'Toplista',
+
+ // General
+ 'RS_NEGATIVE_POINT' => 'Zezwalaj na punkty negatywne',
+ 'RS_NEGATIVE_POINT_EXPLAIN' => 'Kiedy wyłączone, użytkownicy nie mogą przyznawać negatywnych punktów.',
+ 'RS_MIN_REP_NEGATIVE' => 'Minimalna reputacja dla negatywnej oceny',
+ 'RS_MIN_REP_NEGATIVE_EXPLAIN' => 'Ile punktów reputacji jest wymagane do przyznawania punktów negatywnych. Ustawienie wartości na 0 wyłącza to ustawienie.',
+ 'RS_WARNING' => 'Zezwalaj na ostrzeżenia',
+ 'RS_WARNING_EXPLAIN' => 'Użytkownicy z odpowiednimi przywilejami mogą przyznawać negatywne punkty podczas ostrzegania użytkowników.',
+ 'RS_WARNING_MAX_POWER' => 'Maksymalna moc reputacji dla ostrzeżeń',
+ 'RS_WARNING_MAX_POWER_EXPLAIN' => 'Maksymalna moc reputacji przyzwolona dla ostrzeżeń.',
+ 'RS_MIN_POINT' => 'Minimum punktów',
+ 'RS_MIN_POINT_EXPLAIN' => 'Określa minimum punktów reputacji, które może otrzymać użytkownik. Ustawienie wartości na 0 wyłącza to ustawienie.',
+ 'RS_MAX_POINT' => 'Maksimum punktów',
+ 'RS_MAX_POINT_EXPLAIN' => 'Określa maksimum punktów reputacji, które moze otrzymać użytkownik. Ustawienie wartości na 0 wyłącza to ustawienie.',
+ 'RS_PREVENT_OVERRATING' => 'Zapobieganie przecenianiu',
+ 'RS_PREVENT_OVERRATING_EXPLAIN' => 'Odmawia użytkownikowi oceniania tego samego użytkownika. Przykład: jeżeli użytkownik ma więcej niż 10 punktów reputacji i 85% z nich są od użytkownika B, użytkownik B nie moze oceniać tego użytkownika, póki stosunek jego ocen jest wyższy niż 85%. By wyłączyć tę opcję, ustaw jedną lub obie wartości na 0.',
+ 'RS_PREVENT_NUM' => 'Łączne wystapienia reputacji użytkownika A są równe lub wyższe',
+ 'RS_PREVENT_PERC' => ' oraz stosunek ocen użytkownika B jest równy lub wyższy',
+ 'RS_PER_PAGE' => 'Reputacje na stronę',
+ 'RS_PER_PAGE_EXPLAIN' => 'Ile wierszy powinno być wyświetlane w tabelkach punktów reputacji?',
+ 'RS_DISPLAY_AVATAR' => 'Pokaż awatary',
+ 'RS_POINT_TYPE' => 'Metoda wyświetlania punktów',
+ 'RS_POINT_TYPE_EXPLAIN' => 'Widok punktów reputacji może być wyświetlany zarówno w dokładnej wartości punktów reputacji użytkownik przyznał lub jako obrazek przedstawiający plus lub minus dla pozytywnych lub negatywnych punktów. Metoda obrazka jest przydatna, jeżeli ocena = 1 punkt.',
+ 'RS_POINT_VALUE' => 'Wartość',
+ 'RS_POINT_IMG' => 'Obrazek',
+
+ // Post rating
+ 'RS_POST_RATING' => 'Włącz ocenę postów',
+ 'RS_POST_RATING_EXPLAIN' => 'Pozwól użytkownikom oceniać posty innych użytkowników. Na każdej stronie zarządzania forum możesz włączyć lub wyłączyć reputacje.',
+ 'RS_ALLOW_REPUTATION_BUTTON' => 'Włącz system reputacji na wszystkich forach',
+ 'RS_ANTISPAM' => 'Anty-Spam',
+ 'RS_ANTISPAM_EXPLAIN' => 'Opcja ta uniemożliwia ocenianie postów użytkownikom, którzy ocenili za dużą liczbę postów w ciągu ostatnich godzin. By wyłączyć tę opcję, ustaw jedną lub obie wartości na 0.',
+ 'RS_POSTS' => 'Ilość ocenionych postów',
+ 'RS_HOURS' => 'w ostatnich godzinach',
+ 'RS_ANTISPAM_METHOD' => 'Metoda sprawdzania Anty-Spamu',
+ 'RS_ANTISPAM_METHOD_EXPLAIN' => 'Metoda sprawdzania Anty-Spamu. Metoda “Ten sam użytkownik” sprawdza reputację przyznaną temu samemu użytkownikowi. Metoda “Wszyscy użytkownicy” sprawdza reputację bez względu na to, kto otrzymał punkty.',
+ 'RS_SAME_USER' => 'Ten sam użytkownik',
+ 'RS_ALL_USERS' => 'Wszyscy użytkownicy',
+
+ // User rating
+ 'RS_USER_RATING' => 'Włącz ocenę użytkownika',
+ 'RS_USER_RATING_GAP' => 'Przerwa w ocenianiu',
+ 'RS_USER_RATING_GAP_EXPLAIN' => 'Okres czasu, w którym użytkownik nie może ocenić tego samego użytkownika. Ustawienie wartości na 0 wyłącza tę opcję i użytkownicy mogą się ocenić tylko raz.',
+
+ // Comments
+ 'RS_ENABLE_COMMENT' => 'Włącz komentarze',
+ 'RS_ENABLE_COMMENT_EXPLAIN' => 'Kiedy włączone, użytkownicy będą mogli dodawać własne komentarze wraz z oceną.',
+ 'RS_FORCE_COMMENT' => 'Zmuś użytkownika do wprowadzenia komentarza',
+ 'RS_FORCE_COMMENT_EXPLAIN' => 'Przy wystawianiu oceny, użytkownik będzie musiał wystawić komentarz.',
+ 'RS_COMMENT_NO' => 'Nie',
+ 'RS_COMMENT_BOTH' => 'Zarówno przy ocenie użytkownika, jak i postu',
+ 'RS_COMMENT_POST' => 'Tylko przy ocenie posta',
+ 'RS_COMMENT_USER' => 'Tylko przy ocenie użytkownika',
+ 'RS_COMMEN_LENGTH' => 'Długość komentarza',
+ 'RS_COMMEN_LENGTH_EXPLAIN' => 'Ilość znaków dozwolona w komentarzu. Ustaw 0 dla braku limitu.',
+
+ // Reputation power
+ 'RS_ENABLE_POWER' => 'Włącz moc reputacji',
+ 'RS_ENABLE_POWER_EXPLAIN' => 'Moc reputacji to coś, co użytkownicy zyskują i wykorzystują na ocenianie. Nowi użytkownicy mają niską moc, aktywni użytkownicy oraz weterani zyskują większą moc. Im więcej masz mocy, tym więcej możesz oceniać w trakcie ustalonego odstępu czasu i tym większy wpływ masz na ocenę innego użytkownika lub posta. Użytkownicy mogą wybrać, ile mocy podczas oceniania zużyją na ocenę, dając więcej punktów interesującym postom.',
+ 'RS_POWER_RENEWAL' => 'Czas odnowienia mocy',
+ 'RS_POWER_RENEWAL_EXPLAIN' => 'Ta opcja kontroluje, w jaki sposób użytkownicy mogą wykorzystać zebraną moc. Jeżeli ustawisz tę opcję, użytkownicy muszą zaczekać odpowiednią ilość czasu, zanim będą mogli znów oceniać. Im więcej mocy reputacji użytkownik posiada, tym więcej punktów może zużyć w określonym czasie. Ustawienie wartości na 0 wyłącza tę opcję i użytkownicy mogą oceniać bez czekania.',
+ 'RS_MIN_POWER' => 'Startowa/Minimalna moc reputacji',
+ 'RS_MIN_POWER_EXPLAIN' => 'Wyznacza ile mocy reputacji mają nowo zarejestrowani użytkownicy, zbanowani użytkownicy oraz użytkownicy z niską reputacją lub mający inne kryteria. Uzytkownicy nie mogą zejść poniżej tej minimalnej mocy oceniania. Dozwolone 0-10. Zalecane 1.',
+ 'RS_MAX_POWER' => 'Maksymalna moc do zużycia na ocenę',
+ 'RS_MAX_POWER_EXPLAIN' => 'Maksymalna ilość mocy, która użytkownik może zużyć na głos. Nawet jeśli użytkownik ma miliony punktów, może wciąż być limitowany przez tę wartość podczas oceniania. Użytkownicy wybiorą tę wartość z menu rozwijanego: od 1 do X Dozwolone 1-20. Zalecane: 3.',
+ 'RS_POWER_EXPLAIN' => 'Wyjaśnienie mocy reputacji',
+ 'RS_POWER_EXPLAIN_EXPLAIN' => 'Wyjasnia, jak moc reputacji jest obliczana dla użytkowników.',
+ 'RS_TOTAL_POSTS' => 'Zyskanie mocy wraz z ilością postów',
+ 'RS_TOTAL_POSTS_EXPLAIN' => 'Użytkownik zyska 1 moc reputacji co X napisanych postów tu ustawionych.',
+ 'RS_MEMBERSHIP_DAYS' => 'Zyskanie mocy wraz z długością służby użytkownika',
+ 'RS_MEMBERSHIP_DAYS_EXPLAIN' => 'Użytkownik zyska 1 moc reputacji co X dni tu ustawionych',
+ 'RS_POWER_REP_POINT' => 'Zyskanie mocy z reputacji użytkownika',
+ 'RS_POWER_REP_POINT_EXPLAIN' => 'Użytkownik zyska 1 moc reputacji co X punktów reputacji które uzyskali tu ustawionych.',
+ 'RS_LOSE_POWER_WARN' => 'Utrata mocy z ostrzeżeniami',
+ 'RS_LOSE_POWER_WARN_EXPLAIN' => 'Każde ostrzeżenie zmniejsza moc reputacji o określoną ilość punktów. Ostrzeżenia przestają działać po czasie zgodnym z ustawieniami w Ogólne -> Konfiguracja Witryny -> Ustawienia witryny',
+
+ // Toplist
+ 'RS_ENABLE_TOPLIST' => 'Włącz toplistę',
+ 'RS_ENABLE_TOPLIST_EXPLAIN' => 'Wyświetla listę użytkowników z największą liczbą punktów reputacji na głównej stronie.',
+ 'RS_TOPLIST_DIRECTION' => 'Kierunek listy',
+ 'RS_TOPLIST_DIRECTION_EXPLAIN' => 'Wyświetla użytkowników na liście poziomo lub pionowo.',
+ 'RS_TL_HORIZONTAL' => 'Poziomo',
+ 'RS_TL_VERTICAL' => 'Pionowo',
+ 'RS_TOPLIST_NUM' => 'Ilość użytkowników do wyświetlenia',
+ 'RS_TOPLIST_NUM_EXPLAIN' => 'Ilość użytkowników wyświetlana na topliście.',
+
+ // Rate module
+ 'POINTS_INVALID' => 'Pole na punkty może zawierać tylko cyfry.',
+ 'RS_VOTE_SAVED' => 'Twoja ocena została zapisana',
+));
diff --git a/language/pl/reputation_common.php b/language/pl/reputation_common.php
new file mode 100644
index 0000000..7212856
--- /dev/null
+++ b/language/pl/reputation_common.php
@@ -0,0 +1,59 @@
+ 'Reputacja',
+
+ 'RS_DISABLED' => 'Administrator forum wyłączył tę funkcjonalność.',
+
+ 'RS_COMMENT' => 'Komentarz',
+ 'RS_POINTS' => 'Punkty',
+
+ 'RS_POST_REPUTATION' => 'Reputacja posta',
+ 'RS_POST_RATED' => 'Już oceniłeś ten post',
+ 'RS_RATE_POST_POSITIVE' => 'Oceń pozytywnie',
+ 'RS_RATE_POST_NEGATIVE' => 'Oceń negatywnie',
+ 'RS_RATE_USER' => 'Oceń użytkownika',
+ 'RS_VIEW_DETAILS' => 'Wyświetl detale',
+
+ 'NOTIFICATION_TYPE_REPUTATION' => 'Ktoś podarował Ci punkt reputacji',
+ 'NOTIFICATION_RATE_POST_POSITIVE' => '%s ocenił(a) pozytywnie post',
+ 'NOTIFICATION_RATE_POST_NEGATIVE' => '%s ocenił(a) negatywnie post',
+ 'NOTIFICATION_RATE_USER' => ' %socenił(a)',
+));
diff --git a/language/pl/reputation_rating.php b/language/pl/reputation_rating.php
new file mode 100644
index 0000000..bd37d90
--- /dev/null
+++ b/language/pl/reputation_rating.php
@@ -0,0 +1,66 @@
+ 'Nie możesz wystawić punktów reputacji tak szybko. Spróbuj ponownie później.',
+ 'RS_COMMENT_TOO_LONG' => 'Twój komentarz zawiera %1$s znaków i jest zbyt długi. Dopuszczalna ilość znaków: %2$s.',
+ 'RS_NEGATIVE' => 'Negatywny',
+ 'RS_NO_COMMENT' => 'Nie możesz zostawić pustego pola na komentarz.',
+ 'RS_NO_POST' => 'Nie ma takiego postu.',
+ 'RS_NO_POWER' => 'Twoja moc reputacji jest zbyt niska.',
+ 'RS_NO_POWER_LEFT' => 'Niewystarczająca ilość punktów mocy reputacji. Zaczekaj aż się odnowią. Twoja moc reputacji wynosi %s',
+ 'RS_NO_USER_ID' => 'Użytkownik nie istnieje.',
+ 'RS_POSITIVE' => 'Pozytywny',
+ 'RS_POST_RATING' => 'Ocena posta',
+ 'RS_RATE_BUTTON' => 'Oceń',
+ 'RS_SAME_POST' => 'Już oceniłeś ten post. Otrzymał od Ciebie %s punktów reputacji.',
+ 'RS_SAME_USER' => 'Ocena użytkownika została już wystawiona.',
+ 'RS_SELF' => 'Nie możesz przyznać sobie punktów reputacji',
+ 'RS_USER_ANONYMOUS' => 'Nie możesz przyznawać punktów reputacji anonimowym użytkownikom.',
+ 'RS_USER_BANNED' => 'Nie możesz przyznawać punktów reputacji zbanowanym użytkownikom.',
+ 'RS_USER_CANNOT_DELETE' => 'Nie masz uprawnień do usunięcia reputacji.',
+ 'RS_USER_DISABLED' => 'Nie możesz przyznawać punktów reputacji.',
+ 'RS_USER_GAP' => 'Nie mozesz oceniać tego samego użytkownika tak wcześnie. Możesz spróbować ponownie za %s.',
+ 'RS_USER_NEGATIVE' => 'Nie możesz przyznawać negatywnych punktów reputacji. Twoja reputacja musi być wyższa niż %s.',
+ 'RS_USER_RATING' => 'Ocena użytkownika',
+ 'RS_VIEW_DISALLOWED' => 'Nie możesz oglądać punktów reputacji.',
+ 'RS_VOTE_POWER_LEFT_OF_MAX' => '%1$d punktów mocy reputacji zostało z %2$d. Maksimum na ocenę: %3$d',
+ 'RS_VOTE_SAVED' => 'Ocena zapisana',
+ 'RS_WARNING_RATING' => 'Ostrzeżenie',
+));
diff --git a/language/pl/reputation_system.php b/language/pl/reputation_system.php
new file mode 100644
index 0000000..7fac1de
--- /dev/null
+++ b/language/pl/reputation_system.php
@@ -0,0 +1,119 @@
+ 'System reputacji',
+
+ 'RS_ACTION' => 'Akcja',
+ 'RS_DATE' => 'Data',
+ 'RS_DETAILS' => 'Detale reputacji użytkownika',
+ 'RS_FROM' => 'Od',
+ 'RS_LIST' => 'Lista punktów reputacji użytkownika',
+ 'RS_POST_COUNT' => 'Punkty za post',
+ 'RS_POST_REPUTATION' => 'Reputacja posta',
+ 'RS_USER_COUNT' => 'Punkty od użytkownika',
+ 'RS_POSITIVE_COUNT' => 'Pozytywne',
+ 'RS_NEGATIVE_COUNT' => 'Negatywne',
+ 'RS_STATS' => 'Statystyki',
+ 'RS_WEEK' => 'Ostatni tydzień',
+ 'RS_MONTH' => 'Ostatni miesiąc',
+ 'RS_6MONTHS' => 'Ostatnie pół roku',
+ 'RS_POINT' => 'Punkt',
+ 'RS_POINTS_TITLE' => array(
+ 1 => 'Punkt: %d',
+ 2 => 'Punkty: %d',
+ 5 => 'Punktów: %d',
+ ),
+ 'RS_POST_DELETE' => 'Post usunięty',
+ 'RS_POWER' => 'Moc reputacji',
+ 'RS_TIME' => 'Czas',
+ 'RS_TO' => 'do',
+ 'RS_TO_USER' => 'Do',
+ 'RS_VOTING_POWER' => 'Pozostałe punkty mocy',
+
+ 'RS_EMPTY_DATA' => 'Nie ma punktów reputacji.',
+ 'RS_NA' => 'n/a',
+ 'RS_NO_ID' => 'Brak ID',
+ 'RS_NO_REPUTATION' => 'Nie ma takiej reputacji.',
+
+ 'NO_REPUTATION_SELECTED' => 'Nie wybrałeś punktu reputacji.',
+
+ 'RS_REPUTATION_DELETE_CONFIRM' => 'Czy na pewno chcesz usunąć tę reputację?',
+ 'RS_REPUTATIONS_DELETE_CONFIRM' => 'Czy na pewno chcesz usunąć te reputacje?',
+ 'RS_POINTS_DELETED' => array(
+ 1 => 'Reputacja została usunięta.',
+ 2 => 'Reputacje zostały usunięte.',
+ 5 => 'Reputacji zostało usuniętych.',
+ ),
+
+ 'RS_CLEAR_POST' => 'Wyczyść reputację postu',
+ 'RS_CLEAR_POST_CONFIRM' => 'Czy na pewno chcesz usunąć wszystkie punkty reputacji dla tego postu?',
+ 'RS_CLEARED_POST' => 'Reputacja postu została wyczyszczona.',
+ 'RS_CLEAR_USER' => 'Wyczyść reputację użytkownika',
+ 'RS_CLEAR_USER_CONFIRM' => 'Czy na pewno chcesz usunąć wszystkie punkty reputacji dla tego użytkownika?',
+ 'RS_CLEARED_USER' => 'Reputacja użytkownika została wyczyszczona.',
+
+ 'RS_LATEST_REPUTATIONS' => 'Ostatnie reputacje',
+ 'LIST_REPUTATIONS' => array(
+ 1 => '%d reputacja',
+ 2 => '%d reputacje',
+ 5 => '%d reputacji',
+ ),
+ 'ALL_REPUTATIONS' => 'Wszystkie reputacje',
+
+ 'RS_NEW_REPUTATIONS' => 'Nowe punkty reputacji',
+ 'RS_NEW_REP' => 'Otrzymano 1 nowy komentarz z reputacją',
+ 'RS_NEW_REPS' => 'Otrzymano nowe komentarze z reputacją w %s sztukach',
+ 'RS_CLICK_TO_VIEW' => 'Idź do otrzymanych punktów',
+
+ 'RS_MORE_DETAILS' => '» więcej szczegółów',
+
+ 'RS_USER_REPUTATION' => 'Reputacja użytkownika %s',
+
+ 'RS_VOTE_POWER_LEFT' => '%1$d z %2$d',
+
+ 'RS_POWER_DETAILS' => 'Sposób obliczania mocy reputacji',
+ 'RS_POWER_DETAIL_AGE' => 'Według daty rejestracji',
+ 'RS_POWER_DETAIL_POSTS' => 'Według liczby postów',
+ 'RS_POWER_DETAIL_REPUTATION' => 'Według reputacji',
+ 'RS_POWER_DETAIL_WARNINGS' => 'Według ostrzeżeń',
+ 'RS_POWER_DETAIL_MIN' => 'Minimum mocy reputacji dla wszystkich użytkowników',
+ 'RS_POWER_DETAIL_MAX' => 'Moc reputacji ograniczona do określonego maksimum jest włączona',
+ 'RS_POWER_DETAIL_GROUP_POWER' => 'Moc reputacji zależna od grupy użytkownika',
+ 'RS_GROUP_POWER' => 'Moc reputacji zależna od grupy użytkownika',
+));
diff --git a/language/pl/reputation_toplist.php b/language/pl/reputation_toplist.php
new file mode 100644
index 0000000..54cbc95
--- /dev/null
+++ b/language/pl/reputation_toplist.php
@@ -0,0 +1,47 @@
+ 'Toplista reputacji',
+ 'RS_TOPLIST_EXPLAIN' => 'Najpopularniejsi użytkownicy',
+
+ 'RS_NO_USERS' => 'brak użytkowników do wyświetlenia',
+
+ 'RS_NEW_LINE' => ' ',
+));
diff --git a/language/pl/reputation_warning.php b/language/pl/reputation_warning.php
new file mode 100644
index 0000000..84d763c
--- /dev/null
+++ b/language/pl/reputation_warning.php
@@ -0,0 +1,50 @@
+ 'Punkty reputacji za ostrzeżenie',
+ 'MCP_RS_ADD_WARNING_EXPLAIN' => 'Możesz dać negatywne punkty reputacji temu użytkownikowi za złe zachowanie itp. To będzie dizałać tylko jeżeli zaznaczyłeś opcję poniżej.',
+ 'MCP_RS_ADD_REPUTATION' => 'Dodaj reputację',
+
+ 'MCP_RS_POINTS' => array(
+ 1 => '-%d punkt',
+ 2 => '-%d punkty',
+ 5 => '-%d punktów',
+ ),
+));
diff --git a/language/ru/exceptions.php b/language/ru/exceptions.php
new file mode 100644
index 0000000..68b2c2e
--- /dev/null
+++ b/language/ru/exceptions.php
@@ -0,0 +1,56 @@
+ 'отсутствует обязательное поле',
+ 'EXCEPTION_INVALID_ARGUMENT' => 'Указан неверный параметр для `%1$s`. Причина: %2$s.',
+ 'EXCEPTION_INVALID_TYPE' => 'тип репутации отсутствует',
+ 'EXCEPTION_OUT_OF_BOUNDS' => 'Поле `%1$s` получило данные за его пределами',
+));
diff --git a/language/ru/info_acp_reputation.php b/language/ru/info_acp_reputation.php
new file mode 100644
index 0000000..e6369e1
--- /dev/null
+++ b/language/ru/info_acp_reputation.php
@@ -0,0 +1,59 @@
+ 'Система репутации',
+ 'ACP_REPUTATION_OVERVIEW' => 'Общие',
+ 'ACP_REPUTATION_SETTINGS' => 'Настройки',
+ 'ACP_REPUTATION_RATE' => 'Оценить',
+ 'ACP_REPUTATION_SYNC' => 'Синхронизировать',
+
+ 'RS_FORUM_REPUTATION' => 'Включить рейтинг сообщений (репутацию)',
+ 'RS_FORUM_REPUTATION_EXPLAIN' => 'Разрешить пользователям оценивать сообщения, сделанные другими пользователями на этом форуме.',
+
+ 'RS_GROUP_POWER' => 'Групповая мощность репутации',
+ 'RS_GROUP_POWER_EXPLAIN' => 'Если это поле заполнено, мощность репутации пользователей будет перезаписана и не будет базироваться на сообщения и т.д.',
+
+ 'LOG_REPUTATION_DELETED' => 'Удалена репутация От пользователя: %1$s Пользователю: %2$s Очки: %3$s Тип: %4$s Идентификатор: %5$s',
+ 'LOG_POST_REPUTATION_CLEARED' => 'Очищена репутация сообщения Автор сообщения: %1$s Тема сообщения: %2$s',
+ 'LOG_USER_REPUTATION_CLEARED' => 'Очищена репутация пользователя Пользователь: %1$s',
+ 'LOG_REPUTATION_SYNC' => 'Система репутации была синхронизирована',
+ 'LOG_REPUTATION_TRUNCATE' => 'Очищена репутация',
+ 'REPUTATION_SETTINGS_CHANGED' => 'Изменены настройки Системы репутации',
+));
diff --git a/language/ru/permissions_reputation.php b/language/ru/permissions_reputation.php
new file mode 100644
index 0000000..8114e72
--- /dev/null
+++ b/language/ru/permissions_reputation.php
@@ -0,0 +1,56 @@
+ 'Репутация',
+
+ 'ACL_A_REPUTATION' => 'Может управлять настройками репутации',
+
+ 'ACL_M_RS_MODERATE' => 'Может модерировать очки репутации',
+ 'ACL_M_RS_RATE' => 'Может награждать дополнительными очками репутации',
+
+ 'ACL_U_RS_DELETE' => 'Может удалять указанные очки',
+ 'ACL_U_RS_RATE' => 'Может оценивать других пользователей',
+ 'ACL_U_RS_RATE_NEGATIVE' => 'Может отрицательно оценивать других пользователей Пользователь должен иметь возможность оценивать других пользователей, прежде чем сможет оставлять отрицательные отзывы.',
+ 'ACL_U_RS_RATE_POST' => 'Может оценивать сообщения других пользователей',
+ 'ACL_U_RS_VIEW' => 'Может просматривать репутацию',
+
+ 'ACL_F_RS_RATE' => 'Может оценивать сообщения других пользователей',
+ 'ACL_F_RS_RATE_NEGATIVE' => 'Может отрицательно оценивать сообщения других пользователей Пользователь должен иметь возможность оценивать сообщения других пользователей, прежде чем сможет оставлять отрицательные отзывы.',
+));
diff --git a/language/ru/reputation_acp.php b/language/ru/reputation_acp.php
new file mode 100644
index 0000000..eebbe6c
--- /dev/null
+++ b/language/ru/reputation_acp.php
@@ -0,0 +1,154 @@
+ 'Здесь вы можете изменить настройки Системы репутации. Они подразделены на группы.',
+ 'ACP_REPUTATION_RATE_EXPLAIN' => 'Здесь вы можете присудить дополнительные баллы репутации любым пользователям.',
+
+ 'RS_ENABLE' => 'Включить Систему репутации',
+
+ 'RS_SYNC' => 'Синхронизировать Систему репутации',
+ 'RS_SYNC_EXPLAIN' => 'Вы можете синхронизировать баллы репутации после массового удаления сообщений/тем/пользователей, изменения настроек репутации, изменения авторов сообщений, конверсий из других систем. Это может занять время. Вы получите уведомление по окончанию. Внимание! Все баллы репутации, не соответствующие настройкам, будут удалены в процессе синхронизации. Рекомендуется создать резервную копию таблицы репутации (БД) перед синхронизацией.',
+ 'RS_SYNC_REPUTATION_CONFIRM' => 'Вы уверены, что хотите начать синхронизацию репутации?',
+
+ 'RS_TRUNCATE' => 'Очистить Систему репутации',
+ 'RS_TRUNCATE_EXPLAIN' => 'Эта процедура полностью удалит все данные. Действие необратимо!',
+ 'RS_TRUNCATE_CONFIRM' => 'Вы уверены, что хотите очистить Систему репутации?',
+ 'RS_TRUNCATE_DONE' => 'Система репутации была очищена.',
+
+ 'REPUTATION_SETTINGS_CHANGED' => 'Изменены настройки Системы репутации',
+
+ // Setting legend
+ 'ACP_RS_MAIN' => 'Основное',
+ 'ACP_RS_DISPLAY' => 'Настройки отображения',
+ 'ACP_RS_POSTS_RATING' => 'Рейтинг сообщений',
+ 'ACP_RS_USERS_RATING' => 'Рейтинг пользователей',
+ 'ACP_RS_COMMENT' => 'Комментарии',
+ 'ACP_RS_POWER' => 'Мощность репутации',
+ 'ACP_RS_TOPLIST' => 'Топлист',
+
+ // General
+ 'RS_NEGATIVE_POINT' => 'Разрешить отрицательные отзывы',
+ 'RS_NEGATIVE_POINT_EXPLAIN' => 'Если запрещено, пользователи не могут оставлять отрицательные отзывы.',
+ 'RS_MIN_REP_NEGATIVE' => 'Минимум репутации для отрицательного голосования',
+ 'RS_MIN_REP_NEGATIVE_EXPLAIN' => 'Сколько репутации требуется для оставления отрицательных отзывов. Установка значения в 0 отключает такое поведение.',
+ 'RS_WARNING' => 'Включить предупреждения',
+ 'RS_WARNING_EXPLAIN' => 'Пользователи с соответствующими правами могут давать отрицательную оценку при предупреждении пользователей.',
+ 'RS_WARNING_MAX_POWER' => 'Максимальная мощность репутации для предупреждений',
+ 'RS_WARNING_MAX_POWER_EXPLAIN' => 'Максимальная мощность репутации, разрешенная для предупреждений.',
+ 'RS_MIN_POINT' => 'Минимальные баллы',
+ 'RS_MIN_POINT_EXPLAIN' => 'Ограничивает минимальные баллы репутации, которые пользователь может получить. Установка значения в 0 отключает такое поведение.',
+ 'RS_MAX_POINT' => 'Максимальные баллы',
+ 'RS_MAX_POINT_EXPLAIN' => 'Ограничивает максимальные баллы репутации, которые пользователь может получить. Установка значения в 0 отключает такое поведение.',
+ 'RS_PREVENT_OVERRATING' => 'Предотвращение переоценки',
+ 'RS_PREVENT_OVERRATING_EXPLAIN' => 'Запретить пользователю оценивать одного и того же пользователя. Пример: em> если у пользователя A больше 10 записей о репутации и 85% из них принадлежат пользователю B, пользователь B не может оценить этого пользователя пока коэффициент его голосов выше 85%. Чтобы отключить эту функцию, установите одно или оба значения в 0.',
+ 'RS_PREVENT_NUM' => 'Количество записей репутации пользователя A равно или выше',
+ 'RS_PREVENT_PERC' => ' и соотношение голосов пользователя B равно или превышает',
+ 'RS_PER_PAGE' => 'Репутаций на страницу',
+ 'RS_PER_PAGE_EXPLAIN' => 'Сколько строк нужно отображать в таблицах репутации?',
+ 'RS_DISPLAY_AVATAR' => 'Показывать аватары',
+ 'RS_POINT_TYPE' => 'Метод показа баллов',
+ 'RS_POINT_TYPE_EXPLAIN' => 'Просмотр баалов репутации может отображаться либо как точное значение баллов, предоставленных пользователем, либо как изображение, показывающее плюс или минус для положительного или отрицательного результата. Метод Изображение полезен, если одно изменение репутации всегда равно одному баллу.',
+ 'RS_POINT_VALUE' => 'Значение',
+ 'RS_POINT_IMG' => 'Изображение',
+
+ // Post rating
+ 'RS_POST_RATING' => 'Включить оценку сообщений',
+ 'RS_POST_RATING_EXPLAIN' => 'Разрешить пользователям оценивать сообщения. Вы можете включить или отключить репутацию для любого форума на странице управления форумами.',
+ 'RS_ALLOW_REPUTATION_BUTTON' => 'Отправить и включить Систему репутации на всех форумах',
+ 'RS_ANTISPAM' => 'Анти-спам',
+ 'RS_ANTISPAM_EXPLAIN' => 'Запретить пользователям оценивать новые сообщения после того, как они оценили определенное количество сообщений в течение определенного количества часов. Чтобы отключить эту функцию, установите одно или оба значения в 0.',
+ 'RS_POSTS' => 'Количество оцененных сообщений',
+ 'RS_HOURS' => 'за последние часы',
+ 'RS_ANTISPAM_METHOD' => 'Метод проверки Анти-спама',
+ 'RS_ANTISPAM_METHOD_EXPLAIN' => 'Метод проверки Анти-спама. Метод "Один пользователь" проверяет репутацию, выставленную одному и тому же пользователю. Метод "Все пользователи" проверяет репутацию независимо от того, кто получил баллы.',
+ 'RS_SAME_USER' => 'Один пользователь',
+ 'RS_ALL_USERS' => 'Все пользователи',
+
+ // User rating
+ 'RS_USER_RATING' => 'Разрешить оценку пользователей с их страницы профиля',
+ 'RS_USER_RATING_GAP' => 'Период между голосованием',
+ 'RS_USER_RATING_GAP_EXPLAIN' => 'Период времени, который пользователь должен ждать, прежде чем дать повторную оценку ранее оцененному пользователю. Установка значения в 0 отключает это поведение, пользователи могут оценивать других только один раз.',
+
+ // Comments
+ 'RS_ENABLE_COMMENT' => 'Разрешить комментарии',
+ 'RS_ENABLE_COMMENT_EXPLAIN' => 'Когда включено, пользователи могут добавлять персональные комментарии вместе с рейтингом.',
+ 'RS_FORCE_COMMENT' => 'Обязать пользователя вводить комментарий',
+ 'RS_FORCE_COMMENT_EXPLAIN' => 'Пользователи должны будут добавить комментарий вместе оценкой.',
+ 'RS_COMMENT_NO' => 'Нет',
+ 'RS_COMMENT_BOTH' => 'Пользователи и сообщения',
+ 'RS_COMMENT_POST' => 'Только за сообщения',
+ 'RS_COMMENT_USER' => 'Только для пользователей',
+ 'RS_COMMEN_LENGTH' => 'Длина комментария',
+ 'RS_COMMEN_LENGTH_EXPLAIN' => 'Количество символов, допускаемых в комментарии. Установите 0 для неограниченного количества символов.',
+
+ // Reputation power
+ 'RS_ENABLE_POWER' => 'Включить мощность репутации',
+ 'RS_ENABLE_POWER_EXPLAIN' => 'Мощность репутации - это то, что пользователи зарабатывают и тратят при голосовании. У новых пользователей мало мощности, активные и ветеранские пользователи получают больше мощности. Чем больше у вас мощности, тем больше вы можете проголосовать в течение определенного периода времени и тем больше влияния вы можете оказать на рейтинг другого пользователя или сообщение. Пользователи могут выбирать при голосовании, сколько мощности они потратят на голосование, давая больше быллов за интересные сообщения.',
+ 'RS_POWER_RENEWAL' => 'Время обновления мощности',
+ 'RS_POWER_RENEWAL_EXPLAIN' => 'Позволяет контролировать, как пользователи могут тратить заработанную мощность. При установке этого параметра, пользователи должны дождаться заданного интервала времени, прежде чем они смогут проголосовать снова. Чем больше репутации у пользователя, тем больше очков он может потратить в заданное время. Установка значения в 0 отключает это поведение, и пользователи могут голосовать без ожидания.',
+ 'RS_MIN_POWER' => 'Начальная/минимальная мощность репутации',
+ 'RS_MIN_POWER_EXPLAIN' => 'Определяет, сколько мощности репутации для недавно зарегистрированных пользователей, заблокированных пользователей и пользователей с низкой репутацией (или по другим критериям). Пользователи не могут опускаться ниже этого минимального количества. Разрешено 0-10. Рекомендовано 1.',
+ 'RS_MAX_POWER' => 'Максимальная мощьность одного голоса',
+ 'RS_MAX_POWER_EXPLAIN' => 'Максимальное количество мощности, которое пользователь может потратить за одно голосование. Даже если у пользователя есть миллионы баллов, они по-прежнему будут ограничены этим максимальным числом при голосовании. Пользователи будут выбирать это из выпадающего меню: от 1 до X Разрешено 1-20. Рекомендовано: 3.',
+ 'RS_POWER_EXPLAIN' => 'Объяснение мощности репутации',
+ 'RS_POWER_EXPLAIN_EXPLAIN' => 'Объяснять, как вычисляется мощность репутации для пользователей.',
+ 'RS_TOTAL_POSTS' => 'Увеличивает мощность с количеством сообщений',
+ 'RS_TOTAL_POSTS_EXPLAIN' => 'Пользователь получит 1 мощность репутации за каждое X количество сообщений, установленных здесь.',
+ 'RS_MEMBERSHIP_DAYS' => 'Увеличивает мощность по сроку регистрации пользователя',
+ 'RS_MEMBERSHIP_DAYS_EXPLAIN' => 'Пользователь получит 1 мощность репутации за каждое X количество дней, установленных здесь.',
+ 'RS_POWER_REP_POINT' => 'Увеличивает мощность в завимисомти от репутации',
+ 'RS_POWER_REP_POINT_EXPLAIN' => 'Пользователь получит 1 мощность репутации за каждое X количество баллов репутации, установленных здесь.',
+ 'RS_LOSE_POWER_WARN' => 'Потеря мощности из-за предупреждений',
+ 'RS_LOSE_POWER_WARN_EXPLAIN' => 'Каждое предупреждение снижает силу репутации на указанное количество баллов. Предупреждения истекают в соответствии с настройками в Общие -> Конфигурация -> Настройки конференции.',
+
+ // Toplist
+ 'RS_ENABLE_TOPLIST' => 'Включить Топлист',
+ 'RS_ENABLE_TOPLIST_EXPLAIN' => 'Отображение списка пользователей с наибольшим количеством баллов репутации на главной странице.',
+ 'RS_TOPLIST_DIRECTION' => 'Направление списка',
+ 'RS_TOPLIST_DIRECTION_EXPLAIN' => 'Отображение пользователей в списке в горизонтальном или вертикальном направлении.',
+ 'RS_TL_HORIZONTAL' => 'Горизонтально',
+ 'RS_TL_VERTICAL' => 'Вертикально',
+ 'RS_TOPLIST_NUM' => 'Количество пользователей для отображения',
+ 'RS_TOPLIST_NUM_EXPLAIN' => 'Количество пользователей, отображаемых в топлисте.',
+
+ // Rate module
+ 'POINTS_INVALID' => 'Поле баллов должно содержать только цифры.',
+ 'RS_VOTE_SAVED' => 'Ваш голос был успешно сохранен',
+));
diff --git a/language/ru/reputation_common.php b/language/ru/reputation_common.php
new file mode 100644
index 0000000..1b83a68
--- /dev/null
+++ b/language/ru/reputation_common.php
@@ -0,0 +1,59 @@
+ 'Репутация',
+
+ 'RS_DISABLED' => 'Извините, но администратор отключил эту функцию.',
+
+ 'RS_COMMENT' => 'Комментарий',
+ 'RS_POINTS' => 'Оценка',
+
+ 'RS_POST_REPUTATION' => 'Репутация сообщения',
+ 'RS_POST_RATED' => 'Вы уже оценивали это сообщение',
+ 'RS_RATE_POST_POSITIVE' => 'Положительно оценить сообщение',
+ 'RS_RATE_POST_NEGATIVE' => 'Отрицательно оценить сообщение',
+ 'RS_RATE_USER' => 'Оценить пользователя',
+ 'RS_VIEW_DETAILS' => 'Посмотреть подробности',
+
+ 'NOTIFICATION_TYPE_REPUTATION' => 'Кто-то изменил вам репутацию',
+ 'NOTIFICATION_RATE_POST_POSITIVE' => 'Получена положительная оценка сообщения от пользователя %s',
+ 'NOTIFICATION_RATE_POST_NEGATIVE' => 'Получена отрицательная оценка сообщения от пользователя %s',
+ 'NOTIFICATION_RATE_USER' => 'Оценен %s',
+));
diff --git a/language/ru/reputation_rating.php b/language/ru/reputation_rating.php
new file mode 100644
index 0000000..7f58a2d
--- /dev/null
+++ b/language/ru/reputation_rating.php
@@ -0,0 +1,66 @@
+ 'Вы не можете так скоро изменить репутацию. Повторите попытку позже.',
+ 'RS_COMMENT_TOO_LONG' => 'Ваш комментарий слишком длинный: %1$s символов. Максимальное количество символов: %2$s.',
+ 'RS_NEGATIVE' => 'Отрицательная',
+ 'RS_NO_COMMENT' => 'Поле комментария не должно быть пустым.',
+ 'RS_NO_POST' => 'Такое сообщение отсутствует.',
+ 'RS_NO_POWER' => 'Ваша мощность репутации слишком низкая.',
+ 'RS_NO_POWER_LEFT' => 'Недостаточно очков мощности репутации. Подождите, пока они не обновятся. Ваша мощность репутации %s',
+ 'RS_NO_USER_ID' => 'Запрошенный пользователь не существует.',
+ 'RS_POSITIVE' => 'Положительная',
+ 'RS_POST_RATING' => 'Оценка сообщения',
+ 'RS_RATE_BUTTON' => 'Оценка',
+ 'RS_SAME_POST' => 'Вы уже оценили это сообщение. Вы дали %s баллов репутации.',
+ 'RS_SAME_USER' => 'Вы уже оценили этого пользователя.',
+ 'RS_SELF' => 'Вы не можете изменить репутацию самому себе.',
+ 'RS_USER_ANONYMOUS' => 'Вы не можете изменять репутацию анонимным пользователям.',
+ 'RS_USER_BANNED' => 'Вы не можете изменять репутацию заблокированным пользователям.',
+ 'RS_USER_CANNOT_DELETE' => 'У вас недостаточно прав для удаления этой репутации.',
+ 'RS_USER_DISABLED' => 'Вы не можете изменять репутацию.',
+ 'RS_USER_GAP' => 'Вы не можете изменять репутацию пользователю так быстро. Вы можете попытаться снова через %s.',
+ 'RS_USER_NEGATIVE' => 'Вы не можете изменять репутацию в отрицательную сторону. Ваша репутацию должна быть выше %s.',
+ 'RS_USER_RATING' => 'Оценка пользователя',
+ 'RS_VIEW_DISALLOWED' => 'Вы не можете просматривать баллы репутации.',
+ 'RS_VOTE_POWER_LEFT_OF_MAX' => 'Осталось %1$d баллов мощности репутации из %2$d. Максимум за голосование: %3$d',
+ 'RS_VOTE_SAVED' => 'Голосование сохранено',
+ 'RS_WARNING_RATING' => 'Предупреждение',
+));
diff --git a/language/ru/reputation_system.php b/language/ru/reputation_system.php
new file mode 100644
index 0000000..382ef61
--- /dev/null
+++ b/language/ru/reputation_system.php
@@ -0,0 +1,117 @@
+ 'Система репутации',
+
+ 'RS_ACTION' => 'Действие',
+ 'RS_DATE' => 'Дата',
+ 'RS_DETAILS' => 'Сведения о репутации пользователя',
+ 'RS_FROM' => 'От',
+ 'RS_LIST' => 'Список баллов репутации пользователя',
+ 'RS_POST_COUNT' => 'За сообщения',
+ 'RS_POST_REPUTATION' => 'Репутация сообщения',
+ 'RS_USER_COUNT' => 'От пользователей',
+ 'RS_POSITIVE_COUNT' => 'Положительные',
+ 'RS_NEGATIVE_COUNT' => 'Отрицательные',
+ 'RS_STATS' => 'Статистика',
+ 'RS_WEEK' => 'Последняя неделя',
+ 'RS_MONTH' => 'Последний месяц',
+ 'RS_6MONTHS' => 'Последние 6 месяцев',
+ 'RS_POINT' => 'Балл',
+ 'RS_POINTS_TITLE' => array(
+ 1 => 'Балл: %d',
+ 2 => 'Баллы: %d',
+ 5 => 'Баллов: %d',
+ ),
+ 'RS_POST_DELETE' => 'Сообщение удалено',
+ 'RS_POWER' => 'Мощность репутации',
+ 'RS_TIME' => 'Время',
+ 'RS_TO' => 'кому',
+ 'RS_TO_USER' => 'Кому',
+ 'RS_VOTING_POWER' => 'Оставшиется очки мощности',
+
+ 'RS_EMPTY_DATA' => 'Больше нет баллов репутации.',
+ 'RS_NA' => 'н/д',
+ 'RS_NO_ID' => 'Нет ID',
+ 'RS_NO_REPUTATION' => 'Нет такой репутации.',
+
+ 'NO_REPUTATION_SELECTED' => 'Вы не выбрали балл репутации.',
+
+ 'RS_REPUTATION_DELETE_CONFIRM' => 'Вы действительно хотите удалить эту репутацию?',
+ 'RS_REPUTATIONS_DELETE_CONFIRM' => 'Вы действительно хотите удалить эту репутацию?',
+ 'RS_POINTS_DELETED' => array(
+ 1 => 'Репутация была удалена.',
+ 2 => 'Репутации были удалены.',
+ ),
+
+ 'RS_CLEAR_POST' => 'Очистить репутацию сообщения',
+ 'RS_CLEAR_POST_CONFIRM' => 'Вы действительно хотите удалить все отметки репутации для этой записи?',
+ 'RS_CLEARED_POST' => 'Репутация сообщения была очищена.',
+ 'RS_CLEAR_USER' => 'Очистить репутацию пользователя',
+ 'RS_CLEAR_USER_CONFIRM' => 'Вы действительно хотите удалить все отметки репутации для этого пользователя?',
+ 'RS_CLEARED_USER' => 'Репутация пользователя была очищена.',
+
+ 'RS_LATEST_REPUTATIONS' => 'Последняя репутация',
+ 'LIST_REPUTATIONS' => array(
+ 1 => '%d репутация',
+ 2 => '%d репутации',
+ ),
+ 'ALL_REPUTATIONS' => 'Вся репутация',
+
+ 'RS_NEW_REPUTATIONS' => 'Новые баллы репутации',
+ 'RS_NEW_REP' => 'Вы получили 1 новый комментарий репутации',
+ 'RS_NEW_REPS' => 'Вы получили %s новых комментариев репутации',
+ 'RS_CLICK_TO_VIEW' => 'Перейти к полученным баллам',
+
+ 'RS_MORE_DETAILS' => '» подробности',
+
+ 'RS_USER_REPUTATION' => 'Репутация пользователя %s',
+
+ 'RS_VOTE_POWER_LEFT' => '%1$d из %2$d',
+
+ 'RS_POWER_DETAILS' => 'Как высчитывается мощность репутации',
+ 'RS_POWER_DETAIL_AGE' => 'По дате регистрации',
+ 'RS_POWER_DETAIL_POSTS' => 'По количеству сообщений',
+ 'RS_POWER_DETAIL_REPUTATION' => 'По репутации',
+ 'RS_POWER_DETAIL_WARNINGS' => 'По предупреждениям',
+ 'RS_POWER_DETAIL_MIN' => 'Минимальная мощность репутации для всех пользователей',
+ 'RS_POWER_DETAIL_MAX' => 'Мощность репутации ограничена максимально допустимой',
+ 'RS_POWER_DETAIL_GROUP_POWER' => 'Мощность репутации, основанная на группе пользователей',
+ 'RS_GROUP_POWER' => 'Мощность репутации, основанная на группе пользователей',
+));
diff --git a/language/ru/reputation_toplist.php b/language/ru/reputation_toplist.php
new file mode 100644
index 0000000..278925c
--- /dev/null
+++ b/language/ru/reputation_toplist.php
@@ -0,0 +1,47 @@
+ 'Топлист репутации',
+ 'RS_TOPLIST_EXPLAIN' => 'Самые популярные пользователи',
+
+ 'RS_NO_USERS' => 'отсутствуют пользователи для отображения',
+
+ 'RS_NEW_LINE' => ' ',
+));
diff --git a/language/ru/reputation_warning.php b/language/ru/reputation_warning.php
new file mode 100644
index 0000000..451c96e
--- /dev/null
+++ b/language/ru/reputation_warning.php
@@ -0,0 +1,50 @@
+ 'Очки репутации за предупреждения',
+ 'MCP_RS_ADD_WARNING_EXPLAIN' => 'Вы можете дать отрицательные баллы репутации этому пользователю за плохое поведение и т.д. Это будет работать, только если вы поставили галочку ниже.',
+ 'MCP_RS_ADD_REPUTATION' => 'Добавить репутацию',
+
+ 'MCP_RS_POINTS' => array(
+ 1 => '-%d балл',
+ 2 => '-%d баллы',
+ 5 => '-%d баллов',
+ ),
+));
diff --git a/notification/type/rate_post_positive.php b/notification/type/rate_post_positive.php
index 56d2d0c..0fb4582 100644
--- a/notification/type/rate_post_positive.php
+++ b/notification/type/rate_post_positive.php
@@ -19,6 +19,66 @@
class rate_post_positive extends \phpbb\notification\type\base
{
/**
+ * @var \phpbb\controller\helper
+ */
+ protected $helper;
+
+ /**
+ * @var \phpbb\user_loader
+ */
+ protected $user_loader;
+
+ /**
+ * Set the controller helper
+ *
+ * @param \phpbb\controller\helper $helper
+ *
+ * @return void
+ */
+ public function set_controller_helper(\phpbb\controller\helper $helper)
+ {
+ $this->helper = $helper;
+ }
+
+ public function set_user_loader(\phpbb\user_loader $user_loader)
+ {
+ $this->user_loader = $user_loader;
+ }
+
+ /**
+ * Notification Type Boardrules Constructor
+ *
+ * @param \phpbb\db\driver\driver_interface $db
+ * @param \phpbb\language\language $language
+ * @param \phpbb\user $user
+ * @param \phpbb\auth\auth $auth
+ * @param string $phpbb_root_path
+ * @param string $php_ext
+ * @param string $user_notifications_table
+ * @param \phpbb\user_loader $user_loader
+ * @param \phpbb\cache\driver\driver_interface $cache
+ * @param \phpbb\config\config $config
+ * @param string $notification_types_table
+ * @param string $notifications_table
+ * @return \phpbb\boardrules\notification\boardrules
+ */
+ public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\language\language $language, \phpbb\user $user, \phpbb\auth\auth $auth, $phpbb_root_path, $php_ext, $user_notifications_table, \phpbb\cache\driver\driver_interface $cache, \phpbb\config\config $config, $notification_types_table, $notifications_table)
+ {
+ parent::__construct($db, $language, $user, $auth, $phpbb_root_path, $php_ext, $user_notifications_table);
+
+ $this->notifications_table = $notifications_table;
+ $this->notification_types_table = $notification_types_table;
+ $this->user_notifications_table = $user_notifications_table;
+ $this->db = $db;
+ $this->cache = $cache;
+ $this->user = $user;
+ $this->auth = $auth;
+ $this->config = $config;
+ $this->phpbb_root_path = $phpbb_root_path;
+ $this->php_ext = $php_ext;
+ }
+
+ /**
* Get notification type name
*
* @return string
@@ -87,46 +147,13 @@ public static function get_item_parent_id($data)
*/
public function find_users_for_notification($data, $options = array())
{
- $options = array_merge(array(
- 'ignore_users' => array(),
- ), $options);
- $users = array((int) $data['user_id_to']);
-
- $notify_users = $this->check_user_notification_options($users, $options);
-
- // Try to find the users who already have been notified about replies and have not read the topic since and just update their notifications
- $sql = 'SELECT n.*
- FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt
- WHERE n.notification_type_id = ' . (int) $this->notification_type_id . '
- AND n.item_parent_id = ' . (int) self::get_item_parent_id($data) . '
- AND n.notification_read = 0
- AND nt.notification_type_id = n.notification_type_id
- AND nt.notification_type_enabled = 1';
- $result = $this->db->sql_query($sql);
- while ($row = $this->db->sql_fetchrow($result))
+ $users = array();
+ $data['user_id_to'] = (!is_array($data['user_id_to'])) ? array($data['user_id_to']) : $data['user_id_to'];
+ foreach ($data['user_id_to'] as $user_id)
{
- $row_data = unserialize($row['notification_data']);
-
- // Compare post id
- if ($row_data['post_id'] == $data['post_id'])
- {
- // Do not create a new notification
- unset($notify_users[$row['user_id']]);
-
- $notification = $this->notification_manager->get_item_type_class($this->get_type(), $row);
- $update_voting_users = $notification->add_voting_users($data);
- if (!empty($update_voting_users))
- {
- $sql = 'UPDATE ' . $this->notifications_table . '
- SET ' . $this->db->sql_build_array('UPDATE', $update_voting_users) . '
- WHERE notification_id = ' . $row['notification_id'];
- $this->db->sql_query($sql);
- }
- }
+ $users[$user_id] = $this->notification_manager->get_default_methods();
}
- $this->db->sql_freeresult($result);
-
- return $notify_users;
+ return $users;
}
/**
@@ -201,6 +228,7 @@ public function get_title()
return $this->user->lang(
$this->language_key,
phpbb_generate_string_list($usernames, $this->user),
+ censor_text($this->get_data('post_subject')),
$trimmed_voting_users_cnt
);
}
@@ -212,9 +240,12 @@ public function get_title()
*/
public function get_reference()
{
+ if (empty($this->get_data('comment'))) {
+ return null;
+ }
return $this->user->lang(
'NOTIFICATION_REFERENCE',
- censor_text($this->get_data('post_subject'))
+ censor_text($this->get_data('comment'))
);
}
@@ -278,8 +309,9 @@ public function create_insert_array($data, $pre_create_data = array())
$this->set_data('user_id_from', $data['user_id_from']);
$this->set_data('post_id', $data['post_id']);
$this->set_data('post_subject', $data['post_subject']);
+ $this->set_data('comment', $data['comment']);
- return parent::create_insert_array($data, $pre_create_data);
+ parent::create_insert_array($data, $pre_create_data);
}
/**
diff --git a/notification/type/rate_user.php b/notification/type/rate_user.php
index e77e09e..e28de30 100644
--- a/notification/type/rate_user.php
+++ b/notification/type/rate_user.php
@@ -18,40 +18,64 @@
*/
class rate_user extends \phpbb\notification\type\base
{
- /** @var \phpbb\controller\helper */
- protected $helper;
+ /**
+ * @var \phpbb\controller\helper
+ */
+ protected $helper;
+
+ /**
+ * @var \phpbb\user_loader
+ */
+ protected $user_loader;
+
+ /**
+ * Set the controller helper
+ *
+ * @param \phpbb\controller\helper $helper
+ *
+ * @return void
+ */
+ public function set_controller_helper(\phpbb\controller\helper $helper)
+ {
+ $this->helper = $helper;
+ }
+
+ public function set_user_loader(\phpbb\user_loader $user_loader)
+ {
+ $this->user_loader = $user_loader;
+ }
/**
* Notification Type Boardrules Constructor
*
- * @param \phpbb\user_loader $user_loader
* @param \phpbb\db\driver\driver_interface $db
- * @param \phpbb\cache\driver\driver_interface $cache
+ * @param \phpbb\language\language $language
* @param \phpbb\user $user
* @param \phpbb\auth\auth $auth
- * @param \phpbb\config\config $config
- * @param \phpbb\controller\helper $helper
* @param string $phpbb_root_path
* @param string $php_ext
+ * @param string $user_notifications_table
+ * @param \phpbb\user_loader $user_loader
+ * @param \phpbb\cache\driver\driver_interface $cache
+ * @param \phpbb\config\config $config
* @param string $notification_types_table
* @param string $notifications_table
- * @param string $user_notifications_table
* @return \phpbb\boardrules\notification\boardrules
*/
- public function __construct(\phpbb\user_loader $user_loader, \phpbb\db\driver\driver_interface $db, \phpbb\cache\driver\driver_interface $cache, $user, \phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\controller\helper $helper, $phpbb_root_path, $php_ext, $notification_types_table, $notifications_table, $user_notifications_table)
+ public function __construct(\phpbb\db\driver\driver_interface $db, \phpbb\language\language $language, \phpbb\user $user, \phpbb\auth\auth $auth, $phpbb_root_path, $php_ext, $user_notifications_table, \phpbb\cache\driver\driver_interface $cache, \phpbb\config\config $config, $notification_types_table, $notifications_table)
{
- $this->user_loader = $user_loader;
+ parent::__construct($db, $language, $user, $auth, $phpbb_root_path, $php_ext, $user_notifications_table);
+
+ $this->notifications_table = $notifications_table;
+ $this->notification_types_table = $notification_types_table;
+ $this->user_notifications_table = $user_notifications_table;
$this->db = $db;
$this->cache = $cache;
$this->user = $user;
$this->auth = $auth;
$this->config = $config;
- $this->helper = $helper;
$this->phpbb_root_path = $phpbb_root_path;
$this->php_ext = $php_ext;
- $this->notification_types_table = $notification_types_table;
- $this->notifications_table = $notifications_table;
- $this->user_notifications_table = $user_notifications_table;
}
/**
@@ -123,43 +147,13 @@ public static function get_item_parent_id($data)
*/
public function find_users_for_notification($data, $options = array())
{
- $options = array_merge(array(
- 'ignore_users' => array(),
- ), $options);
- $users = array((int) $data['user_id_to']);
-
- $notify_users = $this->check_user_notification_options($users, $options);
-
- // Try to find the users who already have been notified about replies and have not read the topic since and just update their notifications
- $sql = 'SELECT n.*
- FROM ' . $this->notifications_table . ' n, ' . $this->notification_types_table . ' nt
- WHERE n.notification_type_id = ' . (int) $this->notification_type_id . '
- AND n.item_parent_id = ' . (int) self::get_item_parent_id($data) . '
- AND n.notification_read = 0
- AND n.user_id = ' . $data['user_id_to'] . '
- AND nt.notification_type_id = n.notification_type_id
- AND nt.notification_type_enabled = 1';
- $result = $this->db->sql_query($sql);
- while ($row = $this->db->sql_fetchrow($result))
+ $users = array();
+ $data['user_id_to'] = (!is_array($data['user_id_to'])) ? array($data['user_id_to']) : $data['user_id_to'];
+ foreach ($data['user_id_to'] as $user_id)
{
- $row_data = unserialize($row['notification_data']);
-
- // Do not create a new notification
- unset($notify_users[$row['user_id']]);
-
- $notification = $this->notification_manager->get_item_type_class($this->get_type(), $row);
- $update_responders = $notification->add_voting_users($data);
- if (!empty($update_responders))
- {
- $sql = 'UPDATE ' . $this->notifications_table . '
- SET ' . $this->db->sql_build_array('UPDATE', $update_responders) . '
- WHERE notification_id = ' . $row['notification_id'];
- $this->db->sql_query($sql);
- }
+ $users[$user_id] = $this->notification_manager->get_default_methods();
}
- $this->db->sql_freeresult($result);
-
- return $notify_users;
+ return $users;
}
/**
@@ -191,7 +185,7 @@ public function users_to_query()
*/
public function get_avatar()
{
- return $this->user_loader->get_avatar($this->get_data('user_id_from'));
+ return '';//$this->user_loader->get_avatar($this->get_data('user_id_from'));
}
/**
@@ -219,7 +213,7 @@ public function get_title()
foreach ($voting_users as $voting_user)
{
- $usernames[] = $this->user_loader->get_username($voting_user['user_id_from'], 'no_profile');
+ $usernames[] = '';//$this->user_loader->get_username($voting_user['user_id_from'], 'no_profile');
}
if ($trimmed_voting_users_cnt > 20)
@@ -297,7 +291,7 @@ public function create_insert_array($data, $pre_create_data = array())
{
$this->set_data('user_id_from', $data['user_id_from']);
- return parent::create_insert_array($data, $pre_create_data);
+ parent::create_insert_array($data, $pre_create_data);
}
/**
diff --git a/styles/prosilver/template/details.html b/styles/prosilver/template/details.html
index 4a19ef9..afa8003 100644
--- a/styles/prosilver/template/details.html
+++ b/styles/prosilver/template/details.html
@@ -19,18 +19,18 @@
-
\ No newline at end of file
+
diff --git a/styles/prosilver/template/event/memberlist_view_user_statistics_after.html b/styles/prosilver/template/event/memberlist_view_user_statistics_after.html
index 6db8251..fc57aa3 100644
--- a/styles/prosilver/template/event/memberlist_view_user_statistics_after.html
+++ b/styles/prosilver/template/event/memberlist_view_user_statistics_after.html
@@ -1,3 +1,3 @@
-
\ No newline at end of file
diff --git a/styles/prosilver/template/event/overall_header_head_append.html b/styles/prosilver/template/event/overall_header_head_append.html
index ea58efb..cd8d32c 100644
--- a/styles/prosilver/template/event/overall_header_head_append.html
+++ b/styles/prosilver/template/event/overall_header_head_append.html
@@ -1,6 +1,6 @@
-
+
-
+
-
\ No newline at end of file
+
diff --git a/styles/prosilver/template/event/viewtopic_body_post_buttons_before.html b/styles/prosilver/template/event/viewtopic_body_post_buttons_before.html
index c970073..5ecf910 100644
--- a/styles/prosilver/template/event/viewtopic_body_post_buttons_before.html
+++ b/styles/prosilver/template/event/viewtopic_body_post_buttons_before.html
@@ -1,19 +1,23 @@
-
\ No newline at end of file
+
diff --git a/styles/prosilver/template/event/viewtopic_body_postrow_custom_fields_before.html b/styles/prosilver/template/event/viewtopic_body_postrow_custom_fields_before.html
index 855bc3d..f86b21e 100644
--- a/styles/prosilver/template/event/viewtopic_body_postrow_custom_fields_before.html
+++ b/styles/prosilver/template/event/viewtopic_body_postrow_custom_fields_before.html
@@ -1,3 +1,3 @@
-
-
\ No newline at end of file
+
diff --git a/styles/prosilver/template/userdetails.html b/styles/prosilver/template/userdetails.html
index fd87154..45edc47 100644
--- a/styles/prosilver/template/userdetails.html
+++ b/styles/prosilver/template/userdetails.html
@@ -18,14 +18,18 @@