various fixes for correct catalan/spanish display

release-0.6
svncommit 19 years ago
parent 53560c521e
commit 1038d554e4

@ -856,7 +856,7 @@ function rcube_table_output($attrib, $sql_result, $a_show_cols, $id_col)
$table .= "<thead><tr>\n";
foreach ($a_show_cols as $col)
$table .= '<td class="'.$col.'">' . rcube_label($col) . "</td>\n";
$table .= '<td class="'.$col.'">' . rep_specialchars_output(rcube_label($col)) . "</td>\n";
$table .= "</tr></thead>\n<tbody>\n";

@ -64,6 +64,7 @@ $labels['filesize'] = 'Mida del fitxer';
$labels['preferhtml'] = 'Prefereix HTML';
$labels['htmlmessage'] = 'Missatge HTML';
$labels['prettydate'] = 'Dates curtes';
$labels['addtoaddressbook'] = 'Afegir a la llibreta d\'adreces';

@ -63,7 +63,7 @@ $labels['filesize'] = 'Tama
$labels['preferhtml'] = 'Prefiero HTML';
$labels['htmlmessage'] = 'Mensaje HTML';
//$labels['prettydate'] = '';
$labels['prettydate'] = 'Fechas cortas';
$labels['addtoaddressbook'] = 'Añadir a contactos';

@ -25,11 +25,10 @@
'en_GB' => 'English (GB)',
'ar' => 'Arabic',
'bg' => 'Bulgarian',
'cat' => 'Catalan',
'tw' => 'Chinese (BIG5)',
'cn' => 'Chinese(GB2312)',
'cz' => 'Czech',
'ca' => 'Catalan',
'ca' => 'Catal&agrave;',
'da' => 'Dansk',
'de' => 'Deutsch',
'es' => 'Espa&ntilde;ol',

@ -251,7 +251,7 @@ function rcmail_message_list($attrib)
$out .= "<thead><tr>\n<td class=\"icon\">&nbsp;</td>\n";
foreach ($a_show_cols as $col)
$out .= '<td class="'.$col.'">' . rcube_label($col) . "</td>\n";
$out .= '<td class="'.$col.'">' . rep_specialchars_output(rcube_label($col)) . "</td>\n";
$out .= '<td class="icon">'.($attrib['attachmenticon'] ? sprintf($image_tag, $skin_path, $attrib['attachmenticon'], '') : '')."</td>\n";
$out .= "</tr></thead>\n<tbody>\n";
@ -813,7 +813,7 @@ function rcmail_message_headers($attrib, $headers=NULL)
$header_value = rep_specialchars_output($IMAP->decode_header($headers[$hkey]), '', 'all');
$out .= "\n<tr>\n";
$out .= '<td class="header-title">'.rcube_label($hkey).":&nbsp;</td>\n";
$out .= '<td class="header-title">'.rep_specialchars_output(rcube_label($hkey)).":&nbsp;</td>\n";
$out .= '<td class="'.$hkey.'" width="90%">'.$header_value."</td>\n</tr>";
$header_count++;
}

@ -88,7 +88,7 @@ function rcube_identity_form($attrib)
$out .= sprintf("<tr><td class=\"title\"><label for=\"%s\">%s</label></td><td>%s</td></tr>\n",
$attrib['id'],
rcube_label($label),
rep_specialchars_output(rcube_label($label)),
$value);
}

Loading…
Cancel
Save