! [Tally plugin] Use US-English spelling by default but also provide UK-English language files.
gruffen

gruffen commited on 2011-07-08 01:23:18
Showing 5 changed files, with 103 additions and 1 deletions.

... ...
@@ -0,0 +1,32 @@
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.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_tally'] = 'Tally Custom Fields';
24
+$txt['shdp_tally_desc'] = 'This plugin can automatically tally up the totals of custom fields for you.';
25
+
26
+$txt['shdp_tally_totals'] = 'Totaled Values';
27
+
28
+$txt['shdp_tally_include_ticket'] = 'When totalling the values, include the value for the ticket (instead of only from replies)';
29
+$txt['shdp_tally_field_list'] = 'Which custom fields does this apply to?';
30
+$txt['shdp_tally_no_fields'] = 'You do not have any custom fields set up that can be used (only integer and floating-point fields can be used';
31
+
32
+?>
0 33
\ No newline at end of file
... ...
@@ -23,7 +23,7 @@
23 23
 $txt['shdp_tally'] = 'Tally Custom Fields';
24 24
 $txt['shdp_tally_desc'] = 'This plugin can automatically tally up the totals of custom fields for you.';
25 25
 
26
-$txt['shdp_tally_totals'] = 'Totalled Values';
26
+$txt['shdp_tally_totals'] = 'Totaled Values';
27 27
 
28 28
 $txt['shdp_tally_include_ticket'] = 'When totalling the values, include the value for the ticket (instead of only from replies)';
29 29
 $txt['shdp_tally_field_list'] = 'Which custom fields does this apply to?';
... ...
@@ -0,0 +1,32 @@
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.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_tally'] = 'Tally Custom Fields';
24
+$txt['shdp_tally_desc'] = 'This plugin can automatically tally up the totals of custom fields for you.';
25
+
26
+$txt['shdp_tally_totals'] = 'Totalled Values';
27
+
28
+$txt['shdp_tally_include_ticket'] = 'When totalling the values, include the value for the ticket (instead of only from replies)';
29
+$txt['shdp_tally_field_list'] = 'Which custom fields does this apply to?';
30
+$txt['shdp_tally_no_fields'] = 'You do not have any custom fields set up that can be used (only integer and floating-point fields can be used';
31
+
32
+?>
0 33
\ No newline at end of file
... ...
@@ -0,0 +1,32 @@
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.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_tally'] = 'Tally Custom Fields';
24
+$txt['shdp_tally_desc'] = 'This plugin can automatically tally up the totals of custom fields for you.';
25
+
26
+$txt['shdp_tally_totals'] = 'Totalled Values';
27
+
28
+$txt['shdp_tally_include_ticket'] = 'When totalling the values, include the value for the ticket (instead of only from replies)';
29
+$txt['shdp_tally_field_list'] = 'Which custom fields does this apply to?';
30
+$txt['shdp_tally_no_fields'] = 'You do not have any custom fields set up that can be used (only integer and floating-point fields can be used';
31
+
32
+?>
0 33
\ 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="SDPluginTally.english.php" destination="$languagedir" />
10
+		<require-file name="SDPluginTally.english-utf8.php" destination="$languagedir" />
11
+		<require-file name="SDPluginTally.english_british.php" destination="$languagedir" />
12
+		<require-file name="SDPluginTally.english_british-utf8.php" destination="$languagedir" />
10 13
 		<require-dir name="tally" destination="$sourcedir/sd_plugins_source" />
11 14
 		
12 15
 		<redirect url="?action=admin;area=helpdesk_plugins#js_feature_tally" />
... ...
@@ -14,6 +17,9 @@
14 17
 
15 18
 	<uninstall for="2.0">
16 19
 		<remove-file name="$languagedir/SDPluginTally.english.php" />
20
+		<remove-file name="$languagedir/SDPluginTally-utf8.english.php" />
21
+		<remove-file name="$languagedir/SDPluginTally_british.english.php" />
22
+		<remove-file name="$languagedir/SDPluginTally_british-utf8.english.php" />
17 23
 		<remove-dir name="$sourcedir/sd_plugins_source/tally" />
18 24
 	</uninstall>
19 25
 </package-info>
20 26
\ No newline at end of file
21 27