Can't update translations if the "Plugins" menu string got translated

• Mar 24, 2015 - 13:58
Type
Functional
Severity
S4 - Minor
Status
closed
Regression
No
Workaround
No
Project

In a language where the string "&Plugins" has been translated to something different, e.g. "&Plug-Ins", you can't update that language via the Resource Manager or Preferences / Update Translations

As plugins set the menu string, and (usually?) start that with "Plugins.", (otherwise they do create their own entry in the main menu bar) I think that string (...mscore/musescore.cpp, line 903 ) should not get translated in the 1st place.

MuseScore 2.0, Windows 7 (Enterprise, 64bit)

  1. translate the string "&Plugins" on Transifex, in the language that your MuseScore is set to use, it got to be the system setting!
  2. wait 5 minutes
  3. update that translation via Resource Manager

actual result: the update button's label changes to "Error, try again" (in your language)


Comments

I take back that "&Plugins" should not get translated, this is not the cause and does work even if the plugins themself use "Plugin..." in their menustring.

My current hypothesis is that translations of a string in the menu bar lead to the 'Error, try again', if MuseScore is set to use the system language and that translation has one of those string updated, need to replace an open file maybe?

I don't see how it could be linked to the plugin or the menu. Most of the UI strings are made equal.

The problem could indeed be about replacing an open file. Can you update a language, restart MuseScore so it loads (and hold?) the QM file you just created, and then try to delete this file while MuseScore is running? Can you delete the file?