Skip to content

Commit

Permalink
0004147: Receiving emails in foreign languages (paulr)
Browse files Browse the repository at this point in the history
git-svn-id: http://mantisbt.svn.sourceforge.net/svnroot/mantisbt/trunk@2755 f5dc347c-c33d-0410-90a0-b07cc1902cb9
  • Loading branch information
vboctor committed Jul 24, 2004
1 parent 7b577fc commit 898e768
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions core/email_api.php
Expand Up @@ -6,7 +6,7 @@
# See the README and LICENSE files for details

# --------------------------------------------------------
# $Id: email_api.php,v 1.87 2004-07-11 13:24:29 vboctor Exp $
# $Id: email_api.php,v 1.88 2004-07-24 15:35:32 vboctor Exp $
# --------------------------------------------------------

$t_core_dir = dirname( __FILE__ ).DIRECTORY_SEPARATOR;
Expand Down Expand Up @@ -740,7 +740,7 @@ function email_bug_info_to_one_user( $p_visible_bug_data, $p_message_id, $p_proj

# build message

$t_message = lang_get_defaulted( $p_message_id );
$t_message = lang_get_defaulted( $p_message_id, null, $g_email_lang );
if ( ( $t_message !== null ) && ( !is_blank( $t_message ) ) ) {
$t_message .= "\n";
}
Expand Down Expand Up @@ -800,7 +800,7 @@ function email_format_bug_message( $p_visible_bug_data ) {
# custom fields formatting
foreach( $p_visible_bug_data['custom_fields'] as $t_custom_field_name => $t_custom_field_data ) {

$t_message .= str_pad( lang_get_defaulted( $t_custom_field_name ) . ': ', $t_email_padding_length, ' ', STR_PAD_RIGHT );
$t_message .= str_pad( lang_get_defaulted( $t_custom_field_name, null, $g_email_lang ) . ': ', $t_email_padding_length, ' ', STR_PAD_RIGHT );

if ( CUSTOM_FIELD_TYPE_EMAIL === $t_custom_field_data['type'] ) {
$t_message .= 'mailto:'.$t_custom_field_data['value'];
Expand Down

0 comments on commit 898e768

Please sign in to comment.