Flairmesh / FlooCast

This desktop application is designed for configuring Flairmesh Technologies' Bluetooth V5.4 dual-mode USB audio source dongle FMA120.
https://www.flairmesh.com/Dongle/FMA120.html
BSD 3-Clause "New" or "Revised" License
14 stars 3 forks source link

Make Connect/Disconnect device context menu dynamic #4

Closed bassstorm closed 5 months ago

bassstorm commented 5 months ago

This change is intended for improving user experience with device list context menu. Namely, connect/disconnect actions. The context menu now dynamically updated reflecting actual selected device state, that allows to avoid user guesswork about their devices.

Though I regenerated default messages, there's plenty of translated ones. Historically these aren't aligned with 'master' file, so every refactoring touching messages is gonna be an unpleasant manual work.

I propose the following:

  1. I realign LC_MESSAGES/*.po so these match master file line by line (rationale: easy to merge/update later on).
  2. Perhaps it makes sense to run pygettext with --no-location option to minimize changesets. Unless there's some good use of comment location info? I can apply that as well.

Looking forward hearing your feedback. Thanks!