Opened 11 years ago

Closed 11 years ago

Last modified 6 years ago

#385 closed bug (fixed)

error message if a word is not translated in english

Reported by: lemon-head Owned by: lemon-head
Priority: minor Milestone: Legacy Resolved
Component: BW Internationalization Keywords:
Cc:

Description

If a word is translated in the chosen language, but not in english, a translator gets an error message. This is because MOD_words will try to read from a non-existing object in the function '_is_obsolete()'.

On alpha.bewelcome.org/about, surfing in german (with translation rights):

Notice: Trying to get property of non-object in /home/bwrox/alpha.bewelcome.org/modules/i18n/lib/words.lib.php on line 426

Change History (4)

comment:1 Changed 11 years ago by lemon-head

  • follow_up changed from none to test
  • Owner set to lemon-head
  • Status changed from new to assigned

[3918] removes the messages. Now it appears like the word is just 'obsolete'. If that's the solution?

Maybe we can get a better solution if we do some work on adminwords.php.

comment:2 Changed 11 years ago by lemon-head

  • freq_reported set to 1
  • show_on_bw set to 0

the solution is sufficient, but some work could be done on adminwords!

comment:3 Changed 11 years ago by lemon-head

  • Resolution set to fixed
  • Status changed from assigned to closed

comment:4 Changed 6 years ago by TimLoal

  • Component changed from BW General to BW Internationalization
  • Milestone changed from unassigned to Legacy Resolved
Note: See TracTickets for help on using tickets.