Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1699 Warnings in translate plugin

closed-fixed
nobody
5
2005-02-03
2005-01-12
Thijs Kinkhorst
No

Hello,

I've enabled the translate plugin, and at the bottom of
every message I view it outputs these warnings:

Warning: Uninitialized string offset: 2 in
/www/webmail/cvs/stable/plugins/translate/setup.php on
line 174

Warning: Uninitialized string offset: 2 in
/www/webmail/cvs/stable/plugins/translate/setup.php on
line 174

Have looked into it briefly but didn't find a solution
in the short term; reporting it here so someone else
can pick it up, or else I will look at it some time in
the future.

Discussion

  • Logged In: YES
    user_id=285765

    This is in current stable cvs.

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-01-21

    Logged In: YES
    user_id=225877

    which interface language is used
    which translation engine

     
  • Logged In: YES
    user_id=285765

    ok, narrowed the problem down: the problem was that my user
    pref still had GPLTrans while this one is not supported
    anymore. Setting it to one of the currently supported
    engines fixes the problem.

    Perhaps this can be made a little more graceful?

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-01-21

    Logged In: YES
    user_id=225877

    we can add test that checks for 'gpltrans' or 'go' and
    disables translation box.

    Bug is specific to 1.4.x. 1.5.1cvs contains rewritten plugin

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-01-21

    Logged In: YES
    user_id=225877

    error is specific to selected translation and selected
    engine combo. we have to fix translate_lang_opt calls in
    translation engine or add extra safety tests in
    translate_does_it_match_language function

     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-02-03

    • status: open --> closed-fixed
     
  • Tomas Kuliavas
    Tomas Kuliavas
    2005-02-03

    Logged In: YES
    user_id=225877

    Should be fixed in 1.4.5cvs (plugins/translate/setup.php
    v.1.11.2.9)