mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 14:18:52 +00:00
[ticket/10650] Added ellipsis to language file
Added ELLIPSIS to language file common.php and also corrected language explanation of ACP option. PHPBB3-10650
This commit is contained in:
parent
dd3b8e74b3
commit
2dec700aab
3 changed files with 3 additions and 2 deletions
|
@ -397,7 +397,7 @@ function display_forums($root_data = '', $display_moderators = true, $return_mod
|
||||||
if ($row['forum_last_post_id'])
|
if ($row['forum_last_post_id'])
|
||||||
{
|
{
|
||||||
$last_post_subject = $row['forum_last_post_subject'];
|
$last_post_subject = $row['forum_last_post_subject'];
|
||||||
$last_post_subject_truncated = truncate_string($last_post_subject, 30, 255 ,false, '…');
|
$last_post_subject_truncated = truncate_string($last_post_subject, 30, 255 ,false, $user->lang['ELLIPSIS']);
|
||||||
$last_post_time = $user->format_date($row['forum_last_post_time']);
|
$last_post_time = $user->format_date($row['forum_last_post_time']);
|
||||||
$last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
|
$last_post_url = append_sid("{$phpbb_root_path}viewtopic.$phpEx", 'f=' . $row['forum_id_last_post'] . '&p=' . $row['forum_last_post_id']) . '#p' . $row['forum_last_post_id'];
|
||||||
}
|
}
|
||||||
|
|
|
@ -45,7 +45,7 @@ $lang = array_merge($lang, array(
|
||||||
'DISABLE_BOARD' => 'Disable board',
|
'DISABLE_BOARD' => 'Disable board',
|
||||||
'DISABLE_BOARD_EXPLAIN' => 'This will make the board unavailable to users. You can also enter a short (255 character) message to display if you wish.',
|
'DISABLE_BOARD_EXPLAIN' => 'This will make the board unavailable to users. You can also enter a short (255 character) message to display if you wish.',
|
||||||
'DISPLAY_LAST_SUBJECT' => 'Display subject of last added post on forum list',
|
'DISPLAY_LAST_SUBJECT' => 'Display subject of last added post on forum list',
|
||||||
'DISPLAY_LAST_SUBJECT_EXPLAIN' => 'The subject of the last added post will be displayed in the forum list with a hyperlink to the post. Subjects from password protected forums and ones in which user doesnt have read access are not shown.',
|
'DISPLAY_LAST_SUBJECT_EXPLAIN' => 'The subject of the last added post will be displayed in the forum list with a hyperlink to the post. Subjects from password protected forums and forums in which user doesnt have read access are not shown.',
|
||||||
'OVERRIDE_STYLE' => 'Override user style',
|
'OVERRIDE_STYLE' => 'Override user style',
|
||||||
'OVERRIDE_STYLE_EXPLAIN' => 'Replaces user’s style with the default.',
|
'OVERRIDE_STYLE_EXPLAIN' => 'Replaces user’s style with the default.',
|
||||||
'SITE_DESC' => 'Site description',
|
'SITE_DESC' => 'Site description',
|
||||||
|
|
|
@ -169,6 +169,7 @@ $lang = array_merge($lang, array(
|
||||||
),
|
),
|
||||||
|
|
||||||
'EDIT_POST' => 'Edit post',
|
'EDIT_POST' => 'Edit post',
|
||||||
|
'ELLIPSIS' => ' …', // ...
|
||||||
'EMAIL' => 'E-mail', // Short form for EMAIL_ADDRESS
|
'EMAIL' => 'E-mail', // Short form for EMAIL_ADDRESS
|
||||||
'EMAIL_ADDRESS' => 'E-mail address',
|
'EMAIL_ADDRESS' => 'E-mail address',
|
||||||
'EMAIL_SMTP_ERROR_RESPONSE' => 'Ran into problems sending e-mail at <strong>Line %1$s</strong>. Response: %2$s.',
|
'EMAIL_SMTP_ERROR_RESPONSE' => 'Ran into problems sending e-mail at <strong>Line %1$s</strong>. Response: %2$s.',
|
||||||
|
|
Loading…
Add table
Reference in a new issue