The Wayback Machine - https://web.archive.org/web/20201215052232/https://github.com/github/VisualStudio/pull/1871
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 PR icon in Status Bar and GitHub Icon on Start Page #1871

Merged
merged 3 commits into from Sep 5, 2018

Conversation

@grokys
Copy link
Contributor

@grokys grokys commented Aug 22, 2018

#1714 broke a few things that were causing this:

  • It removed the IncludeOutputGroupsInVSIX/IncludeOutputGroupsInVSIXLocalOnly properties from GitHub.VisualStudio.csproj. In the case of GitHub.InlineReviews and GitHub.StartPage this prevented the packages loading which caused #1863
  • Once this was fixed, needed to add SatelliteDllsProjectOutputGroup to the relevant references in order to get the satellite assemblies to be shipped along with the extension

This wasn't a bug, but was unnecessary:

  • OcticonPaths.resx doesn't need to be translated as it consists solely of XAML paths.

Fixes #1863

grokys added 3 commits Aug 22, 2018
Allows the `GitHub.InlineReviews` and `GitHub.StartPage` packages to be loaded, but now XAML resources cant be found.
This property is needed where an assembly has satellite assemblies that need to be installed.
@shana
Copy link
Collaborator

@shana shana commented Aug 22, 2018

There are more changes in #1714 that seem unnecessary or not really clear:

  • https://github.com/github/VisualStudio/pull/1714/files#diff-44ee993861822d4f52c2cc353f059cffR482 is odd: if the localization falls back to the neutral resource, why have a GitHub.VisualStudio.en-US.vsct and a GitHub.VisualStudio.vsct if the second is empty? If the point is to have localized strings in the menus, than anything that doesn't have strings should probably be in the non localized vsct, otherwise adding things is going to be double the pain.

  • https://github.com/github/VisualStudio/pull/1714/files#diff-930c4aa2d9b0f5a330b6b5deab76a257L16 is not a good change - every project needs to define the neutral resources language, which is why it was on SolutionInfo.cs in the first place, so we might want to revert all the SolutionInfo.cs and AssemblyInfo.cs changes in #1714

  • src/GitHub.VisualStudio/VSPackage.zh-Hans.resx doesn't have any localized strings so it probably doesn't need to be there.

  • Why is there a src/GitHub.VisualStudio.UI/Resources.resx and a src/GitHub.VisualStudio.UI/Resources.en-US.resx? They both contain localizable strings and look to be copies of each other? Both are embedded but only one is getting compiled.

@maikebing
Copy link
Contributor

@maikebing maikebing commented Aug 22, 2018

  • GitHub.VisualStudio.en-US.vsct only have string , but GitHub.VisualStudio.vsct not any string , Other languages refer to this file !
  • [assembly: NeutralResourcesLanguage("en-US")] This sentence can fall back to English!
  • src/GitHub.VisualStudio/VSPackage.zh-Hans.resx Should use Chinese, but the language has not yet organized very well, so, for the time being is still English instead.
@maikebing
Copy link
Contributor

@maikebing maikebing commented Aug 22, 2018

Sorry, I can understand English, but I can only rely on Google translation to express my ideas.

@grokys grokys changed the base branch from master to internationalization Sep 5, 2018
@grokys grokys merged commit 60a3a14 into internationalization Sep 5, 2018
2 checks passed
2 checks passed
continuous-integration/appveyor/branch AppVeyor build succeeded
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.