Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Localization - #42

Merged
haacked merged 7 commits into
github:masterfrom
jau228:localization
Sep 16, 2015
Merged

haacked merged 7 commits into
github:masterfrom
jau228:localization

Conversation

@jau228

@jau228 jau228 commented Aug 7, 2015

Copy link
Copy Markdown
Contributor

This is basically pulling strings from xaml and place them in the resource file. And using static binding to link those strings. I also added an exception in the GitHubVS.ruleset to ignore CA1701 for the string renaming error("UserName" instead of "username", "Github" instead of "GitHub", etc...) I am not seeing a whole lot of strings beside the GitHub.VisualStudio project. So this is what I focus so far.

@shana

shana commented Aug 10, 2015

Copy link
Copy Markdown
Contributor

Thanks for taking this on!

There are some strings on .cs files that need to be moved to resources too, particularly in the "TeamExplorer" folder.

Comment thread src/common/GitHubVS.ruleset Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Minor nit, but could you fix the indenting? We use spaces, not tabs.

@haacked

haacked commented Aug 10, 2015

Copy link
Copy Markdown
Contributor

@jau228 THANK YOU for taking this on! It may take a little time for us to fully review. We've left you a few minor notes already.

@jau228

jau228 commented Aug 10, 2015

Copy link
Copy Markdown
Contributor Author

I will move those strings from TeamExplorer folder this week.

@jau228

jau228 commented Aug 10, 2015

Copy link
Copy Markdown
Contributor Author

The naming convention i used so far is {ControlName}{AttributeName}. eg. loginButtonContent, nameTextBlockText, helpCheckBoxToolTip, etc...

@haacked

haacked commented Aug 10, 2015

Copy link
Copy Markdown
Contributor

The naming convention i used so far is {ControlName}{AttributeName}. eg. loginButtonContent, nameTextBlockText, helpCheckBoxToolTip, etc...

That seems good to me. @shana?

@shana

shana commented Aug 10, 2015

Copy link
Copy Markdown
Contributor

The naming convention i used so far is {ControlName}{AttributeName}. eg. loginButtonContent, nameTextBlockText, helpCheckBoxToolTip, etc...

That seems good to me. @shana?

Yup, sounds good, that way it'll be easy to search&replace if we need to 👍

@shana

shana commented Aug 13, 2015

Copy link
Copy Markdown
Contributor

Hey hey! Just dropping a note to let you know this is not forgotten! I need to ship a release before I tackle open PRs (of which there are a few), I'll get to this soon!

@shana shana added this to the 1.0.13 milestone Aug 13, 2015
@jau228

jau228 commented Aug 14, 2015

Copy link
Copy Markdown
Contributor Author

yep, no problem. I am new to GitHub, so I am just trying to find projects to contribute.

@shana shana mentioned this pull request Sep 8, 2015
@haacked
haacked merged commit 5181585 into github:master Sep 16, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants