bloguetronica / cp2130-conf

CP2130 Configurator (cp2130-conf) is an application that can be used to configure CP2130 devices, including VID, PID, as well as other descriptors. Most importantly, the application allows you to configure pin functions and states.
GNU General Public License v3.0
1 stars 1 forks source link

Translation incorrectly applied #37

Closed samuelfmlourenco closed 1 year ago

samuelfmlourenco commented 1 year ago

The menu item "Close Window" is not being translated. This item is visible if the device disconnects or is disconnected before or during an operation.

samuelfmlourenco commented 1 year ago

This error is caused by a typo in the declaration of ConfiguratorWindow::disableView(), inside "configurationwindow.cpp". In line 496, we have:

void::ConfiguratorWindow::disableView()

Notice that "void" is being treated as a separate namespace by lupdate, but the compiler still recognizes the above function as being part of the ConfiguratorWindow class, and thus, the compilation throws no errors or warnings. The line above should be changed to:

void ConfiguratorWindow::disableView()

This fix will be implemented in version 2.1.

samuelfmlourenco commented 1 year ago

Fixed in version 2.1.