| 1 |
<?php |
<?php |
| 2 |
// $Id: translate.inc,v 1.1.2.7.2.21 2009/10/15 08:46:40 goba Exp $ |
// $Id: translate.inc,v 1.1.2.7.2.22 2009/10/28 14:44:06 goba Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* @file |
* @file |
| 221 |
|
|
| 222 |
// Translation display. |
// Translation display. |
| 223 |
if (!empty($string->translation)) { |
if (!empty($string->translation)) { |
| 224 |
if (strpos(chr(0), $string->value) !== FALSE) { |
if (strpos($string->value, chr(0)) !== FALSE) { |
| 225 |
$translations = explode(chr(0), l10n_community_format_text($string->translation)); |
$translations = explode(chr(0), l10n_community_format_text($string->translation)); |
| 226 |
// Fill in any missing items, so it is shown that not all items are done. |
// Fill in any missing items, so it is shown that not all items are done. |
| 227 |
if (count($translations) < $language->plurals) { |
if (count($translations) < $language->plurals) { |