mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
Adds an aria label attribute to the quoted post reference link so that screen readers can inform the user of what the link is used for. Before this change the link was too vague and would not have been well described to users of its purpose if they couldn't see it. PHPBB-17376
125 lines
4.4 KiB
PHP
125 lines
4.4 KiB
PHP
<?php
|
||
/**
|
||
*
|
||
* This file is part of the phpBB Forum Software package.
|
||
*
|
||
* @copyright (c) phpBB Limited <https://www.phpbb.com>
|
||
* @license GNU General Public License, version 2 (GPL-2.0)
|
||
*
|
||
* For full copyright and license information, please see
|
||
* the docs/CREDITS.txt file.
|
||
*
|
||
*/
|
||
|
||
/**
|
||
* DO NOT CHANGE
|
||
*/
|
||
if (!defined('IN_PHPBB'))
|
||
{
|
||
exit;
|
||
}
|
||
|
||
if (empty($lang) || !is_array($lang))
|
||
{
|
||
$lang = array();
|
||
}
|
||
|
||
// DEVELOPERS PLEASE NOTE
|
||
//
|
||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
||
//
|
||
// Placeholders can now contain order information, e.g. instead of
|
||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
||
// translators to re-order the output of data while ensuring it remains correct
|
||
//
|
||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
||
// equally where a string contains only two placeholders which are used to wrap text
|
||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
||
|
||
$lang = array_merge($lang, array(
|
||
'APPROVE' => 'Approve',
|
||
'ATTACHMENT' => 'Attachment',
|
||
'ATTACHMENT_FUNCTIONALITY_DISABLED' => 'The attachments feature has been disabled.',
|
||
|
||
'BOOKMARK_ADDED' => 'Bookmarked topic successfully.',
|
||
'BOOKMARK_ERR' => 'Bookmarking the topic failed. Please try again.',
|
||
'BOOKMARK_REMOVED' => 'Removed bookmarked topic successfully.',
|
||
'BOOKMARK_TOPIC' => 'Bookmark topic',
|
||
'BOOKMARK_TOPIC_REMOVE' => 'Remove from bookmarks',
|
||
'BUMPED_BY' => 'Last bumped by %1$s on %2$s.',
|
||
'BUMP_TOPIC' => 'Bump topic',
|
||
|
||
'DELETE_TOPIC' => 'Delete topic',
|
||
'DELETED_INFORMATION' => 'Deleted by %1$s on %2$s',
|
||
'DISAPPROVE' => 'Disapprove',
|
||
'DOWNLOAD_NOTICE' => 'You do not have the required permissions to view the files attached to this post.',
|
||
|
||
'EDITED_TIMES_TOTAL' => array(
|
||
1 => 'Last edited by %2$s on %3$s, edited %1$d time in total.',
|
||
2 => 'Last edited by %2$s on %3$s, edited %1$d times in total.',
|
||
),
|
||
'EMAIL_TOPIC' => 'Email topic',
|
||
'ERROR_NO_ATTACHMENT' => 'The selected attachment does not exist anymore.',
|
||
|
||
'FILE_NOT_FOUND_404' => 'The file <strong>%s</strong> does not exist.',
|
||
'FORK_TOPIC' => 'Copy topic',
|
||
'FULL_EDITOR' => 'Full Editor & Preview',
|
||
|
||
'LINKAGE_FORBIDDEN' => 'You are not authorised to view, download or link from/to this site.',
|
||
'LOGIN_NOTIFY_TOPIC' => 'You have been notified about this topic, please login to view it.',
|
||
'LOGIN_VIEWTOPIC' => 'The board requires you to be registered and logged in to view this topic.',
|
||
|
||
'MAKE_ANNOUNCE' => 'Change to “Announcement”',
|
||
'MAKE_GLOBAL' => 'Change to “Global”',
|
||
'MAKE_NORMAL' => 'Change to “Standard Topic”',
|
||
'MAKE_STICKY' => 'Change to “Sticky”',
|
||
'MAX_OPTIONS_SELECT' => array(
|
||
1 => 'You may select <strong>%d</strong> option',
|
||
2 => 'You may select up to <strong>%d</strong> options',
|
||
),
|
||
'MISSING_INLINE_ATTACHMENT' => 'The attachment <strong>%s</strong> is no longer available',
|
||
'MOVE_TOPIC' => 'Move topic',
|
||
|
||
'NO_ATTACHMENT_SELECTED'=> 'You haven’t selected an attachment to download or view.',
|
||
'NO_NEWER_TOPICS' => 'There are no newer topics in this forum.',
|
||
'NO_OLDER_TOPICS' => 'There are no older topics in this forum.',
|
||
'NO_UNREAD_POSTS' => 'There are no new unread posts for this topic.',
|
||
'NO_VOTE_OPTION' => 'You must specify an option when voting.',
|
||
'NO_VOTES' => 'No votes',
|
||
'NO_AUTH_PRINT_TOPIC' => 'You are not authorised to print topics.',
|
||
|
||
'POLL_ENDED_AT' => 'Poll ended at %s',
|
||
'POLL_RUN_TILL' => 'Poll runs till %s',
|
||
'POLL_VOTED_OPTION' => 'You voted for this option',
|
||
'POST_DELETED_RESTORE' => 'This post has been deleted. It can be restored.',
|
||
'PRINT_TOPIC' => 'Print view',
|
||
|
||
'QUICK_MOD' => 'Quick-mod tools',
|
||
'QUICKREPLY' => 'Quick Reply',
|
||
|
||
'REPLY_TO_TOPIC' => 'Reply to topic',
|
||
'RESTORE' => 'Restore',
|
||
'RESTORE_TOPIC' => 'Restore topic',
|
||
'RETURN_POST' => '%sReturn to the post%s',
|
||
|
||
'SUBMIT_VOTE' => 'Submit vote',
|
||
|
||
'TOPIC_TOOLS' => 'Topic tools',
|
||
'TOTAL_VOTES' => 'Total votes',
|
||
|
||
'UNLOCK_TOPIC' => 'Unlock topic',
|
||
|
||
'VIEW_INFO' => 'Post details',
|
||
'VIEW_NEXT_TOPIC' => 'Next topic',
|
||
'VIEW_PREVIOUS_TOPIC' => 'Previous topic',
|
||
'VIEW_QUOTED_POST' => 'View quoted post',
|
||
'VIEW_RESULTS' => 'View results',
|
||
'VIEW_TOPIC_POSTS' => array(
|
||
1 => '%d post',
|
||
2 => '%d posts',
|
||
),
|
||
'VIEW_UNREAD_POST' => 'First unread post',
|
||
'VOTE_SUBMITTED' => 'Your vote has been cast.',
|
||
'VOTE_CONVERTED' => 'Changing votes is not supported for converted polls.',
|
||
|
||
));
|