! [Report to Helpdesk plugin] Ensured there are US + UK language files, and in both ISO and UTF-8 encoding.
gruffen

gruffen commited on 2011-08-21 15:05:20
Showing 4 changed files, with 123 additions and 0 deletions.

... ...
@@ -0,0 +1,39 @@
1
+<?php
2
+###############################################################################
3
+#           Simple Desk Project - www.simpledesk.net                          #
4
+###############################################################################
5
+#         An advanced help desk modifcation built on SMF                      #
6
+###############################################################################
7
+#                                                                             #
8
+#         * Copyright 2010 - SimpleDesk.net                                   #
9
+#                                                                             #
10
+#   This file and its contents are subject to the license                     #
11
+#   included with this distribution, license.txt, which                       #
12
+#   states that this software is New BSD Licensed.                            #
13
+#   Any questions, please contact SimpleDesk.net                              #
14
+#                                                                             #
15
+###############################################################################
16
+# SimpleDesk Version: 2.0 Anatidae                                            #
17
+# File Info: SDPluginReportToHelpdesk.english-utf8.php / 2.0 Anatidae         #
18
+###############################################################################
19
+// Version: 2.0 Anatidae; SimpleDesk staff list plugin
20
+
21
+// Important! Before editing these language files please read the text at the top of index.english.php.
22
+
23
+$txt['shdp_report_to_helpdesk'] = 'Report to Helpdesk';
24
+$txt['shdp_report_to_helpdesk_desc'] = 'This plugin redirects reported posts to the helpdesk to be dealt with.';
25
+
26
+$txt['reported_post'] = 'Reported post';
27
+$txt['reported_body'] = 'The following post, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
28
+
29
+$txt['report_to_mod_func'] = 'Use this function to inform the moderators and administrators of an abusive or wrongly posted message.';
30
+
31
+$txt['report_normally'] = 'Do not direct reports to the helpdesk';
32
+$txt['report_posts_dept'] = 'Where should reported posts end up?';
33
+
34
+$txt['report_pms_dept'] = 'Where should reported private messages end up?';
35
+$txt['reported_pm'] = 'Reported private message';
36
+$txt['reported_pm_body_no_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
37
+$txt['reported_pm_body_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}, and had also been sent to: {recipients}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
38
+
39
+?>
0 40
\ No newline at end of file
... ...
@@ -0,0 +1,39 @@
1
+<?php
2
+###############################################################################
3
+#           Simple Desk Project - www.simpledesk.net                          #
4
+###############################################################################
5
+#         An advanced help desk modifcation built on SMF                      #
6
+###############################################################################
7
+#                                                                             #
8
+#         * Copyright 2010 - SimpleDesk.net                                   #
9
+#                                                                             #
10
+#   This file and its contents are subject to the license                     #
11
+#   included with this distribution, license.txt, which                       #
12
+#   states that this software is New BSD Licensed.                            #
13
+#   Any questions, please contact SimpleDesk.net                              #
14
+#                                                                             #
15
+###############################################################################
16
+# SimpleDesk Version: 2.0 Anatidae                                            #
17
+# File Info: SDPluginReportToHelpdesk.english_british-utf8.php / 2.0 Anatidae #
18
+###############################################################################
19
+// Version: 2.0 Anatidae; SimpleDesk staff list plugin
20
+
21
+// Important! Before editing these language files please read the text at the top of index.english.php.
22
+
23
+$txt['shdp_report_to_helpdesk'] = 'Report to Helpdesk';
24
+$txt['shdp_report_to_helpdesk_desc'] = 'This plugin redirects reported posts to the helpdesk to be dealt with.';
25
+
26
+$txt['reported_post'] = 'Reported post';
27
+$txt['reported_body'] = 'The following post, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
28
+
29
+$txt['report_to_mod_func'] = 'Use this function to inform the moderators and administrators of an abusive or wrongly posted message.';
30
+
31
+$txt['report_normally'] = 'Do not direct reports to the helpdesk';
32
+$txt['report_posts_dept'] = 'Where should reported posts end up?';
33
+
34
+$txt['report_pms_dept'] = 'Where should reported private messages end up?';
35
+$txt['reported_pm'] = 'Reported private message';
36
+$txt['reported_pm_body_no_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
37
+$txt['reported_pm_body_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}, and had also been sent to: {recipients}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
38
+
39
+?>
0 40
\ No newline at end of file
... ...
@@ -0,0 +1,39 @@
1
+<?php
2
+###############################################################################
3
+#           Simple Desk Project - www.simpledesk.net                          #
4
+###############################################################################
5
+#         An advanced help desk modifcation built on SMF                      #
6
+###############################################################################
7
+#                                                                             #
8
+#         * Copyright 2010 - SimpleDesk.net                                   #
9
+#                                                                             #
10
+#   This file and its contents are subject to the license                     #
11
+#   included with this distribution, license.txt, which                       #
12
+#   states that this software is New BSD Licensed.                            #
13
+#   Any questions, please contact SimpleDesk.net                              #
14
+#                                                                             #
15
+###############################################################################
16
+# SimpleDesk Version: 2.0 Anatidae                                            #
17
+# File Info: SDPluginReportToHelpdesk.english_british.php / 2.0 Anatidae      #
18
+###############################################################################
19
+// Version: 2.0 Anatidae; SimpleDesk staff list plugin
20
+
21
+// Important! Before editing these language files please read the text at the top of index.english.php.
22
+
23
+$txt['shdp_report_to_helpdesk'] = 'Report to Helpdesk';
24
+$txt['shdp_report_to_helpdesk_desc'] = 'This plugin redirects reported posts to the helpdesk to be dealt with.';
25
+
26
+$txt['reported_post'] = 'Reported post';
27
+$txt['reported_body'] = 'The following post, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
28
+
29
+$txt['report_to_mod_func'] = 'Use this function to inform the moderators and administrators of an abusive or wrongly posted message.';
30
+
31
+$txt['report_normally'] = 'Do not direct reports to the helpdesk';
32
+$txt['report_posts_dept'] = 'Where should reported posts end up?';
33
+
34
+$txt['report_pms_dept'] = 'Where should reported private messages end up?';
35
+$txt['reported_pm'] = 'Reported private message';
36
+$txt['reported_pm_body_no_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
37
+$txt['reported_pm_body_extra'] = 'The following message, "{subject}" by {author}, was reported by {reporter}, and had also been sent to: {recipients}' . "\n" . '---------------------------------------' . "\n" . '{body}' . "\n" . '---------------------------------------' . "\n\n" . 'The reason given was: ' . "\n" . '{comment}';
38
+
39
+?>
0 40
\ No newline at end of file
... ...
@@ -7,6 +7,9 @@
7 7
 	<type>sdplugin</type>
8 8
 	<install for="2.0">
9 9
 		<require-file name="SDPluginReportToHelpdesk.english.php" destination="$languagedir" />
10
+		<require-file name="SDPluginReportToHelpdesk.english-utf8.php" destination="$languagedir" />
11
+		<require-file name="SDPluginReportToHelpdesk.english_british.php" destination="$languagedir" />
12
+		<require-file name="SDPluginReportToHelpdesk.english_british-utf8.php" destination="$languagedir" />
10 13
 		<require-dir name="report_to_helpdesk" destination="$sourcedir/sd_plugins_source" />
11 14
 		
12 15
 		<redirect url="?action=admin;area=helpdesk_plugins#js_feature_report_to_helpdesk" />
... ...
@@ -14,6 +17,9 @@
14 17
 
15 18
 	<uninstall for="2.0">
16 19
 		<remove-file name="$languagedir/SDPluginReportToHelpdesk.english.php" />
20
+		<remove-file name="$languagedir/SDPluginReportToHelpdesk.english-utf8.php" />
21
+		<remove-file name="$languagedir/SDPluginReportToHelpdesk.english_british.php" />
22
+		<remove-file name="$languagedir/SDPluginReportToHelpdesk.english_british-utf8.php" />
17 23
 		<remove-dir name="$sourcedir/sd_plugins_source/report_to_helpdesk" />
18 24
 	</uninstall>
19 25
 </package-info>
20 26
\ No newline at end of file
21 27