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

Some problems with VST. Again. #3677

Closed
Andrew344 opened this issue Jul 2, 2017 · 10 comments · Fixed by #4771
Closed

Some problems with VST. Again. #3677

Andrew344 opened this issue Jul 2, 2017 · 10 comments · Fixed by #4771

Comments

@Andrew344
Copy link

VST preset files doesn’t appear in LMMS search window. But, in Windows file manager all is OK.
It occurs in LMMS 1.1.3 , 1.2.0 rc2, rc3. If I write file name in search line and press enter, the preset file will open successful. But, if I click button, it doesn't happen.
default

Howewer, after reloading LMMS project, even if project was saved with need preset, VST plugin settings still returns to primary preset.

@tresf
Copy link
Member

tresf commented Jul 2, 2017

Could a typo in the translation file cause this? (the comma?)

<translation>Предустановка VST плагина (*.fxp, *.fxb)</translation>

@Andrew344
Copy link
Author

I change the language on English, and now files are visible.
At this moment, I do not checked the code on link , but anyway, VST plugin settings still returns to primary preset after reloading project.

@Andrew344
Copy link
Author

Andrew344 commented Jul 3, 2017

Later, I will analyze it, and correct mistakes.
Thanks for help.

@musikBear
Copy link

Ahhh.. sounds like the 'umlaut' problem
ä, ö, ü, æ, ø, å
amo. -can be problems in filenames as well as foldernames

@tresf
Copy link
Member

tresf commented Jul 4, 2017

@musikBear do you have evidence of this problem? His folders do not contain the characters you mention, only the save dialog, which shouldn't affect it. My investigation points to a translation issue. You should be able to unit test this using the raw translation file and running it though Qt Linguist. Once that is done you or someone can work with @liushuyu to fix.

@oeai
Copy link
Contributor

oeai commented Sep 25, 2017

maybe because of this?

<message>
    <source>.fxp</source>
    <translation>.fxp</translation>
</message>
<message>
    <source>.FXP</source>
    <translation>.FXP</translation>
</message>
<message>
    <source>.FXB</source>
    <translation>.FXB</translation>
</message>
<message>
    <source>.fxb</source>
    <translation>.fxb</translation>

if it goes into a search pattern as a translation (since there is a translation), but it don't understand it, since there's no need in translation
i don't think that "," can bug the code, not sure when i can test \ recompile it
where to find that search pattern in code?

changed string 1709 to no-comma

@oeai
Copy link
Contributor

oeai commented Sep 26, 2017

i remember that there were the same problem with converting to ogg, when values for converting were taken from the selected string (that was also translated) and same problem happened in chinese.
what i propose is to change the code programing paradigm for example search_file_by_pattern function if there is any, so it was taken strict file extensions not from "(String_from_gui_defined_by_brackets)", but from defined by value massive "0value:string0;1value:string1" so it was independent of translations and user act, but only gui dropdown menu value changes
As a translator i don't see where exactly is string used and can't expect that translation can influence on code flow -> that cannot be happened

@DomClark
Copy link
Member

DomClark commented Dec 9, 2018

The resetting of VST settings when the project is reloaded was probably fixed in #4401.
As for the missing preset files, @tresf seems to be correct; upon removing the comma, the files show up normally. The issue is present in the Russian and Ukrainian translations:

<translation>Предустановка VST плагина (*.fxp, *.fxb)</translation>

<translation>Передустановка VST плагіна (*.fxp, *.fxb)</translation>

How do we get translations into 1.2 currently? Should this be fixed on Transifex or manually in a PR?

@zonkmachine
Copy link
Member

zonkmachine commented Dec 9, 2018

How do we get translations into 1.2 currently? Should this be fixed on Transifex or manually in a PR?

Manual PR. Transifex is now pointing to master. Maybe the parenthesis (*.fxp *.fxb) shouldn't be translatable at all.

@DomClark DomClark mentioned this issue Jan 14, 2019
@zonkmachine
Copy link
Member

tr( "Vst Plugin Preset (*.fxp *.fxb)" ) );

Maybe change that to something like tr( "Vst Plugin Preset" ) + " (*.fxp *.fxb)" );
Are there cases where suffixes actually need to be translatable?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

6 participants