Skip to content

Commit

Permalink
Fix #11429: 'Attachment missing' not translatable
Browse files Browse the repository at this point in the history
The string 'attachment missing' should be translatable in the language
files.
  • Loading branch information
davidhicks committed Jan 25, 2010
1 parent b2c3d1d commit 28a2353
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion core/print_api.php
Expand Up @@ -1742,7 +1742,7 @@ function print_bug_attachments_list( $p_bug_id ) {

if ( !$t_attachment['exists'] ) {
print_file_icon( $t_file_display_name );
echo '&nbsp;<span class="strike">' . $t_file_display_name . '</span> (attachment missing)';
echo '&nbsp;<span class="strike">' . $t_file_display_name . '</span>' . lang_get( 'word_separator' ) . '(' . lang_get( 'attachment_missing' ) . ')';
} else {
echo $t_href_start;
print_file_icon( $t_file_display_name );
Expand Down
1 change: 1 addition & 0 deletions lang/strings_english.txt
Expand Up @@ -1367,6 +1367,7 @@ $s_monitored_by_label = 'Monitored By:';
$s_attachments = 'attachment(s)';
$s_attachment_alt = 'A';
$s_bytes = 'bytes';
$s_attachment_missing = 'Attachment missing';

# PHPMailer
$s_phpmailer_language = 'en';
Expand Down

0 comments on commit 28a2353

Please sign in to comment.