This module uses quite a lot of short strings that are difficult to find in the translation tool without a context.

Especially egrerious is the use of a switch statement in the themeing of weather conditions which makes them invisible to drupal unless that particular weather condition has happened (translation strings aren't recorded unless they're rendered). I would suggest the following patch to at least address that.

Comments

sthomen created an issue. See original summary.

ysamoylenko’s picture

Status: Active » Reviewed & tested by the community

Hello @sthomen,

Thanks for your contribution.

The patch looks good for me.

But I have a little bit changed it to make it applicable to Drupal coding standards.

Anyway, the changes will be committed soon.

  • ysamoylenko committed 47a7c2a on 7.x-2.x authored by sthomen
    Issue #3066689 by sthomen, ysamoylenko: Weather is annoying to translate
    
ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

Tha patch was committed.

sthomen’s picture

Wow, that was super quick, thank you!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.