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

Set Icon properties as NonLocalizable #1224

Merged

Conversation

avikramaditya
Copy link
Contributor

Pull request for the issue: #1222

What changed:
Set the [Localizability(LocalizationCategory.NeverLocalize)] and [Localizable(false)] attributes on Icon properties of the controls, so that translation tools do not consider value of Icon property for localizing.

Example:
Before translation
Icon="pack://application:,,,/xxxLibrary;component/Icons/16x16/icnExit.png"

After psuedo translation
Icon="tr_pack://application:,,,/Nmx.Workplace.Library.StyleLibrary;component/Icons/16x16/icnExit.png_tr"

@avikramaditya avikramaditya marked this pull request as draft December 5, 2024 12:16
@avikramaditya avikramaditya marked this pull request as ready for review December 5, 2024 12:16
@avikramaditya
Copy link
Contributor Author

@batzen ci build did not run successfully, not sure if you need to invoke something for this. please have a look at PR

@batzen
Copy link
Member

batzen commented Dec 6, 2024

Will have a look on Monday.

@batzen batzen added this to the 11.0 milestone Dec 6, 2024
@batzen batzen added the Bug 🐞 label Dec 6, 2024
@batzen batzen merged commit 094ef87 into fluentribbon:develop Dec 10, 2024
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants