Commit 10b32cf8 by Scott

Shorten some language keys

parent 22f14969
...@@ -20,15 +20,15 @@ ...@@ -20,15 +20,15 @@
*/ */
return array( return array(
'dir_for_log_files' => 'Directory for log files - enter full path:',
'dir_not_found' => 'This directory cannot be found. Please enter the full path.', 'dir_not_found' => 'This directory cannot be found. Please enter the full path.',
'dir_not_writable' => 'This directory is not writable by the web server. Please choose a different directory, use chown/chmod to change permissions, or contact your web hosting company for assistance.', 'dir_not_writable' => 'This directory is not writable by the web server. Please choose a different directory, use chown/chmod to change permissions, or contact your web hosting company for assistance.',
'enter_directory' => 'This is a file. Please enter the full path of a directory.', 'enter_directory' => 'This is a file. Please enter the full path of a directory.',
'extras' => 'extras...', 'extras' => 'extras...',
'header_lines_top_each_file' => 'Include header lines at top of each log file', 'header_lines' => 'Include header lines at top of each log file',
'log_events_to_daily_log_files' => 'Log events to daily log files', 'log_events_daily' => 'Log events to daily log files',
'log_events_to_x_table' => 'Log events to <code>^</code> database table', 'log_events_x_table' => 'Log events to <code>^</code> database table',
'log_files_dir' => 'Directory for log files - enter full path:',
'q2a_x_log_file_generated' => 'Question2Answer ^ log file generated by Event Logger plugin.', 'q2a_x_log_file_generated' => 'Question2Answer ^ log file generated by Event Logger plugin.',
'specify_dir_writable' => 'Please specify a directory that is writable by the web server.', 'specify_dir_writable' => 'Please specify a directory that is writable by the web server.',
'utf8_tab_delimited_file' => 'This file is formatted as tab-delimited text with UTF-8 encoding.', 'tab_delimited_file' => 'This file is formatted as tab-delimited text with UTF-8 encoding.',
); );
...@@ -102,14 +102,14 @@ class qa_event_logger ...@@ -102,14 +102,14 @@ class qa_event_logger
'fields' => array( 'fields' => array(
array( array(
'label' => qa_lang_sub('event_logger/log_events_to_x_table', QA_MYSQL_TABLE_PREFIX . 'eventlog'), 'label' => qa_lang_sub('event_logger/log_events_x_table', QA_MYSQL_TABLE_PREFIX . 'eventlog'),
'tags' => 'name="event_logger_to_database_field"', 'tags' => 'name="event_logger_to_database_field"',
'value' => qa_opt('event_logger_to_database'), 'value' => qa_opt('event_logger_to_database'),
'type' => 'checkbox', 'type' => 'checkbox',
), ),
array( array(
'label' => qa_lang_html('event_logger/log_events_to_daily_log_files'), 'label' => qa_lang_html('event_logger/log_events_daily'),
'tags' => 'name="event_logger_to_files_field" id="event_logger_to_files_field"', 'tags' => 'name="event_logger_to_files_field" id="event_logger_to_files_field"',
'value' => qa_opt('event_logger_to_files'), 'value' => qa_opt('event_logger_to_files'),
'type' => 'checkbox', 'type' => 'checkbox',
...@@ -117,7 +117,7 @@ class qa_event_logger ...@@ -117,7 +117,7 @@ class qa_event_logger
array( array(
'id' => 'event_logger_directory_display', 'id' => 'event_logger_directory_display',
'label' => qa_lang_html('event_logger/dir_for_log_files'), 'label' => qa_lang_html('event_logger/log_files_dir'),
'value' => qa_html($directory), 'value' => qa_html($directory),
'tags' => 'name="event_logger_directory_field"', 'tags' => 'name="event_logger_directory_field"',
'note' => $note, 'note' => $note,
...@@ -126,7 +126,7 @@ class qa_event_logger ...@@ -126,7 +126,7 @@ class qa_event_logger
array( array(
'id' => 'event_logger_hide_header_display', 'id' => 'event_logger_hide_header_display',
'label' => qa_lang_html('event_logger/header_lines_top_each_file'), 'label' => qa_lang_html('event_logger/header_lines'),
'type' => 'checkbox', 'type' => 'checkbox',
'tags' => 'name="event_logger_hide_header_field"', 'tags' => 'name="event_logger_hide_header_field"',
'value' => !qa_opt('event_logger_hide_header'), 'value' => !qa_opt('event_logger_hide_header'),
......
...@@ -47,7 +47,7 @@ class qa_mouseover_admin_form ...@@ -47,7 +47,7 @@ class qa_mouseover_admin_form
'fields' => array( 'fields' => array(
array( array(
'label' => qa_lang_html('mouseover/show_content_prev_in_ql'), 'label' => qa_lang_html('mouseover/show_content_preview'),
'type' => 'checkbox', 'type' => 'checkbox',
'value' => qa_opt('mouseover_content_on'), 'value' => qa_opt('mouseover_content_on'),
'tags' => 'name="mouseover_content_on_field" id="mouseover_content_on_field"', 'tags' => 'name="mouseover_content_on_field" id="mouseover_content_on_field"',
...@@ -55,7 +55,7 @@ class qa_mouseover_admin_form ...@@ -55,7 +55,7 @@ class qa_mouseover_admin_form
array( array(
'id' => 'mouseover_content_max_len_display', 'id' => 'mouseover_content_max_len_display',
'label' => qa_lang_html('mouseover/maximum_length'), 'label' => qa_lang_html('mouseover/max_length'),
'suffix' => qa_lang_html('mouseover/characters'), 'suffix' => qa_lang_html('mouseover/characters'),
'type' => 'number', 'type' => 'number',
'value' => (int) qa_opt('mouseover_content_max_len'), 'value' => (int) qa_opt('mouseover_content_max_len'),
......
...@@ -21,6 +21,6 @@ ...@@ -21,6 +21,6 @@
return array( return array(
'characters' => 'characters', 'characters' => 'characters',
'maximum_length' => 'Maximum length of preview:', 'max_length' => 'Maximum length of preview:',
'show_content_prev_in_ql' => 'Show content preview on mouseover in question lists', 'show_content_preview' => 'Show content preview on mouseover in question lists',
); );
...@@ -24,7 +24,7 @@ return array( ...@@ -24,7 +24,7 @@ return array(
'invalid_secret' => 'The secret parameter is invalid or malformed.', 'invalid_secret' => 'The secret parameter is invalid or malformed.',
'missing_response' => 'The response parameter is missing.', 'missing_response' => 'The response parameter is missing.',
'missing_secret' => 'The secret parameter is missing.', 'missing_secret' => 'The secret parameter is missing.',
'must_sign_up' => 'To use reCAPTCHA, you must ^1sign up^2 to get these keys.',
'secret_key' => 'reCAPTCHA Secret key:', 'secret_key' => 'reCAPTCHA Secret key:',
'sign_up_to_get_keys' => 'To use reCAPTCHA, you must ^1sign up^2 to get these keys.',
'site_key' => 'reCAPTCHA Site key:', 'site_key' => 'reCAPTCHA Site key:',
); );
...@@ -55,7 +55,7 @@ class qa_recaptcha_captcha ...@@ -55,7 +55,7 @@ class qa_recaptcha_captcha
$error = null; $error = null;
if (!strlen($pub) || !strlen($pri)) { if (!strlen($pub) || !strlen($pri)) {
require_once $this->directory.'recaptchalib.php'; require_once $this->directory.'recaptchalib.php';
$error = strtr(qa_lang_html('recaptcha/sign_up_to_get_keys'), array( $error = strtr(qa_lang_html('recaptcha/must_sign_up'), array(
'^1' => '<a href="'.qa_html(ReCaptcha::getSignupUrl()).'" target="_blank">', '^1' => '<a href="'.qa_html(ReCaptcha::getSignupUrl()).'" target="_blank">',
'^2' => '</a>' '^2' => '</a>'
)); ));
......
...@@ -21,9 +21,9 @@ ...@@ -21,9 +21,9 @@
return array( return array(
'biggest_font_size' => 'Biggest font size:', 'biggest_font_size' => 'Biggest font size:',
'font_size_tag_popularity' => 'Font size represents tag popularity', 'font_size_popularity' => 'Font size represents tag popularity',
'maximum_tags_to_show' => 'Maximum tags to show:', 'max_tags' => 'Maximum tags to show:',
'pixels'=> 'pixels', 'pixels'=> 'pixels',
'smallest_allowed_font_size' => 'Smallest allowed font size:', 'smallest_font_size' => 'Smallest allowed font size:',
'tags' => 'tags', 'tags' => 'tags',
); );
...@@ -53,7 +53,7 @@ class qa_tag_cloud ...@@ -53,7 +53,7 @@ class qa_tag_cloud
'fields' => array( 'fields' => array(
array( array(
'label' => qa_lang_html('tag_cloud/maximum_tags_to_show'), 'label' => qa_lang_html('tag_cloud/max_tags'),
'type' => 'number', 'type' => 'number',
'value' => (int) qa_opt('tag_cloud_count_tags'), 'value' => (int) qa_opt('tag_cloud_count_tags'),
'suffix' => qa_lang_html('tag_cloud/tags'), 'suffix' => qa_lang_html('tag_cloud/tags'),
...@@ -69,7 +69,7 @@ class qa_tag_cloud ...@@ -69,7 +69,7 @@ class qa_tag_cloud
), ),
array( array(
'label' => qa_lang_html('tag_cloud/smallest_allowed_font_size'), 'label' => qa_lang_html('tag_cloud/smallest_font_size'),
'suffix' => qa_lang_html('tag_cloud/pixels'), 'suffix' => qa_lang_html('tag_cloud/pixels'),
'type' => 'number', 'type' => 'number',
'value' => (int) qa_opt('tag_cloud_minimal_font_size'), 'value' => (int) qa_opt('tag_cloud_minimal_font_size'),
...@@ -77,7 +77,7 @@ class qa_tag_cloud ...@@ -77,7 +77,7 @@ class qa_tag_cloud
), ),
array( array(
'label' => qa_lang_html('tag_cloud/font_size_tag_popularity'), 'label' => qa_lang_html('tag_cloud/font_size_popularity'),
'type' => 'checkbox', 'type' => 'checkbox',
'value' => qa_opt('tag_cloud_size_popular'), 'value' => qa_opt('tag_cloud_size_popular'),
'tags' => 'name="tag_cloud_size_popular_field"', 'tags' => 'name="tag_cloud_size_popular_field"',
......
...@@ -42,7 +42,5 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly ...@@ -42,7 +42,5 @@ if (!defined('QA_VERSION')) { // don't allow this page to be requested directly
qa_register_plugin_module('editor', 'qa-wysiwyg-editor.php', 'qa_wysiwyg_editor', 'WYSIWYG Editor'); qa_register_plugin_module('editor', 'qa-wysiwyg-editor.php', 'qa_wysiwyg_editor', 'WYSIWYG Editor');
qa_register_plugin_module('page', 'qa-wysiwyg-upload.php', 'qa_wysiwyg_upload', 'WYSIWYG Upload'); qa_register_plugin_module('page', 'qa-wysiwyg-upload.php', 'qa_wysiwyg_upload', 'WYSIWYG Upload');
qa_register_plugin_phrases('qa-wysiwyg-lang-*.php', 'wysiwyg');
qa_register_plugin_module('page', 'qa-wysiwyg-ajax.php', 'qa_wysiwyg_ajax', 'WYSIWYG Editor AJAX handler'); qa_register_plugin_module('page', 'qa-wysiwyg-ajax.php', 'qa_wysiwyg_ajax', 'WYSIWYG Editor AJAX handler');
qa_register_plugin_phrases('qa-wysiwyg-lang-*.php', 'wysiwyg');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment