Translations:Extension:Widgets/198/en

Some code structure changes and fix to a bug 25219.