From ff2990ab9ca91c5d2a6435e38feb661b634bdd76 Mon Sep 17 00:00:00 2001 From: Michael de Raadt Date: Thu, 20 Feb 2014 15:01:56 +0800 Subject: [PATCH] MDL-41266 improve log store strings --- .../database/lang/en/logstore_database.php | 18 +++++++++--------- .../store/legacy/lang/en/logstore_legacy.php | 6 +++--- .../standard/lang/en/logstore_standard.php | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/admin/tool/log/store/database/lang/en/logstore_database.php b/admin/tool/log/store/database/lang/en/logstore_database.php index 64c1d895ca7..dc775e09219 100644 --- a/admin/tool/log/store/database/lang/en/logstore_database.php +++ b/admin/tool/log/store/database/lang/en/logstore_database.php @@ -23,25 +23,25 @@ */ $string['buffersize'] = 'Buffer size'; -$string['buffersize_help'] = 'Batch specified number of logs insert together. This improves performance greatly.'; -$string['conectexception'] = 'Can not connect to the dabtase.'; +$string['buffersize_help'] = 'Number of log entries inserted in one batch database operation, which improves performance.'; +$string['conectexception'] = 'Cannot connect to the database.'; $string['create'] = 'Create'; $string['databasesettings'] = 'Database settings'; -$string['databasesettings_help'] = 'Database connection details of the external database where the logs need to be stored. {$a}'; -$string['databasepersist'] = 'Persist database connection'; +$string['databasesettings_help'] = 'Connection details for the external log database: {$a}'; +$string['databasepersist'] = 'Persistent database connections'; $string['databaseschema'] = 'Database schema'; $string['databasecollation'] = 'Database collation'; $string['databasetable'] = 'Database table'; -$string['databasetable_help'] = 'Name of table where to store the logs. This should have structure identical to the one generated by logstore_standard'; -$string['excludeactions'] = 'Exclude actions of type'; -$string['excludelevels'] = 'Exclude actions with education level'; +$string['databasetable_help'] = 'Name of the table where logs will be stored. This table should have a structure identical to the one used by logstore_standard (mdl_logstore_standard_log).'; +$string['excludeactions'] = 'Exclude actions of these types'; +$string['excludelevels'] = 'Exclude actions with these educational levels'; $string['filters'] = 'Filter logs'; -$string['filters_help'] = 'Enable specific filters to exculde some log actions from being stored in the database.'; +$string['filters_help'] = 'Enable filters that exclude some actions from being logged.'; $string['logguests'] = 'Log guest actions'; $string['other'] = 'Other'; $string['participating'] = 'Participating'; $string['pluginname'] = 'External database log'; -$string['pluginname_desc'] = 'External database log plugin, the data is stored in external database table.'; +$string['pluginname_desc'] = 'A log plugin that stores log entries in an external database table.'; $string['read'] = 'Read'; $string['tablenotfound'] = 'Specified table was not found'; $string['teaching'] = 'Teaching'; diff --git a/admin/tool/log/store/legacy/lang/en/logstore_legacy.php b/admin/tool/log/store/legacy/lang/en/logstore_legacy.php index 391eeb444c9..4cf386218ab 100644 --- a/admin/tool/log/store/legacy/lang/en/logstore_legacy.php +++ b/admin/tool/log/store/legacy/lang/en/logstore_legacy.php @@ -22,9 +22,9 @@ * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ -$string['event_legacy_logged'] = 'Legacy event'; +$string['event_legacy_logged'] = 'Legacy event logged'; $string['legacy:read'] = 'Read logs'; $string['loglegacy'] = 'Log legacy data'; -$string['loglegacy_help'] = 'Add new records to the legacy log table. It is recommended to disable this for performance reasons.'; +$string['loglegacy_help'] = 'This plugin records log data to the legacy log table (mdl_log). This functionality has been replaced by newer, richer and more efficient logging plugins, so you should only run this plugin if you have old custom reports that directly query the old log table. Writing to the legacy logs will increase load, so it is recommended that you disable this plugin for performance reasons when it is not needed.'; $string['pluginname'] = 'Legacy log'; -$string['pluginname_desc'] = 'Legacy log plugin, it can be used for reading of legacy log data stored in mdl_log table.'; +$string['pluginname_desc'] = 'A log plugin that stores log entries in the legacy log table.'; \ No newline at end of file diff --git a/admin/tool/log/store/standard/lang/en/logstore_standard.php b/admin/tool/log/store/standard/lang/en/logstore_standard.php index c31967f6a7b..4276fa7a680 100644 --- a/admin/tool/log/store/standard/lang/en/logstore_standard.php +++ b/admin/tool/log/store/standard/lang/en/logstore_standard.php @@ -24,5 +24,5 @@ $string['buffersize'] = 'Write buffer size'; $string['pluginname'] = 'Standard log'; -$string['pluginname_desc'] = 'Standard log plugin, the data is stored in Moodle database table.'; +$string['pluginname_desc'] = 'A log plugin stores log entries in a Moodle database table.'; $string['standard:read'] = 'Read logs';