Commit 4932f19c by Scott

Coding style (misc)

parent c20678fb
...@@ -20,265 +20,260 @@ ...@@ -20,265 +20,260 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'active_widgets_explanation' => 'Currently active widgets:', 'active_widgets_explanation' => 'Currently active widgets:',
'add_category_button' => 'Add Category', 'add_category_button' => 'Add Category',
'add_field_button' => 'Add Field', 'add_field_button' => 'Add Field',
'add_link_button' => 'Add Link', 'add_link_button' => 'Add Link',
'add_link_link' => ' - ^1add link^2', 'add_link_link' => ' - ^1add link^2',
'add_new_field' => 'Add new field', 'add_new_field' => 'Add new field',
'add_new_title' => 'Add new title', 'add_new_title' => 'Add new title',
'add_page_button' => 'Add Page', 'add_page_button' => 'Add Page',
'add_title_button' => 'Add Title', 'add_title_button' => 'Add Title',
'add_widget_button' => 'Add Widget', 'add_widget_button' => 'Add Widget',
'add_widget_link' => ' - ^1add widget^2', 'add_widget_link' => ' - ^1add widget^2',
'admin_title' => 'Administration center', 'admin_title' => 'Administration center',
'after_footer' => 'After links in footer', 'after_footer' => 'After links in footer',
'after_main_menu' => 'After tabs at top', 'after_main_menu' => 'After tabs at top',
'after_x' => 'After "^"', 'after_x' => 'After "^"',
'after_x_tab' => 'After "^" tab', 'after_x_tab' => 'After "^" tab',
'approve_user_popup' => 'Approve user', 'approve_user_popup' => 'Approve user',
'approve_users_title' => 'Approve users', 'approve_users_title' => 'Approve users',
'basic_editor' => 'Basic Editor', 'basic_editor' => 'Basic Editor',
'before_main_menu' => 'Before tabs at top', 'before_main_menu' => 'Before tabs at top',
'blobs_directory_error' => 'The directory ^ defined as QA_BLOBS_DIRECTORY is not writable by the web server.', 'blobs_directory_error' => 'The directory ^ defined as QA_BLOBS_DIRECTORY is not writable by the web server.',
'blobs_move_complete' => 'Migration of uploaded images and documents completed.', 'blobs_move_complete' => 'Migration of uploaded images and documents completed.',
'blobs_move_moved' => 'Migration ^1 of ^2 uploaded images and documents', 'blobs_move_moved' => 'Migration ^1 of ^2 uploaded images and documents',
'blobs_stop' => 'Stop migrating', 'blobs_stop' => 'Stop migrating',
'blobs_to_db' => 'Blobs to database', 'blobs_to_db' => 'Blobs to database',
'blobs_to_db_note' => '- migrate all uploaded images and documents from disk files to the database', 'blobs_to_db_note' => '- migrate all uploaded images and documents from disk files to the database',
'blobs_to_disk' => 'Blobs to disk', 'blobs_to_disk' => 'Blobs to disk',
'blobs_to_disk_note' => '- migrate all uploaded images and documents from the database to disk files', 'blobs_to_disk_note' => '- migrate all uploaded images and documents from the database to disk files',
'block_button' => 'block', 'block_button' => 'block',
'block_ips_note' => 'Use a hyphen for ranges or * to match any number. Examples: 192.168.0.4 , 192.168.0.0-192.168.0.31 , 192.168.0.*', 'block_ips_note' => 'Use a hyphen for ranges or * to match any number. Examples: 192.168.0.4 , 192.168.0.0-192.168.0.31 , 192.168.0.*',
'block_user_popup' => 'Block user', 'block_user_popup' => 'Block user',
'block_words_note' => 'Use a * to match any letters. Examples: doh (will only match exact word doh) , doh* (will match doh or dohno) , do*h (will match doh, dooh, dough).', 'block_words_note' => 'Use a * to match any letters. Examples: doh (will only match exact word doh) , doh* (will match doh or dohno) , do*h (will match doh, dooh, dough).',
'caching_dir_missing' => 'Cache directory has not been defined.', 'caching_dir_missing' => 'Cache directory has not been defined.',
'caching_dir_error' => 'The directory ^ defined as QA_CACHE_DIRECTORY is not writable by the web server.', 'caching_dir_error' => 'The directory ^ defined as QA_CACHE_DIRECTORY is not writable by the web server.',
'caching_dir_public' => 'The directory ^ defined as QA_CACHE_DIRECTORY must be outside the public root.', 'caching_dir_public' => 'The directory ^ defined as QA_CACHE_DIRECTORY must be outside the public root.',
'caching_title' => 'Caching', 'caching_title' => 'Caching',
'cancel_mailing_button' => 'Cancel Mailing', 'cancel_mailing_button' => 'Cancel Mailing',
'categories' => 'Categories', 'categories' => 'Categories',
'categories_introduction' => 'To get started with categories, click the \'Add Category\' button.', 'categories_introduction' => 'To get started with categories, click the \'Add Category\' button.',
'categories_not_shown' => 'Some questions have categories which will not be displayed.', 'categories_not_shown' => 'Some questions have categories which will not be displayed.',
'categories_title' => 'Categories', 'categories_title' => 'Categories',
'category_add_sub' => 'add sub-category', 'category_add_sub' => 'add sub-category',
'category_added' => 'Category added', 'category_added' => 'Category added',
'category_already_used' => 'This is already being used by a category', 'category_already_used' => 'This is already being used by a category',
'category_default_slug' => 'category-^', 'category_default_slug' => 'category-^',
'category_description' => 'Optional category description:', 'category_description' => 'Optional category description:',
'category_max_depth_x' => 'Some options may be hidden to prevent a category going deeper than ^ levels.', 'category_max_depth_x' => 'Some options may be hidden to prevent a category going deeper than ^ levels.',
'category_move_parent' => 'move to different parent', 'category_move_parent' => 'move to different parent',
'category_name' => 'Category name:', 'category_name' => 'Category name:',
'category_name_first' => 'Name of first category:', 'category_name_first' => 'Name of first category:',
'category_no_add_subs_x' => 'This category cannot have sub-categories because it is already ^ levels down.', 'category_no_add_subs_x' => 'This category cannot have sub-categories because it is already ^ levels down.',
'category_no_delete_subs' => 'This category cannot be deleted because it has a sub-category.', 'category_no_delete_subs' => 'This category cannot be deleted because it has a sub-category.',
'category_no_sub_error' => '^q question/s in this category have no sub-category - ^1set sub-category^2', 'category_no_sub_error' => '^q question/s in this category have no sub-category - ^1set sub-category^2',
'category_no_sub_to' => 'Move questions in ^ with no sub-category to:', 'category_no_sub_to' => 'Move questions in ^ with no sub-category to:',
'category_no_subs' => 'None', 'category_no_subs' => 'None',
'category_none_error' => '^q question/s currently have no category - ^1set category^2', 'category_none_error' => '^q question/s currently have no category - ^1set category^2',
'category_none_to' => 'Move questions with no category to:', 'category_none_to' => 'Move questions with no category to:',
'category_parent' => 'Parent category:', 'category_parent' => 'Parent category:',
'category_saved' => 'Category saved', 'category_saved' => 'Category saved',
'category_slug' => 'Category slug - URL fragment:', 'category_slug' => 'Category slug - URL fragment:',
'category_subs' => 'Sub-categories:', 'category_subs' => 'Sub-categories:',
'category_top_level' => 'No parent (top level)', 'category_top_level' => 'No parent (top level)',
'characters' => 'characters', 'characters' => 'characters',
'check_language_suffix' => ' - ^1check language files^2', 'check_language_suffix' => ' - ^1check language files^2',
'click_name_edit' => 'Custom pages or links:', 'click_name_edit' => 'Custom pages or links:',
'database_cleanup' => 'Database clean-up operations', 'database_cleanup' => 'Database clean-up operations',
'delete_category' => 'Delete this category', 'delete_category' => 'Delete this category',
'delete_category_reassign' => 'Delete this category and reassign its questions to:', 'delete_category_reassign' => 'Delete this category and reassign its questions to:',
'delete_field' => 'Delete this field', 'delete_field' => 'Delete this field',
'delete_hidden' => 'Delete hidden posts', 'delete_hidden' => 'Delete hidden posts',
'delete_hidden_complete' => 'All hidden posts without dependents have been deleted', 'delete_hidden_complete' => 'All hidden posts without dependents have been deleted',
'delete_hidden_note' => ' - all hidden questions, answer and comments without dependents', 'delete_hidden_note' => ' - all hidden questions, answer and comments without dependents',
'delete_link' => 'Delete this link', 'delete_link' => 'Delete this link',
'delete_page' => 'Delete this page', 'delete_page' => 'Delete this page',
'delete_stop' => 'Stop deleting', 'delete_stop' => 'Stop deleting',
'delete_title' => 'Delete this title', 'delete_title' => 'Delete this title',
'delete_widget_position' => 'Delete this widget from this position', 'delete_widget_position' => 'Delete this widget from this position',
'edit_custom_page' => 'Edit custom page', 'edit_custom_page' => 'Edit custom page',
'edit_field' => ' - ^1edit field^2', 'edit_field' => ' - ^1edit field^2',
'edit_link' => ' - ^1edit link^2', 'edit_link' => ' - ^1edit link^2',
'edit_page' => ' - ^1edit page^2', 'edit_page' => ' - ^1edit page^2',
'edit_title' => ' - ^1edit title^2', 'edit_title' => ' - ^1edit title^2',
'emails_per_minute' => 'emails per minute', 'emails_per_minute' => 'emails per minute',
'emails_title' => 'Emails', 'emails_title' => 'Emails',
'enabled' => 'Enabled', 'enabled' => 'Enabled',
'feed_link' => 'Feed', 'feed_link' => 'Feed',
'feed_link_example' => 'Example feed', 'feed_link_example' => 'Example feed',
'feeds_title' => 'RSS feeds', 'feeds_title' => 'RSS feeds',
'field_link_url' => 'Linked URL', 'field_link_url' => 'Linked URL',
'field_multi_line' => 'Multiple lines of text', 'field_multi_line' => 'Multiple lines of text',
'field_name' => 'Field name:', 'field_name' => 'Field name:',
'field_single_line' => 'Single line of text', 'field_single_line' => 'Single line of text',
'field_type' => 'Content type:', 'field_type' => 'Content type:',
'first' => 'First', 'first' => 'First',
'flagged_title' => 'Flagged', 'flagged_title' => 'Flagged',
'form_security_expired' => 'Form security code expired - please try again', 'form_security_expired' => 'Form security code expired - please try again',
'from_anon' => 'From anonymous:', 'from_anon' => 'From anonymous:',
'from_users' => 'From users:', 'from_users' => 'From users:',
'general_title' => 'General', 'general_title' => 'General',
'hidden_answers_deleted' => 'Deleted ^1 of ^2 hidden answers without dependents...', 'hidden_answers_deleted' => 'Deleted ^1 of ^2 hidden answers without dependents...',
'hidden_comments_deleted' => 'Deleted ^1 of ^2 hidden comments...', 'hidden_comments_deleted' => 'Deleted ^1 of ^2 hidden comments...',
'hidden_questions_deleted' => 'Deleted ^1 of ^2 hidden questions without dependents...', 'hidden_questions_deleted' => 'Deleted ^1 of ^2 hidden questions without dependents...',
'hidden_title' => 'Hidden', 'hidden_title' => 'Hidden',
'hotness_factors' => 'Relative importance for question hotness:', 'hotness_factors' => 'Relative importance for question hotness:',
'ip_address_pages' => 'IP address pages', 'ip_address_pages' => 'IP address pages',
'layout_title' => 'Layout', 'layout_title' => 'Layout',
'link_name' => 'Text of link:', 'link_name' => 'Text of link:',
'link_new_window' => 'Open link in a new window', 'link_new_window' => 'Open link in a new window',
'link_url' => 'URL of link - absolute or relative to Q2A root:', 'link_url' => 'URL of link - absolute or relative to Q2A root:',
'lists_title' => 'Lists', 'lists_title' => 'Lists',
'mailing_complete' => 'The mailing is complete', 'mailing_complete' => 'The mailing is complete',
'mailing_explanation' => 'Users will be able to unsubscribe on their account page.', 'mailing_explanation' => 'Users will be able to unsubscribe on their account page.',
'mailing_progress' => 'Mailing completed for ^1 of ^2 users...', 'mailing_progress' => 'Mailing completed for ^1 of ^2 users...',
'mailing_title' => 'Mailing', 'mailing_title' => 'Mailing',
'mailing_unsubscribe' => 'An unsubscribe link will be added at the bottom of every message.', 'mailing_unsubscribe' => 'An unsubscribe link will be added at the bottom of every message.',
'maintenance_admin_only' => 'Your site is in ^1maintenance^2 and is currently inaccessible to regular users.', 'maintenance_admin_only' => 'Your site is in ^1maintenance^2 and is currently inaccessible to regular users.',
'maximum_x' => ' (max ^)', 'maximum_x' => ' (max ^)',
'moderate_title' => 'Moderate', 'moderate_title' => 'Moderate',
'module_x_database_init' => 'The ^1 ^2 module requires some ^3database initialization^4.', 'module_x_database_init' => 'The ^1 ^2 module requires some ^3database initialization^4.',
'most_flagged_title' => 'Flagged content', 'most_flagged_title' => 'Flagged content',
'mysql_version' => 'MySQL version:', 'mysql_version' => 'MySQL version:',
'nav_links_explanation' => 'Show navigation links:', 'nav_links_explanation' => 'Show navigation links:',
'nav_qa_is_home' => 'Q&A (links to home page)', 'nav_qa_is_home' => 'Q&A (links to home page)',
'neat_urls_note' => ' (requires ^1htaccess^2 file)', 'neat_urls_note' => ' (requires ^1htaccess^2 file)',
'no_approve_found' => 'No content is waiting for approval', 'no_approve_found' => 'No content is waiting for approval',
'no_classification' => 'None', 'no_classification' => 'None',
'no_flagged_found' => 'No flagged content found', 'no_flagged_found' => 'No flagged content found',
'no_hidden_found' => 'No hidden content found', 'no_hidden_found' => 'No hidden content found',
'no_image_gd' => 'The installed version of PHP was compiled without GD image support, so users cannot upload their avatars directly.', 'no_image_gd' => 'The installed version of PHP was compiled without GD image support, so users cannot upload their avatars directly.',
'no_link' => 'No link', 'no_link' => 'No link',
'no_multibyte' => 'The installed version of PHP was compiled without multibyte string support. Searching will be less effective for non-Roman characters.', 'no_multibyte' => 'The installed version of PHP was compiled without multibyte string support. Searching will be less effective for non-Roman characters.',
'no_privileges' => 'Only administrators may access this page.', 'no_privileges' => 'Only administrators may access this page.',
'no_unapproved_found' => 'No users waiting for approval', 'no_unapproved_found' => 'No users waiting for approval',
'not_logged_in' => 'Please ^1log in^2 as the administrator to access this page.', 'not_logged_in' => 'Please ^1log in^2 as the administrator to access this page.',
'opposite_main_menu' => 'Far end of tabs at top', 'opposite_main_menu' => 'Far end of tabs at top',
'options' => 'options', 'options' => 'options',
'options_reset' => 'Options reset', 'options_reset' => 'Options reset',
'options_saved' => 'Options saved', 'options_saved' => 'Options saved',
'page_already_used' => 'This is already being used by a page', 'page_already_used' => 'This is already being used by a page',
'page_content_html' => 'Content to display in page - HTML allowed:', 'page_content_html' => 'Content to display in page - HTML allowed:',
'page_default_slug' => 'page-^', 'page_default_slug' => 'page-^',
'page_heading' => 'Heading to display at top of page:', 'page_heading' => 'Heading to display at top of page:',
'page_name' => 'Name of page (also used for tab or link):', 'page_name' => 'Name of page (also used for tab or link):',
'page_slug' => 'Page slug (URL fragment):', 'page_slug' => 'Page slug (URL fragment):',
'pages_explanation' => 'Click the \'Add Page\' button to add custom content to your Q2A site, or \'Add Link\' to link to any other web page.', 'pages_explanation' => 'Click the \'Add Page\' button to add custom content to your Q2A site, or \'Add Link\' to link to any other web page.',
'pages_title' => 'Pages', 'pages_title' => 'Pages',
'pause_mailing_button' => 'Pause Mailing', 'pause_mailing_button' => 'Pause Mailing',
'per_ip_hour' => 'per IP/hour', 'per_ip_hour' => 'per IP/hour',
'per_user_hour' => 'per user/hour', 'per_user_hour' => 'per user/hour',
'permissions_title' => 'Permissions', 'permissions_title' => 'Permissions',
'permit_to_view' => 'Visible for:', 'permit_to_view' => 'Visible for:',
'php_version' => 'PHP version:', 'php_version' => 'PHP version:',
'pixels' => 'pixels', 'pixels' => 'pixels',
'plugin_module' => ' (plugin module: ^)', 'plugin_module' => ' (plugin module: ^)',
'plugin_pages_explanation' => 'Pages available via plugins:', 'plugin_pages_explanation' => 'Pages available via plugins:',
'plugins_title' => 'Plugins', 'plugins_title' => 'Plugins',
'points' => 'points', 'points' => 'points',
'points_defaults_shown' => 'Defaults shown below but NOT YET APPLIED:', 'points_defaults_shown' => 'Defaults shown below but NOT YET APPLIED:',
'points_required' => 'Points required to receive title:', 'points_required' => 'Points required to receive title:',
'points_title' => 'Points', 'points_title' => 'Points',
'position' => 'Position:', 'position' => 'Position:',
'posting_title' => 'Posting', 'posting_title' => 'Posting',
'profile_fields' => 'Extra fields on user pages or registration form:', 'profile_fields' => 'Extra fields on user pages or registration form:',
'q2a_build_date' => 'Build date:', 'q2a_build_date' => 'Build date:',
'q2a_db_size' => 'Database size:', 'q2a_db_size' => 'Database size:',
'q2a_db_version' => 'Q2A database version:', 'q2a_db_version' => 'Q2A database version:',
'q2a_latest_version' => 'Latest version:', 'q2a_latest_version' => 'Latest version:',
'q2a_version' => 'Question2Answer version:', 'q2a_version' => 'Question2Answer version:',
'question_lists' => 'Question lists', 'question_lists' => 'Question lists',
'question_pages' => 'Question pages', 'question_pages' => 'Question pages',
'recalc_categories' => 'Recalculate categories', 'recalc_categories' => 'Recalculate categories',
'recalc_categories_backpaths' => 'Recalculating URL paths for ^1 of ^2 categories...', 'recalc_categories_backpaths' => 'Recalculating URL paths for ^1 of ^2 categories...',
'recalc_categories_complete' => 'All categories were successfully recalculated.', 'recalc_categories_complete' => 'All categories were successfully recalculated.',
'recalc_categories_note' => ' - for post categories and category counts', 'recalc_categories_note' => ' - for post categories and category counts',
'recalc_categories_recounting' => 'Recounting questions for ^1 of ^2 categories...', 'recalc_categories_recounting' => 'Recounting questions for ^1 of ^2 categories...',
'recalc_categories_updated' => 'Recalculated for ^1 of ^2 posts...', 'recalc_categories_updated' => 'Recalculated for ^1 of ^2 posts...',
'recalc_points' => 'Recalculate user points', 'recalc_points' => 'Recalculate user points',
'recalc_points_complete' => 'All user points were successfully recalculated.', 'recalc_points_complete' => 'All user points were successfully recalculated.',
'recalc_points_note' => ' - for user ranking and points displays', 'recalc_points_note' => ' - for user ranking and points displays',
'recalc_points_recalced' => 'Recalculated for ^1 of ^2 users...', 'recalc_points_recalced' => 'Recalculated for ^1 of ^2 users...',
'recalc_points_usercount' => 'Estimating total number of users...', 'recalc_points_usercount' => 'Estimating total number of users...',
'recalc_posts_count' => 'Getting total number of questions, answers and comments...', 'recalc_posts_count' => 'Getting total number of questions, answers and comments...',
'recalc_stop' => 'Stop recalculating', 'recalc_stop' => 'Stop recalculating',
'recent_approve_title' => 'Recent content waiting for approval', 'recent_approve_title' => 'Recent content waiting for approval',
'recent_hidden_title' => 'Recent hidden content', 'recent_hidden_title' => 'Recent hidden content',
'recount_posts' => 'Recount posts', 'recount_posts' => 'Recount posts',
'recount_posts_as_recounted' => 'Recounted answers and hotness for ^1 of ^2 posts...', 'recount_posts_as_recounted' => 'Recounted answers and hotness for ^1 of ^2 posts...',
'recount_posts_complete' => 'All posts were successfully recounted.', 'recount_posts_complete' => 'All posts were successfully recounted.',
'recount_posts_note' => ' - the number of answers, votes, flags and hotness for each post', 'recount_posts_note' => ' - the number of answers, votes, flags and hotness for each post',
'recount_posts_stop' => 'Stop recounting', 'recount_posts_stop' => 'Stop recounting',
'recount_posts_votes_recounted' => 'Recounted votes and flags for ^1 of ^2 posts...', 'recount_posts_votes_recounted' => 'Recounted votes and flags for ^1 of ^2 posts...',
'refill_events' => 'Refill event streams', 'refill_events' => 'Refill event streams',
'refill_events_complete' => 'All events streams were successfully refilled', 'refill_events_complete' => 'All events streams were successfully refilled',
'refill_events_note' => ' - for each user\'s list of updates', 'refill_events_note' => ' - for each user\'s list of updates',
'refill_events_refilled' => 'Refilled for ^1 of ^2 questions...', 'refill_events_refilled' => 'Refilled for ^1 of ^2 questions...',
'registration_fields' => 'add registration fields', 'registration_fields' => 'add registration fields',
'reindex_content' => 'Reindex content', 'reindex_content' => 'Reindex content',
'reindex_content_note' => ' - for searching and related question suggestions', 'reindex_content_note' => ' - for searching and related question suggestions',
'reindex_content_stop' => 'Stop reindexing', 'reindex_content_stop' => 'Stop reindexing',
'reindex_pages_reindexed' => 'Reindexed ^1 of ^2 pages...', 'reindex_pages_reindexed' => 'Reindexed ^1 of ^2 pages...',
'reindex_posts_complete' => 'All posts were successfully reindexed.', 'reindex_posts_complete' => 'All posts were successfully reindexed.',
'reindex_posts_reindexed' => 'Reindexed ^1 of ^2 posts...', 'reindex_posts_reindexed' => 'Reindexed ^1 of ^2 posts...',
'reindex_posts_wordcounted' => 'Recounted ^1 of ^2 words...', 'reindex_posts_wordcounted' => 'Recounted ^1 of ^2 words...',
'requires_php_version' => 'Disabled - requires PHP ^ or later', 'requires_php_version' => 'Disabled - requires PHP ^ or later',
'requires_q2a_version' => 'Disabled - requires Question2Answer ^ or later', 'requires_q2a_version' => 'Disabled - requires Question2Answer ^ or later',
'reset_options_button' => 'Reset to Defaults', 'reset_options_button' => 'Reset to Defaults',
'reset_options_confirm' => 'Are you sure you want to reset all options on this page to their defaults?', 'reset_options_confirm' => 'Are you sure you want to reset all options on this page to their defaults?',
'resume_mailing_button' => 'Resume Mailing', 'resume_mailing_button' => 'Resume Mailing',
'save_options_button' => 'Save Options', 'save_options_button' => 'Save Options',
'save_recalc_button' => 'Save and Recalculate', 'save_recalc_button' => 'Save and Recalculate',
'save_view_button' => 'Save and View', 'save_view_button' => 'Save and View',
'send_test_button' => 'Send Test to Me', 'send_test_button' => 'Send Test to Me',
'show_defaults_button' => 'Show Defaults', 'show_defaults_button' => 'Show Defaults',
'show_on_register_form' => 'Show field on user registration form', 'show_on_register_form' => 'Show field on user registration form',
'slug_bad_chars' => 'The slug may not contain these characters: ^', 'slug_bad_chars' => 'The slug may not contain these characters: ^',
'slug_reserved' => 'This slug is reserved for use by another page', 'slug_reserved' => 'This slug is reserved for use by another page',
'spam_title' => 'Spam', 'spam_title' => 'Spam',
'start_mailing_button' => 'Start Mailing', 'start_mailing_button' => 'Start Mailing',
'stats_title' => 'Stats', 'stats_title' => 'Stats',
'stop_recalc_warning' => 'A database clean-up operation is running. If you close this page now, the operation will be interrupted.', 'stop_recalc_warning' => 'A database clean-up operation is running. If you close this page now, the operation will be interrupted.',
'tag_pages' => 'Tag pages', 'tag_pages' => 'Tag pages',
'tags' => 'Tags', 'tags' => 'Tags',
'tags_and_categories' => 'Tags and Categories', 'tags_and_categories' => 'Tags and Categories',
'tags_not_shown' => 'Some questions have tags which will not be displayed.', 'tags_not_shown' => 'Some questions have tags which will not be displayed.',
'test_sent_to_x' => 'The test message was sent to ^', 'test_sent_to_x' => 'The test message was sent to ^',
'title_already_used' => 'This value is already being used by another title', 'title_already_used' => 'This value is already being used by another title',
'top_level_categories' => 'Top level categories:', 'top_level_categories' => 'Top level categories:',
'total_as' => 'Total answers:', 'total_as' => 'Total answers:',
'total_cs' => 'Total comments:', 'total_cs' => 'Total comments:',
'total_qs' => 'Total questions:', 'total_qs' => 'Total questions:',
'unnamed_plugin' => 'Unnamed Plugin', 'unnamed_plugin' => 'Unnamed Plugin',
'upgrade_db' => 'Your Question2Answer database needs to be ^1upgraded^2 for this version.', 'upgrade_db' => 'Your Question2Answer database needs to be ^1upgraded^2 for this version.',
'url_format_note' => 'Options with the ^ label are working for your site\'s configuration. For best search engine optimization (SEO), use the first ^ option available.', 'url_format_note' => 'Options with the ^ label are working for your site\'s configuration. For best search engine optimization (SEO), use the first ^ option available.',
'user_pages' => 'User pages', 'user_pages' => 'User pages',
'user_title' => 'User title - HTML allowed:', 'user_title' => 'User title - HTML allowed:',
'user_titles' => 'User titles based on points:', 'user_titles' => 'User titles based on points:',
'users_active' => 'Active users:', 'users_active' => 'Active users:',
'users_must_have' => 'Users must have', 'users_must_have' => 'Users must have',
'users_posted' => 'Users who posted:', 'users_posted' => 'Users who posted:',
'users_registered' => 'Registered users:', 'users_registered' => 'Registered users:',
'users_title' => 'Users', 'users_title' => 'Users',
'users_voted' => 'Users who voted:', 'users_voted' => 'Users who voted:',
'version_get_x' => 'get ^', 'version_get_x' => 'get ^',
'version_latest' => 'latest', 'version_latest' => 'latest',
'version_latest_unknown' => 'latest unknown', 'version_latest_unknown' => 'latest unknown',
'version_requires_php' => '^1 requires PHP ^2', 'version_requires_php' => '^1 requires PHP ^2',
'version_requires_q2a' => '^1 requires Q2A ^2', 'version_requires_q2a' => '^1 requires Q2A ^2',
'viewing_title' => 'Viewing', 'viewing_title' => 'Viewing',
'widget_all_pages' => 'Show widget in this position on all available pages', 'widget_all_pages' => 'Show widget in this position on all available pages',
'widget_global_options' => ' - ^1options^2', 'widget_global_options' => ' - ^1options^2',
'widget_name' => 'Name of widget:', 'widget_name' => 'Name of widget:',
'widget_no_positions' => 'This widget has already been added to every available position.', 'widget_no_positions' => 'This widget has already been added to every available position.',
'widget_not_available' => 'This widget is not available. This could be because the plugin providing the widget is no longer installed.', 'widget_not_available' => 'This widget is not available. This could be because the plugin providing the widget is no longer installed.',
'widget_pages_explanation' => 'Show widget in this position on the following pages:', 'widget_pages_explanation' => 'Show widget in this position on the following pages:',
'widgets_explanation' => 'Available widgets:', 'widgets_explanation' => 'Available widgets:',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
...@@ -20,72 +20,67 @@ ...@@ -20,72 +20,67 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'a_commented_body' => "Your answer on ^site_title has a new comment by ^c_handle:\n\n^open^c_content^close\n\nYour answer was:\n\n^open^c_context^close\n\nYou may respond by adding your own comment:\n\n^url\n\nThank you,\n\n^site_title", 'a_commented_body' => "Your answer on ^site_title has a new comment by ^c_handle:\n\n^open^c_content^close\n\nYour answer was:\n\n^open^c_context^close\n\nYou may respond by adding your own comment:\n\n^url\n\nThank you,\n\n^site_title",
'a_commented_subject' => 'Your ^site_title answer has a new comment', 'a_commented_subject' => 'Your ^site_title answer has a new comment',
'a_followed_body' => "Your answer on ^site_title has a new related question by ^q_handle:\n\n^open^q_title^close\n\nYour answer was:\n\n^open^a_content^close\n\nClick below to answer the new question:\n\n^url\n\nThank you,\n\n^site_title", 'a_followed_body' => "Your answer on ^site_title has a new related question by ^q_handle:\n\n^open^q_title^close\n\nYour answer was:\n\n^open^a_content^close\n\nClick below to answer the new question:\n\n^url\n\nThank you,\n\n^site_title",
'a_followed_subject' => 'Your ^site_title answer has a related question', 'a_followed_subject' => 'Your ^site_title answer has a related question',
'a_selected_body' => "Congratulations! Your answer on ^site_title has been selected as the best by ^s_handle:\n\n^open^a_content^close\n\nThe question was:\n\n^open^q_title^close\n\nClick below to see your answer:\n\n^url\n\nThank you,\n\n^site_title", 'a_selected_body' => "Congratulations! Your answer on ^site_title has been selected as the best by ^s_handle:\n\n^open^a_content^close\n\nThe question was:\n\n^open^q_title^close\n\nClick below to see your answer:\n\n^url\n\nThank you,\n\n^site_title",
'a_selected_subject' => 'Your ^site_title answer has been selected!', 'a_selected_subject' => 'Your ^site_title answer has been selected!',
'c_commented_body' => "A new comment by ^c_handle has been added after your comment on ^site_title:\n\n^open^c_content^close\n\nThe discussion is following:\n\n^open^c_context^close\n\nYou may respond by adding another comment:\n\n^url\n\nThank you,\n\n^site_title", 'c_commented_body' => "A new comment by ^c_handle has been added after your comment on ^site_title:\n\n^open^c_content^close\n\nThe discussion is following:\n\n^open^c_context^close\n\nYou may respond by adding another comment:\n\n^url\n\nThank you,\n\n^site_title",
'c_commented_subject' => 'Your ^site_title comment has been added to', 'c_commented_subject' => 'Your ^site_title comment has been added to',
'confirm_body' => "Please click below to confirm your email address for ^site_title.\n\n^url\n\nConfirmation code: ^code\n\n Thank you,\n^site_title", 'confirm_body' => "Please click below to confirm your email address for ^site_title.\n\n^url\n\nConfirmation code: ^code\n\n Thank you,\n^site_title",
'confirm_subject' => '^site_title - Email Address Confirmation', 'confirm_subject' => '^site_title - Email Address Confirmation',
'feedback_body' => "Comments:\n^message\n\nName:\n^name\n\nEmail:\n^email\n\nPrevious page:\n^previous\n\nUser:\n^url\n\nIP address:\n^ip\n\nBrowser:\n^browser", 'feedback_body' => "Comments:\n^message\n\nName:\n^name\n\nEmail:\n^email\n\nPrevious page:\n^previous\n\nUser:\n^url\n\nIP address:\n^ip\n\nBrowser:\n^browser",
'feedback_subject' => '^ feedback', 'feedback_subject' => '^ feedback',
'flagged_body' => "A post by ^p_handle has received ^flags:\n\n^open^p_context^close\n\nClick below to see the post:\n\n^url\n\n\nClick below to review all flagged posts:\n\n^a_url\n\n\nThank you,\n\n^site_title", 'flagged_body' => "A post by ^p_handle has received ^flags:\n\n^open^p_context^close\n\nClick below to see the post:\n\n^url\n\n\nClick below to review all flagged posts:\n\n^a_url\n\n\nThank you,\n\n^site_title",
'flagged_subject' => '^site_title has a flagged post', 'flagged_subject' => '^site_title has a flagged post',
'moderate_body' => "A post by ^p_handle requires your approval:\n\n^open^p_context^close\n\nClick below to approve or reject the post:\n\n^url\n\n\nClick below to review all queued posts:\n\n^a_url\n\n\nThank you,\n\n^site_title", 'moderate_body' => "A post by ^p_handle requires your approval:\n\n^open^p_context^close\n\nClick below to approve or reject the post:\n\n^url\n\n\nClick below to review all queued posts:\n\n^a_url\n\n\nThank you,\n\n^site_title",
'moderate_subject' => '^site_title moderation', 'moderate_subject' => '^site_title moderation',
'new_password_body' => "Your new password for ^site_title is below.\n\nPassword: ^password\n\nIt is recommended to change this password immediately after logging in.\n\nThank you,\n^site_title\n^url", 'new_password_body' => "Your new password for ^site_title is below.\n\nPassword: ^password\n\nIt is recommended to change this password immediately after logging in.\n\nThank you,\n^site_title\n^url",
'new_password_subject' => '^site_title - Your New Password', 'new_password_subject' => '^site_title - Your New Password',
'private_message_body' => "You have been sent a private message by ^f_handle on ^site_title:\n\n^open^message^close\n\n^moreThank you,\n\n^site_title\n\n\nTo block private messages, visit your account page:\n^a_url", 'private_message_body' => "You have been sent a private message by ^f_handle on ^site_title:\n\n^open^message^close\n\n^moreThank you,\n\n^site_title\n\n\nTo block private messages, visit your account page:\n^a_url",
'private_message_info' => "More information about ^f_handle:\n\n^url\n\n", 'private_message_info' => "More information about ^f_handle:\n\n^url\n\n",
'private_message_reply' => "Click below to reply to ^f_handle by private message:\n\n^url\n\n", 'private_message_reply' => "Click below to reply to ^f_handle by private message:\n\n^url\n\n",
'private_message_subject' => 'Message from ^f_handle on ^site_title', 'private_message_subject' => 'Message from ^f_handle on ^site_title',
'q_answered_body' => "Your question on ^site_title has been answered by ^a_handle:\n\n^open^a_content^close\n\nYour question was:\n\n^open^q_title^close\n\nIf you like this answer, you may select it as the best:\n\n^url\n\nThank you,\n\n^site_title", 'q_answered_body' => "Your question on ^site_title has been answered by ^a_handle:\n\n^open^a_content^close\n\nYour question was:\n\n^open^q_title^close\n\nIf you like this answer, you may select it as the best:\n\n^url\n\nThank you,\n\n^site_title",
'q_answered_subject' => 'Your ^site_title question was answered', 'q_answered_subject' => 'Your ^site_title question was answered',
'q_commented_body' => "Your question on ^site_title has a new comment by ^c_handle:\n\n^open^c_content^close\n\nYour question was:\n\n^open^c_context^close\n\nYou may respond by adding your own comment:\n\n^url\n\nThank you,\n\n^site_title", 'q_commented_body' => "Your question on ^site_title has a new comment by ^c_handle:\n\n^open^c_content^close\n\nYour question was:\n\n^open^c_context^close\n\nYou may respond by adding your own comment:\n\n^url\n\nThank you,\n\n^site_title",
'q_commented_subject' => 'Your ^site_title question has a new comment', 'q_commented_subject' => 'Your ^site_title question has a new comment',
'q_posted_body' => "A new question has been asked by ^q_handle:\n\n^open^q_title\n\n^q_content^close\n\nClick below to see the question:\n\n^url\n\nThank you,\n\n^site_title", 'q_posted_body' => "A new question has been asked by ^q_handle:\n\n^open^q_title\n\n^q_content^close\n\nClick below to see the question:\n\n^url\n\nThank you,\n\n^site_title",
'q_posted_subject' => '^site_title has a new question', 'q_posted_subject' => '^site_title has a new question',
'remoderate_body' => "An edited post by ^p_handle requires your reapproval:\n\n^open^p_context^close\n\nClick below to approve or hide the edited post:\n\n^url\n\n\nClick below to review all queued posts:\n\n^a_url\n\n\nThank you,\n\n^site_title", 'remoderate_body' => "An edited post by ^p_handle requires your reapproval:\n\n^open^p_context^close\n\nClick below to approve or hide the edited post:\n\n^url\n\n\nClick below to review all queued posts:\n\n^a_url\n\n\nThank you,\n\n^site_title",
'remoderate_subject' => '^site_title moderation', 'remoderate_subject' => '^site_title moderation',
'reset_body' => "Please click below to reset your password for ^site_title.\n\n^url\n\nAlternatively, enter the code below into the field provided.\n\nCode: ^code\n\nIf you did not ask to reset your password, please ignore this message.\n\nThank you,\n^site_title", 'reset_body' => "Please click below to reset your password for ^site_title.\n\n^url\n\nAlternatively, enter the code below into the field provided.\n\nCode: ^code\n\nIf you did not ask to reset your password, please ignore this message.\n\nThank you,\n^site_title",
'reset_subject' => '^site_title - Reset Forgotten Password', 'reset_subject' => '^site_title - Reset Forgotten Password',
'to_handle_prefix' => "^,\n\n", 'to_handle_prefix' => "^,\n\n",
'u_registered_body' => "A new user has registered as ^u_handle.\n\nClick below to view the user profile:\n\n^url\n\nThank you,\n\n^site_title", 'u_registered_body' => "A new user has registered as ^u_handle.\n\nClick below to view the user profile:\n\n^url\n\nThank you,\n\n^site_title",
'u_registered_subject' => '^site_title has a new registered user', 'u_registered_subject' => '^site_title has a new registered user',
'u_to_approve_body' => "A new user has registered as ^u_handle.\n\nClick below to approve the user:\n\n^url\n\nClick below to review all users waiting for approval:\n\n^a_url\n\nThank you,\n\n^site_title", 'u_to_approve_body' => "A new user has registered as ^u_handle.\n\nClick below to approve the user:\n\n^url\n\nClick below to review all users waiting for approval:\n\n^a_url\n\nThank you,\n\n^site_title",
'u_approved_body' => "You can see your new user profile here:\n\n^url\n\nThank you,\n\n^site_title", 'u_approved_body' => "You can see your new user profile here:\n\n^url\n\nThank you,\n\n^site_title",
'u_approved_subject' => 'Your ^site_title user has been approved', 'u_approved_subject' => 'Your ^site_title user has been approved',
'wall_post_body' => "^f_handle has posted on your user wall at ^site_title:\n\n^open^post^close\n\nYou may respond to the post here:\n\n^url\n\nThank you,\n\n^site_title", 'wall_post_body' => "^f_handle has posted on your user wall at ^site_title:\n\n^open^post^close\n\nYou may respond to the post here:\n\n^url\n\nThank you,\n\n^site_title",
'wall_post_subject' => 'Post on your ^site_title wall', 'wall_post_subject' => 'Post on your ^site_title wall',
'welcome_body' => "Thank you for registering for ^site_title.\n\n^custom^confirmYour login details are as follows:\n\nUsername: ^handle\nEmail: ^email\n\nPlease keep this information safe for future reference.\n\nThank you,\n\n^site_title\n^url", 'welcome_body' => "Thank you for registering for ^site_title.\n\n^custom^confirmYour login details are as follows:\n\nUsername: ^handle\nEmail: ^email\n\nPlease keep this information safe for future reference.\n\nThank you,\n\n^site_title\n^url",
'welcome_confirm' => "Please click below to confirm your email address.\n\n^url\n\n", 'welcome_confirm' => "Please click below to confirm your email address.\n\n^url\n\n",
'welcome_subject' => 'Welcome to ^site_title!', 'welcome_subject' => 'Welcome to ^site_title!',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -20,216 +20,211 @@ ...@@ -20,216 +20,211 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'_decimal_point' => '.', '_decimal_point' => '.',
'_thousands_separator' => ',', '_thousands_separator' => ',',
'_thousands_suffix' => 'k', '_thousands_suffix' => 'k',
'_millions_suffix' => 'm', '_millions_suffix' => 'm',
'1_answer' => '1 answer', '1_answer' => '1 answer',
'1_comment' => '1 comment', '1_comment' => '1 comment',
'1_day' => '1 day', '1_day' => '1 day',
'1_disliked' => '1 dislike', '1_disliked' => '1 dislike',
'1_flag' => '1 flag', '1_flag' => '1 flag',
'1_hour' => '1 hour', '1_hour' => '1 hour',
'1_liked' => '1 like', '1_liked' => '1 like',
'1_minute' => '1 minute', '1_minute' => '1 minute',
'1_month' => '1 month', '1_month' => '1 month',
'1_point' => '1 point', '1_point' => '1 point',
'1_question' => '1 question', '1_question' => '1 question',
'1_second' => '1 second', '1_second' => '1 second',
'1_tag' => '1 tag', '1_tag' => '1 tag',
'1_user' => '1 user', '1_user' => '1 user',
'1_view' => '1 view', '1_view' => '1 view',
'1_vote' => '1 vote', '1_vote' => '1 vote',
'1_week' => '1 week', '1_week' => '1 week',
'1_year' => '1 year', '1_year' => '1 year',
'add_category_x_favorites' => 'Add category ^ to my favorites', 'add_category_x_favorites' => 'Add category ^ to my favorites',
'add_favorites' => 'Add to my favorites', 'add_favorites' => 'Add to my favorites',
'add_tag_x_favorites' => 'Add tag ^ to my favorites', 'add_tag_x_favorites' => 'Add tag ^ to my favorites',
'all_categories' => 'All categories', 'all_categories' => 'All categories',
'anonymous' => 'anonymous', 'anonymous' => 'anonymous',
'answer_edited' => 'answer edited', 'answer_edited' => 'answer edited',
'answer_reshown' => 'answer reshown', 'answer_reshown' => 'answer reshown',
'answer_selected' => 'answer selected', 'answer_selected' => 'answer selected',
'answered' => 'answered', 'answered' => 'answered',
'answered_qs_in_x' => 'Most answered questions in ^', 'answered_qs_in_x' => 'Most answered questions in ^',
'answered_qs_title' => 'Most answered questions', 'answered_qs_title' => 'Most answered questions',
'asked' => 'asked', 'asked' => 'asked',
'asked_related_q' => 'asked related question', 'asked_related_q' => 'asked related question',
'by_x' => 'by ^', 'by_x' => 'by ^',
'cancel_button' => 'Cancel', 'cancel_button' => 'Cancel',
'closed' => 'closed', 'closed' => 'closed',
'comment_edited' => 'comment edited', 'comment_edited' => 'comment edited',
'comment_moved' => 'comment moved', 'comment_moved' => 'comment moved',
'comment_reshown' => 'comment reshown', 'comment_reshown' => 'comment reshown',
'commented' => 'commented', 'commented' => 'commented',
'date_day_min_digits' => 1, // 1 or 2 'date_day_min_digits' => 1, // 1 or 2
'date_format_other_years' => '^month ^day, ^year', 'date_format_other_years' => '^month ^day, ^year',
'date_format_this_year' => '^month ^day', 'date_format_this_year' => '^month ^day',
'date_month_1' => 'Jan', 'date_month_1' => 'Jan',
'date_month_2' => 'Feb', 'date_month_2' => 'Feb',
'date_month_3' => 'Mar', 'date_month_3' => 'Mar',
'date_month_4' => 'Apr', 'date_month_4' => 'Apr',
'date_month_5' => 'May', 'date_month_5' => 'May',
'date_month_6' => 'Jun', 'date_month_6' => 'Jun',
'date_month_7' => 'Jul', 'date_month_7' => 'Jul',
'date_month_8' => 'Aug', 'date_month_8' => 'Aug',
'date_month_9' => 'Sep', 'date_month_9' => 'Sep',
'date_month_10' => 'Oct', 'date_month_10' => 'Oct',
'date_month_11' => 'Nov', 'date_month_11' => 'Nov',
'date_month_12' => 'Dec', 'date_month_12' => 'Dec',
'date_year_digits' => 4, // 2 or 4 'date_year_digits' => 4, // 2 or 4
'edited' => 'edited', 'edited' => 'edited',
'email_error' => 'An error occurred trying to send the email.', 'email_error' => 'An error occurred trying to send the email.',
'field_required' => 'Please enter something in this field', 'field_required' => 'Please enter something in this field',
'file_upload_limit_exceeded' => 'The size of the file exceeds the server\'s limits', 'file_upload_limit_exceeded' => 'The size of the file exceeds the server\'s limits',
'general_error' => 'A server error occurred - please try again.', 'general_error' => 'A server error occurred - please try again.',
'hidden' => 'hidden', 'hidden' => 'hidden',
'highest_users' => 'Top scoring users', 'highest_users' => 'Top scoring users',
'hot_qs_in_x' => 'Hot questions in ^', 'hot_qs_in_x' => 'Hot questions in ^',
'hot_qs_title' => 'Hot questions', 'hot_qs_title' => 'Hot questions',
'image_not_read' => 'The image could not be read. Please upload one of: ^', 'image_not_read' => 'The image could not be read. Please upload one of: ^',
'image_too_big_x_pc' => 'This image is too big. Please scale to ^% then try again.', 'image_too_big_x_pc' => 'This image is too big. Please scale to ^% then try again.',
'in_category_x' => 'in ^', 'in_category_x' => 'in ^',
'ip_address_x' => 'IP address ^', 'ip_address_x' => 'IP address ^',
'logged_in_x' => 'Hello ^', 'logged_in_x' => 'Hello ^',
'max_length_x' => 'Maximum length is ^ characters', 'max_length_x' => 'Maximum length is ^ characters',
'max_upload_size_x' => 'Maximum upload size is ^', 'max_upload_size_x' => 'Maximum upload size is ^',
'me' => 'me', 'me' => 'me',
'meta_order' => '^what^when^where^who', // you can reorder but DO NOT translate! e.g. <answered> <15 hours ago> <in Problems> <by me (500 points)> 'meta_order' => '^what^when^where^who', // you can reorder but DO NOT translate! e.g. <answered> <15 hours ago> <in Problems> <by me (500 points)>
'min_length_x' => 'Please provide more information - at least ^ characters', 'min_length_x' => 'Please provide more information - at least ^ characters',
'moved' => 'moved', 'moved' => 'moved',
'nav_activity' => 'All Activity', 'nav_activity' => 'All Activity',
'nav_admin' => 'Admin', 'nav_admin' => 'Admin',
'nav_ask' => 'Ask a Question', 'nav_ask' => 'Ask a Question',
'nav_categories' => 'Categories', 'nav_categories' => 'Categories',
'nav_feedback' => 'Send feedback', 'nav_feedback' => 'Send feedback',
'nav_home' => 'Home', 'nav_home' => 'Home',
'nav_hot' => 'Hot!', 'nav_hot' => 'Hot!',
'nav_login' => 'Login', 'nav_login' => 'Login',
'nav_logout' => 'Logout', 'nav_logout' => 'Logout',
'nav_most_answers' => 'Most answers', 'nav_most_answers' => 'Most answers',
'nav_most_recent' => 'Recent', 'nav_most_recent' => 'Recent',
'nav_most_views' => 'Most views', 'nav_most_views' => 'Most views',
'nav_most_votes' => 'Most votes', 'nav_most_votes' => 'Most votes',
'nav_no_answer' => 'No answer', 'nav_no_answer' => 'No answer',
'nav_no_selected_answer' => 'No selected answer', 'nav_no_selected_answer' => 'No selected answer',
'nav_no_upvoted_answer' => 'No upvoted answer', 'nav_no_upvoted_answer' => 'No upvoted answer',
'nav_qa' => 'Q&A', 'nav_qa' => 'Q&A',
'nav_qs' => 'Questions', 'nav_qs' => 'Questions',
'nav_register' => 'Register', 'nav_register' => 'Register',
'nav_tags' => 'Tags', 'nav_tags' => 'Tags',
'nav_unanswered' => 'Unanswered', 'nav_unanswered' => 'Unanswered',
'nav_updates' => 'My Updates', 'nav_updates' => 'My Updates',
'nav_users' => 'Users', 'nav_users' => 'Users',
'newest_users' => 'Newest users', 'newest_users' => 'Newest users',
'no_active_users' => 'No active users found', 'no_active_users' => 'No active users found',
'no_answers_found' => 'No answers found', 'no_answers_found' => 'No answers found',
'no_answers_in_x' => 'No answers in ^', 'no_answers_in_x' => 'No answers in ^',
'no_categories_found' => 'No categories found', 'no_categories_found' => 'No categories found',
'no_category' => 'No category', 'no_category' => 'No category',
'no_comments_found' => 'No comments found', 'no_comments_found' => 'No comments found',
'no_comments_in_x' => 'No comments in ^', 'no_comments_in_x' => 'No comments in ^',
'no_questions_found' => 'No questions found', 'no_questions_found' => 'No questions found',
'no_questions_in_x' => 'No questions in ^', 'no_questions_in_x' => 'No questions in ^',
'no_related_qs_title' => 'No related questions found', 'no_related_qs_title' => 'No related questions found',
'no_results_for_x' => 'No results found for ^', 'no_results_for_x' => 'No results found for ^',
'no_tags_found' => 'No tags found', 'no_tags_found' => 'No tags found',
'no_una_questions_found' => 'No unanswered questions found', 'no_una_questions_found' => 'No unanswered questions found',
'no_una_questions_in_x' => 'No unanswered questions in ^', 'no_una_questions_in_x' => 'No unanswered questions in ^',
'no_unselected_qs_found' => 'No questions found without a selected answer', 'no_unselected_qs_found' => 'No questions found without a selected answer',
'no_unupvoteda_qs_found' => 'No questions found without an upvoted answer', 'no_unupvoteda_qs_found' => 'No questions found without an upvoted answer',
'page_label' => 'Page:', 'page_label' => 'Page:',
'page_next' => 'next', 'page_next' => 'next',
'page_not_found' => 'Page not found', 'page_not_found' => 'Page not found',
'page_prev' => 'prev', 'page_prev' => 'prev',
'popular_tags' => 'Most popular tags', 'popular_tags' => 'Most popular tags',
'questions_tagged_x' => 'Recent questions tagged ^', 'questions_tagged_x' => 'Recent questions tagged ^',
'recategorized' => 'recategorized', 'recategorized' => 'recategorized',
'recent_activity_in_x' => 'Recent activity in ^', 'recent_activity_in_x' => 'Recent activity in ^',
'recent_activity_title' => 'Recent activity', 'recent_activity_title' => 'Recent activity',
'recent_as_in_x' => 'Recently answered questions in ^', 'recent_as_in_x' => 'Recently answered questions in ^',
'recent_as_title' => 'Recently answered questions', 'recent_as_title' => 'Recently answered questions',
'recent_cs_in_x' => 'Recently commented questions in ^', 'recent_cs_in_x' => 'Recently commented questions in ^',
'recent_cs_title' => 'Recently commented questions', 'recent_cs_title' => 'Recently commented questions',
'recent_qs_as_in_x' => 'Recent questions and answers in ^', 'recent_qs_as_in_x' => 'Recent questions and answers in ^',
'recent_qs_as_title' => 'Recent questions and answers', 'recent_qs_as_title' => 'Recent questions and answers',
'recent_qs_in_x' => 'Recent questions in ^', 'recent_qs_in_x' => 'Recent questions in ^',
'recent_qs_title' => 'Recent questions', 'recent_qs_title' => 'Recent questions',
'related_qs_title' => 'Related questions', 'related_qs_title' => 'Related questions',
'remove_favorites' => 'Remove from my favorites', 'remove_favorites' => 'Remove from my favorites',
'remove_x_favorites' => 'Remove ^ from my favorites', 'remove_x_favorites' => 'Remove ^ from my favorites',
'reopened' => 'reopened', 'reopened' => 'reopened',
'reshown' => 'reshown', 'reshown' => 'reshown',
'results_for_x' => 'Search results for ^', 'results_for_x' => 'Search results for ^',
'retagged' => 'retagged', 'retagged' => 'retagged',
'save_button' => 'Save Changes', 'save_button' => 'Save Changes',
'search_button' => 'Search', 'search_button' => 'Search',
'search_explanation' => 'Please enter some text into the search box and try again.', 'search_explanation' => 'Please enter some text into the search box and try again.',
'search_title' => 'Search results', 'search_title' => 'Search results',
'selected' => 'selected', 'selected' => 'selected',
'send_button' => 'Send', 'send_button' => 'Send',
'since_x' => 'since ^', 'since_x' => 'since ^',
'suggest_ask' => 'Help get things started by ^1asking a question^2.', 'suggest_ask' => 'Help get things started by ^1asking a question^2.',
'suggest_category_qs' => 'To see more, click for all the ^1questions in this category^2.', 'suggest_category_qs' => 'To see more, click for all the ^1questions in this category^2.',
'suggest_qs' => 'To see more, click for the ^1full list of questions^2.', 'suggest_qs' => 'To see more, click for the ^1full list of questions^2.',
'suggest_qs_tags' => 'To see more, click for the ^1full list of questions^2 or ^3popular tags^4.', 'suggest_qs_tags' => 'To see more, click for the ^1full list of questions^2 or ^3popular tags^4.',
'to_x' => 'to ^', 'to_x' => 'to ^',
'unanswered_qs_in_x' => 'Questions without answers in ^', 'unanswered_qs_in_x' => 'Questions without answers in ^',
'unanswered_qs_title' => 'Recent questions without answers', 'unanswered_qs_title' => 'Recent questions without answers',
'unselected_qs_in_x' => 'Questions without a selected answer in ^', 'unselected_qs_in_x' => 'Questions without a selected answer in ^',
'unselected_qs_title' => 'Recent questions without a selected answer', 'unselected_qs_title' => 'Recent questions without a selected answer',
'unupvoteda_qs_in_x' => 'Questions without an upvoted answer in ^', 'unupvoteda_qs_in_x' => 'Questions without an upvoted answer in ^',
'unupvoteda_qs_title' => 'Recent questions without an upvoted answer', 'unupvoteda_qs_title' => 'Recent questions without an upvoted answer',
'upload_limit' => 'Too many uploads - please try again in an hour', 'upload_limit' => 'Too many uploads - please try again in an hour',
'view_q_must_be_approved' => 'Your account must be approved to view question pages.', 'view_q_must_be_approved' => 'Your account must be approved to view question pages.',
'view_q_must_confirm' => 'Please ^5confirm your email address^6 to view question pages.', 'view_q_must_confirm' => 'Please ^5confirm your email address^6 to view question pages.',
'view_q_must_login' => 'Please ^1log in^2 or ^3register^4 to view question pages.', 'view_q_must_login' => 'Please ^1log in^2 or ^3register^4 to view question pages.',
'viewed_qs_in_x' => 'Most viewed questions in ^', 'viewed_qs_in_x' => 'Most viewed questions in ^',
'viewed_qs_title' => 'Most viewed questions', 'viewed_qs_title' => 'Most viewed questions',
'vote_disabled_approve' => 'You account must be approved before you can vote', 'vote_disabled_approve' => 'You account must be approved before you can vote',
'vote_disabled_down' => 'Voting down is only available to some users', 'vote_disabled_down' => 'Voting down is only available to some users',
'vote_disabled_down_approve' => 'Your account must be approved before you can vote down', 'vote_disabled_down_approve' => 'Your account must be approved before you can vote down',
'vote_disabled_hidden_a' => 'You cannot vote on hidden answers', 'vote_disabled_hidden_a' => 'You cannot vote on hidden answers',
'vote_disabled_hidden_q' => 'You cannot vote on hidden questions', 'vote_disabled_hidden_q' => 'You cannot vote on hidden questions',
'vote_disabled_level' => 'Voting is only available to some users', 'vote_disabled_level' => 'Voting is only available to some users',
'vote_disabled_my_a' => 'You cannot vote on your own answers', 'vote_disabled_my_a' => 'You cannot vote on your own answers',
'vote_disabled_my_q' => 'You cannot vote on your own questions', 'vote_disabled_my_q' => 'You cannot vote on your own questions',
'vote_disabled_q_page_only' => 'Please view this question to vote', 'vote_disabled_q_page_only' => 'Please view this question to vote',
'vote_down_must_confirm' => 'Please ^5confirm your email address^6 to vote down.', 'vote_down_must_confirm' => 'Please ^5confirm your email address^6 to vote down.',
'vote_down_popup' => 'Click to vote down', 'vote_down_popup' => 'Click to vote down',
'vote_limit' => 'Too many votes received - please try again in an hour', 'vote_limit' => 'Too many votes received - please try again in an hour',
'vote_must_confirm' => 'Please ^5confirm your email address^6 to vote.', 'vote_must_confirm' => 'Please ^5confirm your email address^6 to vote.',
'vote_must_login' => 'Please ^1log in^2 or ^3register^4 to vote.', 'vote_must_login' => 'Please ^1log in^2 or ^3register^4 to vote.',
'vote_not_allowed' => 'Voting on this is not allowed', 'vote_not_allowed' => 'Voting on this is not allowed',
'vote_up_popup' => 'Click to vote up', 'vote_up_popup' => 'Click to vote up',
'voted_down_popup' => 'You have voted this down - click to remove vote', 'voted_down_popup' => 'You have voted this down - click to remove vote',
'voted_qs_in_x' => 'Highest voted questions in ^', 'voted_qs_in_x' => 'Highest voted questions in ^',
'voted_qs_title' => 'Highest voted questions', 'voted_qs_title' => 'Highest voted questions',
'voted_up_popup' => 'You have voted this up - click to remove vote', 'voted_up_popup' => 'You have voted this up - click to remove vote',
'written' => '', // blank in English - placeholder for other languages 'written' => '', // blank in English - placeholder for other languages
'x_ago' => '^ ago', 'x_ago' => '^ ago',
'x_answers' => '^ answers', 'x_answers' => '^ answers',
'x_comments' => '^ comments', 'x_comments' => '^ comments',
'x_days' => '^ days', 'x_days' => '^ days',
'x_disliked' => '^ dislike', 'x_disliked' => '^ dislike',
'x_flags' => '^ flags', 'x_flags' => '^ flags',
'x_hours' => '^ hours', 'x_hours' => '^ hours',
'x_liked' => '^ like', 'x_liked' => '^ like',
'x_minutes' => '^ minutes', 'x_minutes' => '^ minutes',
'x_months' => '^ months', 'x_months' => '^ months',
'x_points' => '^ points', 'x_points' => '^ points',
'x_questions' => '^ questions', 'x_questions' => '^ questions',
'x_seconds' => '^ seconds', 'x_seconds' => '^ seconds',
'x_tags' => '^ tags', 'x_tags' => '^ tags',
'x_users' => '^ users', 'x_users' => '^ users',
'x_views' => '^ views', 'x_views' => '^ views',
'x_votes' => '^ votes', 'x_votes' => '^ votes',
'x_weeks' => '^ weeks', 'x_weeks' => '^ weeks',
'x_years' => '^ years', 'x_years' => '^ years',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -20,106 +20,101 @@ ...@@ -20,106 +20,101 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'block_ip_button' => 'Block IP address', 'block_ip_button' => 'Block IP address',
'browse_categories' => 'Browse categories', 'browse_categories' => 'Browse categories',
'captcha_approve_fix' => 'This verification will stop appearing once your account is approved.', 'captcha_approve_fix' => 'This verification will stop appearing once your account is approved.',
'captcha_confirm_fix' => 'To avoid this verification in future, please ^5confirm your email address^6.', 'captcha_confirm_fix' => 'To avoid this verification in future, please ^5confirm your email address^6.',
'captcha_error' => 'Please complete the anti-spam verification', 'captcha_error' => 'Please complete the anti-spam verification',
'captcha_label' => 'Anti-spam verification:', 'captcha_label' => 'Anti-spam verification:',
'captcha_login_fix' => 'To avoid this verification in future, please ^1log in^2 or ^3register^4.', 'captcha_login_fix' => 'To avoid this verification in future, please ^1log in^2 or ^3register^4.',
'feed_a_edited_prefix' => 'Answer edited: ', 'feed_a_edited_prefix' => 'Answer edited: ',
'feed_a_prefix' => 'Answered: ', 'feed_a_prefix' => 'Answered: ',
'feed_a_reshown_prefix' => 'Answer reshown: ', 'feed_a_reshown_prefix' => 'Answer reshown: ',
'feed_a_selected_prefix' => 'Answer selected: ', 'feed_a_selected_prefix' => 'Answer selected: ',
'feed_c_edited_prefix' => 'Comment edited: ', 'feed_c_edited_prefix' => 'Comment edited: ',
'feed_c_moved_prefix' => 'Comment moved: ', 'feed_c_moved_prefix' => 'Comment moved: ',
'feed_c_prefix' => 'Commented: ', 'feed_c_prefix' => 'Commented: ',
'feed_c_reshown_prefix' => 'Comment reshown: ', 'feed_c_reshown_prefix' => 'Comment reshown: ',
'feed_closed_prefix' => 'Closed: ', 'feed_closed_prefix' => 'Closed: ',
'feed_edited_prefix' => 'Edited: ', 'feed_edited_prefix' => 'Edited: ',
'feed_hidden_prefix' => 'Hidden: ', 'feed_hidden_prefix' => 'Hidden: ',
'feed_not_found' => 'Feed not found', 'feed_not_found' => 'Feed not found',
'feed_recategorized_prefix' => 'Recategorized: ', 'feed_recategorized_prefix' => 'Recategorized: ',
'feed_reopened_prefix' => 'Reopened: ', 'feed_reopened_prefix' => 'Reopened: ',
'feed_reshown_prefix' => 'Reshown: ', 'feed_reshown_prefix' => 'Reshown: ',
'feed_retagged_prefix' => 'Retagged: ', 'feed_retagged_prefix' => 'Retagged: ',
'feedback_email' => 'Your email: (optional)', 'feedback_email' => 'Your email: (optional)',
'feedback_empty' => 'Please use this field to send some comments or suggestions', 'feedback_empty' => 'Please use this field to send some comments or suggestions',
'feedback_message' => 'Your comments or suggestions for ^:', 'feedback_message' => 'Your comments or suggestions for ^:',
'feedback_name' => 'Your name: (optional)', 'feedback_name' => 'Your name: (optional)',
'feedback_sent' => 'Your message below was sent - thank you.', 'feedback_sent' => 'Your message below was sent - thank you.',
'feedback_title' => 'Send feedback', 'feedback_title' => 'Send feedback',
'form_security_again' => 'Please click again to confirm', 'form_security_again' => 'Please click again to confirm',
'form_security_reload' => 'Please reload the page then try again', 'form_security_reload' => 'Please reload the page then try again',
'hide_all_ip_button' => 'Hide all posts from this IP', 'hide_all_ip_button' => 'Hide all posts from this IP',
'host_name' => 'Host name:', 'host_name' => 'Host name:',
'inbox' => 'Inbox', 'inbox' => 'Inbox',
'matches_blocked_ips' => 'Matches blocked IP addresses:', 'matches_blocked_ips' => 'Matches blocked IP addresses:',
'message_empty' => 'Please enter your message to send to this user', 'message_empty' => 'Please enter your message to send to this user',
'message_explanation' => 'This will be sent as a notification from ^. Your email address will not be revealed unless you include it in the message.', 'message_explanation' => 'This will be sent as a notification from ^. Your email address will not be revealed unless you include it in the message.',
'message_for_x' => 'Your message for ^:', 'message_for_x' => 'Your message for ^:',
'message_limit' => 'You cannot send more private messages this hour', 'message_limit' => 'You cannot send more private messages this hour',
'message_must_login' => 'Please ^1log in^2 or ^3register^4 to send private messages.', 'message_must_login' => 'Please ^1log in^2 or ^3register^4 to send private messages.',
'message_recent_history' => 'Recent correspondence with ^', 'message_recent_history' => 'Recent correspondence with ^',
'message_sent' => 'Your private message below was sent', 'message_sent' => 'Your private message below was sent',
'more_favorite_qs' => 'More favorite questions...', 'more_favorite_qs' => 'More favorite questions...',
'more_favorite_tags' => 'More favorite tags...', 'more_favorite_tags' => 'More favorite tags...',
'more_favorite_users' => 'More favorite users...', 'more_favorite_users' => 'More favorite users...',
'my_favorites_title' => 'My favorites', 'my_favorites_title' => 'My favorites',
'nav_all_my_updates' => 'All my updates', 'nav_all_my_updates' => 'All my updates',
'nav_my_content' => 'My content', 'nav_my_content' => 'My content',
'nav_my_details' => 'My account', 'nav_my_details' => 'My account',
'nav_my_favorites' => 'My favorites', 'nav_my_favorites' => 'My favorites',
'nav_user_activity' => 'Recent activity', 'nav_user_activity' => 'Recent activity',
'nav_user_as' => 'All answers', 'nav_user_as' => 'All answers',
'nav_user_pms' => 'Private messages', 'nav_user_pms' => 'Private messages',
'nav_user_qs' => 'All questions', 'nav_user_qs' => 'All questions',
'nav_user_wall' => 'Wall', 'nav_user_wall' => 'Wall',
'next_step' => 'Next step', 'next_step' => 'Next step',
'no_activity_from_x' => 'No activity from ^', 'no_activity_from_x' => 'No activity from ^',
'no_favorite_categories' => 'No favorite categories', 'no_favorite_categories' => 'No favorite categories',
'no_favorite_qs' => 'No favorite questions', 'no_favorite_qs' => 'No favorite questions',
'no_favorite_tags' => 'No favorite tags', 'no_favorite_tags' => 'No favorite tags',
'no_favorite_users' => 'No favorite users', 'no_favorite_users' => 'No favorite users',
'no_recent_updates' => 'No recent updates', 'no_recent_updates' => 'No recent updates',
'no_updates_content' => 'No recent updates for my content', 'no_updates_content' => 'No recent updates for my content',
'no_updates_favorites' => 'No updates for my favorites', 'no_updates_favorites' => 'No updates for my favorites',
'outbox' => 'Sent items', 'outbox' => 'Sent items',
'pm_inbox_title' => 'Private messages received', 'pm_inbox_title' => 'Private messages received',
'pm_outbox_title' => 'Private messages sent', 'pm_outbox_title' => 'Private messages sent',
'private_message_title' => 'Send a private message', 'private_message_title' => 'Send a private message',
'recent_activity_from_x' => 'Recent activity from ^', 'recent_activity_from_x' => 'Recent activity from ^',
'recent_updates_content' => 'Recent updates for my content', 'recent_updates_content' => 'Recent updates for my content',
'recent_updates_favorites' => 'Recent updates for my favorites', 'recent_updates_favorites' => 'Recent updates for my favorites',
'recent_updates_title' => 'Recent updates for me', 'recent_updates_title' => 'Recent updates for me',
'site_in_maintenance' => 'This site is currently down for maintenance - please come back soon.', 'site_in_maintenance' => 'This site is currently down for maintenance - please come back soon.',
'suggest_favorites_add' => 'To add a question or other item to your favorites, click the ^ at the top of its page.', 'suggest_favorites_add' => 'To add a question or other item to your favorites, click the ^ at the top of its page.',
'suggest_update_favorites' => 'For more updates, add items to ^1your favorites^2.', 'suggest_update_favorites' => 'For more updates, add items to ^1your favorites^2.',
'unblock_ip_button' => 'Unblock IP address', 'unblock_ip_button' => 'Unblock IP address',
'your_a_commented' => 'your answer commented', 'your_a_commented' => 'your answer commented',
'your_a_edited' => 'your answer edited', 'your_a_edited' => 'your answer edited',
'your_a_hidden' => 'your answer hidden', 'your_a_hidden' => 'your answer hidden',
'your_a_questioned' => 'asked on your answer', 'your_a_questioned' => 'asked on your answer',
'your_a_reshown' => 'your answer reshown', 'your_a_reshown' => 'your answer reshown',
'your_a_selected' => 'your answer selected', 'your_a_selected' => 'your answer selected',
'your_c_edited' => 'your comment edited', 'your_c_edited' => 'your comment edited',
'your_c_followed' => 'your comment followed', 'your_c_followed' => 'your comment followed',
'your_c_hidden' => 'your comment hidden', 'your_c_hidden' => 'your comment hidden',
'your_c_moved' => 'your comment moved', 'your_c_moved' => 'your comment moved',
'your_c_reshown' => 'your comment reshown', 'your_c_reshown' => 'your comment reshown',
'your_q_answered' => 'your question answered', 'your_q_answered' => 'your question answered',
'your_q_closed' => 'your question closed', 'your_q_closed' => 'your question closed',
'your_q_commented' => 'your question commented', 'your_q_commented' => 'your question commented',
'your_q_edited' => 'your question edited', 'your_q_edited' => 'your question edited',
'your_q_hidden' => 'your question hidden', 'your_q_hidden' => 'your question hidden',
'your_q_recategorized' => 'your question recategorized', 'your_q_recategorized' => 'your question recategorized',
'your_q_reopened' => 'your question reopened', 'your_q_reopened' => 'your question reopened',
'your_q_reshown' => 'your question reshown', 'your_q_reshown' => 'your question reshown',
'your_q_retagged' => 'your question retagged', 'your_q_retagged' => 'your question retagged',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -20,281 +20,276 @@ ...@@ -20,281 +20,276 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'allow_change_usernames' => 'Allow users with posts to change their username:', 'allow_change_usernames' => 'Allow users with posts to change their username:',
'allow_close_questions' => 'Allow questions to be manually closed:', 'allow_close_questions' => 'Allow questions to be manually closed:',
'allow_login_email_only' => 'Only log in by email address (not username):', 'allow_login_email_only' => 'Only log in by email address (not username):',
'allow_multi_answers' => 'Allow multiple answers per user:', 'allow_multi_answers' => 'Allow multiple answers per user:',
'allow_no_category' => 'Allow questions with no category', 'allow_no_category' => 'Allow questions with no category',
'allow_no_sub_category' => 'Allow questions with a category but no sub-category', 'allow_no_sub_category' => 'Allow questions with a category but no sub-category',
'allow_private_messages' => 'Enable private messaging between users:', 'allow_private_messages' => 'Enable private messaging between users:',
'allow_self_answer' => 'Allow users to answer their own question:', 'allow_self_answer' => 'Allow users to answer their own question:',
'allow_user_walls' => 'Enable wall posts on user profiles:', 'allow_user_walls' => 'Enable wall posts on user profiles:',
'allow_view_q_bots' => 'Allow search engines to view question pages', 'allow_view_q_bots' => 'Allow search engines to view question pages',
'approve_user_required' => 'All new users must be approved:', 'approve_user_required' => 'All new users must be approved:',
'avatar_allow_gravatar' => 'Allow ^1Gravatar^2 avatars:', 'avatar_allow_gravatar' => 'Allow ^1Gravatar^2 avatars:',
'avatar_allow_upload' => 'Allow users to upload avatars:', 'avatar_allow_upload' => 'Allow users to upload avatars:',
'avatar_default_show' => 'Default avatar:', 'avatar_default_show' => 'Default avatar:',
'avatar_message_list_size' => 'Avatar size on message lists:', 'avatar_message_list_size' => 'Avatar size on message lists:',
'avatar_profile_size' => 'Avatar size on user profile page:', 'avatar_profile_size' => 'Avatar size on user profile page:',
'avatar_q_list_size' => 'Avatar size on question lists:', 'avatar_q_list_size' => 'Avatar size on question lists:',
'avatar_q_page_a_size' => 'Avatar size on answers:', 'avatar_q_page_a_size' => 'Avatar size on answers:',
'avatar_q_page_c_size' => 'Avatar size on comments:', 'avatar_q_page_c_size' => 'Avatar size on comments:',
'avatar_q_page_q_size' => 'Avatar size on questions:', 'avatar_q_page_q_size' => 'Avatar size on questions:',
'avatar_store_size' => 'Maximum size for storing avatars:', 'avatar_store_size' => 'Maximum size for storing avatars:',
'avatar_users_size' => 'Avatar size on top users page:', 'avatar_users_size' => 'Avatar size on top users page:',
'block_bad_words' => 'Censored words - separate by spaces or commas:', 'block_bad_words' => 'Censored words - separate by spaces or commas:',
'block_ips_write' => 'Blocked IP addresses - separate by spaces or commas:', 'block_ips_write' => 'Blocked IP addresses - separate by spaces or commas:',
'caching_catwidget_time' => 'Cache category widget for:', 'caching_catwidget_time' => 'Cache category widget for:',
'caching_enabled' => 'Enable caching:', 'caching_enabled' => 'Enable caching:',
'caching_q_start' => 'Start caching questions after:', 'caching_q_start' => 'Start caching questions after:',
'caching_q_time' => 'Cache question pages for:', 'caching_q_time' => 'Cache question pages for:',
'caching_qlist_time' => 'Cache question lists for:', 'caching_qlist_time' => 'Cache question lists for:',
'captcha_module' => 'Use captcha module:', 'captcha_module' => 'Use captcha module:',
'captcha_on_anon_post' => 'Use captcha for anonymous posts:', 'captcha_on_anon_post' => 'Use captcha for anonymous posts:',
'captcha_on_feedback' => 'Use captcha on feedback form:', 'captcha_on_feedback' => 'Use captcha on feedback form:',
'captcha_on_register' => 'Use captcha for user registration:', 'captcha_on_register' => 'Use captcha for user registration:',
'captcha_on_reset_password' => 'Use captcha on reset password form:', 'captcha_on_reset_password' => 'Use captcha on reset password form:',
'captcha_on_unapproved' => 'Use captcha if user not yet approved:', 'captcha_on_unapproved' => 'Use captcha if user not yet approved:',
'captcha_on_unconfirmed' => 'Use captcha if email not confirmed:', 'captcha_on_unconfirmed' => 'Use captcha if email not confirmed:',
'columns_tags' => 'Columns on Tags page:', 'columns_tags' => 'Columns on Tags page:',
'columns_users' => 'Columns on Users page:', 'columns_users' => 'Columns on Users page:',
'comment_on_as' => 'Allow comments on answers:', 'comment_on_as' => 'Allow comments on answers:',
'comment_on_qs' => 'Allow comments on questions:', 'comment_on_qs' => 'Allow comments on questions:',
'confirm_user_emails' => 'Request confirmation of user emails:', 'confirm_user_emails' => 'Request confirmation of user emails:',
'confirm_user_required' => 'All new users must confirm their email:', 'confirm_user_required' => 'All new users must confirm their email:',
'custom_home_content' => 'Home page content - HTML allowed:', 'custom_home_content' => 'Home page content - HTML allowed:',
'custom_home_heading' => 'Home page heading:', 'custom_home_heading' => 'Home page heading:',
'default_privacy' => 'Privacy: Your email address will not be shared or sold to third parties.', 'default_privacy' => 'Privacy: Your email address will not be shared or sold to third parties.',
'default_sidebar' => 'Welcome to ^, where you can ask questions and receive answers from other members of the community.', 'default_sidebar' => 'Welcome to ^, where you can ask questions and receive answers from other members of the community.',
'default_subject' => 'A message from ^', 'default_subject' => 'A message from ^',
'default_suffix' => 'Q&A', 'default_suffix' => 'Q&A',
'default_terms' => 'I agree to the ^ Terms & Conditions and Privacy Policy', 'default_terms' => 'I agree to the ^ Terms & Conditions and Privacy Policy',
'do_ask_check_qs' => 'Check for similar questions when asking:', 'do_ask_check_qs' => 'Check for similar questions when asking:',
'do_close_on_select' => 'Close questions with a selected answer:', 'do_close_on_select' => 'Close questions with a selected answer:',
'do_complete_tags' => 'Show matching tags while typing:', 'do_complete_tags' => 'Show matching tags while typing:',
'do_count_q_views' => 'Count the number of question views:', 'do_count_q_views' => 'Count the number of question views:',
'do_example_tags' => 'Show example tags based on question:', 'do_example_tags' => 'Show example tags based on question:',
'editor_for_as' => 'Default editor for answers:', 'editor_for_as' => 'Default editor for answers:',
'editor_for_cs' => 'Default editor for comments:', 'editor_for_cs' => 'Default editor for comments:',
'editor_for_qs' => 'Default editor for questions:', 'editor_for_qs' => 'Default editor for questions:',
'email_privacy' => 'Privacy note for email addresses - HTML allowed:', 'email_privacy' => 'Privacy note for email addresses - HTML allowed:',
'extra_field_active' => 'Custom field for extra information on ask form:', 'extra_field_active' => 'Custom field for extra information on ask form:',
'extra_field_display' => 'Show the extra information on question pages', 'extra_field_display' => 'Show the extra information on question pages',
'extra_field_display_label' => 'Show the extra information on question pages with label:', 'extra_field_display_label' => 'Show the extra information on question pages with label:',
'feed_for_activity' => 'Feed for recent activity:', 'feed_for_activity' => 'Feed for recent activity:',
'feed_for_hot' => 'Feed for hot questions:', 'feed_for_hot' => 'Feed for hot questions:',
'feed_for_qa' => 'Feed for recent questions and answers:', 'feed_for_qa' => 'Feed for recent questions and answers:',
'feed_for_questions' => 'Feed for recent questions:', 'feed_for_questions' => 'Feed for recent questions:',
'feed_for_search' => 'Feeds for search results:', 'feed_for_search' => 'Feeds for search results:',
'feed_for_tag_qs' => 'Feed for each tag\'s questions:', 'feed_for_tag_qs' => 'Feed for each tag\'s questions:',
'feed_for_unanswered' => 'Feed for unanswered questions:', 'feed_for_unanswered' => 'Feed for unanswered questions:',
'feed_full_text' => 'Include full text in feeds:', 'feed_full_text' => 'Include full text in feeds:',
'feed_number_items' => 'Maximum length of feeds:', 'feed_number_items' => 'Maximum length of feeds:',
'feed_per_category' => 'Individual feeds per category:', 'feed_per_category' => 'Individual feeds per category:',
'feedback_email' => 'Email address for admin messages - not shown to users:', 'feedback_email' => 'Email address for admin messages - not shown to users:',
'feedback_enabled' => 'Provide a page for users to send feedback', 'feedback_enabled' => 'Provide a page for users to send feedback',
'flagging_hide_after' => 'Automatically hide posts which reach:', 'flagging_hide_after' => 'Automatically hide posts which reach:',
'flagging_notify_every' => 'Email me again after every additional:', 'flagging_notify_every' => 'Email me again after every additional:',
'flagging_notify_first' => 'Email me if a post receives:', 'flagging_notify_first' => 'Email me if a post receives:',
'flagging_of_posts' => 'Allow posts to be flagged:', 'flagging_of_posts' => 'Allow posts to be flagged:',
'follow_on_as' => 'Allow questions to be related to answers:', 'follow_on_as' => 'Allow questions to be related to answers:',
'from_email' => 'Sender address for messages from site:', 'from_email' => 'Sender address for messages from site:',
'hot_weight_a_age' => 'Question has a new answer:', 'hot_weight_a_age' => 'Question has a new answer:',
'hot_weight_answers' => 'Question has many answers:', 'hot_weight_answers' => 'Question has many answers:',
'hot_weight_q_age' => 'Question is new:', 'hot_weight_q_age' => 'Question is new:',
'hot_weight_views' => 'Question has many views:', 'hot_weight_views' => 'Question has many views:',
'hot_weight_votes' => 'Question has many up votes:', 'hot_weight_votes' => 'Question has many up votes:',
'links_in_new_window' => 'Open linked URLs in a new window:', 'links_in_new_window' => 'Open linked URLs in a new window:',
'logo_height' => 'Logo height:', 'logo_height' => 'Logo height:',
'logo_show' => 'Show a logo image in the page header', 'logo_show' => 'Show a logo image in the page header',
'logo_url' => 'URL of logo - absolute or relative to Q2A root:', 'logo_url' => 'URL of logo - absolute or relative to Q2A root:',
'logo_width' => 'Logo width:', 'logo_width' => 'Logo width:',
'mailing_body' => 'Body text:', 'mailing_body' => 'Body text:',
'mailing_enabled' => 'Enable mass mailings to all users', 'mailing_enabled' => 'Enable mass mailings to all users',
'mailing_from_email' => 'From email address:', 'mailing_from_email' => 'From email address:',
'mailing_from_name' => 'From name:', 'mailing_from_name' => 'From name:',
'mailing_per_minute' => 'Maximum mailing rate:', 'mailing_per_minute' => 'Maximum mailing rate:',
'mailing_subject' => 'Subject line:', 'mailing_subject' => 'Subject line:',
'match_1' => 'Narrowest', 'match_1' => 'Narrowest',
'match_2' => 'Narrower', 'match_2' => 'Narrower',
'match_3' => 'Default', 'match_3' => 'Default',
'match_4' => 'Wider', 'match_4' => 'Wider',
'match_5' => 'Widest', 'match_5' => 'Widest',
'match_ask_check_qs' => 'Similar questions matching:', 'match_ask_check_qs' => 'Similar questions matching:',
'match_example_tags' => 'Example tags matching:', 'match_example_tags' => 'Example tags matching:',
'match_related_qs' => 'Related questions matching:', 'match_related_qs' => 'Related questions matching:',
'max_len_q_title' => 'Maximum length of question title:', 'max_len_q_title' => 'Maximum length of question title:',
'max_num_q_tags' => 'Maximum number of tags:', 'max_num_q_tags' => 'Maximum number of tags:',
'max_rate_ip_as' => 'Rate limit for adding answers:', 'max_rate_ip_as' => 'Rate limit for adding answers:',
'max_rate_ip_cs' => 'Rate limit for posting comments:', 'max_rate_ip_cs' => 'Rate limit for posting comments:',
'max_rate_ip_flags' => 'Rate limit for flagging posts:', 'max_rate_ip_flags' => 'Rate limit for flagging posts:',
'max_rate_ip_logins' => 'Rate limit for logging in:', 'max_rate_ip_logins' => 'Rate limit for logging in:',
'max_rate_ip_messages' => 'Rate limit for private and wall messages:', 'max_rate_ip_messages' => 'Rate limit for private and wall messages:',
'max_rate_ip_qs' => 'Rate limit for asking questions:', 'max_rate_ip_qs' => 'Rate limit for asking questions:',
'max_rate_ip_registers' => 'Rate limit for user registrations:', 'max_rate_ip_registers' => 'Rate limit for user registrations:',
'max_rate_ip_uploads' => 'Rate limit for uploading files:', 'max_rate_ip_uploads' => 'Rate limit for uploading files:',
'max_rate_ip_votes' => 'Rate limit for voting:', 'max_rate_ip_votes' => 'Rate limit for voting:',
'max_rate_user_as' => 'Maximum answers per user per hour:', 'max_rate_user_as' => 'Maximum answers per user per hour:',
'max_rate_user_cs' => 'Maximum comments per user per hour:', 'max_rate_user_cs' => 'Maximum comments per user per hour:',
'max_rate_user_flags' => 'Maximum flags per user per hour:', 'max_rate_user_flags' => 'Maximum flags per user per hour:',
'max_rate_user_messages' => 'Maximum private messages per user per hour:', 'max_rate_user_messages' => 'Maximum private messages per user per hour:',
'max_rate_user_qs' => 'Maximum questions per user per hour:', 'max_rate_user_qs' => 'Maximum questions per user per hour:',
'max_rate_user_uploads' => 'Maximum uploads per user per hour:', 'max_rate_user_uploads' => 'Maximum uploads per user per hour:',
'max_rate_user_votes' => 'Maximum votes per user per hour:', 'max_rate_user_votes' => 'Maximum votes per user per hour:',
'min_len_a_content' => 'Minimum length of answer:', 'min_len_a_content' => 'Minimum length of answer:',
'min_len_c_content' => 'Minimum length of comment:', 'min_len_c_content' => 'Minimum length of comment:',
'min_len_q_content' => 'Minimum length of question body:', 'min_len_q_content' => 'Minimum length of question body:',
'min_len_q_title' => 'Minimum length of question title:', 'min_len_q_title' => 'Minimum length of question title:',
'min_num_q_tags' => 'Minimum number of tags:', 'min_num_q_tags' => 'Minimum number of tags:',
'minify_html' => 'Minify HTML:', 'minify_html' => 'Minify HTML:',
'moderate_anon_post' => 'Use moderation for anonymous posts:', 'moderate_anon_post' => 'Use moderation for anonymous posts:',
'moderate_by_points' => 'Use moderation for users with few points:', 'moderate_by_points' => 'Use moderation for users with few points:',
'moderate_edited_again' => 'Re-moderate posts after editing:', 'moderate_edited_again' => 'Re-moderate posts after editing:',
'moderate_notify_admin' => 'Email me when a post needs moderation:', 'moderate_notify_admin' => 'Email me when a post needs moderation:',
'moderate_points_limit' => 'Use moderation for users with less than:', 'moderate_points_limit' => 'Use moderation for users with less than:',
'moderate_unapproved' => 'Use moderation if user not yet approved:', 'moderate_unapproved' => 'Use moderation if user not yet approved:',
'moderate_unconfirmed' => 'Use moderation if email not confirmed:', 'moderate_unconfirmed' => 'Use moderation if email not confirmed:',
'moderate_update_time' => 'Time to show on moderated posts:', 'moderate_update_time' => 'Time to show on moderated posts:',
'moderate_users' => 'Enable moderation (approval) of users:', 'moderate_users' => 'Enable moderation (approval) of users:',
'neat_urls' => 'URL structure:', 'neat_urls' => 'URL structure:',
'notify_admin_q_post' => 'Email this address when a question is posted', 'notify_admin_q_post' => 'Email this address when a question is posted',
'notify_users_default' => 'Check email notification box by default:', 'notify_users_default' => 'Check email notification box by default:',
'option_default' => 'Default', 'option_default' => 'Default',
'page_size_activity' => 'Length of All Activity page:', 'page_size_activity' => 'Length of All Activity page:',
'page_size_ask_check_qs' => 'Maximum similar questions to show:', 'page_size_ask_check_qs' => 'Maximum similar questions to show:',
'page_size_ask_tags' => 'Maximum tag hints to show:', 'page_size_ask_tags' => 'Maximum tag hints to show:',
'page_size_home' => 'Length of Q&A page:', 'page_size_home' => 'Length of Q&A page:',
'page_size_hot_qs' => 'Length of Hot! page:', 'page_size_hot_qs' => 'Length of Hot! page:',
'page_size_pms' => 'Private messages per page:', 'page_size_pms' => 'Private messages per page:',
'page_size_q_as' => 'Maximum answers per page:', 'page_size_q_as' => 'Maximum answers per page:',
'page_size_qs' => 'Length of Questions page:', 'page_size_qs' => 'Length of Questions page:',
'page_size_related_qs' => 'Maximum related questions:', 'page_size_related_qs' => 'Maximum related questions:',
'page_size_search' => 'Search results per page:', 'page_size_search' => 'Search results per page:',
'page_size_tag_qs' => 'Questions on each tag page:', 'page_size_tag_qs' => 'Questions on each tag page:',
'page_size_tags' => 'Length of Tags page:', 'page_size_tags' => 'Length of Tags page:',
'page_size_una_qs' => 'Length of Unanswered page:', 'page_size_una_qs' => 'Length of Unanswered page:',
'page_size_users' => 'Length of Users page:', 'page_size_users' => 'Length of Users page:',
'page_size_wall' => 'Wall posts per page:', 'page_size_wall' => 'Wall posts per page:',
'pages_prev_next' => 'Links to previous/next pages:', 'pages_prev_next' => 'Links to previous/next pages:',
'permit_admins' => 'Administrators', 'permit_admins' => 'Administrators',
'permit_all' => 'Anybody', 'permit_all' => 'Anybody',
'permit_approve_users' => 'Approving registered users:', 'permit_approve_users' => 'Approving registered users:',
'permit_approved' => 'Approved users only', 'permit_approved' => 'Approved users only',
'permit_approved_points' => 'Approved users with enough points', 'permit_approved_points' => 'Approved users with enough points',
'permit_block' => 'Blocking or unblocking user or IPs:', 'permit_block' => 'Blocking or unblocking user or IPs:',
'permit_confirmed' => 'Registered users with email confirmed', 'permit_confirmed' => 'Registered users with email confirmed',
'permit_create_admins' => 'Creating administrators:', 'permit_create_admins' => 'Creating administrators:',
'permit_create_eds_mods' => 'Creating editors and moderators:', 'permit_create_eds_mods' => 'Creating editors and moderators:',
'permit_create_experts' => 'Creating experts:', 'permit_create_experts' => 'Creating experts:',
'permit_delete_users' => 'Deleting users:', 'permit_delete_users' => 'Deleting users:',
'permit_editors' => 'Editors, Moderators, Admins', 'permit_editors' => 'Editors, Moderators, Admins',
'permit_experts' => 'Experts, Editors, Moderators, Admins', 'permit_experts' => 'Experts, Editors, Moderators, Admins',
'permit_moderators' => 'Moderators and Admins', 'permit_moderators' => 'Moderators and Admins',
'permit_points' => 'Registered users with enough points', 'permit_points' => 'Registered users with enough points',
'permit_points_confirmed' => 'Registered & email confirmed & enough points', 'permit_points_confirmed' => 'Registered & email confirmed & enough points',
'permit_see_emails' => 'Viewing user email addresses:', 'permit_see_emails' => 'Viewing user email addresses:',
'permit_supers' => 'Super Administrators', 'permit_supers' => 'Super Administrators',
'permit_users' => 'Registered users', 'permit_users' => 'Registered users',
'place_full_below_content' => 'Full width - Below content', 'place_full_below_content' => 'Full width - Below content',
'place_full_below_footer' => 'Full width - Below footer', 'place_full_below_footer' => 'Full width - Below footer',
'place_full_below_nav' => 'Full width - Below navigation', 'place_full_below_nav' => 'Full width - Below navigation',
'place_full_top' => 'Full width - Top of page', 'place_full_top' => 'Full width - Top of page',
'place_main_below_lists' => 'Main area - Below lists', 'place_main_below_lists' => 'Main area - Below lists',
'place_main_below_title' => 'Main area - Below title', 'place_main_below_title' => 'Main area - Below title',
'place_main_bottom' => 'Main area - Bottom', 'place_main_bottom' => 'Main area - Bottom',
'place_main_top' => 'Main area - Top', 'place_main_top' => 'Main area - Top',
'place_side_below_categories' => 'Side panel - Below categories', // @deprecated 'place_side_below_categories' => 'Side panel - Below categories', // @deprecated
'place_side_below_sidebar' => 'Side panel - Below sidebar box', 'place_side_below_sidebar' => 'Side panel - Below sidebar box',
'place_side_low' => 'Side panel - Low', 'place_side_low' => 'Side panel - Low',
'place_side_last' => 'Side panel - Last', 'place_side_last' => 'Side panel - Last',
'place_side_top' => 'Side panel - Top', 'place_side_top' => 'Side panel - Top',
'points_a_selected' => 'Having your answer selected as the best:', 'points_a_selected' => 'Having your answer selected as the best:',
'points_a_voted_max_gain' => 'Limit from up votes on each answer:', 'points_a_voted_max_gain' => 'Limit from up votes on each answer:',
'points_a_voted_max_loss' => 'Limit from down votes on each answer:', 'points_a_voted_max_loss' => 'Limit from down votes on each answer:',
'points_base' => 'Add for all users:', 'points_base' => 'Add for all users:',
'points_multiple' => 'Multiply all points:', 'points_multiple' => 'Multiply all points:',
'points_per_a_voted_down' => 'Per down vote on your answer:', 'points_per_a_voted_down' => 'Per down vote on your answer:',
'points_per_a_voted_up' => 'Per up vote on your answer:', 'points_per_a_voted_up' => 'Per up vote on your answer:',
'points_per_q_voted_down' => 'Per down vote on your question:', 'points_per_q_voted_down' => 'Per down vote on your question:',
'points_per_q_voted_up' => 'Per up vote on your question:', 'points_per_q_voted_up' => 'Per up vote on your question:',
'points_post_a' => 'Posting an answer:', 'points_post_a' => 'Posting an answer:',
'points_post_q' => 'Posting a question:', 'points_post_q' => 'Posting a question:',
'points_q_voted_max_gain' => 'Limit from up votes on each question:', 'points_q_voted_max_gain' => 'Limit from up votes on each question:',
'points_q_voted_max_loss' => 'Limit from down votes on each question:', 'points_q_voted_max_loss' => 'Limit from down votes on each question:',
'points_select_a' => 'Selecting an answer for your question:', 'points_select_a' => 'Selecting an answer for your question:',
'points_vote_down_a' => 'Voting down an answer:', 'points_vote_down_a' => 'Voting down an answer:',
'points_vote_down_q' => 'Voting down a question:', 'points_vote_down_q' => 'Voting down a question:',
'points_vote_up_a' => 'Voting up an answer:', 'points_vote_up_a' => 'Voting up an answer:',
'points_vote_up_q' => 'Voting up a question:', 'points_vote_up_q' => 'Voting up a question:',
'q_urls_remove_accents' => 'Remove accents from question URLs:', 'q_urls_remove_accents' => 'Remove accents from question URLs:',
'q_urls_title_length' => 'Question title length in URLs:', 'q_urls_title_length' => 'Question title length in URLs:',
'register_notify_admin' => 'Email me when a new user registers:', 'register_notify_admin' => 'Email me when a new user registers:',
'search_module' => 'Use search module:', 'search_module' => 'Use search module:',
'show_a_form_immediate' => 'Show answer form immediately:', 'show_a_form_immediate' => 'Show answer form immediately:',
'show_always' => 'Always', 'show_always' => 'Always',
'show_c_reply_buttons' => 'Show reply button on comments:', 'show_c_reply_buttons' => 'Show reply button on comments:',
'show_compact_numbers' => 'Show compact numbers (e.g. 1.3k):', 'show_compact_numbers' => 'Show compact numbers (e.g. 1.3k):',
'show_custom_answer' => 'Custom message on answer form - HTML allowed:', 'show_custom_answer' => 'Custom message on answer form - HTML allowed:',
'show_custom_ask' => 'Custom message on ask form - HTML allowed:', 'show_custom_ask' => 'Custom message on ask form - HTML allowed:',
'show_custom_comment' => 'Custom message on comment form - HTML allowed:', 'show_custom_comment' => 'Custom message on comment form - HTML allowed:',
'show_custom_footer' => 'Custom HTML at bottom of every page:', 'show_custom_footer' => 'Custom HTML at bottom of every page:',
'show_custom_header' => 'Custom HTML at top of every page:', 'show_custom_header' => 'Custom HTML at top of every page:',
'show_custom_home' => 'Custom content in home page instead of Q&A', 'show_custom_home' => 'Custom content in home page instead of Q&A',
'show_custom_in_head' => 'Custom HTML in <head> section of every page:', 'show_custom_in_head' => 'Custom HTML in <head> section of every page:',
'show_custom_register' => 'Custom message on registration form - HTML allowed:', 'show_custom_register' => 'Custom message on registration form - HTML allowed:',
'show_custom_sidebar' => 'Custom HTML in sidebar box on every page:', 'show_custom_sidebar' => 'Custom HTML in sidebar box on every page:',
'show_custom_sidepanel' => 'Custom HTML in side panel on every page:', 'show_custom_sidepanel' => 'Custom HTML in side panel on every page:',
'show_custom_welcome' => 'Custom message in email sent to new registered users:', 'show_custom_welcome' => 'Custom message in email sent to new registered users:',
'show_fewer_cs_count' => 'If partially hidden, show most recent:', 'show_fewer_cs_count' => 'If partially hidden, show most recent:',
'show_fewer_cs_from' => 'Partially hide comments if more than:', 'show_fewer_cs_from' => 'Partially hide comments if more than:',
'show_full_date_days' => 'Show full date after:', 'show_full_date_days' => 'Show full date after:',
'show_home_description' => 'Include <meta> description for home page:', 'show_home_description' => 'Include <meta> description for home page:',
'show_if_no_as' => 'If no answers', 'show_if_no_as' => 'If no answers',
'show_message_history' => 'Store and display private message history:', 'show_message_history' => 'Store and display private message history:',
'show_never' => 'Never', 'show_never' => 'Never',
'show_notice_visitor' => 'Notice at top for first time visitors - HTML allowed:', 'show_notice_visitor' => 'Notice at top for first time visitors - HTML allowed:',
'show_notice_welcome' => 'Notice at top for new registered users - HTML allowed:', 'show_notice_welcome' => 'Notice at top for new registered users - HTML allowed:',
'show_post_update_meta' => 'Show edits/updates in post meta:', 'show_post_update_meta' => 'Show edits/updates in post meta:',
'show_register_terms' => 'Terms & Conditions checkbox on registration form - HTML allowed:', 'show_register_terms' => 'Terms & Conditions checkbox on registration form - HTML allowed:',
'show_selected_first' => 'Move selected answer to the top:', 'show_selected_first' => 'Move selected answer to the top:',
'show_url_links' => 'Detect and link URLs in posts:', 'show_url_links' => 'Detect and link URLs in posts:',
'show_user_points' => 'Show points next to usernames:', 'show_user_points' => 'Show points next to usernames:',
'show_user_titles' => 'Show titles next to usernames:', 'show_user_titles' => 'Show titles next to usernames:',
'show_view_count_q_page' => 'Show view count on question pages:', 'show_view_count_q_page' => 'Show view count on question pages:',
'show_view_counts' => 'Show view count in question lists:', 'show_view_counts' => 'Show view count in question lists:',
'show_when_created' => 'Show age of user posts:', 'show_when_created' => 'Show age of user posts:',
'site_language' => 'Site language:', 'site_language' => 'Site language:',
'site_maintenance' => 'Take site down for temporary maintenance', 'site_maintenance' => 'Take site down for temporary maintenance',
'site_text_direction' => 'Site text direction:', 'site_text_direction' => 'Site text direction:',
'site_theme' => 'Site theme:', 'site_theme' => 'Site theme:',
'site_theme_mobile' => 'Theme for mobiles:', 'site_theme_mobile' => 'Theme for mobiles:',
'site_title' => 'Q&A site name:', 'site_title' => 'Q&A site name:',
'site_url' => 'Preferred site URL:', 'site_url' => 'Preferred site URL:',
'smtp_active' => 'Send email via SMTP instead of local mail', 'smtp_active' => 'Send email via SMTP instead of local mail',
'smtp_address' => 'SMTP server address:', 'smtp_address' => 'SMTP server address:',
'smtp_authenticate' => 'Send SMTP username and password', 'smtp_authenticate' => 'Send SMTP username and password',
'smtp_password' => 'SMTP password:', 'smtp_password' => 'SMTP password:',
'smtp_port' => 'SMTP server port:', 'smtp_port' => 'SMTP server port:',
'smtp_secure' => 'SMTP secure connection:', 'smtp_secure' => 'SMTP secure connection:',
'smtp_secure_none' => 'None', 'smtp_secure_none' => 'None',
'smtp_username' => 'SMTP username:', 'smtp_username' => 'SMTP username:',
'sort_answers_by' => 'Sort answers by:', 'sort_answers_by' => 'Sort answers by:',
'sort_time' => 'Time', 'sort_time' => 'Time',
'sort_votes' => 'Votes', 'sort_votes' => 'Votes',
'suspend_register_users' => 'Temporarily suspend new user registrations:', 'suspend_register_users' => 'Temporarily suspend new user registrations:',
'tag_separator_comma' => 'Use comma as the only tag separator:', 'tag_separator_comma' => 'Use comma as the only tag separator:',
'tags_or_categories' => 'Question classification:', 'tags_or_categories' => 'Question classification:',
'time_approved' => 'Time approved', 'time_approved' => 'Time approved',
'time_written' => 'Time written', 'time_written' => 'Time written',
'use_microdata' => 'Use schema.org microdata:', 'use_microdata' => 'Use schema.org microdata:',
'votes_separated' => 'Show separate up and down votes:', 'votes_separated' => 'Show separate up and down votes:',
'voting_on_as' => 'Allow voting on answers:', 'voting_on_as' => 'Allow voting on answers:',
'voting_on_q_page_only' => 'Allow voting on question page only:', 'voting_on_q_page_only' => 'Allow voting on question page only:',
'voting_on_qs' => 'Allow voting on questions:', 'voting_on_qs' => 'Allow voting on questions:',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -20,76 +20,71 @@ ...@@ -20,76 +20,71 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'1_chosen_as_best' => ' (1 chosen as best)', '1_chosen_as_best' => ' (1 chosen as best)',
'1_down_vote' => '1 down vote', '1_down_vote' => '1 down vote',
'1_up_vote' => '1 up vote', '1_up_vote' => '1 up vote',
'1_with_best_chosen' => ' (1 with best answer chosen)', '1_with_best_chosen' => ' (1 with best answer chosen)',
'activity_by_x' => 'Activity by ^', 'activity_by_x' => 'Activity by ^',
'answers' => 'Answers:', 'answers' => 'Answers:',
'answers_by_x' => 'Answers by ^', 'answers_by_x' => 'Answers by ^',
'bonus_points' => 'Bonus points:', 'bonus_points' => 'Bonus points:',
'comments' => 'Comments:', 'comments' => 'Comments:',
'delete_pm_popup' => 'Delete this private message', 'delete_pm_popup' => 'Delete this private message',
'delete_wall_post_popup' => 'Delete this wall post', 'delete_wall_post_popup' => 'Delete this wall post',
'extra_privileges' => 'Extra privileges:', 'extra_privileges' => 'Extra privileges:',
'gave_out' => 'Gave out:', 'gave_out' => 'Gave out:',
'my_account_title' => 'My account', 'my_account_title' => 'My account',
'no_answers_by_x' => 'No answers by ^', 'no_answers_by_x' => 'No answers by ^',
'no_posts_by_x' => 'No posts by ^', 'no_posts_by_x' => 'No posts by ^',
'no_questions_by_x' => 'No questions by ^', 'no_questions_by_x' => 'No questions by ^',
'permit_anon_view_ips' => 'Viewing IPs of anonymous posts', 'permit_anon_view_ips' => 'Viewing IPs of anonymous posts',
'permit_close_q' => 'Closing any question', 'permit_close_q' => 'Closing any question',
'permit_delete_hidden' => 'Deleting hidden posts', 'permit_delete_hidden' => 'Deleting hidden posts',
'permit_edit_a' => 'Editing any answer', 'permit_edit_a' => 'Editing any answer',
'permit_edit_c' => 'Editing any comment', 'permit_edit_c' => 'Editing any comment',
'permit_edit_q' => 'Editing any question', 'permit_edit_q' => 'Editing any question',
'permit_edit_silent' => 'Editing posts silently', 'permit_edit_silent' => 'Editing posts silently',
'permit_flag' => 'Flagging posts', 'permit_flag' => 'Flagging posts',
'permit_hide_show' => 'Hiding or showing any post', 'permit_hide_show' => 'Hiding or showing any post',
'permit_moderate' => 'Approving or rejecting posts', 'permit_moderate' => 'Approving or rejecting posts',
'permit_post_a' => 'Answering questions', 'permit_post_a' => 'Answering questions',
'permit_post_c' => 'Adding comments', 'permit_post_c' => 'Adding comments',
'permit_post_q' => 'Asking questions', 'permit_post_q' => 'Asking questions',
'permit_post_wall' => 'Posting on user walls', 'permit_post_wall' => 'Posting on user walls',
'permit_recat' => 'Recategorizing any question', 'permit_recat' => 'Recategorizing any question',
'permit_retag' => 'Retagging any question', 'permit_retag' => 'Retagging any question',
'permit_select_a' => 'Selecting answer for any question', 'permit_select_a' => 'Selecting answer for any question',
'permit_view_q_page' => 'Viewing question pages', 'permit_view_q_page' => 'Viewing question pages',
'permit_view_new_users_page' => 'Viewing the newest users page', 'permit_view_new_users_page' => 'Viewing the newest users page',
'permit_view_special_users_page' => 'Viewing the special users page', 'permit_view_special_users_page' => 'Viewing the special users page',
'permit_view_voters_flaggers' => 'Viewing who voted or flagged posts', 'permit_view_voters_flaggers' => 'Viewing who voted or flagged posts',
'permit_vote_a' => 'Voting on answers', 'permit_vote_a' => 'Voting on answers',
'permit_vote_down' => 'Voting posts down', 'permit_vote_down' => 'Voting posts down',
'permit_vote_q' => 'Voting on questions', 'permit_vote_q' => 'Voting on questions',
'post_wall_blocked' => 'This user has disallowed new posts on their wall', 'post_wall_blocked' => 'This user has disallowed new posts on their wall',
'post_wall_button' => 'Add wall post', 'post_wall_button' => 'Add wall post',
'post_wall_empty' => 'Please enter something to post on this wall', 'post_wall_empty' => 'Please enter something to post on this wall',
'post_wall_limit' => 'You cannot write more wall posts this hour', 'post_wall_limit' => 'You cannot write more wall posts this hour',
'post_wall_must_be_approved' => 'Your account must be approved to post on this wall.', 'post_wall_must_be_approved' => 'Your account must be approved to post on this wall.',
'post_wall_must_confirm' => 'Please ^5confirm your email address^6 to post on this wall.', 'post_wall_must_confirm' => 'Please ^5confirm your email address^6 to post on this wall.',
'post_wall_must_login' => 'Please ^1log in^2 or ^3register^4 to post on this wall.', 'post_wall_must_login' => 'Please ^1log in^2 or ^3register^4 to post on this wall.',
'questions' => 'Questions:', 'questions' => 'Questions:',
'questions_by_x' => 'Questions by ^', 'questions_by_x' => 'Questions by ^',
'ranked_x' => ' (ranked #^)', 'ranked_x' => ' (ranked #^)',
'received' => 'Received:', 'received' => 'Received:',
'recent_activity_by_x' => 'Recent activity by ^', 'recent_activity_by_x' => 'Recent activity by ^',
'score' => 'Score:', 'score' => 'Score:',
'send_private_message' => ' - ^1send private message^2', 'send_private_message' => ' - ^1send private message^2',
'set_bonus_button' => 'Update bonus', 'set_bonus_button' => 'Update bonus',
'title' => 'Title:', 'title' => 'Title:',
'user_x' => 'User ^', 'user_x' => 'User ^',
'user_x_disabled_pms' => 'User ^ has disabled private messages.', 'user_x_disabled_pms' => 'User ^ has disabled private messages.',
'voted_on' => 'Voted on:', 'voted_on' => 'Voted on:',
'wall_for_x' => 'Wall for ^', 'wall_for_x' => 'Wall for ^',
'wall_view_more' => 'View more wall posts...', 'wall_view_more' => 'View more wall posts...',
'x_chosen_as_best' => ' (^ chosen as best)', 'x_chosen_as_best' => ' (^ chosen as best)',
'x_down_votes' => '^ down votes', 'x_down_votes' => '^ down votes',
'x_up_votes' => '^ up votes', 'x_up_votes' => '^ up votes',
'x_with_best_chosen' => ' (^ with best answer chosen)', 'x_with_best_chosen' => ' (^ with best answer chosen)',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -20,161 +20,156 @@ ...@@ -20,161 +20,156 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'1_answer_title' => '1 Answer', '1_answer_title' => '1 Answer',
'a_convert_to_c' => 'Convert this answer into a comment', 'a_convert_to_c' => 'Convert this answer into a comment',
'a_convert_to_c_on' => 'Convert this answer into a comment on:', 'a_convert_to_c_on' => 'Convert this answer into a comment on:',
'a_convert_warn' => 'Warning: This conversion cannot be reversed.', 'a_convert_warn' => 'Warning: This conversion cannot be reversed.',
'a_convert_warn_cs' => 'Warning: This conversion cannot be reversed and will also move this answer\'s comments.', 'a_convert_warn_cs' => 'Warning: This conversion cannot be reversed and will also move this answer\'s comments.',
'a_notify_email' => 'Email me at this address if my answer is selected or commented on:', 'a_notify_email' => 'Email me at this address if my answer is selected or commented on:',
'a_notify_label' => 'Email me if my answer is selected or commented on', 'a_notify_label' => 'Email me if my answer is selected or commented on',
'a_notify_x_label' => 'Email me (^) if my answer is selected or commented on', 'a_notify_x_label' => 'Email me (^) if my answer is selected or commented on',
'a_waiting_your_approval' => 'This answer is waiting for your approval', 'a_waiting_your_approval' => 'This answer is waiting for your approval',
'a_your_waiting_approval' => 'Your answer will be checked and approved shortly.', 'a_your_waiting_approval' => 'Your answer will be checked and approved shortly.',
'add_answer_button' => 'Add answer', 'add_answer_button' => 'Add answer',
'add_comment_button' => 'Add comment', 'add_comment_button' => 'Add comment',
'add_q_favorites' => 'Add this question to my favorites', 'add_q_favorites' => 'Add this question to my favorites',
'anon_name_label' => 'Your name to display (optional):', 'anon_name_label' => 'Your name to display (optional):',
'answer_button' => 'answer', 'answer_button' => 'answer',
'answer_limit' => 'Too many answers received - please try again in an hour', 'answer_limit' => 'Too many answers received - please try again in an hour',
'answer_must_be_approved' => 'Your account must be approved before you answer a question.', 'answer_must_be_approved' => 'Your account must be approved before you answer a question.',
'answer_must_confirm' => 'Please ^5confirm your email address^6 to answer this question.', 'answer_must_confirm' => 'Please ^5confirm your email address^6 to answer this question.',
'answer_must_login' => 'Please ^1log in^2 or ^3register^4 to answer this question.', 'answer_must_login' => 'Please ^1log in^2 or ^3register^4 to answer this question.',
'answer_q_popup' => 'Answer this question', 'answer_q_popup' => 'Answer this question',
'approve_a_popup' => 'Approve this answer', 'approve_a_popup' => 'Approve this answer',
'approve_button' => 'approve', 'approve_button' => 'approve',
'approve_c_popup' => 'Approve this comment', 'approve_c_popup' => 'Approve this comment',
'approve_q_popup' => 'Approve this question', 'approve_q_popup' => 'Approve this question',
'ask_button' => 'Ask the Question', 'ask_button' => 'Ask the Question',
'ask_follow_from_a' => 'Your question will be related to this answer:', 'ask_follow_from_a' => 'Your question will be related to this answer:',
'ask_follow_title' => 'Ask a related question', 'ask_follow_title' => 'Ask a related question',
'ask_limit' => 'Too many questions received - please try again in an hour', 'ask_limit' => 'Too many questions received - please try again in an hour',
'ask_must_be_approved' => 'Your account must be approved before you ask a question.', 'ask_must_be_approved' => 'Your account must be approved before you ask a question.',
'ask_must_confirm' => 'Please ^5confirm your email address^6 to ask a question.', 'ask_must_confirm' => 'Please ^5confirm your email address^6 to ask a question.',
'ask_must_login' => 'Please ^1log in^2 or ^3register^4 to ask a question.', 'ask_must_login' => 'Please ^1log in^2 or ^3register^4 to ask a question.',
'ask_same_q' => 'Before proceeding, please check your question was not asked already:', 'ask_same_q' => 'Before proceeding, please check your question was not asked already:',
'ask_title' => 'Ask a question', 'ask_title' => 'Ask a question',
'c_notify_email' => 'Email me at this address if a comment is added after mine:', 'c_notify_email' => 'Email me at this address if a comment is added after mine:',
'c_notify_label' => 'Email me if a comment is added after mine', 'c_notify_label' => 'Email me if a comment is added after mine',
'c_notify_x_label' => 'Email me (^) if a comment is added after mine', 'c_notify_x_label' => 'Email me (^) if a comment is added after mine',
'c_waiting_your_approval' => 'This comment is waiting for your approval', 'c_waiting_your_approval' => 'This comment is waiting for your approval',
'c_your_waiting_approval' => 'Your comment will be checked and approved shortly.', 'c_your_waiting_approval' => 'Your comment will be checked and approved shortly.',
'category_ask_not_allowed' => 'You do not have permission to ask questions in this category', 'category_ask_not_allowed' => 'You do not have permission to ask questions in this category',
'category_js_note' => 'To select any category, please enable Javascript in your web browser.', 'category_js_note' => 'To select any category, please enable Javascript in your web browser.',
'category_required' => 'Please choose a category', 'category_required' => 'Please choose a category',
'claim_a_popup' => 'Assign this answer to your user account', 'claim_a_popup' => 'Assign this answer to your user account',
'claim_button' => 'I wrote this', 'claim_button' => 'I wrote this',
'claim_c_popup' => 'Assign this comment to your user account', 'claim_c_popup' => 'Assign this comment to your user account',
'claim_q_popup' => 'Assign this question to your user account', 'claim_q_popup' => 'Assign this question to your user account',
'clear_flags_button' => 'clear flags', 'clear_flags_button' => 'clear flags',
'clear_flags_popup' => 'Remove flags by all users', 'clear_flags_popup' => 'Remove flags by all users',
'close_button' => 'close', 'close_button' => 'close',
'close_duplicate' => 'This is a duplicate of another question', 'close_duplicate' => 'This is a duplicate of another question',
'close_duplicate_error' => 'The duplicate question could not be found - please try entering the number from a different question URL, e.g. 123.', 'close_duplicate_error' => 'The duplicate question could not be found - please try entering the number from a different question URL, e.g. 123.',
'close_form_button' => 'Close question', 'close_form_button' => 'Close question',
'close_form_title' => 'Close this question', 'close_form_title' => 'Close this question',
'close_original_note' => 'You can also enter the question number from the URL, e.g. 123.', 'close_original_note' => 'You can also enter the question number from the URL, e.g. 123.',
'close_original_title' => 'URL of the original question:', 'close_original_title' => 'URL of the original question:',
'close_q_popup' => 'Close this question to any new answers', 'close_q_popup' => 'Close this question to any new answers',
'close_reason_title' => 'Reason for closing this question, or URL of duplicate question:', 'close_reason_title' => 'Reason for closing this question, or URL of duplicate question:',
'closed_as_duplicate' => 'closed as a duplicate of:', 'closed_as_duplicate' => 'closed as a duplicate of:',
'closed_with_note' => 'closed with the note:', 'closed_with_note' => 'closed with the note:',
'comment_a_popup' => 'Add a comment on this answer', 'comment_a_popup' => 'Add a comment on this answer',
'comment_button' => 'comment', 'comment_button' => 'comment',
'comment_limit' => 'Too many comments received - please try again in an hour', 'comment_limit' => 'Too many comments received - please try again in an hour',
'comment_must_be_approved' => 'Your account must be approved before you add a comment.', 'comment_must_be_approved' => 'Your account must be approved before you add a comment.',
'comment_must_confirm' => 'Please ^5confirm your email address^6 to add a comment.', 'comment_must_confirm' => 'Please ^5confirm your email address^6 to add a comment.',
'comment_must_login' => 'Please ^1log in^2 or ^3register^4 to add a comment.', 'comment_must_login' => 'Please ^1log in^2 or ^3register^4 to add a comment.',
'comment_on_a' => 'On answer: ', 'comment_on_a' => 'On answer: ',
'comment_on_q' => 'On question: ', 'comment_on_q' => 'On question: ',
'comment_q_popup' => 'Add a comment on this question', 'comment_q_popup' => 'Add a comment on this question',
'delete_a_popup' => 'Delete this answer permanently', 'delete_a_popup' => 'Delete this answer permanently',
'delete_button' => 'delete', 'delete_button' => 'delete',
'delete_c_popup' => 'Delete this comment permanently', 'delete_c_popup' => 'Delete this comment permanently',
'delete_q_popup' => 'Delete this question permanently', 'delete_q_popup' => 'Delete this question permanently',
'duplicate_content' => 'Your submission appears to be a duplicate.', 'duplicate_content' => 'Your submission appears to be a duplicate.',
'edit_a_popup' => 'Edit this answer', 'edit_a_popup' => 'Edit this answer',
'edit_a_title' => 'Edit answer', 'edit_a_title' => 'Edit answer',
'edit_button' => 'edit', 'edit_button' => 'edit',
'edit_c_popup' => 'Edit this comment', 'edit_c_popup' => 'Edit this comment',
'edit_c_title' => 'Edit comment', 'edit_c_title' => 'Edit comment',
'edit_must_confirm' => 'Please ^5confirm your email address^6 to edit this.', 'edit_must_confirm' => 'Please ^5confirm your email address^6 to edit this.',
'edit_must_login' => 'Please ^1log in^2 or ^3register^4 to edit this.', 'edit_must_login' => 'Please ^1log in^2 or ^3register^4 to edit this.',
'edit_q_popup' => 'Edit this question', 'edit_q_popup' => 'Edit this question',
'edit_q_title' => 'Edit Question', 'edit_q_title' => 'Edit Question',
'example_tags' => 'Example tags: ', 'example_tags' => 'Example tags: ',
'flag_a_popup' => 'Flag this answer as spam or inappropriate', 'flag_a_popup' => 'Flag this answer as spam or inappropriate',
'flag_button' => 'flag', 'flag_button' => 'flag',
'flag_c_popup' => 'Flag this comment as spam or inappropriate', 'flag_c_popup' => 'Flag this comment as spam or inappropriate',
'flag_hide_button' => 'flag and hide', 'flag_hide_button' => 'flag and hide',
'flag_limit' => 'Too many posts flagged - please try again in an hour', 'flag_limit' => 'Too many posts flagged - please try again in an hour',
'flag_must_confirm' => 'Please ^5confirm your email address^6 to flag posts.', 'flag_must_confirm' => 'Please ^5confirm your email address^6 to flag posts.',
'flag_must_login' => 'Please ^1log in^2 or ^3register^4 to flag posts.', 'flag_must_login' => 'Please ^1log in^2 or ^3register^4 to flag posts.',
'flag_not_allowed' => 'Flagging this is not allowed', 'flag_not_allowed' => 'Flagging this is not allowed',
'flag_q_popup' => 'Flag this question as spam or inappropriate', 'flag_q_popup' => 'Flag this question as spam or inappropriate',
'follow_a_popup' => 'Ask a new question relating to this answer', 'follow_a_popup' => 'Ask a new question relating to this answer',
'follow_button' => 'ask related question', 'follow_button' => 'ask related question',
'follows_a' => 'related to an answer for:', 'follows_a' => 'related to an answer for:',
'follows_q' => 'about the question:', 'follows_q' => 'about the question:',
'hide_a_popup' => 'Hide this answer', 'hide_a_popup' => 'Hide this answer',
'hide_button' => 'hide', 'hide_button' => 'hide',
'hide_c_popup' => 'Hide this comment', 'hide_c_popup' => 'Hide this comment',
'hide_q_popup' => 'Hide this question', 'hide_q_popup' => 'Hide this question',
'matching_tags' => 'Matching tags: ', 'matching_tags' => 'Matching tags: ',
'max_tags_x' => 'A maximum of ^ tags are allowed', 'max_tags_x' => 'A maximum of ^ tags are allowed',
'min_tags_x' => 'Please provide at least ^ tag/s', 'min_tags_x' => 'Please provide at least ^ tag/s',
'notify_email_note' => 'Privacy: Your email address will only be used for sending these notifications.', 'notify_email_note' => 'Privacy: Your email address will only be used for sending these notifications.',
'q_category_label' => 'Category:', 'q_category_label' => 'Category:',
'q_content_label' => 'More information for the question:', 'q_content_label' => 'More information for the question:',
'q_hidden_author' => 'This question has been hidden by its author', 'q_hidden_author' => 'This question has been hidden by its author',
'q_hidden_flagged' => 'This question has been flagged and hidden', 'q_hidden_flagged' => 'This question has been flagged and hidden',
'q_hidden_other' => 'This question has been hidden', 'q_hidden_other' => 'This question has been hidden',
'q_notify_email' => 'Email me at this address if my question is answered or commented on:', 'q_notify_email' => 'Email me at this address if my question is answered or commented on:',
'q_notify_label' => 'Email me if my question is answered or commented on', 'q_notify_label' => 'Email me if my question is answered or commented on',
'q_notify_x_label' => 'Email me (^) if my question is answered or commented on', 'q_notify_x_label' => 'Email me (^) if my question is answered or commented on',
'q_tags_comma_label' => 'Tags - use comma (,) as a separator:', 'q_tags_comma_label' => 'Tags - use comma (,) as a separator:',
'q_tags_label' => 'Tags - use hyphens to combine words:', 'q_tags_label' => 'Tags - use hyphens to combine words:',
'q_title_label' => 'The question in one sentence:', 'q_title_label' => 'The question in one sentence:',
'q_waiting_approval' => 'This question is waiting for approval', 'q_waiting_approval' => 'This question is waiting for approval',
'q_waiting_your_approval' => 'This question is waiting for your approval', 'q_waiting_your_approval' => 'This question is waiting for your approval',
'q_your_waiting_approval' => 'Your question will be checked and approved shortly.', 'q_your_waiting_approval' => 'Your question will be checked and approved shortly.',
'recat_button' => 'recategorize', 'recat_button' => 'recategorize',
'recat_popup' => 'Change this question\'s category', 'recat_popup' => 'Change this question\'s category',
'recat_q_title' => 'Recategorize question', 'recat_q_title' => 'Recategorize question',
'reject_a_popup' => 'Reject this answer', 'reject_a_popup' => 'Reject this answer',
'reject_button' => 'reject', 'reject_button' => 'reject',
'reject_c_popup' => 'Reject this comment', 'reject_c_popup' => 'Reject this comment',
'reject_q_popup' => 'Reject this question', 'reject_q_popup' => 'Reject this question',
'remove_q_favorites' => 'Remove this question from my favorites', 'remove_q_favorites' => 'Remove this question from my favorites',
'reopen_button' => 'reopen', 'reopen_button' => 'reopen',
'reopen_q_popup' => 'Reopen this question', 'reopen_q_popup' => 'Reopen this question',
'reply_button' => 'reply', 'reply_button' => 'reply',
'reply_c_popup' => 'Reply to this comment', 'reply_c_popup' => 'Reply to this comment',
'reshow_a_popup' => 'Reshow this answer', 'reshow_a_popup' => 'Reshow this answer',
'reshow_button' => 'reshow', 'reshow_button' => 'reshow',
'reshow_c_popup' => 'Reshow this comment', 'reshow_c_popup' => 'Reshow this comment',
'reshow_q_popup' => 'Reshow this question', 'reshow_q_popup' => 'Reshow this question',
'retag_button' => 'retag', 'retag_button' => 'retag',
'retag_cat_popup' => 'Change this question\'s category or tags', 'retag_cat_popup' => 'Change this question\'s category or tags',
'retag_popup' => 'Change this question\'s tags', 'retag_popup' => 'Change this question\'s tags',
'retag_q_title' => 'Retag question', 'retag_q_title' => 'Retag question',
'save_silent_label' => 'Save silently to hide that this was edited', 'save_silent_label' => 'Save silently to hide that this was edited',
'select_popup' => 'Click to select as best answer', 'select_popup' => 'Click to select as best answer',
'select_text' => 'Best answer', 'select_text' => 'Best answer',
'show_1_comment' => 'Show 1 comment', 'show_1_comment' => 'Show 1 comment',
'show_1_previous_comment' => 'Show 1 previous comment', 'show_1_previous_comment' => 'Show 1 previous comment',
'show_x_comments' => 'Show ^ comments', 'show_x_comments' => 'Show ^ comments',
'show_x_previous_comments' => 'Show ^ previous comments', 'show_x_previous_comments' => 'Show ^ previous comments',
'unflag_button' => 'unflag', 'unflag_button' => 'unflag',
'unflag_popup' => 'Remove the flag that you added', 'unflag_popup' => 'Remove the flag that you added',
'unselect_popup' => 'Click to remove selection', 'unselect_popup' => 'Click to remove selection',
'x_answers_title' => '^ Answers', 'x_answers_title' => '^ Answers',
'your_answer_title' => 'Your answer', 'your_answer_title' => 'Your answer',
'your_comment_a' => 'Your comment on this answer:', 'your_comment_a' => 'Your comment on this answer:',
'your_comment_q' => 'Your comment on this question:', 'your_comment_q' => 'Your comment on this question:',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
...@@ -20,123 +20,118 @@ ...@@ -20,123 +20,118 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'about' => 'About', 'about' => 'About',
'add_user_x_favorites' => 'Add user ^ to my favorites', 'add_user_x_favorites' => 'Add user ^ to my favorites',
'approve_required' => 'Please wait for your account to be approved or ^1add more information^2.', 'approve_required' => 'Please wait for your account to be approved or ^1add more information^2.',
'approve_title' => 'User approval pending', 'approve_title' => 'User approval pending',
'approve_user_button' => 'Approve User', 'approve_user_button' => 'Approve User',
'approved_user' => 'Approved user', 'approved_user' => 'Approved user',
'avatar_default' => 'Default', 'avatar_default' => 'Default',
'avatar_gravatar' => 'Show my ^1Gravatar^2', 'avatar_gravatar' => 'Show my ^1Gravatar^2',
'avatar_label' => 'Avatar:', 'avatar_label' => 'Avatar:',
'avatar_none' => 'None', 'avatar_none' => 'None',
'block_user_button' => 'Block User', 'block_user_button' => 'Block User',
'blocked_users' => 'Blocked users', 'blocked_users' => 'Blocked users',
'category_level_add' => ' - ^1add category-specific privileges^2', 'category_level_add' => ' - ^1add category-specific privileges^2',
'category_level_in' => 'for the category below:', 'category_level_in' => 'for the category below:',
'category_level_label' => 'Upgraded to:', 'category_level_label' => 'Upgraded to:',
'category_level_none' => 'No upgrade', 'category_level_none' => 'No upgrade',
'change_email_link' => ' - ^1change email^2', 'change_email_link' => ' - ^1change email^2',
'change_password' => 'Change Password', 'change_password' => 'Change Password',
'confirm_button' => 'Confirm email address', 'confirm_button' => 'Confirm email address',
'confirm_complete' => 'Thank you - your email address has been confirmed.', 'confirm_complete' => 'Thank you - your email address has been confirmed.',
'confirm_emailed' => 'A confirmation link has been emailed to you. Please click the link to confirm your email address or input the confirmation code below.', 'confirm_emailed' => 'A confirmation link has been emailed to you. Please click the link to confirm your email address or input the confirmation code below.',
'confirm_required' => 'To complete your registration, please click the confirmation link that has been emailed to you, or ^1request another^2.', 'confirm_required' => 'To complete your registration, please click the confirmation link that has been emailed to you, or ^1request another^2.',
'confirm_title' => 'Email Address Confirmation', 'confirm_title' => 'Email Address Confirmation',
'confirm_wrong_log_in' => 'Code not correct - please ^1log in^2 to send a new link', 'confirm_wrong_log_in' => 'Code not correct - please ^1log in^2 to send a new link',
'confirm_wrong_resend' => 'Code not correct - please click below to send a new link', 'confirm_wrong_resend' => 'Code not correct - please click below to send a new link',
'delete_user_button' => 'Delete User', 'delete_user_button' => 'Delete User',
'edit_profile' => 'Edit my Profile', 'edit_profile' => 'Edit my Profile',
'edit_user_button' => 'Edit User', 'edit_user_button' => 'Edit User',
'email_code_another' => 'send another', 'email_code_another' => 'send another',
'email_code_emailed' => 'You have been emailed your code', 'email_code_emailed' => 'You have been emailed your code',
'email_code_label' => 'Code:', 'email_code_label' => 'Code:',
'email_code_wrong' => 'Code not correct', 'email_code_wrong' => 'Code not correct',
'email_confirmed' => 'Confirmed', 'email_confirmed' => 'Confirmed',
'email_exists' => 'Email already belongs to an account', 'email_exists' => 'Email already belongs to an account',
'email_handle_label' => 'Email or Username:', 'email_handle_label' => 'Email or Username:',
'email_invalid' => 'Email is invalid - please check carefully', 'email_invalid' => 'Email is invalid - please check carefully',
'email_label' => 'Email:', 'email_label' => 'Email:',
'email_not_confirmed' => 'Not yet confirmed', 'email_not_confirmed' => 'Not yet confirmed',
'email_please_confirm' => 'Please ^5confirm^6', 'email_please_confirm' => 'Please ^5confirm^6',
'email_required' => 'Email address required - not public', 'email_required' => 'Email address required - not public',
'forgot_link' => 'I forgot my password', 'forgot_link' => 'I forgot my password',
'full_name' => 'Full name', 'full_name' => 'Full name',
'handle_empty' => 'Username must not be empty', 'handle_empty' => 'Username must not be empty',
'handle_exists' => 'Username is taken - please try another', 'handle_exists' => 'Username is taken - please try another',
'handle_has_bad' => 'Username may not contain: ^', 'handle_has_bad' => 'Username may not contain: ^',
'handle_label' => 'Username:', 'handle_label' => 'Username:',
'hide_all_user_button' => 'Hide all posts by this user', 'hide_all_user_button' => 'Hide all posts by this user',
'last_login_label' => 'Last login:', 'last_login_label' => 'Last login:',
'last_write_label' => 'Last write action:', 'last_write_label' => 'Last write action:',
'level_admin' => 'Administrator', 'level_admin' => 'Administrator',
'level_editor' => 'Editor', 'level_editor' => 'Editor',
'level_expert' => 'Expert', 'level_expert' => 'Expert',
'level_for_category' => '^1 for ^2', 'level_for_category' => '^1 for ^2',
'level_in_general' => 'in general', 'level_in_general' => 'in general',
'level_moderator' => 'Moderator', 'level_moderator' => 'Moderator',
'level_super' => 'Super Administrator', 'level_super' => 'Super Administrator',
'location' => 'Location', 'location' => 'Location',
'log_in_to_access' => 'You may now ^1log in^2 to access your account.', 'log_in_to_access' => 'You may now ^1log in^2 to access your account.',
'login_button' => 'Log In', 'login_button' => 'Log In',
'login_limit' => 'Too many login attempts - please try again in an hour', 'login_limit' => 'Too many login attempts - please try again in an hour',
'login_title' => 'Log in', 'login_title' => 'Log in',
'mass_mailings' => 'Mass mailings:', 'mass_mailings' => 'Mass mailings:',
'mass_mailings_explanation' => 'Subscribe to emails sent out to all users', 'mass_mailings_explanation' => 'Subscribe to emails sent out to all users',
'member_for' => 'Member for:', 'member_for' => 'Member for:',
'member_type' => 'Type:', 'member_type' => 'Type:',
'new_password_1' => 'New password:', 'new_password_1' => 'New password:',
'new_password_2' => 'Retype new password:', 'new_password_2' => 'Retype new password:',
'no_blocked_users' => 'No blocked users found', 'no_blocked_users' => 'No blocked users found',
'no_permission' => 'You do not have permission to perform this operation', 'no_permission' => 'You do not have permission to perform this operation',
'old_password' => 'Old password:', 'old_password' => 'Old password:',
'only_shown_admins' => '(only shown to you and admins)', 'only_shown_admins' => '(only shown to you and admins)',
'only_shown_editors' => '(only shown to you, editors and above)', 'only_shown_editors' => '(only shown to you, editors and above)',
'only_shown_experts' => '(only shown to you, experts and above)', 'only_shown_experts' => '(only shown to you, experts and above)',
'only_shown_moderators' => '(only shown to you, moderators and admins)', 'only_shown_moderators' => '(only shown to you, moderators and admins)',
'password_changed' => 'Password changed', 'password_changed' => 'Password changed',
'password_label' => 'Password:', 'password_label' => 'Password:',
'password_min' => 'Password must be at least ^ characters', 'password_min' => 'Password must be at least ^ characters',
'password_mismatch' => 'New passwords do not match', 'password_mismatch' => 'New passwords do not match',
'password_none' => 'None. To log in directly, set a password below.', 'password_none' => 'None. To log in directly, set a password below.',
'password_sent' => 'Your new password was emailed to you', 'password_sent' => 'Your new password was emailed to you',
'password_to_set' => 'Please set on your account page', 'password_to_set' => 'Please set on your account page',
'password_wrong' => 'Password not correct', 'password_wrong' => 'Password not correct',
'private_messages' => 'Private messages:', 'private_messages' => 'Private messages:',
'private_messages_explanation' => 'Allow users to email you (without seeing your address)', 'private_messages_explanation' => 'Allow users to email you (without seeing your address)',
'profile_saved' => 'Profile saved', 'profile_saved' => 'Profile saved',
'register_button' => 'Register', 'register_button' => 'Register',
'register_limit' => 'Too many registrations - please try again in an hour', 'register_limit' => 'Too many registrations - please try again in an hour',
'register_suspended' => 'Registration of new users has been temporarily suspended. Please try again soon.', 'register_suspended' => 'Registration of new users has been temporarily suspended. Please try again soon.',
'register_title' => 'Register as a new user', 'register_title' => 'Register as a new user',
'registered_label' => 'Registered:', 'registered_label' => 'Registered:',
'registered_user' => 'Registered user', 'registered_user' => 'Registered user',
'remember' => 'Remember', 'remember' => 'Remember',
'remember_label' => 'Remember me on this computer', 'remember_label' => 'Remember me on this computer',
'remove_avatar' => 'Remove avatar:', 'remove_avatar' => 'Remove avatar:',
'reset_title' => 'Reset Forgotten Password', 'reset_title' => 'Reset Forgotten Password',
'save_profile' => 'Save Profile', 'save_profile' => 'Save Profile',
'save_user' => 'Save User', 'save_user' => 'Save User',
'send_confirm_button' => 'Send Confirmation Link', 'send_confirm_button' => 'Send Confirmation Link',
'send_reset_button' => 'Send Reset Password Email', 'send_reset_button' => 'Send Reset Password Email',
'send_reset_note' => 'A message will be sent to your email address with instructions.', 'send_reset_note' => 'A message will be sent to your email address with instructions.',
'special_users' => 'Special users', 'special_users' => 'Special users',
'terms_not_accepted' => 'You must tick this.', 'terms_not_accepted' => 'You must tick this.',
'unblock_user_button' => 'Unblock User', 'unblock_user_button' => 'Unblock User',
'unsubscribe' => 'Unsubscribe:', 'unsubscribe' => 'Unsubscribe:',
'unsubscribe_complete' => 'You have been unsubscribed from mass mailings sent out by ^0. You may resubscribe at any time via your ^1account^2 page.', 'unsubscribe_complete' => 'You have been unsubscribed from mass mailings sent out by ^0. You may resubscribe at any time via your ^1account^2 page.',
'unsubscribe_title' => 'Unsubscribe', 'unsubscribe_title' => 'Unsubscribe',
'unsubscribe_wrong_log_in' => 'Code not correct - please ^1log in^2 to unsubscribe', 'unsubscribe_wrong_log_in' => 'Code not correct - please ^1log in^2 to unsubscribe',
'user_blocked' => '(blocked)', 'user_blocked' => '(blocked)',
'user_not_found' => 'User not found', 'user_not_found' => 'User not found',
'wall_posts' => 'Wall posts:', 'wall_posts' => 'Wall posts:',
'wall_posts_explanation' => 'Allow users to post on your wall (you will also be emailed)', 'wall_posts_explanation' => 'Allow users to post on your wall (you will also be emailed)',
'website' => 'Website', 'website' => 'Website',
'x_ago_from_y' => '^1 ago from ^2', 'x_ago_from_y' => '^1 ago from ^2',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
...@@ -26,7 +26,7 @@ class qa_html_theme_layer extends qa_html_theme_base ...@@ -26,7 +26,7 @@ class qa_html_theme_layer extends qa_html_theme_base
private $qa_voters_flaggers_cache = array(); private $qa_voters_flaggers_cache = array();
// Collect up all required postids for the entire page to save DB queries - common case where whole page output // Collect up all required postids for the entire page to save DB queries - common case where whole page output
public function main() public function main()
{ {
...@@ -55,7 +55,7 @@ class qa_html_theme_layer extends qa_html_theme_base ...@@ -55,7 +55,7 @@ class qa_html_theme_layer extends qa_html_theme_base
} }
// Other functions which also collect up required postids for lists to save DB queries - helps with widget output and Ajax calls // Other functions which also collect up required postids for lists to save DB queries - helps with widget output and Ajax calls
public function q_list_items($q_items) public function q_list_items($q_items)
{ {
...@@ -79,7 +79,7 @@ class qa_html_theme_layer extends qa_html_theme_base ...@@ -79,7 +79,7 @@ class qa_html_theme_layer extends qa_html_theme_base
} }
// Actual output of the voters and flaggers // Actual output of the voters and flaggers
public function vote_count($post) public function vote_count($post)
{ {
...@@ -141,7 +141,7 @@ class qa_html_theme_layer extends qa_html_theme_base ...@@ -141,7 +141,7 @@ class qa_html_theme_layer extends qa_html_theme_base
} }
// Utility functions for this layer // Utility functions for this layer
/** /**
* @deprecated This function will become private in Q2A 1.8. It is specific to this plugin and * @deprecated This function will become private in Q2A 1.8. It is specific to this plugin and
......
...@@ -26,24 +26,24 @@ class qa_search_basic ...@@ -26,24 +26,24 @@ class qa_search_basic
{ {
require_once QA_INCLUDE_DIR.'db/post-create.php'; require_once QA_INCLUDE_DIR.'db/post-create.php';
// Get words from each textual element // Get words from each textual element
$titlewords=array_unique(qa_string_to_words($title)); $titlewords=array_unique(qa_string_to_words($title));
$contentcount=array_count_values(qa_string_to_words($text)); $contentcount=array_count_values(qa_string_to_words($text));
$tagwords=array_unique(qa_string_to_words($tagstring)); $tagwords=array_unique(qa_string_to_words($tagstring));
$wholetags=array_unique(qa_tagstring_to_tags($tagstring)); $wholetags=array_unique(qa_tagstring_to_tags($tagstring));
// Map all words to their word IDs // Map all words to their word IDs
$words=array_unique(array_merge($titlewords, array_keys($contentcount), $tagwords, $wholetags)); $words=array_unique(array_merge($titlewords, array_keys($contentcount), $tagwords, $wholetags));
$wordtoid=qa_db_word_mapto_ids_add($words); $wordtoid=qa_db_word_mapto_ids_add($words);
// Add to title words index // Add to title words index
$titlewordids=qa_array_filter_by_keys($wordtoid, $titlewords); $titlewordids=qa_array_filter_by_keys($wordtoid, $titlewords);
qa_db_titlewords_add_post_wordids($postid, $titlewordids); qa_db_titlewords_add_post_wordids($postid, $titlewordids);
// Add to content words index (including word counts) // Add to content words index (including word counts)
$contentwordidcounts=array(); $contentwordidcounts=array();
foreach ($contentcount as $word => $count) foreach ($contentcount as $word => $count)
...@@ -52,17 +52,17 @@ class qa_search_basic ...@@ -52,17 +52,17 @@ class qa_search_basic
qa_db_contentwords_add_post_wordidcounts($postid, $type, $questionid, $contentwordidcounts); qa_db_contentwords_add_post_wordidcounts($postid, $type, $questionid, $contentwordidcounts);
// Add to tag words index // Add to tag words index
$tagwordids=qa_array_filter_by_keys($wordtoid, $tagwords); $tagwordids=qa_array_filter_by_keys($wordtoid, $tagwords);
qa_db_tagwords_add_post_wordids($postid, $tagwordids); qa_db_tagwords_add_post_wordids($postid, $tagwordids);
// Add to whole tags index // Add to whole tags index
$wholetagids=qa_array_filter_by_keys($wordtoid, $wholetags); $wholetagids=qa_array_filter_by_keys($wordtoid, $wholetags);
qa_db_posttags_add_post_wordids($postid, $wholetagids); qa_db_posttags_add_post_wordids($postid, $wholetagids);
// Update counts cached in database (will be skipped if qa_suspend_update_counts() was called // Update counts cached in database (will be skipped if qa_suspend_update_counts() was called
qa_db_word_titlecount_update($titlewordids); qa_db_word_titlecount_update($titlewordids);
qa_db_word_contentcount_update(array_keys($contentwordidcounts)); qa_db_word_contentcount_update(array_keys($contentwordidcounts));
......
...@@ -20,147 +20,142 @@ ...@@ -20,147 +20,142 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../'); header('Location: ../');
exit; exit;
} }
function qa_get_mysql_user_column_type() function qa_get_mysql_user_column_type()
{ {
return 'BIGINT UNSIGNED'; return 'BIGINT UNSIGNED';
} }
function qa_get_login_links($relative_url_prefix, $redirect_back_to_url) function qa_get_login_links($relative_url_prefix, $redirect_back_to_url)
{ {
return array( return array(
'login' => wp_login_url(qa_opt('site_url').$redirect_back_to_url), 'login' => wp_login_url(qa_opt('site_url') . $redirect_back_to_url),
'register' => function_exists('wp_registration_url') ? wp_registration_url() : site_url('wp-login.php?action=register'), 'register' => function_exists('wp_registration_url') ? wp_registration_url() : site_url('wp-login.php?action=register'),
'logout' => strtr(wp_logout_url(), array('&amp;' => '&')), 'logout' => strtr(wp_logout_url(), array('&amp;' => '&')),
); );
} }
function qa_get_logged_in_user() function qa_get_logged_in_user()
{ {
$wordpressuser=wp_get_current_user(); $wordpressuser = wp_get_current_user();
if ($wordpressuser->ID==0)
return null;
else {
if (current_user_can('administrator'))
$level=QA_USER_LEVEL_ADMIN;
elseif (current_user_can('editor'))
$level=QA_USER_LEVEL_EDITOR;
elseif (current_user_can('contributor'))
$level=QA_USER_LEVEL_EXPERT;
else
$level=QA_USER_LEVEL_BASIC;
return array(
'userid' => $wordpressuser->ID,
'publicusername' => $wordpressuser->user_nicename,
'email' => $wordpressuser->user_email,
'level' => $level,
);
}
}
if ($wordpressuser->ID == 0)
return null;
function qa_get_user_email($userid) else {
{ if (current_user_can('administrator'))
$user=get_userdata($userid); $level = QA_USER_LEVEL_ADMIN;
elseif (current_user_can('editor'))
$level = QA_USER_LEVEL_EDITOR;
elseif (current_user_can('contributor'))
$level = QA_USER_LEVEL_EXPERT;
else
$level = QA_USER_LEVEL_BASIC;
return @$user->user_email; return array(
'userid' => $wordpressuser->ID,
'publicusername' => $wordpressuser->user_nicename,
'email' => $wordpressuser->user_email,
'level' => $level,
);
} }
}
function qa_get_userids_from_public($publicusernames) function qa_get_user_email($userid)
{ {
global $wpdb; $user = get_userdata($userid);
if (count($publicusernames)) return @$user->user_email;
return qa_db_read_all_assoc(qa_db_query_sub( }
'SELECT user_nicename, ID FROM '.$wpdb->base_prefix.'users WHERE user_nicename IN ($)',
$publicusernames
), 'user_nicename', 'ID');
else
return array();
}
function qa_get_public_from_userids($userids) function qa_get_userids_from_public($publicusernames)
{ {
global $wpdb, $qa_cache_wp_user_emails; global $wpdb;
if (count($userids)) { if (count($publicusernames))
$useridtopublic=array(); return qa_db_read_all_assoc(qa_db_query_sub(
$qa_cache_wp_user_emails=array(); 'SELECT user_nicename, ID FROM ' . $wpdb->base_prefix . 'users WHERE user_nicename IN ($)',
$publicusernames
), 'user_nicename', 'ID');
else
return array();
}
$userfields=qa_db_read_all_assoc(qa_db_query_sub(
'SELECT ID, user_nicename, user_email FROM '.$wpdb->base_prefix.'users WHERE ID IN (#)',
$userids
), 'ID');
foreach ($userfields as $id => $fields) { function qa_get_public_from_userids($userids)
$useridtopublic[$id]=$fields['user_nicename']; {
$qa_cache_wp_user_emails[$id]=$fields['user_email']; global $wpdb, $qa_cache_wp_user_emails;
}
return $useridtopublic; if (count($userids)) {
$useridtopublic = array();
$qa_cache_wp_user_emails = array();
} else $userfields = qa_db_read_all_assoc(qa_db_query_sub(
return array(); 'SELECT ID, user_nicename, user_email FROM ' . $wpdb->base_prefix . 'users WHERE ID IN (#)',
} $userids
), 'ID');
foreach ($userfields as $id => $fields) {
$useridtopublic[$id] = $fields['user_nicename'];
$qa_cache_wp_user_emails[$id] = $fields['user_email'];
}
function qa_get_logged_in_user_html($logged_in_user, $relative_url_prefix) return $useridtopublic;
{
$publicusername=$logged_in_user['publicusername'];
return '<a href="'.qa_path_html('user/'.$publicusername).'" class="qa-user-link">'.htmlspecialchars($publicusername).'</a>'; } else
} return array();
}
function qa_get_users_html($userids, $should_include_link, $relative_url_prefix) function qa_get_logged_in_user_html($logged_in_user, $relative_url_prefix)
{ {
$useridtopublic=qa_get_public_from_userids($userids); $publicusername = $logged_in_user['publicusername'];
$usershtml=array(); return '<a href="' . qa_path_html('user/' . $publicusername) . '" class="qa-user-link">' . htmlspecialchars($publicusername) . '</a>';
}
foreach ($userids as $userid) {
$publicusername=$useridtopublic[$userid];
$usershtml[$userid]=htmlspecialchars($publicusername); function qa_get_users_html($userids, $should_include_link, $relative_url_prefix)
{
$useridtopublic = qa_get_public_from_userids($userids);
if ($should_include_link) $usershtml = array();
$usershtml[$userid]='<a href="'.qa_path_html('user/'.$publicusername).'" class="qa-user-link">'.$usershtml[$userid].'</a>';
}
return $usershtml; foreach ($userids as $userid) {
} $publicusername = $useridtopublic[$userid];
$usershtml[$userid] = htmlspecialchars($publicusername);
if ($should_include_link)
$usershtml[$userid] = '<a href="' . qa_path_html('user/' . $publicusername) . '" class="qa-user-link">' . $usershtml[$userid] . '</a>';
}
function qa_avatar_html_from_userid($userid, $size, $padding) return $usershtml;
{ }
require_once QA_INCLUDE_DIR.'app/format.php';
global $qa_cache_wp_user_emails;
if (isset($qa_cache_wp_user_emails[$userid])) function qa_avatar_html_from_userid($userid, $size, $padding)
return qa_get_gravatar_html($qa_cache_wp_user_emails[$userid], $size); {
require_once QA_INCLUDE_DIR . 'app/format.php';
return null; global $qa_cache_wp_user_emails;
}
if (isset($qa_cache_wp_user_emails[$userid]))
return qa_get_gravatar_html($qa_cache_wp_user_emails[$userid], $size);
function qa_user_report_action($userid, $action) return null;
{ }
}
/* function qa_user_report_action($userid, $action)
Omit PHP closing tag to help avoid accidental output {
*/ }
...@@ -20,166 +20,181 @@ ...@@ -20,166 +20,181 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser if (!defined('QA_VERSION')) { // don't allow this page to be requested directly from browser
header('Location: ../'); header('Location: ../');
exit; exit;
} }
function qa_has_gd_image() /**
/* * Return true if PHP has the GD extension installed and it appears to be usable
Return true if PHP has the GD extension installed and it appears to be usable */
*/ function qa_has_gd_image()
{ {
return extension_loaded('gd') && function_exists('imagecreatefromstring') && function_exists('imagejpeg'); return extension_loaded('gd') && function_exists('imagecreatefromstring') && function_exists('imagejpeg');
} }
function qa_image_file_too_big($imagefile, $size=null) /**
/* * Check if the image in $imagefile will be too big for PHP/GD to process given memory usage and limits
Check if the image in $imagefile will be too big for PHP/GD to process given memory usage and limits * Pass the width and height limit beyond which the image will require scaling in $size (if any)
Pass the width and height limit beyond which the image will require scaling in $size (if any) * Returns false if the image will fit fine, otherwise a safe estimate of the factor the image should be sized by
Returns false if the image will fit fine, otherwise a safe estimate of the factor the image should be sized by * @param $imagefile
*/ * @param int $size
{ * @return bool|float
if (function_exists('memory_get_usage')) { */
$gotbytes=trim(@ini_get('memory_limit')); function qa_image_file_too_big($imagefile, $size = null)
{
if (function_exists('memory_get_usage')) {
$gotbytes = trim(@ini_get('memory_limit'));
$gotbytes = convert_to_bytes(substr($gotbytes, -1), $gotbytes); $gotbytes = convert_to_bytes(substr($gotbytes, -1), $gotbytes);
if ($gotbytes>0) { // otherwise we clearly don't know our limit if ($gotbytes > 0) { // otherwise we clearly don't know our limit
$gotbytes=($gotbytes-memory_get_usage())*0.9; // safety margin of 10% $gotbytes = ($gotbytes - memory_get_usage()) * 0.9; // safety margin of 10%
$needbytes=filesize($imagefile); // memory to store file contents $needbytes = filesize($imagefile); // memory to store file contents
$imagesize=@getimagesize($imagefile); $imagesize = @getimagesize($imagefile);
if (is_array($imagesize)) { // if image can't be parsed, don't worry about anything else if (is_array($imagesize)) { // if image can't be parsed, don't worry about anything else
$width=$imagesize[0]; $width = $imagesize[0];
$height=$imagesize[1]; $height = $imagesize[1];
$bits=isset($imagesize['bits']) ? $imagesize['bits'] : 8; // these elements can be missing (PHP bug) so assume this as default $bits = isset($imagesize['bits']) ? $imagesize['bits'] : 8; // these elements can be missing (PHP bug) so assume this as default
$channels=isset($imagesize['channels']) ? $imagesize['channels'] : 3; // for more info: http://gynvael.coldwind.pl/?id=223 $channels = isset($imagesize['channels']) ? $imagesize['channels'] : 3; // for more info: http://gynvael.coldwind.pl/?id=223
$needbytes+=$width*$height*$bits*$channels/8*2; // memory to load original image $needbytes += $width * $height * $bits * $channels / 8 * 2; // memory to load original image
if (isset($size) && qa_image_constrain($width, $height, $size)) // memory for constrained image if (isset($size) && qa_image_constrain($width, $height, $size)) // memory for constrained image
$needbytes+=$width*$height*3*2; // *2 here and above based on empirical tests $needbytes += $width * $height * 3 * 2; // *2 here and above based on empirical tests
}
if ($needbytes>$gotbytes)
return sqrt($gotbytes/($needbytes*1.5)); // additional 50% safety margin since JPEG quality may change
} }
}
return false;
}
function qa_image_constrain_data($imagedata, &$width, &$height, $maxwidth, $maxheight=null) if ($needbytes > $gotbytes)
/* return sqrt($gotbytes / ($needbytes * 1.5)); // additional 50% safety margin since JPEG quality may change
Given $imagedata containing JPEG/GIF/PNG data, constrain it proportionally to fit in $maxwidth x $maxheight.
Return the new image data (will always be a JPEG), and set the $width and $height variables.
If $maxheight is omitted or set to null, assume it to be the same as $maxwidth.
*/
{
$inimage=@imagecreatefromstring($imagedata);
if (is_resource($inimage)) {
$width=imagesx($inimage);
$height=imagesy($inimage);
// always call qa_gd_image_resize(), even if the size is the same, to take care of possible PNG transparency
qa_image_constrain($width, $height, $maxwidth, $maxheight);
qa_gd_image_resize($inimage, $width, $height);
}
if (is_resource($inimage)) {
$imagedata=qa_gd_image_jpeg($inimage);
imagedestroy($inimage);
return $imagedata;
} }
return null;
} }
return false;
function qa_image_constrain(&$width, &$height, $maxwidth, $maxheight=null) }
/*
Given and $width and $height, return true if those need to be contrained to fit in $maxwidth x $maxheight.
If so, also set $width and $height to the new proportionally constrained values. /**
If $maxheight is omitted or set to null, assume it to be the same as $maxwidth. * Given $imagedata containing JPEG/GIF/PNG data, constrain it proportionally to fit in $maxwidth x $maxheight.
*/ * Return the new image data (will always be a JPEG), and set the $width and $height variables.
{ * If $maxheight is omitted or set to null, assume it to be the same as $maxwidth.
if (!isset($maxheight)) * @param $imagedata
$maxheight=$maxwidth; * @param int $width
* @param int $height
if (($width>$maxwidth) || ($height>$maxheight)) { * @param int $maxwidth
$multiplier=min($maxwidth/$width, $maxheight/$height); * @param int $maxheight
$width=floor($width*$multiplier); * @return null|string
$height=floor($height*$multiplier); */
function qa_image_constrain_data($imagedata, &$width, &$height, $maxwidth, $maxheight = null)
return true; {
} $inimage = @imagecreatefromstring($imagedata);
return false; if (is_resource($inimage)) {
$width = imagesx($inimage);
$height = imagesy($inimage);
// always call qa_gd_image_resize(), even if the size is the same, to take care of possible PNG transparency
qa_image_constrain($width, $height, $maxwidth, $maxheight);
qa_gd_image_resize($inimage, $width, $height);
} }
if (is_resource($inimage)) {
function qa_gd_image_resize(&$image, $width, $height) $imagedata = qa_gd_image_jpeg($inimage);
/* imagedestroy($inimage);
Resize the GD $image to $width and $height, setting it to null if the resize failed return $imagedata;
*/
{
$oldimage=$image;
$image=null;
$newimage=imagecreatetruecolor($width, $height);
$white=imagecolorallocate($newimage, 255, 255, 255); // fill with white first in case we have a transparent PNG
imagefill($newimage, 0, 0, $white);
if (is_resource($newimage)) {
if (imagecopyresampled($newimage, $oldimage, 0, 0, 0, 0, $width, $height, imagesx($oldimage), imagesy($oldimage)))
$image=$newimage;
else
imagedestroy($newimage);
}
imagedestroy($oldimage);
} }
return null;
function qa_gd_image_jpeg($image, $output=false) }
/*
Return the JPEG data for GD $image, also echoing it to browser if $output is true
*/ /**
{ * Given and $width and $height, return true if those need to be contrained to fit in $maxwidth x $maxheight.
ob_start(); * If so, also set $width and $height to the new proportionally constrained values.
imagejpeg($image, null, 90); * If $maxheight is omitted or set to null, assume it to be the same as $maxwidth.
return $output ? ob_get_flush() : ob_get_clean(); * @param int $width
* @param int $height
* @param int $maxwidth
* @param int $maxheight
* @return bool
*/
function qa_image_constrain(&$width, &$height, $maxwidth, $maxheight = null)
{
if (!isset($maxheight))
$maxheight = $maxwidth;
if (($width > $maxwidth) || ($height > $maxheight)) {
$multiplier = min($maxwidth / $width, $maxheight / $height);
$width = floor($width * $multiplier);
$height = floor($height * $multiplier);
return true;
} }
return false;
function qa_gd_image_formats() }
/*
Return an array of strings listing the image formats that are supported
*/ /**
{ * Resize the GD $image to $width and $height, setting it to null if the resize failed
$imagetypebits=imagetypes(); * @param $image
* @param $width
$bitstrings=array( * @param $height
IMG_GIF => 'GIF', */
IMG_JPG => 'JPG', function qa_gd_image_resize(&$image, $width, $height)
IMG_PNG => 'PNG', {
); $oldimage = $image;
$image = null;
foreach (array_keys($bitstrings) as $bit)
if (!($imagetypebits&$bit)) $newimage = imagecreatetruecolor($width, $height);
unset($bitstrings[$bit]); $white = imagecolorallocate($newimage, 255, 255, 255); // fill with white first in case we have a transparent PNG
imagefill($newimage, 0, 0, $white);
return $bitstrings;
if (is_resource($newimage)) {
if (imagecopyresampled($newimage, $oldimage, 0, 0, 0, 0, $width, $height, imagesx($oldimage), imagesy($oldimage)))
$image = $newimage;
else
imagedestroy($newimage);
} }
imagedestroy($oldimage);
/* }
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file /**
* Return the JPEG data for GD $image, also echoing it to browser if $output is true
* @param resource $image
* @param bool $output
* @return string
*/
function qa_gd_image_jpeg($image, $output = false)
{
ob_start();
imagejpeg($image, null, 90);
return $output ? ob_get_flush() : ob_get_clean();
}
/**
* Return an array of strings listing the image formats that are supported
*/
function qa_gd_image_formats()
{
$imagetypebits = imagetypes();
$bitstrings = array(
IMG_GIF => 'GIF',
IMG_JPG => 'JPG',
IMG_PNG => 'PNG',
);
foreach (array_keys($bitstrings) as $bit)
if (!($imagetypebits & $bit))
unset($bitstrings[$bit]);
return $bitstrings;
}
...@@ -20,12 +20,7 @@ ...@@ -20,12 +20,7 @@
More about this license: http://www.question2answer.org/license.php More about this license: http://www.question2answer.org/license.php
*/ */
return array( return array(
'admin_title' => 'Administration Centre', 'admin_title' => 'Administration Centre',
'url_format_note' => 'Options with the ^ label are working for your site\'s configuration. For best search engine optimisation (SEO), use the first ^ option available.', 'url_format_note' => 'Options with the ^ label are working for your site\'s configuration. For best search engine optimisation (SEO), use the first ^ option available.',
); );
/*
Omit PHP closing tag to help avoid accidental output
*/
\ No newline at end of file
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