Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix #116881: dynamic translation #2708

Merged
merged 1 commit into from Jul 1, 2016

Conversation

lasconic
Copy link
Contributor

No description provided.

@@ -185,6 +186,8 @@ void ResourceManager::download()
if (result) {
QFile::remove(localPath);
button->setText(tr("Updated"));
// retranslate the UI
setMscoreLocale(localeName);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When guarded by if (data == buttonMap.first()) this would only be done when really needed, i.e. if the current active language got updated

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks. Done.

@lasconic lasconic force-pushed the fix-116881-dynamic-translation branch from 573ebab to 9471a7c Compare July 1, 2016 08:00
@lasconic lasconic force-pushed the fix-116881-dynamic-translation branch from 9471a7c to 46c9157 Compare July 1, 2016 13:28
@lasconic lasconic merged commit 898cb7e into musescore:master Jul 1, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants