/[drupal]/contributions/modules/translation_framework/contrib/google_translation/google_translation.module
ViewVC logotype

Diff of /contributions/modules/translation_framework/contrib/google_translation/google_translation.module

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

revision 1.1.2.6, Mon Aug 10 20:32:00 2009 UTC revision 1.1.2.7, Thu Aug 27 15:25:18 2009 UTC
# Line 122  function google_translation_preprocess($ Line 122  function google_translation_preprocess($
122   *   *
123   */   */
124  function google_translation_postprocess($translate) {  function google_translation_postprocess($translate) {
125      $translate->translation = str_replace('&lt;', '<', $translate->translation);
126      $translate->translation = str_replace('&gt;', '>', $translate->translation);
127      $translate->translation = str_replace('</ ', '</', $translate->translation);
128      $translate->translation = str_replace('&quot;', '"', $translate->translation);
129      $translate->translation = str_replace('<br>', '', $translate->translation);
130      $translate->translation = str_replace('<br />', '', $translate->translation);
131      $translate->translation = str_replace('# ', '#', $translate->translation);
132    return $translate;    return $translate;
133  }  }
134    

Legend:
Removed from v.1.1.2.6  
changed lines
  Added in v.1.1.2.7

  ViewVC Help
Powered by ViewVC 1.1.2