Move the UI language selection to the option dialog.

The growing number of translations makes the menu difficult to use.
UI language: Remove the resource IDs.

We don't need resource IDs anymore except to maintain compatibility with the language setting saved from really old versions (nearly two years old). The compatibility gain isn't worth the trouble so people upgrading from those old versions will now have the UI language reset to the default language based on Windows localization.
Subresync bar: Use translatable strings when possible.
Capture dialog: Split some functions and factorize some code.
Fix: The dockable bars were not updated when changing the UI language.
Use the event system to handle UI language changes.