/[drupal]/contributions/modules/l10n_server/l10n_community/translate.inc
ViewVC logotype

Diff of /contributions/modules/l10n_server/l10n_community/translate.inc

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.1.2.7.2.22, Wed Oct 28 14:44:06 2009 UTC revision 1.1.2.7.2.23, Fri Nov 6 15:04:50 2009 UTC
# Line 1  Line 1 
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
# Line 221  function l10n_community_translate_view($ Line 221  function l10n_community_translate_view($
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) {

Legend:
Removed from v.1.1.2.7.2.22  
changed lines
  Added in v.1.1.2.7.2.23

  ViewVC Help
Powered by ViewVC 1.1.2