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

controllerAction is localized #698

Open
ALenfant opened this issue Oct 22, 2014 · 0 comments
Open

controllerAction is localized #698

ALenfant opened this issue Oct 22, 2014 · 0 comments

Comments

@ALenfant
Copy link

The QElement controllerAction property's value is localized when loading it from JSON, which causes issues when the flag NSShowNonLocalizedStrings is set to YES (it capitalizes the method's name, for instance clicked: becomes CLICKED:).

It seems that in QRootBuilder's method + (void)trySetProperty:(NSString *)propertyName onObject:(id)target withValue:(id)value localized:(BOOL)shouldLocalize, the value for shouldLocalize should be false when propertyName is equal to controllerAction.

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

No branches or pull requests

1 participant