! Integrate SimpleDesk with the language editor much better than it was before.
gruffen

gruffen commited on 2011-05-27 07:34:07
Showing 2 changed files, with 18 additions and 0 deletions.

... ...
@@ -263,4 +263,14 @@ require_once($sourcedir . '/sd_source/SimpleDesk-SSI.php');]]></add>
263 263
 		</operation>
264 264
 	</file>
265 265
 
266
+	<file name="$sourcedir/ManageServer.php"><!-- Language file handling -->
267
+		<operation>
268
+			<search position="after"><![CDATA[	// Check we have themes with a path and a name - just in case - and add the path.]]></search>
269
+			<add><![CDATA[	// Add SimpleDesk to the list of possible places to look.
270
+	$themes['shd'] = array('name' => 'SimpleDesk', 'theme_dir' => $settings['default_theme_dir'] . '/languages/sd_language');
271
+	$lang_dirs['shd'] = $settings['default_theme_dir'] . '/languages/sd_language';
272
+
273
+]]></add>
274
+		</operation>
275
+	</file>
266 276
 </modification>
267 277
\ No newline at end of file
... ...
@@ -42,6 +42,14 @@ $txt['errortype_sdplugin'] = 'SimpleDesk Plugin';
42 42
 $txt['errortype_sdplugin_desc'] = 'Errors most likely related to a SimpleDesk plugin. The file name should generally indicate the plugin, so you can check to see who the author is.';
43 43
 $txt['scheduled_task_simpledesk'] = 'SimpleDesk daily maintenance';
44 44
 $txt['scheduled_task_desc_simpledesk'] = 'Maintenance tasks and internal processing to be run daily for SimpleDesk. It is strongly not advised to disable this task.';
45
+
46
+$txt['lang_file_desc_SimpleDesk'] = 'Main helpdesk';
47
+$txt['lang_file_desc_SimpleDeskAdmin'] = 'Helpdesk Administration';
48
+$txt['lang_file_desc_SimpleDeskLogAction'] = 'Action Log Entries';
49
+$txt['lang_file_desc_SimpleDeskNotifications'] = 'Email Notifications';
50
+$txt['lang_file_desc_SimpleDeskPermissions'] = 'Permissions';
51
+$txt['lang_file_desc_SimpleDeskProfile'] = 'Profile Area';
52
+$txt['lang_file_desc_SimpleDeskWho'] = 'Who\'s Online';
45 53
 //@}
46 54
 
47 55
 //! @name Items for the administration menu structure
48 56