Revert "Merge pull request #1714 from maikebing/localization"

This reverts commit 3b501b0dee, reversing
changes made to d3641f4a63.
This commit is contained in:
Steven Kirk 2018-08-22 18:00:53 +02:00
Родитель 23e48d1395
Коммит c8fcd9f993
51 изменённых файлов: 1245 добавлений и 4598 удалений

Просмотреть файл

@ -104,9 +104,6 @@ New-Module -ScriptBlock {
} }
elseif (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe") { elseif (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe") {
$msbuild = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe" $msbuild = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Enterprise\MSBuild\15.0\Bin\MSBuild.exe"
}
elseif (Test-Path "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe") {
$msbuild = "C:\Program Files (x86)\Microsoft Visual Studio\2017\Professional\MSBuild\15.0\Bin\MSBuild.exe"
} }
else { else {
Die("No suitable msbuild.exe found.") Die("No suitable msbuild.exe found.")

Просмотреть файл

@ -425,9 +425,6 @@
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Resources.zh-Hans.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" /> <Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" />

164
src/GitHub.App/Resources.Designer.cs сгенерированный
Просмотреть файл

@ -1,10 +1,10 @@
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
// <auto-generated> // <auto-generated>
// 此代码由工具生成。 // This code was generated by a tool.
// 运行时版本:4.0.30319.42000 // Runtime Version:4.0.30319.42000
// //
// 对此文件的更改可能会导致不正确的行为,并且如果 // Changes to this file may cause incorrect behavior and will be lost if
// 重新生成代码,这些更改将会丢失。 // the code is regenerated.
// </auto-generated> // </auto-generated>
//------------------------------------------------------------------------------ //------------------------------------------------------------------------------
@ -13,12 +13,12 @@ namespace GitHub.App {
/// <summary> /// <summary>
/// 一个强类型的资源类,用于查找本地化的字符串等。 /// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary> /// </summary>
// 此类是由 StronglyTypedResourceBuilder // This class was auto-generated by the StronglyTypedResourceBuilder
// 类通过类似于 ResGen 或 Visual Studio 的工具自动生成的。 // class via a tool like ResGen or Visual Studio.
// 若要添加或移除成员,请编辑 .ResX 文件,然后重新运行 ResGen // To add or remove a member, edit your .ResX file then rerun ResGen
// (以 /str 作为命令选项),或重新生成 VS 项目。 // with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")] [global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "15.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()] [global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()] [global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
@ -33,7 +33,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 返回此类使用的缓存的 ResourceManager 实例。 /// Returns the cached ResourceManager instance used by this class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager { public static global::System.Resources.ResourceManager ResourceManager {
@ -47,8 +47,8 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 使用此强类型资源类,为所有资源查找 /// Overrides the current thread's CurrentUICulture property for all
/// 重写当前线程的 CurrentUICulture 属性。 /// resource lookups using this strongly typed resource class.
/// </summary> /// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)] [global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture { public static global::System.Globalization.CultureInfo Culture {
@ -61,7 +61,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 add 的本地化字符串。 /// Looks up a localized string similar to add.
/// </summary> /// </summary>
public static string AddedFileStatus { public static string AddedFileStatus {
get { get {
@ -70,7 +70,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Approved 的本地化字符串。 /// Looks up a localized string similar to Approved.
/// </summary> /// </summary>
public static string Approved { public static string Approved {
get { get {
@ -79,7 +79,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Select a containing folder for your new repository. 的本地化字符串。 /// Looks up a localized string similar to Select a containing folder for your new repository..
/// </summary> /// </summary>
public static string BrowseForDirectory { public static string BrowseForDirectory {
get { get {
@ -88,7 +88,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Are you sure you want to cancel this review? You will lose all your pending comments. 的本地化字符串。 /// Looks up a localized string similar to Are you sure you want to cancel this review? You will lose all your pending comments..
/// </summary> /// </summary>
public static string CancelPendingReviewConfirmation { public static string CancelPendingReviewConfirmation {
get { get {
@ -97,7 +97,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Cancel Review 的本地化字符串。 /// Looks up a localized string similar to Cancel Review.
/// </summary> /// </summary>
public static string CancelPendingReviewConfirmationCaption { public static string CancelPendingReviewConfirmationCaption {
get { get {
@ -106,7 +106,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Changes Requested 的本地化字符串。 /// Looks up a localized string similar to Changes Requested.
/// </summary> /// </summary>
public static string ChangesRequested { public static string ChangesRequested {
get { get {
@ -115,7 +115,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Clone a {0} Repository 的本地化字符串。 /// Looks up a localized string similar to Clone a {0} Repository.
/// </summary> /// </summary>
public static string CloneTitle { public static string CloneTitle {
get { get {
@ -124,7 +124,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Commented 的本地化字符串。 /// Looks up a localized string similar to Commented.
/// </summary> /// </summary>
public static string Commented { public static string Commented {
get { get {
@ -133,7 +133,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Could not connect to github.com 的本地化字符串。 /// Looks up a localized string similar to Could not connect to github.com.
/// </summary> /// </summary>
public static string CouldNotConnectToGitHub { public static string CouldNotConnectToGitHub {
get { get {
@ -142,10 +142,10 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Couldn&apos;t find Git.exe on PATH. /// Looks up a localized string similar to Couldn&apos;t find Git.exe on PATH.
/// ///
///Please install Git for Windows from: ///Please install Git for Windows from:
///https://git-scm.com/download/win 的本地化字符串。 ///https://git-scm.com/download/win.
/// </summary> /// </summary>
public static string CouldntFindGitOnPath { public static string CouldntFindGitOnPath {
get { get {
@ -154,7 +154,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Create a GitHub Gist 的本地化字符串。 /// Looks up a localized string similar to Create a GitHub Gist.
/// </summary> /// </summary>
public static string CreateGistTitle { public static string CreateGistTitle {
get { get {
@ -163,7 +163,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Create a {0} Repository 的本地化字符串。 /// Looks up a localized string similar to Create a {0} Repository.
/// </summary> /// </summary>
public static string CreateTitle { public static string CreateTitle {
get { get {
@ -172,7 +172,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 GistFromVisualStudio.cs 的本地化字符串。 /// Looks up a localized string similar to GistFromVisualStudio.cs.
/// </summary> /// </summary>
public static string DefaultGistFileName { public static string DefaultGistFileName {
get { get {
@ -181,7 +181,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter an Enterprise URL 的本地化字符串。 /// Looks up a localized string similar to Please enter an Enterprise URL.
/// </summary> /// </summary>
public static string EnterpriseUrlValidatorEmpty { public static string EnterpriseUrlValidatorEmpty {
get { get {
@ -190,7 +190,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter a valid Enterprise URL 的本地化字符串。 /// Looks up a localized string similar to Please enter a valid Enterprise URL.
/// </summary> /// </summary>
public static string EnterpriseUrlValidatorInvalid { public static string EnterpriseUrlValidatorInvalid {
get { get {
@ -199,7 +199,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Not an Enterprise server. Please enter an Enterprise URL 的本地化字符串。 /// Looks up a localized string similar to Not an Enterprise server. Please enter an Enterprise URL.
/// </summary> /// </summary>
public static string EnterpriseUrlValidatorNotAGitHubHost { public static string EnterpriseUrlValidatorNotAGitHubHost {
get { get {
@ -208,7 +208,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 (forgot your password?) 的本地化字符串。 /// Looks up a localized string similar to (forgot your password?).
/// </summary> /// </summary>
public static string ForgotPasswordLink { public static string ForgotPasswordLink {
get { get {
@ -217,7 +217,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 fork 的本地化字符串。 /// Looks up a localized string similar to fork.
/// </summary> /// </summary>
public static string Fork { public static string Fork {
get { get {
@ -226,7 +226,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Fork Repository 的本地化字符串。 /// Looks up a localized string similar to Fork Repository.
/// </summary> /// </summary>
public static string ForkRepositoryTitle { public static string ForkRepositoryTitle {
get { get {
@ -235,7 +235,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 InProgress 的本地化字符串。 /// Looks up a localized string similar to InProgress.
/// </summary> /// </summary>
public static string InProgress { public static string InProgress {
get { get {
@ -244,7 +244,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 [invalid] 的本地化字符串。 /// Looks up a localized string similar to [invalid].
/// </summary> /// </summary>
public static string InvalidBranchName { public static string InvalidBranchName {
get { get {
@ -253,7 +253,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Make sure to use your password and not a Personal Access token to sign in. 的本地化字符串。 /// Looks up a localized string similar to Make sure to use your password and not a Personal Access token to sign in..
/// </summary> /// </summary>
public static string LoginFailedForbiddenMessage { public static string LoginFailedForbiddenMessage {
get { get {
@ -262,7 +262,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Check your username and password, then try again 的本地化字符串。 /// Looks up a localized string similar to Check your username and password, then try again.
/// </summary> /// </summary>
public static string LoginFailedMessage { public static string LoginFailedMessage {
get { get {
@ -271,7 +271,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Sign in failed. 的本地化字符串。 /// Looks up a localized string similar to Sign in failed..
/// </summary> /// </summary>
public static string LoginFailedText { public static string LoginFailedText {
get { get {
@ -280,7 +280,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Connect To GitHub 的本地化字符串。 /// Looks up a localized string similar to Connect To GitHub.
/// </summary> /// </summary>
public static string LoginTitle { public static string LoginTitle {
get { get {
@ -289,7 +289,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 You must pull before you can push 的本地化字符串。 /// Looks up a localized string similar to You must pull before you can push.
/// </summary> /// </summary>
public static string MustPullBeforePush { public static string MustPullBeforePush {
get { get {
@ -298,7 +298,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Checkout PR branch before navigating to Editor 的本地化字符串。 /// Looks up a localized string similar to Checkout PR branch before navigating to Editor.
/// </summary> /// </summary>
public static string NavigateToEditorNotCheckedOutInfoMessage { public static string NavigateToEditorNotCheckedOutInfoMessage {
get { get {
@ -307,7 +307,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Press Enter to navigate to Editor (PR branch must be checked out) 的本地化字符串。 /// Looks up a localized string similar to Press Enter to navigate to Editor (PR branch must be checked out).
/// </summary> /// </summary>
public static string NavigateToEditorNotCheckedOutStatusMessage { public static string NavigateToEditorNotCheckedOutStatusMessage {
get { get {
@ -316,7 +316,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Press Enter to navigate to Editor 的本地化字符串。 /// Looks up a localized string similar to Press Enter to navigate to Editor.
/// </summary> /// </summary>
public static string NavigateToEditorStatusMessage { public static string NavigateToEditorStatusMessage {
get { get {
@ -325,7 +325,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 No commits to pull 的本地化字符串。 /// Looks up a localized string similar to No commits to pull.
/// </summary> /// </summary>
public static string NoCommitsToPull { public static string NoCommitsToPull {
get { get {
@ -334,7 +334,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 No commits to push 的本地化字符串。 /// Looks up a localized string similar to No commits to push.
/// </summary> /// </summary>
public static string NoCommitsToPush { public static string NoCommitsToPush {
get { get {
@ -343,7 +343,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 *No description provided.* 的本地化字符串。 /// Looks up a localized string similar to *No description provided.*.
/// </summary> /// </summary>
public static string NoDescriptionProvidedMarkdown { public static string NoDescriptionProvidedMarkdown {
get { get {
@ -352,7 +352,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter your password 的本地化字符串。 /// Looks up a localized string similar to Please enter your password.
/// </summary> /// </summary>
public static string PasswordValidatorEmpty { public static string PasswordValidatorEmpty {
get { get {
@ -361,7 +361,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Pull Request for branch **{0}** created successfully at [{1}]({2}) 的本地化字符串。 /// Looks up a localized string similar to Pull Request for branch **{0}** created successfully at [{1}]({2}).
/// </summary> /// </summary>
public static string PRCreatedUpstream { public static string PRCreatedUpstream {
get { get {
@ -370,7 +370,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Publish repository 的本地化字符串。 /// Looks up a localized string similar to Publish repository.
/// </summary> /// </summary>
public static string PublishTitle { public static string PublishTitle {
get { get {
@ -379,7 +379,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Publish repository to {0} 的本地化字符串。 /// Looks up a localized string similar to Publish repository to {0}.
/// </summary> /// </summary>
public static string PublishToTitle { public static string PublishToTitle {
get { get {
@ -388,7 +388,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter a title for the Pull Request 的本地化字符串。 /// Looks up a localized string similar to Please enter a title for the Pull Request.
/// </summary> /// </summary>
public static string PullRequestCreationTitleValidatorEmpty { public static string PullRequestCreationTitleValidatorEmpty {
get { get {
@ -397,7 +397,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Checkout {0} 的本地化字符串。 /// Looks up a localized string similar to Checkout {0}.
/// </summary> /// </summary>
public static string PullRequestDetailsCheckout { public static string PullRequestDetailsCheckout {
get { get {
@ -406,7 +406,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Checkout to {0} 的本地化字符串。 /// Looks up a localized string similar to Checkout to {0}.
/// </summary> /// </summary>
public static string PullRequestDetailsCheckoutTo { public static string PullRequestDetailsCheckoutTo {
get { get {
@ -415,7 +415,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Pull from {0} branch {1} 的本地化字符串。 /// Looks up a localized string similar to Pull from {0} branch {1}.
/// </summary> /// </summary>
public static string PullRequestDetailsPullToolTip { public static string PullRequestDetailsPullToolTip {
get { get {
@ -424,7 +424,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Push to {0} branch {1} 的本地化字符串。 /// Looks up a localized string similar to Push to {0} branch {1}.
/// </summary> /// </summary>
public static string PullRequestDetailsPushToolTip { public static string PullRequestDetailsPushToolTip {
get { get {
@ -433,7 +433,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Pull Request 的本地化字符串。 /// Looks up a localized string similar to Pull Request.
/// </summary> /// </summary>
public static string PullRequestNavigationItemText { public static string PullRequestNavigationItemText {
get { get {
@ -442,7 +442,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Pull Requests 的本地化字符串。 /// Looks up a localized string similar to Pull Requests.
/// </summary> /// </summary>
public static string PullRequestsNavigationItemText { public static string PullRequestsNavigationItemText {
get { get {
@ -451,7 +451,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Source and target branch cannot be the same 的本地化字符串。 /// Looks up a localized string similar to Source and target branch cannot be the same.
/// </summary> /// </summary>
public static string PullRequestSourceAndTargetBranchTheSame { public static string PullRequestSourceAndTargetBranchTheSame {
get { get {
@ -460,7 +460,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Source branch doesn&apos;t exist remotely, have you pushed it? 的本地化字符串。 /// Looks up a localized string similar to Source branch doesn&apos;t exist remotely, have you pushed it?.
/// </summary> /// </summary>
public static string PullRequestSourceBranchDoesNotExist { public static string PullRequestSourceBranchDoesNotExist {
get { get {
@ -469,7 +469,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 remote 的本地化字符串。 /// Looks up a localized string similar to remote.
/// </summary> /// </summary>
public static string Remote { public static string Remote {
get { get {
@ -478,7 +478,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 rename 的本地化字符串。 /// Looks up a localized string similar to rename.
/// </summary> /// </summary>
public static string RenamedFileStatus { public static string RenamedFileStatus {
get { get {
@ -487,7 +487,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 No selected repository. 的本地化字符串。 /// Looks up a localized string similar to No selected repository..
/// </summary> /// </summary>
public static string RepositoryCloneFailedNoSelectedRepo { public static string RepositoryCloneFailedNoSelectedRepo {
get { get {
@ -496,7 +496,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter a repository path 的本地化字符串。 /// Looks up a localized string similar to Please enter a repository path.
/// </summary> /// </summary>
public static string RepositoryCreationClonePathEmpty { public static string RepositoryCreationClonePathEmpty {
get { get {
@ -505,7 +505,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter a valid path 的本地化字符串。 /// Looks up a localized string similar to Please enter a valid path.
/// </summary> /// </summary>
public static string RepositoryCreationClonePathInvalid { public static string RepositoryCreationClonePathInvalid {
get { get {
@ -514,7 +514,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Path contains invalid characters 的本地化字符串。 /// Looks up a localized string similar to Path contains invalid characters.
/// </summary> /// </summary>
public static string RepositoryCreationClonePathInvalidCharacters { public static string RepositoryCreationClonePathInvalidCharacters {
get { get {
@ -523,7 +523,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Path too long 的本地化字符串。 /// Looks up a localized string similar to Path too long.
/// </summary> /// </summary>
public static string RepositoryCreationClonePathTooLong { public static string RepositoryCreationClonePathTooLong {
get { get {
@ -532,7 +532,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Repository &apos;{0}/{1}&apos; already exists. 的本地化字符串。 /// Looks up a localized string similar to Repository &apos;{0}/{1}&apos; already exists..
/// </summary> /// </summary>
public static string RepositoryCreationFailedAlreadyExists { public static string RepositoryCreationFailedAlreadyExists {
get { get {
@ -541,7 +541,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Change the repository name or select a different account and try again. 的本地化字符串。 /// Looks up a localized string similar to Change the repository name or select a different account and try again..
/// </summary> /// </summary>
public static string RepositoryCreationFailedAlreadyExistsMessage { public static string RepositoryCreationFailedAlreadyExistsMessage {
get { get {
@ -550,7 +550,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Exceeded private repositories quota. 的本地化字符串。 /// Looks up a localized string similar to Exceeded private repositories quota..
/// </summary> /// </summary>
public static string RepositoryCreationFailedQuota { public static string RepositoryCreationFailedQuota {
get { get {
@ -559,7 +559,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Repository with same name already exists at this location 的本地化字符串。 /// Looks up a localized string similar to Repository with same name already exists at this location.
/// </summary> /// </summary>
public static string RepositoryNameValidatorAlreadyExists { public static string RepositoryNameValidatorAlreadyExists {
get { get {
@ -568,7 +568,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter a repository name 的本地化字符串。 /// Looks up a localized string similar to Please enter a repository name.
/// </summary> /// </summary>
public static string RepositoryNameValidatorEmpty { public static string RepositoryNameValidatorEmpty {
get { get {
@ -577,7 +577,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Repository name must be fewer than 100 characters 的本地化字符串。 /// Looks up a localized string similar to Repository name must be fewer than 100 characters.
/// </summary> /// </summary>
public static string RepositoryNameValidatorTooLong { public static string RepositoryNameValidatorTooLong {
get { get {
@ -586,7 +586,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Will be created as {0} 的本地化字符串。 /// Looks up a localized string similar to Will be created as {0}.
/// </summary> /// </summary>
public static string SafeRepositoryNameWarning { public static string SafeRepositoryNameWarning {
get { get {
@ -595,7 +595,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 The source repository is no longer available. 的本地化字符串。 /// Looks up a localized string similar to The source repository is no longer available..
/// </summary> /// </summary>
public static string SourceRepositoryNoLongerAvailable { public static string SourceRepositoryNoLongerAvailable {
get { get {
@ -604,7 +604,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Switch Origin 的本地化字符串。 /// Looks up a localized string similar to Switch Origin.
/// </summary> /// </summary>
public static string SwitchOriginTitle { public static string SwitchOriginTitle {
get { get {
@ -613,7 +613,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Sync {0} submodules 的本地化字符串。 /// Looks up a localized string similar to Sync {0} submodules.
/// </summary> /// </summary>
public static string SyncSubmodules { public static string SyncSubmodules {
get { get {
@ -622,7 +622,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Open the two-factor authentication app on your device to view your authentication code. 的本地化字符串。 /// Looks up a localized string similar to Open the two-factor authentication app on your device to view your authentication code..
/// </summary> /// </summary>
public static string TwoFactorApp { public static string TwoFactorApp {
get { get {
@ -631,7 +631,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 We sent you a message via SMS with your authentication code. 的本地化字符串。 /// Looks up a localized string similar to We sent you a message via SMS with your authentication code..
/// </summary> /// </summary>
public static string TwoFactorSms { public static string TwoFactorSms {
get { get {
@ -640,7 +640,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Two-Factor authentication required 的本地化字符串。 /// Looks up a localized string similar to Two-Factor authentication required.
/// </summary> /// </summary>
public static string TwoFactorTitle { public static string TwoFactorTitle {
get { get {
@ -649,7 +649,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Enter a sign in authentication code here 的本地化字符串。 /// Looks up a localized string similar to Enter a sign in authentication code here.
/// </summary> /// </summary>
public static string TwoFactorUnknown { public static string TwoFactorUnknown {
get { get {
@ -658,7 +658,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Please enter your username or email address 的本地化字符串。 /// Looks up a localized string similar to Please enter your username or email address.
/// </summary> /// </summary>
public static string UsernameOrEmailValidatorEmpty { public static string UsernameOrEmailValidatorEmpty {
get { get {
@ -667,7 +667,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Username or email address must not have spaces 的本地化字符串。 /// Looks up a localized string similar to Username or email address must not have spaces.
/// </summary> /// </summary>
public static string UsernameOrEmailValidatorSpaces { public static string UsernameOrEmailValidatorSpaces {
get { get {
@ -676,7 +676,7 @@ namespace GitHub.App {
} }
/// <summary> /// <summary>
/// 查找类似 Cannot checkout as your working directory has uncommitted changes. 的本地化字符串。 /// Looks up a localized string similar to Cannot checkout as your working directory has uncommitted changes..
/// </summary> /// </summary>
public static string WorkingDirectoryHasUncommittedCHanges { public static string WorkingDirectoryHasUncommittedCHanges {
get { get {

Просмотреть файл

@ -1,330 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="BrowseForDirectory" xml:space="preserve">
<value>Select a containing folder for your new repository.</value>
</data>
<data name="CloneTitle" xml:space="preserve">
<value>Clone a {0} Repository</value>
</data>
<data name="CouldNotConnectToGitHub" xml:space="preserve">
<value>Could not connect to github.com</value>
</data>
<data name="CreateGistTitle" xml:space="preserve">
<value>Create a GitHub Gist</value>
</data>
<data name="CreateTitle" xml:space="preserve">
<value>Create a {0} Repository</value>
</data>
<data name="DefaultGistFileName" xml:space="preserve">
<value>GistFromVisualStudio.cs</value>
</data>
<data name="EnterpriseUrlValidatorEmpty" xml:space="preserve">
<value>Please enter an Enterprise URL</value>
</data>
<data name="EnterpriseUrlValidatorInvalid" xml:space="preserve">
<value>Please enter a valid Enterprise URL</value>
</data>
<data name="EnterpriseUrlValidatorNotAGitHubHost" xml:space="preserve">
<value>Not an Enterprise server. Please enter an Enterprise URL</value>
</data>
<data name="ForgotPasswordLink" xml:space="preserve">
<value>(forgot your password?)</value>
</data>
<data name="LoginFailedForbiddenMessage" xml:space="preserve">
<value>Make sure to use your password and not a Personal Access token to sign in.</value>
</data>
<data name="LoginFailedMessage" xml:space="preserve">
<value>Check your username and password, then try again</value>
</data>
<data name="LoginFailedText" xml:space="preserve">
<value>Sign in failed.</value>
</data>
<data name="LoginTitle" xml:space="preserve">
<value>Connect To GitHub</value>
</data>
<data name="PasswordValidatorEmpty" xml:space="preserve">
<value>Please enter your password</value>
</data>
<data name="PRCreatedUpstream" xml:space="preserve">
<value>Pull Request for branch **{0}** created successfully at [{1}]({2})</value>
</data>
<data name="PublishTitle" xml:space="preserve">
<value>Publish repository</value>
</data>
<data name="PublishToTitle" xml:space="preserve">
<value>Publish repository to {0}</value>
</data>
<data name="PullRequestCreationTitleValidatorEmpty" xml:space="preserve">
<value>Please enter a title for the Pull Request</value>
</data>
<data name="PullRequestSourceAndTargetBranchTheSame" xml:space="preserve">
<value>Source and target branch cannot be the same</value>
</data>
<data name="PullRequestSourceBranchDoesNotExist" xml:space="preserve">
<value>Source branch doesn't exist remotely, have you pushed it?</value>
</data>
<data name="RepositoryCloneFailedNoSelectedRepo" xml:space="preserve">
<value>No selected repository.</value>
</data>
<data name="RepositoryCreationClonePathEmpty" xml:space="preserve">
<value>Please enter a repository path</value>
</data>
<data name="RepositoryCreationClonePathInvalid" xml:space="preserve">
<value>Please enter a valid path</value>
</data>
<data name="RepositoryCreationClonePathInvalidCharacters" xml:space="preserve">
<value>Path contains invalid characters</value>
</data>
<data name="RepositoryCreationClonePathTooLong" xml:space="preserve">
<value>Path too long</value>
</data>
<data name="RepositoryCreationFailedAlreadyExists" xml:space="preserve">
<value>Repository '{0}/{1}' already exists.</value>
</data>
<data name="RepositoryCreationFailedAlreadyExistsMessage" xml:space="preserve">
<value>Change the repository name or select a different account and try again.</value>
</data>
<data name="RepositoryCreationFailedQuota" xml:space="preserve">
<value>Exceeded private repositories quota.</value>
</data>
<data name="RepositoryNameValidatorAlreadyExists" xml:space="preserve">
<value>Repository with same name already exists at this location</value>
</data>
<data name="RepositoryNameValidatorEmpty" xml:space="preserve">
<value>Please enter a repository name</value>
</data>
<data name="RepositoryNameValidatorTooLong" xml:space="preserve">
<value>Repository name must be fewer than 100 characters</value>
</data>
<data name="SafeRepositoryNameWarning" xml:space="preserve">
<value>Will be created as {0}</value>
</data>
<data name="TwoFactorApp" xml:space="preserve">
<value>Open the two-factor authentication app on your device to view your authentication code.</value>
</data>
<data name="TwoFactorSms" xml:space="preserve">
<value>We sent you a message via SMS with your authentication code.</value>
</data>
<data name="TwoFactorTitle" xml:space="preserve">
<value>Two-Factor authentication required</value>
</data>
<data name="TwoFactorUnknown" xml:space="preserve">
<value>Enter a sign in authentication code here</value>
</data>
<data name="UsernameOrEmailValidatorEmpty" xml:space="preserve">
<value>Please enter your username or email address</value>
</data>
<data name="UsernameOrEmailValidatorSpaces" xml:space="preserve">
<value>Username or email address must not have spaces</value>
</data>
<data name="PullRequestsNavigationItemText" xml:space="preserve">
<value>Pull Requests</value>
</data>
<data name="PullRequestNavigationItemText" xml:space="preserve">
<value>Pull Request</value>
</data>
<data name="AddedFileStatus" xml:space="preserve">
<value>add</value>
</data>
<data name="Fork" xml:space="preserve">
<value>fork</value>
</data>
<data name="InvalidBranchName" xml:space="preserve">
<value>[invalid]</value>
</data>
<data name="MustPullBeforePush" xml:space="preserve">
<value>You must pull before you can push</value>
</data>
<data name="NoCommitsToPull" xml:space="preserve">
<value>No commits to pull</value>
</data>
<data name="NoCommitsToPush" xml:space="preserve">
<value>No commits to push</value>
</data>
<data name="NoDescriptionProvidedMarkdown" xml:space="preserve">
<value>*No description provided.*</value>
</data>
<data name="PullRequestDetailsCheckout" xml:space="preserve">
<value>Checkout {0}</value>
</data>
<data name="PullRequestDetailsCheckoutTo" xml:space="preserve">
<value>Checkout to {0}</value>
</data>
<data name="PullRequestDetailsPullToolTip" xml:space="preserve">
<value>Pull from {0} branch {1}</value>
</data>
<data name="PullRequestDetailsPushToolTip" xml:space="preserve">
<value>Push to {0} branch {1}</value>
</data>
<data name="Remote" xml:space="preserve">
<value>remote</value>
</data>
<data name="RenamedFileStatus" xml:space="preserve">
<value>rename</value>
</data>
<data name="SourceRepositoryNoLongerAvailable" xml:space="preserve">
<value>The source repository is no longer available.</value>
</data>
<data name="WorkingDirectoryHasUncommittedCHanges" xml:space="preserve">
<value>Cannot checkout as your working directory has uncommitted changes.</value>
</data>
<data name="SyncSubmodules" xml:space="preserve">
<value>Sync {0} submodules</value>
</data>
<data name="CouldntFindGitOnPath" xml:space="preserve">
<value>Couldn't find Git.exe on PATH.
Please install Git for Windows from:
https://git-scm.com/download/win</value>
</data>
<data name="Approved" xml:space="preserve">
<value>Approved</value>
</data>
<data name="ChangesRequested" xml:space="preserve">
<value>Changes Requested</value>
</data>
<data name="Commented" xml:space="preserve">
<value>Commented</value>
</data>
<data name="InProgress" xml:space="preserve">
<value>InProgress</value>
</data>
<data name="NavigateToEditorStatusMessage" xml:space="preserve">
<value>Press Enter to navigate to Editor</value>
</data>
<data name="NavigateToEditorNotCheckedOutInfoMessage" xml:space="preserve">
<value>Checkout PR branch before navigating to Editor</value>
</data>
<data name="NavigateToEditorNotCheckedOutStatusMessage" xml:space="preserve">
<value>Press Enter to navigate to Editor (PR branch must be checked out)</value>
</data>
<data name="ForkRepositoryTitle" xml:space="preserve">
<value>Fork Repository</value>
</data>
<data name="SwitchOriginTitle" xml:space="preserve">
<value>Switch Origin</value>
</data>
<data name="CancelPendingReviewConfirmation" xml:space="preserve">
<value>Are you sure you want to cancel this review? You will lose all your pending comments.</value>
</data>
<data name="CancelPendingReviewConfirmationCaption" xml:space="preserve">
<value>Cancel Review</value>
</data>
</root>

Просмотреть файл

@ -1,329 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="CloneTitle" xml:space="preserve">
<value>克隆一个 {0} 版本库</value>
</data>
<data name="CouldNotConnectToGitHub" xml:space="preserve">
<value>无法连接到github.com</value>
</data>
<data name="CreateGistTitle" xml:space="preserve">
<value>创建一个GitHub Gist</value>
</data>
<data name="CreateTitle" xml:space="preserve">
<value>创建一个{0}存储库</value>
</data>
<data name="DefaultGistFileName" xml:space="preserve">
<value>GistFromVisualStudio.cs</value>
</data>
<data name="EnterpriseUrlValidatorEmpty" xml:space="preserve">
<value>请输入企业网址</value>
</data>
<data name="EnterpriseUrlValidatorInvalid" xml:space="preserve">
<value>请输入有效网址</value>
</data>
<data name="ForgotPasswordLink" xml:space="preserve">
<value>是否忘记了您的密码?</value>
</data>
<data name="LoginFailedMessage" xml:space="preserve">
<value>您的用户名和密码</value>
</data>
<data name="LoginFailedText" xml:space="preserve">
<value>登录失败</value>
</data>
<data name="LoginTitle" xml:space="preserve">
<value>连接到 GitHub</value>
</data>
<data name="PasswordValidatorEmpty" xml:space="preserve">
<value>请输入您的密码。</value>
</data>
<data name="PublishTitle" xml:space="preserve">
<value>发布版本库</value>
</data>
<data name="PublishToTitle" xml:space="preserve">
<value>发布版本库至 {0}</value>
</data>
<data name="PullRequestCreationTitleValidatorEmpty" xml:space="preserve">
<value>请输入请求的标题!</value>
</data>
<data name="PullRequestSourceAndTargetBranchTheSame" xml:space="preserve">
<value>源和目标分支不能相同!</value>
</data>
<data name="RepositoryCloneFailedNoSelectedRepo" xml:space="preserve">
<value>选择了项目。</value>
</data>
<data name="RepositoryCreationClonePathEmpty" xml:space="preserve">
<value>请输入名称</value>
</data>
<data name="RepositoryCreationClonePathInvalid" xml:space="preserve">
<value>请输入有效路径</value>
</data>
<data name="RepositoryCreationClonePathInvalidCharacters" xml:space="preserve">
<value>包含无效字符</value>
</data>
<data name="RepositoryCreationClonePathTooLong" xml:space="preserve">
<value>路径太长</value>
</data>
<data name="RepositoryCreationFailedAlreadyExists" xml:space="preserve">
<value>版本库 '{0}/{1}'已存在。</value>
</data>
<data name="RepositoryCreationFailedAlreadyExistsMessage" xml:space="preserve">
<value>请选择一个表单并且重试。</value>
</data>
<data name="RepositoryCreationFailedQuota" xml:space="preserve">
<value>私密文档</value>
</data>
<data name="RepositoryNameValidatorAlreadyExists" xml:space="preserve">
<value>同名的广告活动已存在</value>
</data>
<data name="RepositoryNameValidatorEmpty" xml:space="preserve">
<value>请输入姓名</value>
</data>
<data name="RepositoryNameValidatorTooLong" xml:space="preserve">
<value>这个名字不能超过100个字符</value>
</data>
<data name="SafeRepositoryNameWarning" xml:space="preserve">
<value>将要创建为 {0}</value>
</data>
<data name="TwoFactorApp" xml:space="preserve">
<value>在您的手机上安装双重验证程序Google Authenticator</value>
</data>
<data name="TwoFactorSms" xml:space="preserve">
<value>我们将发送一条验证码短信到您的手机。</value>
</data>
<data name="TwoFactorTitle" xml:space="preserve">
<value>双重身份认证</value>
</data>
<data name="TwoFactorUnknown" xml:space="preserve">
<value>输入任何你喜欢的一个标志 % </value>
</data>
<data name="UsernameOrEmailValidatorEmpty" xml:space="preserve">
<value>请输入您的用户名或邮箱地址.</value>
</data>
<data name="UsernameOrEmailValidatorSpaces" xml:space="preserve">
<value>用户名或电子邮件地址</value>
</data>
<data name="PullRequestsNavigationItemText" xml:space="preserve">
<value>拉取请求</value>
</data>
<data name="PullRequestNavigationItemText" xml:space="preserve">
<value>推送请求</value>
</data>
<data name="AddedFileStatus" xml:space="preserve">
<value>添加</value>
</data>
<data name="Fork" xml:space="preserve">
<value>fork</value>
</data>
<data name="InvalidBranchName" xml:space="preserve">
<value>[无效]</value>
</data>
<data name="BrowseForDirectory" xml:space="preserve">
<value>为新版本库选择文件夹。</value>
</data>
<data name="EnterpriseUrlValidatorNotAGitHubHost" xml:space="preserve">
<value>不是企业服务器。请输入企业服务器 URL</value>
</data>
<data name="LoginFailedForbiddenMessage" xml:space="preserve">
<value>请确保使用您的密码而不是登录的个人访问令牌。</value>
</data>
<data name="PRCreatedUpstream" xml:space="preserve">
<value>在 [{1}] ({2}) 上成功创建分支 ** {0} ** 拉取请求</value>
</data>
<data name="PullRequestSourceBranchDoesNotExist" xml:space="preserve">
<value>远程不存在源分支, 你有没有推送它?</value>
</data>
<data name="MustPullBeforePush" xml:space="preserve">
<value>你必须先拉取再推送</value>
</data>
<data name="NoCommitsToPull" xml:space="preserve">
<value>没有需要拉取的提交</value>
</data>
<data name="NoCommitsToPush" xml:space="preserve">
<value>没有需要推送的提交</value>
</data>
<data name="NoDescriptionProvidedMarkdown" xml:space="preserve">
<value>* 未提供说明。*</value>
</data>
<data name="PullRequestDetailsCheckout" xml:space="preserve">
<value>签出 {0}</value>
</data>
<data name="PullRequestDetailsCheckoutTo" xml:space="preserve">
<value>签出到 {0}</value>
</data>
<data name="PullRequestDetailsPullToolTip" xml:space="preserve">
<value>从 {0} 分支 {1} 拉取</value>
</data>
<data name="PullRequestDetailsPushToolTip" xml:space="preserve">
<value>推至 {0} 分支 {1}</value>
</data>
<data name="Remote" xml:space="preserve">
<value>远程</value>
</data>
<data name="RenamedFileStatus" xml:space="preserve">
<value>重命名</value>
</data>
<data name="SourceRepositoryNoLongerAvailable" xml:space="preserve">
<value>源存版本库不再可用。</value>
</data>
<data name="WorkingDirectoryHasUncommittedCHanges" xml:space="preserve">
<value>无法签出, 因为您的工作目录有未提交的更改。</value>
</data>
<data name="SyncSubmodules" xml:space="preserve">
<value>同步 {0} 子模块</value>
</data>
<data name="CouldntFindGitOnPath" xml:space="preserve">
<value>在PATH 找不到 Git.exe。
请安装 Git for Windows : https://git-scm.com/download/win</value>
</data>
<data name="Approved" xml:space="preserve">
<value>批准</value>
</data>
<data name="ChangesRequested" xml:space="preserve">
<value>更改需求</value>
</data>
<data name="Commented" xml:space="preserve">
<value>已评论</value>
</data>
<data name="InProgress" xml:space="preserve">
<value>进行中</value>
</data>
<data name="NavigateToEditorStatusMessage" xml:space="preserve">
<value>按回车键导航到编辑器</value>
</data>
<data name="NavigateToEditorNotCheckedOutInfoMessage" xml:space="preserve">
<value>在导航到编辑器之前签出 PR 分支</value>
</data>
<data name="NavigateToEditorNotCheckedOutStatusMessage" xml:space="preserve">
<value>按回车键导航到编辑器 (PR 分支必须签出)</value>
</data>
<data name="ForkRepositoryTitle" xml:space="preserve">
<value>Fork版本库</value>
</data>
<data name="SwitchOriginTitle" xml:space="preserve">
<value>原始开关</value>
</data>
<data name="CancelPendingReviewConfirmation" xml:space="preserve">
<value>您确定要取消此评审吗?您将丢失所有待处理的评论。</value>
</data>
<data name="CancelPendingReviewConfirmationCaption" xml:space="preserve">
<value>取消评审</value>
</data>
</root>

Просмотреть файл

@ -9,7 +9,6 @@
<NuGetPackageImportStamp> <NuGetPackageImportStamp>
</NuGetPackageImportStamp> </NuGetPackageImportStamp>
<UseCodebase>true</UseCodebase> <UseCodebase>true</UseCodebase>
<UICulture>en-US</UICulture>
<TargetFrameworkProfile /> <TargetFrameworkProfile />
</PropertyGroup> </PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
@ -419,36 +418,19 @@
<Reference Include="System.Xml" /> <Reference Include="System.Xml" />
<Reference Include="System.Xml.Linq" /> <Reference Include="System.Xml.Linq" />
<Reference Include="WindowsBase" /> <Reference Include="WindowsBase" />
<None Include="InlineReviewsPackage.vsct">
</None>
<VSCTCompile Include="InlineReviewsPackage.en-US.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<DependentUpon>InlineReviewsPackage.vsct</DependentUpon>
</VSCTCompile>
<VSCTCompile Include="InlineReviewsPackage.zh-Hans.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<DependentUpon>InlineReviewsPackage.vsct</DependentUpon>
</VSCTCompile>
<Content Include="Resources\logo_32x32%402x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="VSPackage.en-US.resx" > <VSCTCompile Include="InlineReviewsPackage.vsct">
<MergeWithCTO>true</MergeWithCTO> <ResourceName>Menus.ctmenu</ResourceName>
<LogicalName>VSPackage.en-US.resources</LogicalName> <SubType>Designer</SubType>
<DependentUpon>VSPackage.resx</DependentUpon> </VSCTCompile>
</EmbeddedResource> </ItemGroup>
<None Include="VSPackage.resx"> <ItemGroup>
<EmbeddedResource Include="VSPackage.resx">
<MergeWithCTO>true</MergeWithCTO> <MergeWithCTO>true</MergeWithCTO>
<ManifestResourceName>VSPackage</ManifestResourceName> <ManifestResourceName>VSPackage</ManifestResourceName>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</None> </EmbeddedResource>
<EmbeddedResource Include="VSPackage.zh-Hans.resx" >
<MergeWithCTO>true</MergeWithCTO>
<LogicalName>VSPackage.zh-Hans.resources</LogicalName>
<DependentUpon>VSPackage.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Page Include="Properties\DesignTimeResources.xaml" Condition="'$(DesignTime)'=='true' OR ('$(SolutionPath)'!='' AND Exists('$(SolutionPath)') AND '$(BuildingInsideVisualStudio)'!='true' AND '$(BuildingInsideExpressionBlend)'!='true')"> <Page Include="Properties\DesignTimeResources.xaml" Condition="'$(DesignTime)'=='true' OR ('$(SolutionPath)'!='' AND Exists('$(SolutionPath)') AND '$(BuildingInsideVisualStudio)'!='true' AND '$(BuildingInsideExpressionBlend)'!='true')">
@ -492,6 +474,11 @@
<ItemGroup> <ItemGroup>
<Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" /> <Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<Content Include="Resources\logo_32x32%402x.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
</ItemGroup>
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != '' And '$(NCrunch)' != '1'" /> <Import Project="$(VSToolsPath)\VSSDK\Microsoft.VsSDK.targets" Condition="'$(VSToolsPath)' != '' And '$(NCrunch)' != '1'" />

Просмотреть файл

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Include href="InlineReviewsPackage.vsct" />
<!--The Commands section is where commands, menus, and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidInlineReviewsPackage">
<!-- Inside this section we have different sub-sections: one for the menus, another
for the menu groups, one for the buttons (the actual commands), one for the combos
and the last one for the bitmaps used. Each element is identified by a command id that
is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
called "command set" and is used to group different command inside a logically related
group; your package should define its own command set in order to avoid collisions
with command ids defined by other packages. -->
<!--Buttons section. -->
<!--This section defines the elements the user can interact with, like a menu command or a button
or combo box in a toolbar. -->
<Buttons>
<!--To define a menu group you have to specify its ID, the parent menu and its display priority.
The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use
the CommandFlag node.
You can add more than one CommandFlag node e.g.:
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
If you do not want an image next to your command, remove the Icon node /> -->
<Button guid="guidGitHubCommandSet" id="NextInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.NextInlineComment</CommandName>
<ButtonText>Next Comment</ButtonText>
<CanonicalName>.GitHub.NextComment</CanonicalName>
<LocCanonicalName>.GitHub.NextComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="PreviousInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.PreviousInlineComment</CommandName>
<ButtonText>Previous Comment</ButtonText>
<CanonicalName>.GitHub.PreviousComment</CanonicalName>
<LocCanonicalName>.GitHub.PreviousComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="ToggleInlineCommentMarginId" type="Button">
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Toggle Comment Margin</ButtonText>
<CanonicalName>.GitHub.ToggleInlineCommentMargin</CanonicalName>
<LocCanonicalName>.GitHub.ToggleInlineCommentMargin</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
</CommandTable>

Просмотреть файл

@ -22,7 +22,59 @@
<!--The Commands section is where commands, menus, and menu groups are defined. <!--The Commands section is where commands, menus, and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. --> This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidInlineReviewsPackage">
<!-- Inside this section we have different sub-sections: one for the menus, another
for the menu groups, one for the buttons (the actual commands), one for the combos
and the last one for the bitmaps used. Each element is identified by a command id that
is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
called "command set" and is used to group different command inside a logically related
group; your package should define its own command set in order to avoid collisions
with command ids defined by other packages. -->
<!--Buttons section. -->
<!--This section defines the elements the user can interact with, like a menu command or a button
or combo box in a toolbar. -->
<Buttons>
<!--To define a menu group you have to specify its ID, the parent menu and its display priority.
The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use
the CommandFlag node.
You can add more than one CommandFlag node e.g.:
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
If you do not want an image next to your command, remove the Icon node /> -->
<Button guid="guidGitHubCommandSet" id="NextInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.NextInlineComment</CommandName>
<ButtonText>Next Comment</ButtonText>
<CanonicalName>.GitHub.NextComment</CanonicalName>
<LocCanonicalName>.GitHub.NextComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="PreviousInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.PreviousInlineComment</CommandName>
<ButtonText>Previous Comment</ButtonText>
<CanonicalName>.GitHub.PreviousComment</CanonicalName>
<LocCanonicalName>.GitHub.PreviousComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="ToggleInlineCommentMarginId" type="Button">
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Toggle Comment Margin</ButtonText>
<CanonicalName>.GitHub.ToggleInlineCommentMargin</CanonicalName>
<LocCanonicalName>.GitHub.ToggleInlineCommentMargin</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
<KeyBindings> <KeyBindings>
<KeyBinding guid="guidGitHubCommandSet" id="NextInlineCommentId" editor="guidVSStd97" key1="VK_OEM_6" mod1="Alt"/> <KeyBinding guid="guidGitHubCommandSet" id="NextInlineCommentId" editor="guidVSStd97" key1="VK_OEM_6" mod1="Alt"/>
<KeyBinding guid="guidGitHubCommandSet" id="PreviousInlineCommentId" editor="guidVSStd97" key1="VK_OEM_4" mod1="Alt"/> <KeyBinding guid="guidGitHubCommandSet" id="PreviousInlineCommentId" editor="guidVSStd97" key1="VK_OEM_4" mod1="Alt"/>

Просмотреть файл

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<CommandTable xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<Include href="InlineReviewsPackage.vsct" />
<!--The Commands section is where commands, menus, and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidInlineReviewsPackage">
<!-- Inside this section we have different sub-sections: one for the menus, another
for the menu groups, one for the buttons (the actual commands), one for the combos
and the last one for the bitmaps used. Each element is identified by a command id that
is a unique pair of guid and numeric identifier; the guid part of the identifier is usually
called "command set" and is used to group different command inside a logically related
group; your package should define its own command set in order to avoid collisions
with command ids defined by other packages. -->
<!--Buttons section. -->
<!--This section defines the elements the user can interact with, like a menu command or a button
or combo box in a toolbar. -->
<Buttons>
<!--To define a menu group you have to specify its ID, the parent menu and its display priority.
The command is visible and enabled by default. If you need to change the visibility, status, etc, you can use
the CommandFlag node.
You can add more than one CommandFlag node e.g.:
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
If you do not want an image next to your command, remove the Icon node /> -->
<Button guid="guidGitHubCommandSet" id="NextInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.NextInlineComment</CommandName>
<ButtonText>Next Comment</ButtonText>
<CanonicalName>.GitHub.NextComment</CanonicalName>
<LocCanonicalName>.GitHub.NextComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="PreviousInlineCommentId" priority="0x0100" type="Button">
<Parent guid="guidSHLMainMenu" id="IDG_VS_EDIT_GOTO" />
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<CommandName>GitHub.InlineReviews.PreviousInlineComment</CommandName>
<ButtonText>Previous Comment</ButtonText>
<CanonicalName>.GitHub.PreviousComment</CanonicalName>
<LocCanonicalName>.GitHub.PreviousComment</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCommandSet" id="ToggleInlineCommentMarginId" type="Button">
<CommandFlag>DefaultDisabled</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Toggle Comment Margin</ButtonText>
<CanonicalName>.GitHub.ToggleInlineCommentMargin</CanonicalName>
<LocCanonicalName>.GitHub.ToggleInlineCommentMargin</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
</CommandTable>

Просмотреть файл

@ -1,8 +1,6 @@
using System.Reflection; using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
[assembly: AssemblyTitle("GitHub.InlineReviews")] [assembly: AssemblyTitle("GitHub.InlineReviews")]
[assembly: AssemblyDescription("Provides inline viewing of PR review comments")] [assembly: AssemblyDescription("Provides inline viewing of PR review comments")]
[assembly: Guid("3bf91177-3d16-425d-9c62-50a86cf26298")] [assembly: Guid("3bf91177-3d16-425d-9c62-50a86cf26298")]
[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="112" xml:space="preserve">
<value>A Visual Studio Extension that brings the GitHub Flow into Visual Studio.</value>
</data>
<data name="110" xml:space="preserve">
<value>GitHub.InlineReviews</value>
</data>
</root>

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="112" xml:space="preserve">
<value>A Visual Studio Extension that brings the GitHub Flow into Visual Studio.</value>
</data>
<data name="110" xml:space="preserve">
<value>GitHub.InlineReviews</value>
</data>
</root>

Просмотреть файл

@ -67,8 +67,8 @@
CornerRadius="3" CornerRadius="3"
Padding="2 1" Padding="2 1"
Visibility="{Binding IsPending, Converter={ui:BooleanToVisibilityConverter}, FallbackValue=Collapsed}"> Visibility="{Binding IsPending, Converter={ui:BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
<TextBlock FontSize="10" Text="{x:Static prop:Resources.Pending}" /> <TextBlock FontSize="10">Pending</TextBlock>
</Border> </Border>
</StackPanel> </StackPanel>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Right" <StackPanel Orientation="Horizontal" HorizontalAlignment="Right" DockPanel.Dock="Right"
@ -216,11 +216,10 @@
<Button Command="{Binding CommitEdit}" Content="{Binding CommitCaption}"/> <Button Command="{Binding CommitEdit}" Content="{Binding CommitCaption}"/>
<Button Margin="4 0 0 0" <Button Margin="4 0 0 0"
Command="{Binding StartReview}" Command="{Binding StartReview}"
Visibility="{Binding CanStartReview, Converter={ui:BooleanToVisibilityConverter}}" Visibility="{Binding CanStartReview, Converter={ui:BooleanToVisibilityConverter}}">
Content="{x:Static prop:Resources.StartAReview}"> Start a review
</Button> </Button>
<Button Margin="4 0 0 0" Command="{Binding CancelEdit}" Content="{x:Static prop:Resources.Cancel}"></Button> <Button Margin="4 0 0 0" Command="{Binding CancelEdit}">Cancel</Button>
</StackPanel> </StackPanel>
</Grid> </Grid>
</Grid> </Grid>

Просмотреть файл

@ -6,7 +6,6 @@
xmlns:local="clr-namespace:GitHub.InlineReviews.Views" xmlns:local="clr-namespace:GitHub.InlineReviews.Views"
xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI" xmlns:cache="clr-namespace:GitHub.UI.Helpers;assembly=GitHub.UI"
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="200" d:DesignWidth="500"> d:DesignHeight="200" d:DesignWidth="500">
<UserControl.Resources> <UserControl.Resources>
@ -59,7 +58,7 @@
</Border.Style> </Border.Style>
<DockPanel> <DockPanel>
<ui:OcticonImage DockPanel.Dock="Left" Icon="alert" Margin="0 0 8 0"/> <ui:OcticonImage DockPanel.Dock="Left" Icon="alert" Margin="0 0 8 0"/>
<TextBlock TextWrapping="Wrap" Text="{x:Static prop:Resources.YouMustCommitAndPushYourChangesToAddACommentHere}"></TextBlock> <TextBlock TextWrapping="Wrap">You must commit and push your changes to add a comment here.</TextBlock>
</DockPanel> </DockPanel>
</Border> </Border>
@ -72,7 +71,7 @@
<Button Margin="2 0" Padding="2" Command="{Binding PreviousComment}" <Button Margin="2 0" Padding="2" Command="{Binding PreviousComment}"
Style="{StaticResource GitHubToolbarButton}"> Style="{StaticResource GitHubToolbarButton}">
<Button.ToolTip> <Button.ToolTip>
<TextBlock FontSize="11" Text="{x:Static prop:Resources.PreviousComment}"></TextBlock> <TextBlock FontSize="11">Previous Comment</TextBlock>
</Button.ToolTip> </Button.ToolTip>
<Canvas Width="16" Height="16"> <Canvas Width="16" Height="16">
<!-- TODO: Double check these brushes since they don't seem like the right fill colors --> <!-- TODO: Double check these brushes since they don't seem like the right fill colors -->
@ -86,7 +85,7 @@
<Button Margin="2 0" Padding="2" Command="{Binding NextComment}" <Button Margin="2 0" Padding="2" Command="{Binding NextComment}"
Style="{StaticResource GitHubToolbarButton}"> Style="{StaticResource GitHubToolbarButton}">
<Button.ToolTip> <Button.ToolTip>
<TextBlock FontSize="11" Text="{x:Static prop:Resources.NextComment}"></TextBlock> <TextBlock FontSize="11">Next Comment</TextBlock>
</Button.ToolTip> </Button.ToolTip>
<Canvas Width="16" Height="16"> <Canvas Width="16" Height="16">

Просмотреть файл

@ -6,7 +6,6 @@
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
xmlns:vsshell="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.10.0" xmlns:vsshell="clr-namespace:Microsoft.VisualStudio.Shell;assembly=Microsoft.VisualStudio.Shell.10.0"
xmlns:local="clr-namespace:GitHub.InlineReviews.Views" xmlns:local="clr-namespace:GitHub.InlineReviews.Views"
xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
mc:Ignorable="d" mc:Ignorable="d"
d:DesignHeight="20" d:DesignWidth="60"> d:DesignHeight="20" d:DesignWidth="60">
@ -53,8 +52,8 @@
</StackPanel> </StackPanel>
</Button> </Button>
<Grid.ToolTip> <Grid.ToolTip>
<TextBlock VerticalAlignment="Center" Text="{x:Static prop:Resources.ViewCheckoutOrCreateAPullRequest}"> <TextBlock VerticalAlignment="Center">
View, Checkout or Create a Pull request
</TextBlock> </TextBlock>
</Grid.ToolTip> </Grid.ToolTip>
</Grid> </Grid>

Просмотреть файл

@ -7,7 +7,6 @@
<MinimumVisualStudioVersion Condition="'$(VisualStudioVersion)' != ''">$(VisualStudioVersion)</MinimumVisualStudioVersion> <MinimumVisualStudioVersion Condition="'$(VisualStudioVersion)' != ''">$(VisualStudioVersion)</MinimumVisualStudioVersion>
<VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath> <VSToolsPath Condition="'$(VSToolsPath)' == ''">$(MSBuildExtensionsPath32)\Microsoft\VisualStudio\v$(VisualStudioVersion)</VSToolsPath>
<UseCodeBase>true</UseCodeBase> <UseCodeBase>true</UseCodeBase>
<UICulture>en-US</UICulture>
</PropertyGroup> </PropertyGroup>
<Import Project="$(SolutionDir)\src\common\signing.props" /> <Import Project="$(SolutionDir)\src\common\signing.props" />
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
@ -189,13 +188,7 @@
</Reference> </Reference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Resources.en-US.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources.resx" /> <EmbeddedResource Include="Resources.resx" />
<EmbeddedResource Include="Resources.zh-Hans.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" /> <Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" />

Просмотреть файл

@ -1,6 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Resources;
[assembly: AssemblyTitle("GitHub.StartPage")] [assembly: AssemblyTitle("GitHub.StartPage")]
[assembly: AssemblyDescription("GitHub Start Page for Visual Studio")] [assembly: AssemblyDescription("GitHub Start Page for Visual Studio")]
[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="110" xml:space="preserve">
<value>GitHub</value>
</data>
<data name="111" xml:space="preserve">
<value>Powerful collaboration, code review, and code management for open source and private projects.</value>
</data>
</root>

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="110" xml:space="preserve">
<value>GitHub</value>
</data>
<data name="111" xml:space="preserve">
<value>为开源和私有项目提供强大的协作、代码评审和代码管理。</value>
</data>
</root>

Просмотреть файл

@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Windows; using System.Windows;
using System.Windows.Markup; using System.Windows.Markup;
@ -7,7 +6,7 @@ using System.Windows.Markup;
[assembly: AssemblyTitle("GitHub.UI.Reactive")] [assembly: AssemblyTitle("GitHub.UI.Reactive")]
[assembly: AssemblyDescription("GitHub flavored WPF styles and controls that require Rx and RxUI")] [assembly: AssemblyDescription("GitHub flavored WPF styles and controls that require Rx and RxUI")]
[assembly: Guid("885a491c-1d13-49e7-baa6-d61f424befcb")] [assembly: Guid("885a491c-1d13-49e7-baa6-d61f424befcb")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: ThemeInfo( [assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page, //(used if a resource is not found in the page,

Просмотреть файл

@ -1,120 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
</root>

Просмотреть файл

@ -255,25 +255,16 @@
</Page> </Page>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Controls\Octicons\OcticonPaths.en-US.resx" >
<DependentUpon>Controls\Octicons\OcticonPaths.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Controls\Octicons\OcticonPaths.resx"> <EmbeddedResource Include="Controls\Octicons\OcticonPaths.resx">
<SubType>Designer</SubType> <SubType>Designer</SubType>
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>OcticonPaths.Designer.cs</LastGenOutput> <LastGenOutput>OcticonPaths.Designer.cs</LastGenOutput>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Resources.en-US.resx" >
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources.resx"> <EmbeddedResource Include="Resources.resx">
<Generator>ResXFileCodeGenerator</Generator> <Generator>ResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Resources.zh-Hans.resx" >
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="TestAutomation\AutomationIDs.resx"> <EmbeddedResource Include="TestAutomation\AutomationIDs.resx">
<Generator>PublicResXFileCodeGenerator</Generator> <Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>AutomationIDs.Designer.cs</LastGenOutput> <LastGenOutput>AutomationIDs.Designer.cs</LastGenOutput>

Просмотреть файл

@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Windows; using System.Windows;
using System.Windows.Markup; using System.Windows.Markup;
@ -7,7 +6,7 @@ using System.Windows.Markup;
[assembly: AssemblyTitle("GitHub.UI")] [assembly: AssemblyTitle("GitHub.UI")]
[assembly: AssemblyDescription("GitHub flavored WPF styles and controls")] [assembly: AssemblyDescription("GitHub flavored WPF styles and controls")]
[assembly: Guid("f3cec21e-6a86-43ae-97a6-a274fa31efbe")] [assembly: Guid("f3cec21e-6a86-43ae-97a6-a274fa31efbe")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: ThemeInfo( [assembly: ThemeInfo(
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
//(used if a resource is not found in the page, //(used if a resource is not found in the page,

Просмотреть файл

@ -1,156 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="day" xml:space="preserve">
<value>{0:N0} day ago</value>
</data>
<data name="days" xml:space="preserve">
<value>{0:N0} days ago</value>
</data>
<data name="hour" xml:space="preserve">
<value>{0:N0} hour ago</value>
</data>
<data name="hours" xml:space="preserve">
<value>{0:N0} hours ago</value>
</data>
<data name="minute" xml:space="preserve">
<value>{0:N0} minute ago</value>
</data>
<data name="minutes" xml:space="preserve">
<value>{0:N0} minutes ago</value>
</data>
<data name="month" xml:space="preserve">
<value>{0:N0} month ago</value>
</data>
<data name="months" xml:space="preserve">
<value>{0:N0} months ago</value>
</data>
<data name="second" xml:space="preserve">
<value>{0:N0} second ago</value>
</data>
<data name="seconds" xml:space="preserve">
<value>{0:N0} seconds ago</value>
</data>
<data name="year" xml:space="preserve">
<value>{0:N0} year ago</value>
</data>
<data name="years" xml:space="preserve">
<value>{0:N0} years ago</value>
</data>
</root>

Просмотреть файл

@ -1,156 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="day" xml:space="preserve">
<value>{0:N0} 天前</value>
</data>
<data name="days" xml:space="preserve">
<value>{0:N0} 天前</value>
</data>
<data name="hour" xml:space="preserve">
<value>{0:N0} 小时前</value>
</data>
<data name="hours" xml:space="preserve">
<value>{0:N0} 小时前</value>
</data>
<data name="minute" xml:space="preserve">
<value>{0:N0} 分钟前</value>
</data>
<data name="minutes" xml:space="preserve">
<value>{0:N0} 分钟前</value>
</data>
<data name="month" xml:space="preserve">
<value>{0:N0} 月前</value>
</data>
<data name="months" xml:space="preserve">
<value>{0:N0} 月前</value>
</data>
<data name="second" xml:space="preserve">
<value>{0:N0} 秒前</value>
</data>
<data name="seconds" xml:space="preserve">
<value>{0:N0} 秒前</value>
</data>
<data name="year" xml:space="preserve">
<value>{0:N0} 年前</value>
</data>
<data name="years" xml:space="preserve">
<value>{0:N0} 年前</value>
</data>
</root>

Просмотреть файл

@ -252,18 +252,11 @@
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="Resources.en-US.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources.resx"> <EmbeddedResource Include="Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator> <Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput> <LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</EmbeddedResource> </EmbeddedResource>
<EmbeddedResource Include="Resources.zh-Hans.resx">
<DependentUpon>Resources.resx</DependentUpon>
<SubType>Designer</SubType>
</EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup /> <ItemGroup />
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" /> <Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />

Просмотреть файл

@ -1,5 +1,4 @@
using System.Reflection; using System.Reflection;
using System.Resources;
using System.Runtime.CompilerServices; using System.Runtime.CompilerServices;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Windows.Markup; using System.Windows.Markup;
@ -7,7 +6,7 @@ using System.Windows.Markup;
[assembly: AssemblyTitle("GitHub.VisualStudio.UI")] [assembly: AssemblyTitle("GitHub.VisualStudio.UI")]
[assembly: AssemblyDescription("GitHub.VisualStudio.UI")] [assembly: AssemblyDescription("GitHub.VisualStudio.UI")]
[assembly: Guid("d1dfbb0c-b570-4302-8f1e-2e3a19c41961")] [assembly: Guid("d1dfbb0c-b570-4302-8f1e-2e3a19c41961")]
[assembly: NeutralResourcesLanguage("en-US")]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI")]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI.Controls")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI.Controls")]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI.Views")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.UI.Views")]

638
src/GitHub.VisualStudio.UI/Resources.Designer.cs сгенерированный

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,578 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="authenticationFailedLabelContent" xml:space="preserve">
<value>Invalid authentication code</value>
</data>
<data name="authenticationFailedLabelMessage" xml:space="preserve">
<value>Try entering the code again or clicking the resend button to get a new authentication code.</value>
</data>
<data name="authenticationSentLabelContent" xml:space="preserve">
<value>Authentication code sent!</value>
</data>
<data name="authenticationSentLabelMessage" xml:space="preserve">
<value>If you do not receive the authentication code, contact support@github.com.</value>
</data>
<data name="browsePathButtonContent" xml:space="preserve">
<value>Browse</value>
</data>
<data name="couldNotConnectToGitHubText" xml:space="preserve">
<value>Could not connect to github.com</value>
</data>
<data name="couldNotConnectToTheServerText" xml:space="preserve">
<value>Could not connect to the server.</value>
</data>
<data name="CreateLink" xml:space="preserve">
<value>Create</value>
</data>
<data name="DescriptionOptional" xml:space="preserve">
<value>Description (Optional)</value>
</data>
<data name="openInBrowser" xml:space="preserve">
<value>Open in Browser</value>
</data>
<data name="CancelLink" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="gistCreatedMessage" xml:space="preserve">
<value>Gist created</value>
</data>
<data name="gistCreationFailedMessage" xml:space="preserve">
<value>Failed to create gist</value>
</data>
<data name="prUpdatedByText" xml:space="preserve">
<value>by</value>
</data>
<data name="Options_PrivacyTitle" xml:space="preserve">
<value>Privacy</value>
</data>
<data name="Options_MetricsLabel" xml:space="preserve">
<value>Help us improve by sending anonymous usage data</value>
</data>
<data name="Error_FailedToCopyToClipboard" xml:space="preserve">
<value>Could not copy to the clipboard. Please try again.</value>
</data>
<data name="LinkCopiedToClipboardMessage" xml:space="preserve">
<value>Link copied to clipboard</value>
</data>
<data name="RepositoryPublishedMessage" xml:space="preserve">
<value>Repository created successfully.</value>
</data>
<data name="makePrivateGist" xml:space="preserve">
<value>Private Gist</value>
</data>
<data name="fileNameText" xml:space="preserve">
<value>File Name</value>
</data>
<data name="NotLoggedInMessage" xml:space="preserve">
<value>You are not signed in to {0}, so certain git operations may fail. [Sign in now]({1})</value>
</data>
<data name="WikiNavigationItemText" xml:space="preserve">
<value>Wiki</value>
</data>
<data name="PulseNavigationItemText" xml:space="preserve">
<value>Pulse</value>
</data>
<data name="PullRequestsNavigationItemText" xml:space="preserve">
<value>Pull Requests</value>
</data>
<data name="pathText" xml:space="preserve">
<value>Path</value>
</data>
<data name="IssuesNavigationItemText" xml:space="preserve">
<value>Issues</value>
</data>
<data name="GraphsNavigationItemText" xml:space="preserve">
<value>Graphs</value>
</data>
<data name="GitHubPublishSectionTitle" xml:space="preserve">
<value>Publish to GitHub</value>
</data>
<data name="BlurbText" xml:space="preserve">
<value>Powerful collaboration, code review, and code management for open source and private projects.</value>
</data>
<data name="GitHubInvitationSectionConnectLabel" xml:space="preserve">
<value>Connect…</value>
</data>
<data name="CloneLink" xml:space="preserve">
<value>Clone</value>
</data>
<data name="verifyText" xml:space="preserve">
<value>Verify</value>
</data>
<data name="twoFactorAuthText" xml:space="preserve">
<value>Two-factor authentication</value>
</data>
<data name="SignUpLink" xml:space="preserve">
<value>Sign up</value>
</data>
<data name="SignOutLink" xml:space="preserve">
<value>Sign out</value>
</data>
<data name="resendCodeButtonToolTip" xml:space="preserve">
<value>Send the code to your registered SMS Device again</value>
</data>
<data name="resendCodeButtonContent" xml:space="preserve">
<value>Resend</value>
</data>
<data name="RepoNameText" xml:space="preserve">
<value>Repository Name</value>
</data>
<data name="RepoDoesNotHaveRemoteText" xml:space="preserve">
<value>This repository does not have a remote. Fill out the form to publish it to GitHub.</value>
</data>
<data name="publishText" xml:space="preserve">
<value>Publish</value>
</data>
<data name="orText" xml:space="preserve">
<value>or</value>
</data>
<data name="openTwoFactorAuthAppText" xml:space="preserve">
<value>Open the two-factor authentication app on your device to view your authentication code.</value>
</data>
<data name="noRepositoriesMessageText" xml:space="preserve">
<value>No repositories</value>
</data>
<data name="nameText" xml:space="preserve">
<value>Name</value>
</data>
<data name="makePrivateContent" xml:space="preserve">
<value>Private Repository</value>
</data>
<data name="LoginFailedText" xml:space="preserve">
<value>Sign in failed.</value>
</data>
<data name="localPathText" xml:space="preserve">
<value>Local path</value>
</data>
<data name="licenseListText" xml:space="preserve">
<value>License</value>
</data>
<data name="learnMoreLink" xml:space="preserve">
<value>Learn more</value>
</data>
<data name="ignoreTemplateListText" xml:space="preserve">
<value>Git ignore</value>
</data>
<data name="filterTextPromptText" xml:space="preserve">
<value>Search repositories</value>
</data>
<data name="loadingFailedMessageContent" xml:space="preserve">
<value>Some or all repositories may not have loaded. Close the dialog and try again.</value>
</data>
<data name="loadingFailedMessageMessage" xml:space="preserve">
<value>An error occurred while loading repositories</value>
</data>
<data name="enterpriseUrlPromptText" xml:space="preserve">
<value>GitHub Enterprise server address</value>
</data>
<data name="enterpriseConnectingFailedMessage" xml:space="preserve">
<value>The host isn't available or is not a GitHub Enterprise server. Check the address and try again.</value>
</data>
<data name="UserNameOrEmailPromptText" xml:space="preserve">
<value>Username or email</value>
</data>
<data name="PasswordPrompt" xml:space="preserve">
<value>Password</value>
</data>
<data name="LoginFailedMessage" xml:space="preserve">
<value>Check your username and password, then try again</value>
</data>
<data name="LoginLink" xml:space="preserve">
<value>Sign in</value>
</data>
<data name="ForgotPasswordLink" xml:space="preserve">
<value>(forgot your password?)</value>
</data>
<data name="dotComConnectionFailedMessageMessage" xml:space="preserve">
<value>Please check your internet connection and try again.</value>
</data>
<data name="dontHaveGitHubEnterpriseText" xml:space="preserve">
<value>Dont have GitHub Enterprise? </value>
</data>
<data name="dontHaveAnAccountText" xml:space="preserve">
<value>Dont have an account? </value>
</data>
<data name="TitleRequired" xml:space="preserve">
<value>Title (required)</value>
</data>
<data name="Description" xml:space="preserve">
<value>Description</value>
</data>
<data name="NotAGitHubRepositoryMessage" xml:space="preserve">
<value>Publish this repository to GitHub and get powerful collaboration, code review, and code management for open source and private projects.</value>
</data>
<data name="NotAGitHubRepository" xml:space="preserve">
<value>This repository is not on GitHub</value>
</data>
<data name="NotAGitRepository" xml:space="preserve">
<value>No repository</value>
</data>
<data name="NotAGitRepositoryMessage" xml:space="preserve">
<value>We couldn't find a git repository here. Open a git project or click "File -&gt; Add to Source Control" in a project to get started.</value>
</data>
<data name="CreateAccountLink" xml:space="preserve">
<value>Create an account</value>
</data>
<data name="filterBranchesText" xml:space="preserve">
<value>Filter branches</value>
</data>
<data name="PublishToGitHubButton" xml:space="preserve">
<value>Publish to GitHub</value>
</data>
<data name="GetStartedText" xml:space="preserve">
<value>Get Started</value>
</data>
<data name="SignInLink" xml:space="preserve">
<value>Sign in</value>
</data>
<data name="SignInCallToAction" xml:space="preserve">
<value>Sign in...</value>
</data>
<data name="LocalBranchUpToDate" xml:space="preserve">
<value>Local branch up to date</value>
</data>
<data name="ChangesCountFormat" xml:space="preserve">
<value>Changes ({0})</value>
</data>
<data name="ViewChanges" xml:space="preserve">
<value>View Changes</value>
</data>
<data name="CompareFileAsDefaultAction" xml:space="preserve">
<value>Compare File as Default Action</value>
</data>
<data name="ViewFile" xml:space="preserve">
<value>View File</value>
</data>
<data name="OpenFileAsDefaultAction" xml:space="preserve">
<value>Open File as Default Action</value>
</data>
<data name="SwitchToListView" xml:space="preserve">
<value>Switch to List View</value>
</data>
<data name="SwitchToTreeView" xml:space="preserve">
<value>Switch to Tree View</value>
</data>
<data name="UpdatedFormat" xml:space="preserve">
<value>updated {0}</value>
</data>
<data name="OpenPROnGitHubToolTip" xml:space="preserve">
<value>View Pull Request on GitHub</value>
</data>
<data name="TeamExplorerWelcomeMessage" xml:space="preserve">
<value>Welcome to GitHub for Visual Studio! Why not take a look at our [training](show-training) or [documentation](show-docs)?
[Don't show this again](dont-show-again)</value>
</data>
<data name="prUpdatedText" xml:space="preserve">
<value>Updated</value>
</data>
<data name="Options_EditorCommentsLabel" xml:space="preserve">
<value>Show PR comments on editor margin</value>
</data>
<data name="Options_ExperimentalTitle" xml:space="preserve">
<value>Experimental features</value>
</data>
<data name="Options_ExperimentalNote" xml:space="preserve">
<value>These features might change in a future version</value>
</data>
<data name="ViewChangesInSolution" xml:space="preserve">
<value>View Changes in Solution</value>
</data>
<data name="OpenFileInSolution" xml:space="preserve">
<value>Open File in Solution</value>
</data>
<data name="TokenPrompt" xml:space="preserve">
<value>Token</value>
</data>
<data name="ContinueYourReview" xml:space="preserve">
<value>Continue your review</value>
</data>
<data name="AddYourReview" xml:space="preserve">
<value>Add your review</value>
</data>
<data name="Reviewers" xml:space="preserve">
<value>Reviewers</value>
</data>
<data name="AddReviewComment" xml:space="preserve">
<value>Add review comment</value>
</data>
<data name="AddSingleComment" xml:space="preserve">
<value>Add a single comment</value>
</data>
<data name="ForkNavigationItemText" xml:space="preserve">
<value>Fork</value>
</data>
<data name="Options_DebuggingTitle" xml:space="preserve">
<value>Debugging</value>
</data>
<data name="Options_EnableTraceLoggingText" xml:space="preserve">
<value>Enable Trace Logging</value>
</data>
<data name="BlendDialogText" xml:space="preserve">
<value>The GitHub extension is not available inside Blend</value>
</data>
<data name="Options_ForkButtonLabel" xml:space="preserve">
<value>Show Fork button in Team Explorer</value>
</data>
<data name="UpdateComment" xml:space="preserve">
<value>Update comment</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="Pending" xml:space="preserve">
<value>Pending</value>
</data>
<data name="StartAReview" xml:space="preserve">
<value>Start a review</value>
</data>
<data name="YouMustCommitAndPushYourChangesToAddACommentHere" xml:space="preserve">
<value>You must commit and push your changes to add a comment here.</value>
</data>
<data name="PreviousComment" xml:space="preserve">
<value>Previous Comment</value>
</data>
<data name="NextComment" xml:space="preserve">
<value>Next Comment</value>
</data>
<data name="ViewCheckoutOrCreateAPullRequest" xml:space="preserve">
<value>View, Checkout or Create a Pull request</value>
</data>
<data name="Back" xml:space="preserve">
<value>Back</value>
</data>
<data name="ForkRepository" xml:space="preserve">
<value>Fork Repository</value>
</data>
<data name="ForkTheRepository" xml:space="preserve">
<value>Fork the repository</value>
</data>
<data name="UpdateYourLocalRepositoryS" xml:space="preserve">
<value> Update your local repository's</value>
</data>
<data name="ToPointTo" xml:space="preserve">
<value>to point to</value>
</data>
<data name="CreatePullRequest" xml:space="preserve">
<value>Create pull request</value>
</data>
<data name="SignInToGitHub" xml:space="preserve">
<value>Sign in to GitHub</value>
</data>
<data name="Pull" xml:space="preserve">
<value>Pull</value>
</data>
<data name="Push" xml:space="preserve">
<value>Push</value>
</data>
<data name="Sync" xml:space="preserve">
<value>Sync</value>
</data>
<data name="Wrote" xml:space="preserve">
<value>wrote</value>
</data>
<data name="SubmitYourReviewFor" xml:space="preserve">
<value>Submit your review for</value>
</data>
<data name="YourReviewSummary" xml:space="preserve">
<value>Your review summary</value>
</data>
<data name="CommentOnly" xml:space="preserve">
<value>Comment only</value>
</data>
<data name="Approve" xml:space="preserve">
<value>Approve</value>
</data>
<data name="RequestChanges" xml:space="preserve">
<value>Request changes</value>
</data>
<data name="Comments" xml:space="preserve">
<value>Comments</value>
</data>
<data name="OutdatedComments" xml:space="preserve">
<value>Outdated comments</value>
</data>
<data name="CreateNew" xml:space="preserve">
<value>Create New</value>
</data>
<data name="Assignee" xml:space="preserve">
<value>Assignee</value>
</data>
<data name="Author" xml:space="preserve">
<value>Author</value>
</data>
<data name="SignInWithYourBrowser" xml:space="preserve">
<value>Sign in with your browser</value>
</data>
<data name="Open" xml:space="preserve">
<value>Open</value>
</data>
<data name="FilterByAuthor" xml:space="preserve">
<value>Filter by Author</value>
</data>
<data name="SelectFork" xml:space="preserve">
<value>Select Fork</value>
</data>
<data name="ThereArenTAnyOpenPullRequests" xml:space="preserve">
<value>There aren't any open pull requests</value>
</data>
<data name="PullRequestsLetYouTellOthersAboutChangesYouVePushedToARepositoryOnGitHub" xml:space="preserve">
<value>Pull requests let you tell others about changes you've pushed to a repository on GitHub</value>
</data>
<data name="NoResultsMatchedYourSearch" xml:space="preserve">
<value>No results matched your search.</value>
</data>
<data name="ToGetStartedYouCan" xml:space="preserve">
<value>To get started you can</value>
</data>
<data name="CreateAPullRequest" xml:space="preserve">
<value>create a pull request</value>
</data>
<data name="DeleteCommentConfirmation" xml:space="preserve">
<value>Are you sure you want to delete this comment?</value>
</data>
<data name="DeleteCommentConfirmationCaption" xml:space="preserve">
<value>Delete Comment</value>
</data>
<data name="OpenRepositoryAtDir" xml:space="preserve">
<value>Open repository at '{0}'?</value>
</data>
<data name="NoResolveDifferentOwnerMessage" xml:space="preserve">
<value>The target URL has a different owner to the current repository.</value>
</data>
<data name="NoActiveRepositoryMessage" xml:space="preserve">
<value>There is no active repository to navigate</value>
</data>
<data name="ChangesInWorkingDirectoryMessage" xml:space="preserve">
<value>This file has changed since the permalink was created</value>
</data>
<data name="DifferentRepositoryMessage" xml:space="preserve">
<value>Please open the repository '{0}' and try again</value>
</data>
<data name="UnknownLinkTypeMessage" xml:space="preserve">
<value>Couldn't open from '{0}'. Only URLs that link to repository files are currently supported.</value>
</data>
<data name="NoGitHubUrlMessage" xml:space="preserve">
<value>Couldn't a find a GitHub URL in clipboard</value>
</data>
<data name="NoResolveSameOwnerMessage" xml:space="preserve">
<value>Couldn't find target URL in current repository. Try again after doing a fetch.</value>
</data>
</root>

Просмотреть файл

@ -434,145 +434,13 @@
<data name="UpdateComment" xml:space="preserve"> <data name="UpdateComment" xml:space="preserve">
<value>Update comment</value> <value>Update comment</value>
</data> </data>
<data name="Cancel" xml:space="preserve">
<value>Cancel</value>
</data>
<data name="Pending" xml:space="preserve">
<value>Pending</value>
</data>
<data name="StartAReview" xml:space="preserve">
<value>Start a review</value>
</data>
<data name="YouMustCommitAndPushYourChangesToAddACommentHere" xml:space="preserve">
<value>You must commit and push your changes to add a comment here.</value>
</data>
<data name="PreviousComment" xml:space="preserve">
<value>Previous Comment</value>
</data>
<data name="NextComment" xml:space="preserve">
<value>Next Comment</value>
</data>
<data name="ViewCheckoutOrCreateAPullRequest" xml:space="preserve">
<value>View, Checkout or Create a Pull request</value>
</data>
<data name="Back" xml:space="preserve">
<value>Back</value>
</data>
<data name="ForkRepository" xml:space="preserve">
<value>Fork Repository</value>
</data>
<data name="ForkTheRepository" xml:space="preserve">
<value>Fork the repository</value>
</data>
<data name="UpdateYourLocalRepositoryS" xml:space="preserve">
<value> Update your local repository's</value>
</data>
<data name="ToPointTo" xml:space="preserve">
<value>to point to</value>
</data>
<data name="CreatePullRequest" xml:space="preserve">
<value>Create pull request</value>
</data>
<data name="SignInToGitHub" xml:space="preserve">
<value>Sign in to GitHub</value>
</data>
<data name="Pull" xml:space="preserve">
<value>Pull</value>
</data>
<data name="Push" xml:space="preserve">
<value>Push</value>
</data>
<data name="Sync" xml:space="preserve">
<value>Sync</value>
</data>
<data name="Wrote" xml:space="preserve">
<value>wrote</value>
</data>
<data name="SubmitYourReviewFor" xml:space="preserve">
<value>Submit your review for</value>
</data>
<data name="YourReviewSummary" xml:space="preserve">
<value>Your review summary</value>
</data>
<data name="CommentOnly" xml:space="preserve">
<value>Comment only</value>
</data>
<data name="Approve" xml:space="preserve">
<value>Approve</value>
</data>
<data name="RequestChanges" xml:space="preserve">
<value>Request changes</value>
</data>
<data name="Comments" xml:space="preserve">
<value>Comments</value>
</data>
<data name="OutdatedComments" xml:space="preserve">
<value>Outdated comments</value>
</data>
<data name="CreateNew" xml:space="preserve">
<value>Create New</value>
</data>
<data name="Assignee" xml:space="preserve">
<value>Assignee</value>
</data>
<data name="Author" xml:space="preserve">
<value>Author</value>
</data>
<data name="SignInWithYourBrowser" xml:space="preserve">
<value>Sign in with your browser</value>
</data>
<data name="Open" xml:space="preserve"> <data name="Open" xml:space="preserve">
<value>Open</value> <value>Open</value>
</data> </data>
<data name="FilterByAuthor" xml:space="preserve">
<value>Filter by Author</value>
</data>
<data name="SelectFork" xml:space="preserve">
<value>Select Fork</value>
</data>
<data name="DeleteCommentConfirmation" xml:space="preserve"> <data name="DeleteCommentConfirmation" xml:space="preserve">
<value>Are you sure you want to delete this comment?</value> <value>Are you sure you want to delete this comment?</value>
</data> </data>
<data name="DeleteCommentConfirmationCaption" xml:space="preserve"> <data name="DeleteCommentConfirmationCaption" xml:space="preserve">
<value>Delete Comment</value> <value>Delete Comment</value>
</data> </data>
<data name="ThereArenTAnyOpenPullRequests" xml:space="preserve">
<value>There aren't any open pull requests</value>
</data>
<data name="PullRequestsLetYouTellOthersAboutChangesYouVePushedToARepositoryOnGitHub" xml:space="preserve">
<value>Pull requests let you tell others about changes you've pushed to a repository on GitHub</value>
</data>
<data name="NoResultsMatchedYourSearch" xml:space="preserve">
<value>No results matched your search.</value>
</data>
<data name="ToGetStartedYouCan" xml:space="preserve">
<value>To get started you can</value>
</data>
<data name="CreateAPullRequest" xml:space="preserve">
<value>create a pull request</value>
</data>
<data name="OpenRepositoryAtDir" xml:space="preserve">
<value>Open repository at '{0}'?</value>
</data>
<data name="NoResolveDifferentOwnerMessage" xml:space="preserve">
<value>The target URL has a different owner to the current repository.</value>
</data>
<data name="NoActiveRepositoryMessage" xml:space="preserve">
<value>There is no active repository to navigate</value>
</data>
<data name="ChangesInWorkingDirectoryMessage" xml:space="preserve">
<value>This file has changed since the permalink was created</value>
</data>
<data name="DifferentRepositoryMessage" xml:space="preserve">
<value>Please open the repository '{0}' and try again</value>
</data>
<data name="UnknownLinkTypeMessage" xml:space="preserve">
<value>Couldn't open from '{0}'. Only URLs that link to repository files are currently supported.</value>
</data>
<data name="NoGitHubUrlMessage" xml:space="preserve">
<value>Couldn't a find a GitHub URL in clipboard</value>
</data>
<data name="NoResolveSameOwnerMessage" xml:space="preserve">
<value>Couldn't find target URL in current repository. Try again after doing a fetch.</value>
</data>
</root> </root>

Просмотреть файл

@ -1,578 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="GitHubPublishSectionTitle" xml:space="preserve">
<value>发布至GitHub</value>
</data>
<data name="authenticationFailedLabelContent" xml:space="preserve">
<value>无效的验证码</value>
</data>
<data name="authenticationFailedLabelMessage" xml:space="preserve">
<value>尝试再次输入代码或单击【重新发送】按钮以获取新的验证码。</value>
</data>
<data name="authenticationSentLabelContent" xml:space="preserve">
<value>验证码已发送!</value>
</data>
<data name="authenticationSentLabelMessage" xml:space="preserve">
<value>如果您没有收到验证码,请联系 support@github.com 。</value>
</data>
<data name="browsePathButtonContent" xml:space="preserve">
<value>浏览</value>
</data>
<data name="couldNotConnectToGitHubText" xml:space="preserve">
<value>无法连接到github.com</value>
</data>
<data name="couldNotConnectToTheServerText" xml:space="preserve">
<value>无法连接服务器</value>
</data>
<data name="CreateLink" xml:space="preserve">
<value>创建</value>
</data>
<data name="DescriptionOptional" xml:space="preserve">
<value>说明(可选)</value>
</data>
<data name="openInBrowser" xml:space="preserve">
<value>在浏览器中打开</value>
</data>
<data name="CancelLink" xml:space="preserve">
<value>取消</value>
</data>
<data name="gistCreatedMessage" xml:space="preserve">
<value>Gist已创建</value>
</data>
<data name="gistCreationFailedMessage" xml:space="preserve">
<value>创建Gist失败</value>
</data>
<data name="prUpdatedByText" xml:space="preserve">
<value>由</value>
</data>
<data name="Options_PrivacyTitle" xml:space="preserve">
<value>隐私</value>
</data>
<data name="Options_MetricsLabel" xml:space="preserve">
<value>通过发送匿名使用数据来帮助我们改进!</value>
</data>
<data name="Error_FailedToCopyToClipboard" xml:space="preserve">
<value>无法复制到剪贴板,请重试。</value>
</data>
<data name="LinkCopiedToClipboardMessage" xml:space="preserve">
<value>链接已经复制到剪贴板</value>
</data>
<data name="RepositoryPublishedMessage" xml:space="preserve">
<value>版本库创建成功。</value>
</data>
<data name="makePrivateGist" xml:space="preserve">
<value>私有Gist</value>
</data>
<data name="fileNameText" xml:space="preserve">
<value>文件名</value>
</data>
<data name="NotLoggedInMessage" xml:space="preserve">
<value>你没有登录到 {0},因此操作可能才会失败. [立即登录]({1})</value>
</data>
<data name="WikiNavigationItemText" xml:space="preserve">
<value>维基</value>
</data>
<data name="PulseNavigationItemText" xml:space="preserve">
<value>动态</value>
</data>
<data name="PullRequestsNavigationItemText" xml:space="preserve">
<value>拉取请求</value>
</data>
<data name="pathText" xml:space="preserve">
<value>路径</value>
</data>
<data name="IssuesNavigationItemText" xml:space="preserve">
<value>问题</value>
</data>
<data name="GraphsNavigationItemText" xml:space="preserve">
<value>图表</value>
</data>
<data name="GitHubInvitationSectionConnectLabel" xml:space="preserve">
<value>连接...</value>
</data>
<data name="CloneLink" xml:space="preserve">
<value>克隆</value>
</data>
<data name="verifyText" xml:space="preserve">
<value>验证</value>
</data>
<data name="twoFactorAuthText" xml:space="preserve">
<value>双重身份验证</value>
</data>
<data name="SignUpLink" xml:space="preserve">
<value>注册</value>
</data>
<data name="SignOutLink" xml:space="preserve">
<value>注销</value>
</data>
<data name="resendCodeButtonToolTip" xml:space="preserve">
<value>再次将验证码短信发送至您的注册手机中</value>
</data>
<data name="resendCodeButtonContent" xml:space="preserve">
<value>重新发送</value>
</data>
<data name="RepoNameText" xml:space="preserve">
<value>存储库名称</value>
</data>
<data name="publishText" xml:space="preserve">
<value>发布</value>
</data>
<data name="orText" xml:space="preserve">
<value>或</value>
</data>
<data name="openTwoFactorAuthAppText" xml:space="preserve">
<value>在你的手机上打开双重身份验证App查看验证码。</value>
</data>
<data name="noRepositoriesMessageText" xml:space="preserve">
<value>没有存储库</value>
</data>
<data name="nameText" xml:space="preserve">
<value>名称</value>
</data>
<data name="makePrivateContent" xml:space="preserve">
<value>私有存储库</value>
</data>
<data name="LoginFailedText" xml:space="preserve">
<value>登录失败。</value>
</data>
<data name="localPathText" xml:space="preserve">
<value>本地路径</value>
</data>
<data name="licenseListText" xml:space="preserve">
<value>许可证</value>
</data>
<data name="learnMoreLink" xml:space="preserve">
<value>了解详细信息</value>
</data>
<data name="ignoreTemplateListText" xml:space="preserve">
<value>Git忽略</value>
</data>
<data name="filterTextPromptText" xml:space="preserve">
<value>搜索存储库</value>
</data>
<data name="loadingFailedMessageMessage" xml:space="preserve">
<value>加载存储库时发送意外。</value>
</data>
<data name="enterpriseUrlPromptText" xml:space="preserve">
<value>GitHub企业服务器地址</value>
</data>
<data name="UserNameOrEmailPromptText" xml:space="preserve">
<value>用户名或电子邮件</value>
</data>
<data name="PasswordPrompt" xml:space="preserve">
<value>密码</value>
</data>
<data name="LoginFailedMessage" xml:space="preserve">
<value>检查您的用户名和密码然后重试</value>
</data>
<data name="LoginLink" xml:space="preserve">
<value>登录</value>
</data>
<data name="ForgotPasswordLink" xml:space="preserve">
<value>是否忘记了您的密码?</value>
</data>
<data name="dotComConnectionFailedMessageMessage" xml:space="preserve">
<value>请检查你的 Internet 连接,然后重试。</value>
</data>
<data name="dontHaveGitHubEnterpriseText" xml:space="preserve">
<value>没有GitHub企业版</value>
</data>
<data name="dontHaveAnAccountText" xml:space="preserve">
<value>没有帐户?</value>
</data>
<data name="TitleRequired" xml:space="preserve">
<value>标题(必须)</value>
</data>
<data name="Description" xml:space="preserve">
<value>描述</value>
</data>
<data name="NotAGitHubRepositoryMessage" xml:space="preserve">
<value>将此存储库发布到 GitHub, 并为开源和私有项目获得强大的协作、代码审阅和代码管理。</value>
</data>
<data name="NotAGitHubRepository" xml:space="preserve">
<value>此存储库未托管至Github</value>
</data>
<data name="NotAGitRepository" xml:space="preserve">
<value>没有存储库</value>
</data>
<data name="NotAGitRepositoryMessage" xml:space="preserve">
<value>我们在这里找不到 git 存储库。打开一个 git 项目或单击项目中的 "文件"-&gt; "添加到源代码管理" 以开始.</value>
</data>
<data name="CreateAccountLink" xml:space="preserve">
<value>创建帐户</value>
</data>
<data name="filterBranchesText" xml:space="preserve">
<value>筛选分支</value>
</data>
<data name="PublishToGitHubButton" xml:space="preserve">
<value>发布到 GitHub</value>
</data>
<data name="GetStartedText" xml:space="preserve">
<value>开始</value>
</data>
<data name="SignInLink" xml:space="preserve">
<value>登录</value>
</data>
<data name="SignInCallToAction" xml:space="preserve">
<value>登录...</value>
</data>
<data name="LocalBranchUpToDate" xml:space="preserve">
<value>本地分支最新!</value>
</data>
<data name="ChangesCountFormat" xml:space="preserve">
<value>变更:({0}</value>
</data>
<data name="ViewChanges" xml:space="preserve">
<value>查看变更</value>
</data>
<data name="CompareFileAsDefaultAction" xml:space="preserve">
<value>将比较文件作为默认操作</value>
</data>
<data name="ViewFile" xml:space="preserve">
<value>查看文件</value>
</data>
<data name="OpenFileAsDefaultAction" xml:space="preserve">
<value>将打开文件作为默认操作</value>
</data>
<data name="SwitchToListView" xml:space="preserve">
<value>切换到列表视图</value>
</data>
<data name="SwitchToTreeView" xml:space="preserve">
<value>切换到树视图</value>
</data>
<data name="UpdatedFormat" xml:space="preserve">
<value>已更新“{0}”</value>
</data>
<data name="OpenPROnGitHubToolTip" xml:space="preserve">
<value>在GitHub上查看拉取请求</value>
</data>
<data name="prUpdatedText" xml:space="preserve">
<value>已更新</value>
</data>
<data name="Options_EditorCommentsLabel" xml:space="preserve">
<value>在编辑器边缘显示PR注释</value>
</data>
<data name="Options_ExperimentalTitle" xml:space="preserve">
<value>实验性功能</value>
</data>
<data name="Options_ExperimentalNote" xml:space="preserve">
<value>我们将在未来的版本中改变此功能。</value>
</data>
<data name="ViewChangesInSolution" xml:space="preserve">
<value>在解决方案中查看更新</value>
</data>
<data name="OpenFileInSolution" xml:space="preserve">
<value>解决方案中打开文件</value>
</data>
<data name="TokenPrompt" xml:space="preserve">
<value>令牌</value>
</data>
<data name="ContinueYourReview" xml:space="preserve">
<value>继续复审</value>
</data>
<data name="AddYourReview" xml:space="preserve">
<value>添加复审</value>
</data>
<data name="Reviewers" xml:space="preserve">
<value>复审人员</value>
</data>
<data name="AddReviewComment" xml:space="preserve">
<value>添加复审注释</value>
</data>
<data name="AddSingleComment" xml:space="preserve">
<value>添加评论</value>
</data>
<data name="ForkNavigationItemText" xml:space="preserve">
<value>Fork</value>
</data>
<data name="Options_DebuggingTitle" xml:space="preserve">
<value>正在调试</value>
</data>
<data name="Options_EnableTraceLoggingText" xml:space="preserve">
<value>启用日志跟踪</value>
</data>
<data name="UpdateComment" xml:space="preserve">
<value>更新注释</value>
</data>
<data name="BlurbText" xml:space="preserve">
<value>让您的开源和私有项目拥有强大的协作、代码审查、以及代码管理。</value>
</data>
<data name="RepoDoesNotHaveRemoteText" xml:space="preserve">
<value>这个存储库没有托管至远程。填写表单将其发布到Github。</value>
</data>
<data name="loadingFailedMessageContent" xml:space="preserve">
<value>部分或全部存储库没有加载,请关闭对话框重试。</value>
</data>
<data name="enterpriseConnectingFailedMessage" xml:space="preserve">
<value>无效主机或不是GitHub企业服务器请检查地址并重试。</value>
</data>
<data name="TeamExplorerWelcomeMessage" xml:space="preserve">
<value>欢迎使用 GitHub for Visual Studio 您可以先看看这里 [培训](show-training) 或[文档](show-docs)?
[不再显示](dont-show-again)</value>
</data>
<data name="BlendDialogText" xml:space="preserve">
<value>GitHub括在在Blend内部无效</value>
</data>
<data name="Options_ForkButtonLabel" xml:space="preserve">
<value>在团队管理中显示【Fork】按钮</value>
</data>
<data name="Cancel" xml:space="preserve">
<value>取消</value>
</data>
<data name="Pending" xml:space="preserve">
<value>挂起</value>
</data>
<data name="StartAReview" xml:space="preserve">
<value>开始复审</value>
</data>
<data name="YouMustCommitAndPushYourChangesToAddACommentHere" xml:space="preserve">
<value>您必须提交和推送更改, 才能在此添加注释。</value>
</data>
<data name="PreviousComment" xml:space="preserve">
<value>上一个评论</value>
</data>
<data name="NextComment" xml:space="preserve">
<value>下一个评论</value>
</data>
<data name="ViewCheckoutOrCreateAPullRequest" xml:space="preserve">
<value>查看、签出或创建拉取请求</value>
</data>
<data name="Back" xml:space="preserve">
<value>返回</value>
</data>
<data name="ForkRepository" xml:space="preserve">
<value>Fork存储库</value>
</data>
<data name="ForkTheRepository" xml:space="preserve">
<value>Fork此存储库</value>
</data>
<data name="UpdateYourLocalRepositoryS" xml:space="preserve">
<value>更新本地存储库的</value>
</data>
<data name="ToPointTo" xml:space="preserve">
<value>要指向</value>
</data>
<data name="CreatePullRequest" xml:space="preserve">
<value>创建拉取请求</value>
</data>
<data name="SignInToGitHub" xml:space="preserve">
<value>登录GitHub</value>
</data>
<data name="Pull" xml:space="preserve">
<value>拉取</value>
</data>
<data name="Push" xml:space="preserve">
<value>推送</value>
</data>
<data name="Sync" xml:space="preserve">
<value>同步</value>
</data>
<data name="Wrote" xml:space="preserve">
<value>已写</value>
</data>
<data name="SubmitYourReviewFor" xml:space="preserve">
<value>提交你的批注</value>
</data>
<data name="YourReviewSummary" xml:space="preserve">
<value>你的批注概要</value>
</data>
<data name="CommentOnly" xml:space="preserve">
<value>仅批注</value>
</data>
<data name="Approve" xml:space="preserve">
<value>批准</value>
</data>
<data name="RequestChanges" xml:space="preserve">
<value>请求变更</value>
</data>
<data name="Comments" xml:space="preserve">
<value>批注</value>
</data>
<data name="OutdatedComments" xml:space="preserve">
<value>过期批注</value>
</data>
<data name="CreateNew" xml:space="preserve">
<value>创建</value>
</data>
<data name="Assignee" xml:space="preserve">
<value>分配</value>
</data>
<data name="Author" xml:space="preserve">
<value>作者</value>
</data>
<data name="SignInWithYourBrowser" xml:space="preserve">
<value>使用浏览器登录</value>
</data>
<data name="Open" xml:space="preserve">
<value>打开</value>
</data>
<data name="FilterByAuthor" xml:space="preserve">
<value>按作者过滤</value>
</data>
<data name="SelectFork" xml:space="preserve">
<value>选择Fork</value>
</data>
<data name="ThereArenTAnyOpenPullRequests" xml:space="preserve">
<value>这里没有任何打开的推送请求</value>
</data>
<data name="PullRequestsLetYouTellOthersAboutChangesYouVePushedToARepositoryOnGitHub" xml:space="preserve">
<value>通过推送请求告诉其他人关于你推送到一个GitHub存储库的变更</value>
</data>
<data name="NoResultsMatchedYourSearch" xml:space="preserve">
<value>您的搜索没有匹配结果</value>
</data>
<data name="ToGetStartedYouCan" xml:space="preserve">
<value>现在开始你可以</value>
</data>
<data name="CreateAPullRequest" xml:space="preserve">
<value>创建拉取请求</value>
</data>
<data name="OpenRepositoryAtDir" xml:space="preserve">
<value>在“{0}”打开存储库?</value>
</data>
<data name="NoResolveDifferentOwnerMessage" xml:space="preserve">
<value>目标URL与当前存储库拥有者不同。</value>
</data>
<data name="NoActiveRepositoryMessage" xml:space="preserve">
<value>没有活动的存储库可以导航</value>
</data>
<data name="ChangesInWorkingDirectoryMessage" xml:space="preserve">
<value>自创建固定链接以来,此文件已更改!</value>
</data>
<data name="DifferentRepositoryMessage" xml:space="preserve">
<value>请打开存储库“{0}”,然后重试!</value>
</data>
<data name="UnknownLinkTypeMessage" xml:space="preserve">
<value>无法从“{0}”打开。目前仅支持链接到存储库文件的URL。</value>
</data>
<data name="NoGitHubUrlMessage" xml:space="preserve">
<value>无法在剪贴板中找到GitHub网址</value>
</data>
<data name="NoResolveSameOwnerMessage" xml:space="preserve">
<value>无法在当前存储库中找到目标URL。在进行提取后再试一次。</value>
</data>
<data name="DeleteCommentConfirmationCaption" xml:space="preserve">
<value>删除注释</value>
</data>
<data name="DeleteCommentConfirmation" xml:space="preserve">
<value>您确定要删除此注释吗?</value>
</data>
</root>

Просмотреть файл

@ -4,7 +4,6 @@ using GitHub.Commands;
using GitHub.Exports; using GitHub.Exports;
using GitHub.Services; using GitHub.Services;
using GitHub.Services.Vssdk.Commands; using GitHub.Services.Vssdk.Commands;
using GitHub.VisualStudio.UI;
using Microsoft.VisualStudio.Shell; using Microsoft.VisualStudio.Shell;
using Task = System.Threading.Tasks.Task; using Task = System.Threading.Tasks.Task;
@ -13,7 +12,13 @@ namespace GitHub.VisualStudio.Commands
[Export(typeof(IOpenFromClipboardCommand))] [Export(typeof(IOpenFromClipboardCommand))]
public class OpenFromClipboardCommand : VsCommand<string>, IOpenFromClipboardCommand public class OpenFromClipboardCommand : VsCommand<string>, IOpenFromClipboardCommand
{ {
public const string NoGitHubUrlMessage = "Couldn't a find a GitHub URL in clipboard";
public const string NoResolveSameOwnerMessage = "Couldn't find target URL in current repository. Try again after doing a fetch.";
public const string NoResolveDifferentOwnerMessage = "The target URL has a different owner to the current repository.";
public const string NoActiveRepositoryMessage = "There is no active repository to navigate";
public const string ChangesInWorkingDirectoryMessage = "This file has changed since the permalink was created";
public const string DifferentRepositoryMessage = "Please open the repository '{0}' and try again";
public const string UnknownLinkTypeMessage = "Couldn't open from '{0}'. Only URLs that link to repository files are currently supported.";
readonly Lazy<IGitHubContextService> gitHubContextService; readonly Lazy<IGitHubContextService> gitHubContextService;
readonly Lazy<ITeamExplorerContext> teamExplorerContext; readonly Lazy<ITeamExplorerContext> teamExplorerContext;
@ -53,13 +58,13 @@ namespace GitHub.VisualStudio.Commands
var context = gitHubContextService.Value.FindContextFromClipboard(); var context = gitHubContextService.Value.FindContextFromClipboard();
if (context == null) if (context == null)
{ {
vsServices.Value.ShowMessageBoxInfo(Resources.NoGitHubUrlMessage); vsServices.Value.ShowMessageBoxInfo(NoGitHubUrlMessage);
return; return;
} }
if (context.LinkType != LinkType.Blob) if (context.LinkType != LinkType.Blob)
{ {
var message = string.Format(Resources.UnknownLinkTypeMessage, context.Url); var message = string.Format(UnknownLinkTypeMessage, context.Url);
vsServices.Value.ShowMessageBoxInfo(message); vsServices.Value.ShowMessageBoxInfo(message);
return; return;
} }
@ -68,13 +73,13 @@ namespace GitHub.VisualStudio.Commands
var repositoryDir = activeRepository?.LocalPath; var repositoryDir = activeRepository?.LocalPath;
if (repositoryDir == null) if (repositoryDir == null)
{ {
vsServices.Value.ShowMessageBoxInfo(Resources.NoActiveRepositoryMessage); vsServices.Value.ShowMessageBoxInfo(NoActiveRepositoryMessage);
return; return;
} }
if (!string.Equals(activeRepository.Name, context.RepositoryName, StringComparison.OrdinalIgnoreCase)) if (!string.Equals(activeRepository.Name, context.RepositoryName, StringComparison.OrdinalIgnoreCase))
{ {
vsServices.Value.ShowMessageBoxInfo(string.Format(Resources.DifferentRepositoryMessage, context.RepositoryName)); vsServices.Value.ShowMessageBoxInfo(string.Format(DifferentRepositoryMessage, context.RepositoryName));
return; return;
} }
@ -83,11 +88,11 @@ namespace GitHub.VisualStudio.Commands
{ {
if (!string.Equals(activeRepository.Owner, context.Owner, StringComparison.OrdinalIgnoreCase)) if (!string.Equals(activeRepository.Owner, context.Owner, StringComparison.OrdinalIgnoreCase))
{ {
vsServices.Value.ShowMessageBoxInfo(Resources.NoResolveDifferentOwnerMessage); vsServices.Value.ShowMessageBoxInfo(NoResolveDifferentOwnerMessage);
} }
else else
{ {
vsServices.Value.ShowMessageBoxInfo(Resources.NoResolveSameOwnerMessage); vsServices.Value.ShowMessageBoxInfo(NoResolveSameOwnerMessage);
} }
return; return;
@ -104,7 +109,7 @@ namespace GitHub.VisualStudio.Commands
return; return;
} }
vsServices.Value.ShowMessageBoxInfo(Resources.ChangesInWorkingDirectoryMessage); vsServices.Value.ShowMessageBoxInfo(ChangesInWorkingDirectoryMessage);
} }
gitHubContextService.Value.TryOpenFile(repositoryDir, context); gitHubContextService.Value.TryOpenFile(repositoryDir, context);

Просмотреть файл

@ -12,7 +12,6 @@ using Microsoft.VisualStudio.Shell;
using Microsoft.VisualStudio.Shell.Interop; using Microsoft.VisualStudio.Shell.Interop;
using Task = System.Threading.Tasks.Task; using Task = System.Threading.Tasks.Task;
using SVsServiceProvider = Microsoft.VisualStudio.Shell.SVsServiceProvider; using SVsServiceProvider = Microsoft.VisualStudio.Shell.SVsServiceProvider;
using GitHub.VisualStudio.UI;
namespace GitHub.VisualStudio.Commands namespace GitHub.VisualStudio.Commands
{ {
@ -120,7 +119,7 @@ namespace GitHub.VisualStudio.Commands
var solutionDir = FindSolutionDirectory(dte.Value.Solution); var solutionDir = FindSolutionDirectory(dte.Value.Solution);
if (solutionDir == null || !ContainsDirectory(repositoryDir, solutionDir)) if (solutionDir == null || !ContainsDirectory(repositoryDir, solutionDir))
{ {
var result = ShowInfoMessage(string.Format(Resources.OpenRepositoryAtDir, repositoryDir)); var result = ShowInfoMessage($"Open repository at '{repositoryDir}'?");
switch (result) switch (result)
{ {
case VSConstants.MessageBoxResult.IDYES: case VSConstants.MessageBoxResult.IDYES:

Просмотреть файл

@ -19,8 +19,6 @@
<ExtensionInstallationFolder>GitHub\GitHub</ExtensionInstallationFolder> <ExtensionInstallationFolder>GitHub\GitHub</ExtensionInstallationFolder>
<NuGetPackageImportStamp> <NuGetPackageImportStamp>
</NuGetPackageImportStamp> </NuGetPackageImportStamp>
<UICulture>en-US</UICulture>
<UseCodebase>true</UseCodebase>
</PropertyGroup> </PropertyGroup>
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" /> <Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<PropertyGroup> <PropertyGroup>
@ -43,12 +41,6 @@
<TreatWarningsAsErrors>true</TreatWarningsAsErrors> <TreatWarningsAsErrors>true</TreatWarningsAsErrors>
<CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode> <CodeAnalysisIgnoreGeneratedCode>true</CodeAnalysisIgnoreGeneratedCode>
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer> <IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
<GeneratePkgDefFile>true</GeneratePkgDefFile>
<IncludeAssemblyInVSIXContainer>true</IncludeAssemblyInVSIXContainer>
<IncludeDebugSymbolsInVSIXContainer>true</IncludeDebugSymbolsInVSIXContainer>
<IncludeDebugSymbolsInLocalVSIXDeployment>true</IncludeDebugSymbolsInLocalVSIXDeployment>
<CopyBuildOutputToOutputDirectory>true</CopyBuildOutputToOutputDirectory>
<CopyOutputSymbolsToOutputDirectory>false</CopyOutputSymbolsToOutputDirectory>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols> <DebugSymbols>true</DebugSymbols>
@ -462,34 +454,13 @@
<Compile Include="Views\ViewLocator.cs" /> <Compile Include="Views\ViewLocator.cs" />
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<EmbeddedResource Include="VSPackage.en-US.resx" > <EmbeddedResource Include="VSPackage.resx">
<MergeWithCTO>true</MergeWithCTO>
<LogicalName>VSPackage.en-US.Resources</LogicalName>
<DependentUpon>VSPackage.resx</DependentUpon>
</EmbeddedResource>
<None Include="VSPackage.resx">
<MergeWithCTO>true</MergeWithCTO> <MergeWithCTO>true</MergeWithCTO>
<ManifestResourceName>VSPackage</ManifestResourceName> <ManifestResourceName>VSPackage</ManifestResourceName>
<SubType>Designer</SubType> <SubType>Designer</SubType>
</None>
<EmbeddedResource Include="VSPackage.zh-Hans.resx" >
<MergeWithCTO>true</MergeWithCTO>
<LogicalName>VSPackage.zh-Hans.resources</LogicalName>
<DependentUpon>VSPackage.resx</DependentUpon>
</EmbeddedResource> </EmbeddedResource>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>
<None Include="GitHub.VisualStudio.vsct">
<SubType>Designer</SubType>
</None>
<VSCTCompile Include="GitHub.VisualStudio.en-US.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<DependentUpon>GitHub.VisualStudio.vsct</DependentUpon>
</VSCTCompile>
<VSCTCompile Include="GitHub.VisualStudio.zh-Hans.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<DependentUpon>GitHub.VisualStudio.vsct</DependentUpon>
</VSCTCompile>
<Content Include="Resources\preview_200x200.png"> <Content Include="Resources\preview_200x200.png">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory> <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<IncludeInVSIX>true</IncludeInVSIX> <IncludeInVSIX>true</IncludeInVSIX>
@ -519,6 +490,12 @@
</None> </None>
<None Include="..\..\build\version" /> <None Include="..\..\build\version" />
</ItemGroup> </ItemGroup>
<ItemGroup>
<VSCTCompile Include="GitHub.VisualStudio.vsct">
<ResourceName>Menus.ctmenu</ResourceName>
<SubType>Designer</SubType>
</VSCTCompile>
</ItemGroup>
<ItemGroup> <ItemGroup>
<CodeAnalysisDictionary Include="..\common\CodeAnalysisDictionary.xml"> <CodeAnalysisDictionary Include="..\common\CodeAnalysisDictionary.xml">
<Link>Properties\CodeAnalysisDictionary.xml</Link> <Link>Properties\CodeAnalysisDictionary.xml</Link>
@ -706,16 +683,22 @@
<Project>{600998c4-54dd-4755-bfa8-6f44544d8e2e}</Project> <Project>{600998c4-54dd-4755-bfa8-6f44544d8e2e}</Project>
<Name>ReactiveUI.Events_Net45</Name> <Name>ReactiveUI.Events_Net45</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\..\submodules\reactiveui\ReactiveUI\ReactiveUI_Net45.csproj"> <ProjectReference Include="..\..\submodules\reactiveui\ReactiveUI\ReactiveUI_Net45.csproj">
<Project>{1ce2d235-8072-4649-ba5a-cfb1af8776e0}</Project> <Project>{1ce2d235-8072-4649-ba5a-cfb1af8776e0}</Project>
<Name>ReactiveUI_Net45</Name> <Name>ReactiveUI_Net45</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\..\submodules\splat\Splat\Splat-Net45.csproj"> <ProjectReference Include="..\..\submodules\splat\Splat\Splat-Net45.csproj">
<Project>{252ce1c2-027a-4445-a3c2-e4d6c80a935a}</Project> <Project>{252ce1c2-027a-4445-a3c2-e4d6c80a935a}</Project>
<Name>Splat-Net45</Name> <Name>Splat-Net45</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\CredentialManagement\CredentialManagement.csproj"> <ProjectReference Include="..\CredentialManagement\CredentialManagement.csproj">
<Project>{41a47c5b-c606-45b4-b83c-22b9239e4da0}</Project> <Project>{41a47c5b-c606-45b4-b83c-22b9239e4da0}</Project>
@ -726,31 +709,43 @@
<Project>{b389adaf-62cc-486e-85b4-2d8b078df763}</Project> <Project>{b389adaf-62cc-486e-85b4-2d8b078df763}</Project>
<Name>GitHub.Api</Name> <Name>GitHub.Api</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.App\GitHub.App.csproj"> <ProjectReference Include="..\GitHub.App\GitHub.App.csproj">
<Project>{1a1da411-8d1f-4578-80a6-04576bea2dc5}</Project> <Project>{1a1da411-8d1f-4578-80a6-04576bea2dc5}</Project>
<Name>GitHub.App</Name> <Name>GitHub.App</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Exports.Reactive\GitHub.Exports.Reactive.csproj"> <ProjectReference Include="..\GitHub.Exports.Reactive\GitHub.Exports.Reactive.csproj">
<Project>{e4ed0537-d1d9-44b6-9212-3096d7c3f7a1}</Project> <Project>{e4ed0537-d1d9-44b6-9212-3096d7c3f7a1}</Project>
<Name>GitHub.Exports.Reactive</Name> <Name>GitHub.Exports.Reactive</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup%3bGetCopyToOutputDirectoryItems%3bDebugSymbolsProjectOutputGroup%3bBuiltProjectOutputGroup%3bBuiltProjectOutputGroupDependencies%3bGetCopyToOutputDirectoryItems%3bSatelliteDllsProjectOutputGroup%3b</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup%3b</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Exports\GitHub.Exports.csproj"> <ProjectReference Include="..\GitHub.Exports\GitHub.Exports.csproj">
<Project>{9aea02db-02b5-409c-b0ca-115d05331a6b}</Project> <Project>{9aea02db-02b5-409c-b0ca-115d05331a6b}</Project>
<Name>GitHub.Exports</Name> <Name>GitHub.Exports</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Extensions.Reactive\GitHub.Extensions.Reactive.csproj"> <ProjectReference Include="..\GitHub.Extensions.Reactive\GitHub.Extensions.Reactive.csproj">
<Project>{6559e128-8b40-49a5-85a8-05565ed0c7e3}</Project> <Project>{6559e128-8b40-49a5-85a8-05565ed0c7e3}</Project>
<Name>GitHub.Extensions.Reactive</Name> <Name>GitHub.Extensions.Reactive</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Extensions\GitHub.Extensions.csproj"> <ProjectReference Include="..\GitHub.Extensions\GitHub.Extensions.csproj">
<Project>{6afe2e2d-6db0-4430-a2ea-f5f5388d2f78}</Project> <Project>{6afe2e2d-6db0-4430-a2ea-f5f5388d2f78}</Project>
<Name>GitHub.Extensions</Name> <Name>GitHub.Extensions</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Logging\GitHub.Logging.csproj"> <ProjectReference Include="..\GitHub.Logging\GitHub.Logging.csproj">
<Project>{8d73575a-a89f-47cc-b153-b47dd06837f0}</Project> <Project>{8d73575a-a89f-47cc-b153-b47dd06837f0}</Project>
@ -760,6 +755,8 @@
<Project>{7f5ed78b-74a3-4406-a299-70cfb5885b8b}</Project> <Project>{7f5ed78b-74a3-4406-a299-70cfb5885b8b}</Project>
<Name>GitHub.InlineReviews</Name> <Name>GitHub.InlineReviews</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.Services.Vssdk\GitHub.Services.Vssdk.csproj"> <ProjectReference Include="..\GitHub.Services.Vssdk\GitHub.Services.Vssdk.csproj">
<Project>{2d3d2834-33be-45ca-b3cc-12f853557d7b}</Project> <Project>{2d3d2834-33be-45ca-b3cc-12f853557d7b}</Project>
@ -769,33 +766,45 @@
<Project>{50e277b8-8580-487a-8f8e-5c3b9fbf0f77}</Project> <Project>{50e277b8-8580-487a-8f8e-5c3b9fbf0f77}</Project>
<Name>GitHub.StartPage</Name> <Name>GitHub.StartPage</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;PkgdefProjectOutputGroup</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.TeamFoundation.14\GitHub.TeamFoundation.14.csproj"> <ProjectReference Include="..\GitHub.TeamFoundation.14\GitHub.TeamFoundation.14.csproj">
<Project>{161dbf01-1dbf-4b00-8551-c5c00f26720d}</Project> <Project>{161dbf01-1dbf-4b00-8551-c5c00f26720d}</Project>
<Name>GitHub.TeamFoundation.14</Name> <Name>GitHub.TeamFoundation.14</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
<Aliases>TF14</Aliases> <Aliases>TF14</Aliases>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.TeamFoundation.15\GitHub.TeamFoundation.15.csproj"> <ProjectReference Include="..\GitHub.TeamFoundation.15\GitHub.TeamFoundation.15.csproj">
<Project>{161dbf01-1dbf-4b00-8551-c5c00f26720e}</Project> <Project>{161dbf01-1dbf-4b00-8551-c5c00f26720e}</Project>
<Name>GitHub.TeamFoundation.15</Name> <Name>GitHub.TeamFoundation.15</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
<Aliases>TF15</Aliases> <Aliases>TF15</Aliases>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.UI.Reactive\GitHub.UI.Reactive.csproj"> <ProjectReference Include="..\GitHub.UI.Reactive\GitHub.UI.Reactive.csproj">
<Project>{158b05e8-fdbc-4d71-b871-c96e28d5adf5}</Project> <Project>{158b05e8-fdbc-4d71-b871-c96e28d5adf5}</Project>
<Name>GitHub.UI.Reactive</Name> <Name>GitHub.UI.Reactive</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.UI\GitHub.UI.csproj"> <ProjectReference Include="..\GitHub.UI\GitHub.UI.csproj">
<Project>{346384dd-2445-4a28-af22-b45f3957bd89}</Project> <Project>{346384dd-2445-4a28-af22-b45f3957bd89}</Project>
<Name>GitHub.UI</Name> <Name>GitHub.UI</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
<ProjectReference Include="..\GitHub.VisualStudio.UI\GitHub.VisualStudio.UI.csproj"> <ProjectReference Include="..\GitHub.VisualStudio.UI\GitHub.VisualStudio.UI.csproj">
<Project>{d1dfbb0c-b570-4302-8f1e-2e3a19c41961}</Project> <Project>{d1dfbb0c-b570-4302-8f1e-2e3a19c41961}</Project>
<Name>GitHub.VisualStudio.UI</Name> <Name>GitHub.VisualStudio.UI</Name>
<Private>True</Private> <Private>True</Private>
<IncludeOutputGroupsInVSIX>BuiltProjectOutputGroup;GetCopyToOutputDirectoryItems;DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIX>
<IncludeOutputGroupsInVSIXLocalOnly>DebugSymbolsProjectOutputGroup;</IncludeOutputGroupsInVSIXLocalOnly>
</ProjectReference> </ProjectReference>
</ItemGroup> </ItemGroup>
<ItemGroup> <ItemGroup>

Просмотреть файл

@ -1,271 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<CommandTable
xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This is the file that defines the actual layout and type of the commands.
It is divided in different sections (e.g. command definition, command
placement, ...), with each defining a specific set of properties.
See the comment before each section for more details about how to
use it. -->
<!-- The VSCT compiler (the tool that translates this file into the binary
format that VisualStudio will consume) has the ability to run a preprocessor
on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
it is possible to define includes and macros with the same syntax used
in C++ files. Using this ability of the compiler here, we include some files
defining some of the constants that we will use inside the file. -->
<Include href="GitHub.VisualStudio.vsct" />
<!--The Commands section is where we the commands, menus and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidGitHubPkg">
<Menus>
<Menu guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" priority="0x0000" type="ToolWindowToolbar">
<Strings>
<ButtonText>WindowToolBar</ButtonText>
<CommandName>Window Toolbar</CommandName>
</Strings>
</Menu>
<Menu guid="guidContextMenuSet" id="idGitHubContextMenu" priority="0x200" type="Menu">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenuGroup" />
<Strings>
<ButtonText>GitHub</ButtonText>
<CommandName>GitHub</CommandName>
</Strings>
</Menu>
</Menus>
<Groups>
<Group guid="guidGitHubCmdSet" id="idGitHubMenuGroup" priority="0x0500">
<Parent guid="guidManageConnections" id="idManageConnections" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup" priority="0x0500">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup1" priority="0x0501">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarHelpMenuGroup" priority="0x0502">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextMenuGroup">
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextSubMenuGroup" priority="0x0000">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenu"/>
</Group>
</Groups>
<!-- Parenting of buttons is done in the CommandPlacements section -->
<Buttons>
<Button guid="guidGitHubCmdSet" id="addConnectionCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>&amp;Connect to GitHub</ButtonText>
<CanonicalName>.GitHub.ConnectToGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ConnectToGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showGitHubPaneCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>GitHub</ButtonText>
<CanonicalName>.GitHub.ShowGitHubPane</CanonicalName>
<LocCanonicalName>.GitHub.ShowGitHubPane</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showCurrentPullRequestCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Show Current Pull Request</ButtonText>
<CanonicalName>.GitHub.ShowCurrentPullRequest</CanonicalName>
<LocCanonicalName>.GitHub.ShowCurrentPullRequest</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="syncSubmodulesCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Sync Submodules</ButtonText>
<CanonicalName>.GitHub.SyncSubmodules</CanonicalName>
<LocCanonicalName>.GitHub.SyncSubmodules</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromUrlCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<Strings>
<ButtonText>Open from GitHub...</ButtonText>
<CanonicalName>.GitHub.OpenFromUrl</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromUrl</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromClipboardCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Open from clipboard</ButtonText>
<CanonicalName>.GitHub.OpenFromClipboard</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromClipboard</LocCanonicalName>
</Strings>
</Button>
<!--- Toolbar buttons -->
<Button guid="guidGitHubToolbarCmdSet" id="backCommand" type="Button">
<Icon guid="guidImages" id="arrow_left" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Back</ButtonText>
<CanonicalName>.GitHub.Back</CanonicalName>
<LocCanonicalName>.GitHub.Back</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="forwardCommand" type="Button">
<Icon guid="guidImages" id="arrow_right" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Forward</ButtonText>
<CanonicalName>.GitHub.Forward</CanonicalName>
<LocCanonicalName>.GitHub.Forward</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="pullRequestCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Pull Requests</ButtonText>
<CanonicalName>.GitHub.PullRequests</CanonicalName>
<LocCanonicalName>.GitHub.PullRequests</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="refreshCommand" type="Button">
<Icon guid="guidImages" id="refresh" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Refresh</ButtonText>
<CanonicalName>.GitHub.Refresh</CanonicalName>
<LocCanonicalName>.GitHub.Refresh</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="githubCommand" type="Button">
<Icon guid="guidImages" id="logo_toolbar" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>View on GitHub</ButtonText>
<CanonicalName>.GitHub.ViewOnGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ViewOnGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="helpCommand" type="Button">
<Icon guid="guidImages" id="question" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Help</ButtonText>
<CanonicalName>.GitHub.Help</CanonicalName>
<LocCanonicalName>.GitHub.Help</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistCommand" priority="0x0100" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Create a GitHub Gist</ButtonText>
<CanonicalName>.GitHub.CreateGist</CanonicalName>
<LocCanonicalName>.GitHub.CreateGist</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistEnterpriseCommand" priority="0x0101" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Create an Enterprise Gist</ButtonText>
<CanonicalName>.GitHub.CreateGistEnterprise</CanonicalName>
<LocCanonicalName>.GitHub.CreateGistEnterprise</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="openLinkCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Open on GitHub</ButtonText>
<CanonicalName>.GitHub.OpenLink</CanonicalName>
<LocCanonicalName>.GitHub.OpenLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="copyLinkCommand" type="Button">
<Icon guid="guidImages" id="clippy" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Copy link to clipboard</ButtonText>
<CanonicalName>.GitHub.CopyLink</CanonicalName>
<LocCanonicalName>.GitHub.CopyLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idBlameCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Blame</ButtonText>
<CanonicalName>.GitHub.Blame</CanonicalName>
<LocCanonicalName>.GitHub.Blame</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="goToSolutionOrPullRequestFileCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Go To Solution/PR File</ButtonText>
<CanonicalName>.GitHub.GoToSolutionOrPRFile</CanonicalName>
<LocCanonicalName>.GitHub.GoToSolutionOrPRFile</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
</CommandTable>

Просмотреть файл

@ -24,7 +24,260 @@
<!--The Commands section is where we the commands, menus and menu groups are defined. <!--The Commands section is where we the commands, menus and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. --> This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidGitHubPkg">
<Groups>
<Group guid="guidGitHubCmdSet" id="idGitHubMenuGroup" priority="0x0500">
<Parent guid="guidManageConnections" id="idManageConnections" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup" priority="0x0500">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup1" priority="0x0501">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarHelpMenuGroup" priority="0x0502">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextMenuGroup">
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextSubMenuGroup" priority="0x0000">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenu"/>
</Group>
</Groups>
<Menus>
<Menu guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" priority="0x0000" type="ToolWindowToolbar">
<Strings>
<ButtonText>WindowToolBar</ButtonText>
<CommandName>Window Toolbar</CommandName>
</Strings>
</Menu>
<Menu guid="guidContextMenuSet" id="idGitHubContextMenu" priority="0x200" type="Menu">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenuGroup" />
<Strings>
<ButtonText>GitHub</ButtonText>
<CommandName>GitHub</CommandName>
</Strings>
</Menu>
</Menus>
<!-- Parenting of buttons is done in the CommandPlacements section -->
<Buttons>
<Button guid="guidGitHubCmdSet" id="addConnectionCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>&amp;Connect to GitHub</ButtonText>
<CanonicalName>.GitHub.ConnectToGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ConnectToGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showGitHubPaneCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>GitHub</ButtonText>
<CanonicalName>.GitHub.ShowGitHubPane</CanonicalName>
<LocCanonicalName>.GitHub.ShowGitHubPane</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showCurrentPullRequestCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Show Current Pull Request</ButtonText>
<CanonicalName>.GitHub.ShowCurrentPullRequest</CanonicalName>
<LocCanonicalName>.GitHub.ShowCurrentPullRequest</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="syncSubmodulesCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Sync Submodules</ButtonText>
<CanonicalName>.GitHub.SyncSubmodules</CanonicalName>
<LocCanonicalName>.GitHub.SyncSubmodules</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromUrlCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<Strings>
<ButtonText>Open from GitHub...</ButtonText>
<CanonicalName>.GitHub.OpenFromUrl</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromUrl</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromClipboardCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Open from clipboard</ButtonText>
<CanonicalName>.GitHub.OpenFromClipboard</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromClipboard</LocCanonicalName>
</Strings>
</Button>
<!--- Toolbar buttons -->
<Button guid="guidGitHubToolbarCmdSet" id="backCommand" type="Button">
<Icon guid="guidImages" id="arrow_left" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Back</ButtonText>
<CanonicalName>.GitHub.Back</CanonicalName>
<LocCanonicalName>.GitHub.Back</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="forwardCommand" type="Button">
<Icon guid="guidImages" id="arrow_right" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Forward</ButtonText>
<CanonicalName>.GitHub.Forward</CanonicalName>
<LocCanonicalName>.GitHub.Forward</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="pullRequestCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Pull Requests</ButtonText>
<CanonicalName>.GitHub.PullRequests</CanonicalName>
<LocCanonicalName>.GitHub.PullRequests</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="refreshCommand" type="Button">
<Icon guid="guidImages" id="refresh" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>Refresh</ButtonText>
<CanonicalName>.GitHub.Refresh</CanonicalName>
<LocCanonicalName>.GitHub.Refresh</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="githubCommand" type="Button">
<Icon guid="guidImages" id="logo_toolbar" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>View on GitHub</ButtonText>
<CanonicalName>.GitHub.ViewOnGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ViewOnGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="helpCommand" type="Button">
<Icon guid="guidImages" id="question" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>Help</ButtonText>
<CanonicalName>.GitHub.Help</CanonicalName>
<LocCanonicalName>.GitHub.Help</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistCommand" priority="0x0100" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Create a GitHub Gist</ButtonText>
<CanonicalName>.GitHub.CreateGist</CanonicalName>
<LocCanonicalName>.GitHub.CreateGist</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistEnterpriseCommand" priority="0x0101" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Create an Enterprise Gist</ButtonText>
<CanonicalName>.GitHub.CreateGistEnterprise</CanonicalName>
<LocCanonicalName>.GitHub.CreateGistEnterprise</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="openLinkCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Open on GitHub</ButtonText>
<CanonicalName>.GitHub.OpenLink</CanonicalName>
<LocCanonicalName>.GitHub.OpenLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="copyLinkCommand" type="Button">
<Icon guid="guidImages" id="clippy" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Copy link to clipboard</ButtonText>
<CanonicalName>.GitHub.CopyLink</CanonicalName>
<LocCanonicalName>.GitHub.CopyLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idBlameCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>Blame</ButtonText>
<CanonicalName>.GitHub.Blame</CanonicalName>
<LocCanonicalName>.GitHub.Blame</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="goToSolutionOrPullRequestFileCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText>Go To Solution/PR File</ButtonText>
<CanonicalName>.GitHub.GoToSolutionOrPRFile</CanonicalName>
<LocCanonicalName>.GitHub.GoToSolutionOrPRFile</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
<CommandPlacements> <CommandPlacements>

Просмотреть файл

@ -1,271 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<CommandTable
xmlns="http://schemas.microsoft.com/VisualStudio/2005-10-18/CommandTable"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
<!-- This is the file that defines the actual layout and type of the commands.
It is divided in different sections (e.g. command definition, command
placement, ...), with each defining a specific set of properties.
See the comment before each section for more details about how to
use it. -->
<!-- The VSCT compiler (the tool that translates this file into the binary
format that VisualStudio will consume) has the ability to run a preprocessor
on the vsct file; this preprocessor is (usually) the C++ preprocessor, so
it is possible to define includes and macros with the same syntax used
in C++ files. Using this ability of the compiler here, we include some files
defining some of the constants that we will use inside the file. -->
<Include href="GitHub.VisualStudio.vsct" />
<!--The Commands section is where we the commands, menus and menu groups are defined.
This section uses a Guid to identify the package that provides the command defined inside it. -->
<Commands package="guidGitHubPkg">
<Menus>
<Menu guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" priority="0x0000" type="ToolWindowToolbar">
<Strings>
<ButtonText>WindowToolBar</ButtonText>
<CommandName>Window Toolbar</CommandName>
</Strings>
</Menu>
<Menu guid="guidContextMenuSet" id="idGitHubContextMenu" priority="0x200" type="Menu">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenuGroup" />
<Strings>
<ButtonText>GitHub</ButtonText>
<CommandName>GitHub</CommandName>
</Strings>
</Menu>
</Menus>
<Groups>
<Group guid="guidGitHubCmdSet" id="idGitHubMenuGroup" priority="0x0500">
<Parent guid="guidManageConnections" id="idManageConnections" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup" priority="0x0500">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarMenuGroup1" priority="0x0501">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidGitHubToolbarCmdSet" id="idGitHubToolbarHelpMenuGroup" priority="0x0502">
<Parent guid="guidGitHubToolbarCmdSet" id="idGitHubToolbar" />
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextMenuGroup">
</Group>
<Group guid="guidContextMenuSet" id="idGitHubContextSubMenuGroup" priority="0x0000">
<Parent guid="guidContextMenuSet" id="idGitHubContextMenu"/>
</Group>
</Groups>
<!-- Parenting of buttons is done in the CommandPlacements section -->
<Buttons>
<Button guid="guidGitHubCmdSet" id="addConnectionCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>连接至GitHub(&amp;C)</ButtonText>
<CanonicalName>.GitHub.ConnectToGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ConnectToGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showGitHubPaneCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>GitHub</ButtonText>
<CanonicalName>.GitHub.ShowGitHubPane</CanonicalName>
<LocCanonicalName>.GitHub.ShowGitHubPane</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="showCurrentPullRequestCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>显示当前推送请求</ButtonText>
<CanonicalName>.GitHub.ShowCurrentPullRequest</CanonicalName>
<LocCanonicalName>.GitHub.ShowCurrentPullRequest</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="syncSubmodulesCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>同步子模块</ButtonText>
<CanonicalName>.GitHub.SyncSubmodules</CanonicalName>
<LocCanonicalName>.GitHub.SyncSubmodules</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromUrlCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<Strings>
<ButtonText>从GitHub打开...</ButtonText>
<CanonicalName>.GitHub.OpenFromUrl</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromUrl</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubCmdSet" id="openFromClipboardCommand" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>AllowParams</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>从剪贴板打开</ButtonText>
<CanonicalName>.GitHub.OpenFromClipboard</CanonicalName>
<LocCanonicalName>.GitHub.OpenFromClipboard</LocCanonicalName>
</Strings>
</Button>
<!--- Toolbar buttons -->
<Button guid="guidGitHubToolbarCmdSet" id="backCommand" type="Button">
<Icon guid="guidImages" id="arrow_left" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>后退</ButtonText>
<CanonicalName>.GitHub.Back</CanonicalName>
<LocCanonicalName>.GitHub.Back</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="forwardCommand" type="Button">
<Icon guid="guidImages" id="arrow_right" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>前进</ButtonText>
<CanonicalName>.GitHub.Forward</CanonicalName>
<LocCanonicalName>.GitHub.Forward</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="pullRequestCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>推送请求</ButtonText>
<CanonicalName>.GitHub.PullRequests</CanonicalName>
<LocCanonicalName>.GitHub.PullRequests</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="refreshCommand" type="Button">
<Icon guid="guidImages" id="refresh" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>刷新</ButtonText>
<CanonicalName>.GitHub.Refresh</CanonicalName>
<LocCanonicalName>.GitHub.Refresh</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="githubCommand" type="Button">
<Icon guid="guidImages" id="logo_toolbar" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultDisabled</CommandFlag>
<Strings>
<ButtonText>在GitHub查看</ButtonText>
<CanonicalName>.GitHub.ViewOnGitHub</CanonicalName>
<LocCanonicalName>.GitHub.ViewOnGitHub</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidGitHubToolbarCmdSet" id="helpCommand" type="Button">
<Icon guid="guidImages" id="question" />
<CommandFlag>IconIsMoniker</CommandFlag>
<Strings>
<ButtonText>帮助</ButtonText>
<CanonicalName>.GitHub.Help</CanonicalName>
<LocCanonicalName>.GitHub.Help</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistCommand" priority="0x0100" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>创建GitHub Gist</ButtonText>
<CanonicalName>.GitHub.CreateGist</CanonicalName>
<LocCanonicalName>.GitHub.CreateGist</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idCreateGistEnterpriseCommand" priority="0x0101" type="Button">
<Icon guid="guidImages" id="logo" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>创建企业 Gist</ButtonText>
<CanonicalName>.GitHub.CreateGistEnterprise</CanonicalName>
<LocCanonicalName>.GitHub.CreateGistEnterprise</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="openLinkCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>在GitHub打开</ButtonText>
<CanonicalName>.GitHub.OpenLink</CanonicalName>
<LocCanonicalName>.GitHub.OpenLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="copyLinkCommand" type="Button">
<Icon guid="guidImages" id="clippy" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>复制链接</ButtonText>
<CanonicalName>.GitHub.CopyLink</CanonicalName>
<LocCanonicalName>.GitHub.CopyLink</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="idBlameCommand" type="Button">
<Icon guid="guidImages" id="link_external" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<Strings>
<ButtonText>追溯</ButtonText>
<CanonicalName>.GitHub.Blame</CanonicalName>
<LocCanonicalName>.GitHub.Blame</LocCanonicalName>
</Strings>
</Button>
<Button guid="guidContextMenuSet" id="goToSolutionOrPullRequestFileCommand" type="Button">
<Icon guid="guidImages" id="pullrequest" />
<CommandFlag>IconIsMoniker</CommandFlag>
<CommandFlag>DefaultInvisible</CommandFlag>
<CommandFlag>DynamicVisibility</CommandFlag>
<CommandFlag>TextChanges</CommandFlag>
<Strings>
<ButtonText> 转到解决方案/PR文件</ButtonText>
<CanonicalName>.GitHub.GoToSolutionOrPRFile</CanonicalName>
<LocCanonicalName>.GitHub.GoToSolutionOrPRFile</LocCanonicalName>
</Strings>
</Button>
</Buttons>
</Commands>
</CommandTable>

Просмотреть файл

@ -1,13 +1,12 @@
using System; using System;
using System.Reflection; using System.Reflection;
using System.Resources;
using System.Runtime.InteropServices; using System.Runtime.InteropServices;
using System.Windows.Markup; using System.Windows.Markup;
[assembly: AssemblyTitle("GitHub.VisualStudio")] [assembly: AssemblyTitle("GitHub.VisualStudio")]
[assembly: AssemblyDescription("GitHub for Visual Studio VSPackage")] [assembly: AssemblyDescription("GitHub for Visual Studio VSPackage")]
[assembly: Guid("fad77eaa-3fe1-4c4b-88dc-3753b6263cd7")] [assembly: Guid("fad77eaa-3fe1-4c4b-88dc-3753b6263cd7")]
[assembly: NeutralResourcesLanguage("en-US", UltimateResourceFallbackLocation.Satellite)]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views")]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views.Dialog")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views.Dialog")]
[assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views.GitHubPane")] [assembly: XmlnsDefinition("https://github.com/github/VisualStudio", "GitHub.VisualStudio.Views.GitHubPane")]

603
src/GitHub.VisualStudio/Resources.Designer.cs сгенерированный Normal file
Просмотреть файл

@ -0,0 +1,603 @@
//------------------------------------------------------------------------------
// <auto-generated>
// This code was generated by a tool.
// Runtime Version:4.0.30319.42000
//
// Changes to this file may cause incorrect behavior and will be lost if
// the code is regenerated.
// </auto-generated>
//------------------------------------------------------------------------------
namespace GitHub.VisualStudio {
using System;
/// <summary>
/// A strongly-typed resource class, for looking up localized strings, etc.
/// </summary>
// This class was auto-generated by the StronglyTypedResourceBuilder
// class via a tool like ResGen or Visual Studio.
// To add or remove a member, edit your .ResX file then rerun ResGen
// with the /str option, or rebuild your VS project.
[global::System.CodeDom.Compiler.GeneratedCodeAttribute("System.Resources.Tools.StronglyTypedResourceBuilder", "4.0.0.0")]
[global::System.Diagnostics.DebuggerNonUserCodeAttribute()]
[global::System.Runtime.CompilerServices.CompilerGeneratedAttribute()]
public class Resources {
private static global::System.Resources.ResourceManager resourceMan;
private static global::System.Globalization.CultureInfo resourceCulture;
[global::System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1811:AvoidUncalledPrivateCode")]
internal Resources() {
}
/// <summary>
/// Returns the cached ResourceManager instance used by this class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Resources.ResourceManager ResourceManager {
get {
if (object.ReferenceEquals(resourceMan, null)) {
global::System.Resources.ResourceManager temp = new global::System.Resources.ResourceManager("GitHub.VisualStudio.Resources", typeof(Resources).Assembly);
resourceMan = temp;
}
return resourceMan;
}
}
/// <summary>
/// Overrides the current thread's CurrentUICulture property for all
/// resource lookups using this strongly typed resource class.
/// </summary>
[global::System.ComponentModel.EditorBrowsableAttribute(global::System.ComponentModel.EditorBrowsableState.Advanced)]
public static global::System.Globalization.CultureInfo Culture {
get {
return resourceCulture;
}
set {
resourceCulture = value;
}
}
/// <summary>
/// Looks up a localized string similar to Invalid authentication code.
/// </summary>
public static string authenticationFailedLabelContent {
get {
return ResourceManager.GetString("authenticationFailedLabelContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Try entering the code again or clicking the resend button to get a new authentication code..
/// </summary>
public static string authenticationFailedLabelMessage {
get {
return ResourceManager.GetString("authenticationFailedLabelMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Authentication code sent!.
/// </summary>
public static string authenticationSentLabelContent {
get {
return ResourceManager.GetString("authenticationSentLabelContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to If you do not receive the authentication code, contact support@github.com..
/// </summary>
public static string authenticationSentLabelMessage {
get {
return ResourceManager.GetString("authenticationSentLabelMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Powerful collaboration, code review, and code management for open source and private projects..
/// </summary>
public static string BlurbText {
get {
return ResourceManager.GetString("BlurbText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Browse.
/// </summary>
public static string browsePathButtonContent {
get {
return ResourceManager.GetString("browsePathButtonContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Cancel.
/// </summary>
public static string CancelLink {
get {
return ResourceManager.GetString("CancelLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Clone.
/// </summary>
public static string CloneLink {
get {
return ResourceManager.GetString("CloneLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not connect to github.com.
/// </summary>
public static string couldNotConnectToGitHubText {
get {
return ResourceManager.GetString("couldNotConnectToGitHubText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Could not connect to the server..
/// </summary>
public static string couldNotConnectToTheServerText {
get {
return ResourceManager.GetString("couldNotConnectToTheServerText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Create.
/// </summary>
public static string CreateLink {
get {
return ResourceManager.GetString("CreateLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Description (Optional).
/// </summary>
public static string descriptionOptionalText {
get {
return ResourceManager.GetString("descriptionOptionalText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Description.
/// </summary>
public static string descriptionText {
get {
return ResourceManager.GetString("descriptionText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Dont have an account? .
/// </summary>
public static string dontHaveAnAccountText {
get {
return ResourceManager.GetString("dontHaveAnAccountText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Dont have GitHub Enterprise? .
/// </summary>
public static string dontHaveGitHubEnterpriseText {
get {
return ResourceManager.GetString("dontHaveGitHubEnterpriseText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Please check your internet connection and try again..
/// </summary>
public static string dotComConnectionFailedMessageMessage {
get {
return ResourceManager.GetString("dotComConnectionFailedMessageMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to The host isn&apos;t available or is not a GitHub Enterprise server. Check the address and try again..
/// </summary>
public static string enterpriseConnectingFailedMessage {
get {
return ResourceManager.GetString("enterpriseConnectingFailedMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to GitHub Enterprise server address.
/// </summary>
public static string enterpriseUrlPromptText {
get {
return ResourceManager.GetString("enterpriseUrlPromptText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to File Name.
/// </summary>
public static string fileNameText {
get {
return ResourceManager.GetString("fileNameText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Search repositories.
/// </summary>
public static string filterTextPromptText {
get {
return ResourceManager.GetString("filterTextPromptText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to (forgot your password?).
/// </summary>
public static string ForgotPasswordLink {
get {
return ResourceManager.GetString("ForgotPasswordLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Get Started.
/// </summary>
public static string GetStartedLink {
get {
return ResourceManager.GetString("GetStartedLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Failed to create gist.
/// </summary>
public static string gistCreationFailedMessage {
get {
return ResourceManager.GetString("gistCreationFailedMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Connect….
/// </summary>
public static string GitHubInvitationSectionConnectLabel {
get {
return ResourceManager.GetString("GitHubInvitationSectionConnectLabel", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Publish to GitHub.
/// </summary>
public static string GitHubPublishSectionTitle {
get {
return ResourceManager.GetString("GitHubPublishSectionTitle", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Graphs.
/// </summary>
public static string GraphsNavigationItemText {
get {
return ResourceManager.GetString("GraphsNavigationItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Git ignore.
/// </summary>
public static string ignoreTemplateListText {
get {
return ResourceManager.GetString("ignoreTemplateListText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Issues.
/// </summary>
public static string IssuesNavigationItemText {
get {
return ResourceManager.GetString("IssuesNavigationItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Learn more.
/// </summary>
public static string learnMoreLink {
get {
return ResourceManager.GetString("learnMoreLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to License.
/// </summary>
public static string licenseListText {
get {
return ResourceManager.GetString("licenseListText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Some or all repositories may not have loaded. Close the dialog and try again..
/// </summary>
public static string loadingFailedMessageContent {
get {
return ResourceManager.GetString("loadingFailedMessageContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to An error occurred while loading repositories.
/// </summary>
public static string loadingFailedMessageMessage {
get {
return ResourceManager.GetString("loadingFailedMessageMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Local path.
/// </summary>
public static string localPathText {
get {
return ResourceManager.GetString("localPathText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Check your username and password, then try again.
/// </summary>
public static string LoginFailedMessage {
get {
return ResourceManager.GetString("LoginFailedMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Login failed..
/// </summary>
public static string LoginFailedText {
get {
return ResourceManager.GetString("LoginFailedText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Login.
/// </summary>
public static string LoginLink {
get {
return ResourceManager.GetString("LoginLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Private Repository.
/// </summary>
public static string makePrivateContent {
get {
return ResourceManager.GetString("makePrivateContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Private Gist.
/// </summary>
public static string makePrivateGist {
get {
return ResourceManager.GetString("makePrivateGist", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Name.
/// </summary>
public static string nameText {
get {
return ResourceManager.GetString("nameText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to To use this feature you need to sign in again..
/// </summary>
public static string needLogout {
get {
return ResourceManager.GetString("needLogout", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to No repositories.
/// </summary>
public static string noRepositoriesMessageText {
get {
return ResourceManager.GetString("noRepositoriesMessageText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to You are not logged in to {0}, so certain git operations may fail. [Login now]({1}).
/// </summary>
public static string NotLoggedInMessage {
get {
return ResourceManager.GetString("NotLoggedInMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Open the two-factor authentication app on your device to view your authentication code..
/// </summary>
public static string openTwoFactorAuthAppText {
get {
return ResourceManager.GetString("openTwoFactorAuthAppText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to or.
/// </summary>
public static string orText {
get {
return ResourceManager.GetString("orText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Password.
/// </summary>
public static string PasswordPrompt {
get {
return ResourceManager.GetString("PasswordPrompt", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Path.
/// </summary>
public static string pathText {
get {
return ResourceManager.GetString("pathText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Publish.
/// </summary>
public static string publishText {
get {
return ResourceManager.GetString("publishText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Pull Requests.
/// </summary>
public static string PullRequestsNavigationItemText {
get {
return ResourceManager.GetString("PullRequestsNavigationItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Pulse.
/// </summary>
public static string PulseNavigationItemText {
get {
return ResourceManager.GetString("PulseNavigationItemText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to This repository does not have a remote. Fill out the form to publish it to GitHub..
/// </summary>
public static string RepoDoesNotHaveRemoteText {
get {
return ResourceManager.GetString("RepoDoesNotHaveRemoteText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Repository Name.
/// </summary>
public static string RepoNameText {
get {
return ResourceManager.GetString("RepoNameText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Repository created successfully..
/// </summary>
public static string RepositoryPublishedMessage {
get {
return ResourceManager.GetString("RepositoryPublishedMessage", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Resend.
/// </summary>
public static string resendCodeButtonContent {
get {
return ResourceManager.GetString("resendCodeButtonContent", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Send the code to your registered SMS Device again.
/// </summary>
public static string resendCodeButtonToolTip {
get {
return ResourceManager.GetString("resendCodeButtonToolTip", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sign out.
/// </summary>
public static string SignOutLink {
get {
return ResourceManager.GetString("SignOutLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Sign up.
/// </summary>
public static string SignUpLink {
get {
return ResourceManager.GetString("SignUpLink", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Two-factor authentication.
/// </summary>
public static string twoFactorAuthText {
get {
return ResourceManager.GetString("twoFactorAuthText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Username or email.
/// </summary>
public static string UserNameOrEmailPromptText {
get {
return ResourceManager.GetString("UserNameOrEmailPromptText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Verify.
/// </summary>
public static string verifyText {
get {
return ResourceManager.GetString("verifyText", resourceCulture);
}
}
/// <summary>
/// Looks up a localized string similar to Wiki.
/// </summary>
public static string WikiNavigationItemText {
get {
return ResourceManager.GetString("WikiNavigationItemText", resourceCulture);
}
}
}
}

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="110" xml:space="preserve">
<value>GitHub.VisualStudio</value>
</data>
<data name="112" xml:space="preserve">
<value>A Visual Studio Extension that brings the GitHub Flow into Visual Studio.</value>
</data>
</root>

Просмотреть файл

@ -1,126 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<root>
<!--
Microsoft ResX Schema
Version 2.0
The primary goals of this format is to allow a simple XML format
that is mostly human readable. The generation and parsing of the
various data types are done through the TypeConverter classes
associated with the data types.
Example:
... ado.net/XML headers & schema ...
<resheader name="resmimetype">text/microsoft-resx</resheader>
<resheader name="version">2.0</resheader>
<resheader name="reader">System.Resources.ResXResourceReader, System.Windows.Forms, ...</resheader>
<resheader name="writer">System.Resources.ResXResourceWriter, System.Windows.Forms, ...</resheader>
<data name="Name1"><value>this is my long string</value><comment>this is a comment</comment></data>
<data name="Color1" type="System.Drawing.Color, System.Drawing">Blue</data>
<data name="Bitmap1" mimetype="application/x-microsoft.net.object.binary.base64">
<value>[base64 mime encoded serialized .NET Framework object]</value>
</data>
<data name="Icon1" type="System.Drawing.Icon, System.Drawing" mimetype="application/x-microsoft.net.object.bytearray.base64">
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
<comment>This is a comment</comment>
</data>
There are any number of "resheader" rows that contain simple
name/value pairs.
Each data row contains a name, and value. The row also contains a
type or mimetype. Type corresponds to a .NET class that support
text/value conversion through the TypeConverter architecture.
Classes that don't support this are serialized and stored with the
mimetype set.
The mimetype is used for serialized objects, and tells the
ResXResourceReader how to depersist the object. This is currently not
extensible. For a given mimetype the value must be set accordingly:
Note - application/x-microsoft.net.object.binary.base64 is the format
that the ResXResourceWriter will generate, however the reader can
read any of the formats listed below.
mimetype: application/x-microsoft.net.object.binary.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.soap.base64
value : The object must be serialized with
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
: and then encoded with base64 encoding.
mimetype: application/x-microsoft.net.object.bytearray.base64
value : The object must be serialized into a byte array
: using a System.ComponentModel.TypeConverter
: and then encoded with base64 encoding.
-->
<xsd:schema id="root" xmlns="" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:msdata="urn:schemas-microsoft-com:xml-msdata">
<xsd:import namespace="http://www.w3.org/XML/1998/namespace" />
<xsd:element name="root" msdata:IsDataSet="true">
<xsd:complexType>
<xsd:choice maxOccurs="unbounded">
<xsd:element name="metadata">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" />
</xsd:sequence>
<xsd:attribute name="name" use="required" type="xsd:string" />
<xsd:attribute name="type" type="xsd:string" />
<xsd:attribute name="mimetype" type="xsd:string" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="assembly">
<xsd:complexType>
<xsd:attribute name="alias" type="xsd:string" />
<xsd:attribute name="name" type="xsd:string" />
</xsd:complexType>
</xsd:element>
<xsd:element name="data">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
<xsd:element name="comment" type="xsd:string" minOccurs="0" msdata:Ordinal="2" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" msdata:Ordinal="1" />
<xsd:attribute name="type" type="xsd:string" msdata:Ordinal="3" />
<xsd:attribute name="mimetype" type="xsd:string" msdata:Ordinal="4" />
<xsd:attribute ref="xml:space" />
</xsd:complexType>
</xsd:element>
<xsd:element name="resheader">
<xsd:complexType>
<xsd:sequence>
<xsd:element name="value" type="xsd:string" minOccurs="0" msdata:Ordinal="1" />
</xsd:sequence>
<xsd:attribute name="name" type="xsd:string" use="required" />
</xsd:complexType>
</xsd:element>
</xsd:choice>
</xsd:complexType>
</xsd:element>
</xsd:schema>
<resheader name="resmimetype">
<value>text/microsoft-resx</value>
</resheader>
<resheader name="version">
<value>2.0</value>
</resheader>
<resheader name="reader">
<value>System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<resheader name="writer">
<value>System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</value>
</resheader>
<data name="110" xml:space="preserve">
<value>GitHub.VisualStudio</value>
</data>
<data name="112" xml:space="preserve">
<value>A Visual Studio Extension that brings the GitHub Flow into Visual Studio.</value>
</data>
</root>

Просмотреть файл

@ -5,7 +5,6 @@
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf" xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"
xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App" xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App"
xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
xmlns:ui="https://github.com/github/VisualStudio" xmlns:ui="https://github.com/github/VisualStudio"
VerticalAlignment="Top" VerticalAlignment="Top"
Margin="8" Margin="8"
@ -54,8 +53,9 @@
<ColumnDefinition Width="Auto" /> <ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" /> <ColumnDefinition Width="*" />
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<ui:OcticonImage Grid.Column="0" Icon="repo_forked" Height="16" Width="16" /> <ui:OcticonImage Grid.Column="0" Icon="repo_forked" Height="16" Width="16" />
<TextBlock Margin="8 0 0 0" Grid.Column="1" TextWrapping="Wrap" Text="{x:Static prop:Resources.ForkTheRepository}" /> <TextBlock Margin="8 0 0 0" Grid.Column="1" TextWrapping="Wrap">Fork the repository</TextBlock>
</Grid> </Grid>
<Grid Margin="0 16 0 0"> <Grid Margin="0 16 0 0">
@ -66,7 +66,7 @@
<ui:OcticonImage Grid.Column="0" Icon="home" Height="16" Width="16" /> <ui:OcticonImage Grid.Column="0" Icon="home" Height="16" Width="16" />
<TextBlock Margin="8 0 0 0" Grid.Column="1" TextWrapping="Wrap"> <TextBlock Margin="8 0 0 0" Grid.Column="1" TextWrapping="Wrap">
<Run Text="{x:Static prop:Resources.UpdateYourLocalRepositoryS}"/> <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">origin</Run> <Run Text="{x:Static prop:Resources.ToPointTo}"/> Update your local repository's <Run Style="{DynamicResource {x:Static markdig:Styles.CodeStyleKey}}">origin</Run> to point to
<Hyperlink><Run Text="{Binding DestinationRepository.CloneUrl, Mode=OneWay}"/></Hyperlink> <Hyperlink><Run Text="{Binding DestinationRepository.CloneUrl, Mode=OneWay}"/></Hyperlink>
</TextBlock> </TextBlock>
</Grid> </Grid>
@ -93,8 +93,8 @@
Visibility="{Binding Error, Converter={ui:NullToVisibilityConverter}}" Visibility="{Binding Error, Converter={ui:NullToVisibilityConverter}}"
HorizontalAlignment="Left" /> HorizontalAlignment="Left" />
<StackPanel Margin="0 8" Orientation="Horizontal" HorizontalAlignment="Right"> <StackPanel Margin="0 8" Orientation="Horizontal" HorizontalAlignment="Right">
<Button HorizontalAlignment="Right" Padding="16 4" BorderThickness="0" Margin="0 0 4 0" Click="backButton_OnClick" Content="{x:Static prop:Resources.Back}"></Button> <Button HorizontalAlignment="Right" Padding="16 4" BorderThickness="0" Margin="0 0 4 0" Click="backButton_OnClick">Back</Button>
<Button HorizontalAlignment="Right" Padding="16 4" BorderThickness="0" Click="repoForkButton_OnClick" Content="{x:Static prop:Resources.ForkRepository}"></Button> <Button HorizontalAlignment="Right" Padding="16 4" BorderThickness="0" Click="repoForkButton_OnClick">Fork Repository</Button>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>

Просмотреть файл

@ -109,7 +109,7 @@
</Grid> </Grid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<ghfvs:GitHubActionLink x:Name="dotComSsaLogInButton" Content="{x:Static prop:Resources.SignInWithYourBrowser}"></ghfvs:GitHubActionLink> <ghfvs:GitHubActionLink x:Name="dotComSsaLogInButton">Sign in with your browser</ghfvs:GitHubActionLink>
<ghfvs:OcticonImage Icon="link_external" Margin="0 1 0 0"/> <ghfvs:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
</StackPanel> </StackPanel>
@ -186,11 +186,11 @@
<ColumnDefinition Width="*"/> <ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions> </Grid.ColumnDefinitions>
<Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/> <Rectangle Grid.Column="0" Fill="#FFDDDDDD" Height="1"/>
<TextBlock Grid.Column="1" Margin="8,0,8,4" Text="{x:Static prop:Resources.orText}"></TextBlock> <TextBlock Grid.Column="1" Margin="8,0,8,4">or</TextBlock>
<Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/> <Rectangle Grid.Column="2" Fill="#FFDDDDDD" Height="1"/>
</Grid> </Grid>
<StackPanel Orientation="Horizontal" HorizontalAlignment="Center"> <StackPanel Orientation="Horizontal" HorizontalAlignment="Center">
<ghfvs:GitHubActionLink x:Name="enterpriseSsaLogInButton" Content="{x:Static prop:Resources.SignInWithYourBrowser}"></ghfvs:GitHubActionLink> <ghfvs:GitHubActionLink x:Name="enterpriseSsaLogInButton">Sign in with your browser</ghfvs:GitHubActionLink>
<ghfvs:OcticonImage Icon="link_external" Margin="0 1 0 0"/> <ghfvs:OcticonImage Icon="link_external" Margin="0 1 0 0"/>
</StackPanel> </StackPanel>
</StackPanel> </StackPanel>

Просмотреть файл

@ -32,12 +32,12 @@
Foreground="{DynamicResource GitHubVsWindowText}" Foreground="{DynamicResource GitHubVsWindowText}"
HorizontalAlignment="Center" HorizontalAlignment="Center"
FontSize="16" FontSize="16"
Content="{x:Static prop:Resources.SignInToGitHub}" /> Content="Sign in to GitHub" />
<TextBlock <TextBlock
TextWrapping="Wrap" TextWrapping="Wrap"
TextAlignment="Center" TextAlignment="Center"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Text="{x:Static prop:Resources.BlurbText}" /> Text="Powerful collaboration, code review, and code management for open source and private projects." />
<StackPanel <StackPanel
Margin="0,5" Margin="0,5"
HorizontalAlignment="Center" HorizontalAlignment="Center"

Просмотреть файл

@ -174,13 +174,13 @@
Margin="6,0,0,0" Margin="6,0,0,0"
HorizontalAlignment="Right" HorizontalAlignment="Right"
Command="{Binding CreatePullRequest}" Command="{Binding CreatePullRequest}"
Content="{x:Static prop:Resources.CreatePullRequest}" Content="Create pull request"
Style="{StaticResource GitHubVsPrimaryActionButton}" Style="{StaticResource GitHubVsPrimaryActionButton}"
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationCreateButton}"/> AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationCreateButton}"/>
<Button DockPanel.Dock="Right" <Button DockPanel.Dock="Right"
HorizontalAlignment="Right" HorizontalAlignment="Right"
Command="{Binding Cancel}" Command="{Binding Cancel}"
Content="{x:Static prop:Resources.CancelLink}" Content="Cancel"
Style="{StaticResource GitHubVsButton}" Style="{StaticResource GitHubVsButton}"
AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationCancelButton}"/> AutomationProperties.AutomationId="{x:Static ghfvs:AutomationIDs.PullRequestCreationCancelButton}"/>

Просмотреть файл

@ -154,7 +154,7 @@
Visibility="{Binding UpdateState.UpToDate, FallbackValue=Collapsed, Converter={ghfvs:BooleanToInverseVisibilityConverter}}"> Visibility="{Binding UpdateState.UpToDate, FallbackValue=Collapsed, Converter={ghfvs:BooleanToInverseVisibilityConverter}}">
<ghfvs:OcticonImage Icon="arrow_down"/> <ghfvs:OcticonImage Icon="arrow_down"/>
<TextBlock Text="{Binding UpdateState.CommitsBehind}" VerticalAlignment="Center"/> <TextBlock Text="{Binding UpdateState.CommitsBehind}" VerticalAlignment="Center"/>
<ghfvs:GitHubActionLink Content="{x:Static prop:Resources.Pull}" <ghfvs:GitHubActionLink Content="Pull"
Command="{Binding Pull}" Command="{Binding Pull}"
Margin="4,0" Margin="4,0"
ToolTip="{Binding UpdateState.PullToolTip}" ToolTip="{Binding UpdateState.PullToolTip}"
@ -162,7 +162,7 @@
VerticalAlignment="Center"/> VerticalAlignment="Center"/>
<ghfvs:OcticonImage Icon="arrow_up"/> <ghfvs:OcticonImage Icon="arrow_up"/>
<TextBlock Text="{Binding UpdateState.CommitsAhead}" VerticalAlignment="Center"/> <TextBlock Text="{Binding UpdateState.CommitsAhead}" VerticalAlignment="Center"/>
<ghfvs:GitHubActionLink Content="{x:Static prop:Resources.Push}" <ghfvs:GitHubActionLink Content="Push"
Command="{Binding Push}" Command="{Binding Push}"
Margin="4,0" Margin="4,0"
ToolTip="{Binding UpdateState.PushToolTip}" ToolTip="{Binding UpdateState.PushToolTip}"
@ -173,7 +173,7 @@
Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ghfvs:BooleanToVisibilityConverter}}" /> Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ghfvs:BooleanToVisibilityConverter}}" />
<TextBlock Margin="4 0 0 0" Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center" <TextBlock Margin="4 0 0 0" Text="{Binding UpdateState.SubmodulesToSync}" VerticalAlignment="Center"
Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ghfvs:BooleanToVisibilityConverter}}" /> Visibility="{Binding UpdateState.SyncSubmodulesEnabled, FallbackValue=Collapsed, Converter={ghfvs:BooleanToVisibilityConverter}}" />
<ghfvs:GitHubActionLink Content="{x:Static prop:Resources.Sync}" <ghfvs:GitHubActionLink Content="Sync"
Command="{Binding SyncSubmodules}" Command="{Binding SyncSubmodules}"
Margin="4 0" Margin="4 0"
ToolTip="{Binding UpdateState.SyncSubmodulesToolTip}" ToolTip="{Binding UpdateState.SyncSubmodulesToolTip}"
@ -207,7 +207,7 @@
<!-- Author and open time --> <!-- Author and open time -->
<ghfvs:SectionControl Name="descriptionSection" <ghfvs:SectionControl Name="descriptionSection"
HeaderText="{x:Static prop:Resources.Description}" HeaderText="Description"
IsExpanded="True" IsExpanded="True"
ghfvs:ScrollingVerticalStackPanel.IsFixed="true"> ghfvs:ScrollingVerticalStackPanel.IsFixed="true">
<StackPanel Orientation="Vertical"> <StackPanel Orientation="Vertical">
@ -221,7 +221,7 @@
<TextBlock VerticalAlignment="Center" Margin="4 0" TextWrapping="Wrap"> <TextBlock VerticalAlignment="Center" Margin="4 0" TextWrapping="Wrap">
<Run FontWeight="SemiBold" Text="{Binding Model.Author.Login, Mode=OneWay}" /> <Run FontWeight="SemiBold" Text="{Binding Model.Author.Login, Mode=OneWay}" />
<Run Text="{x:Static prop:Resources.Wrote}" /> <Run Text="wrote" />
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>
<!-- PR Body --> <!-- PR Body -->
@ -232,7 +232,7 @@
</ghfvs:SectionControl> </ghfvs:SectionControl>
<ghfvs:SectionControl Name="reviewsSection" <ghfvs:SectionControl Name="reviewsSection"
HeaderText="{x:Static prop:Resources.Reviewers}" HeaderText="Reviewers"
IsExpanded="True" IsExpanded="True"
Margin="0 8 0 0" Margin="0 8 0 0"
ghfvs:ScrollingVerticalStackPanel.IsFixed="true"> ghfvs:ScrollingVerticalStackPanel.IsFixed="true">

Просмотреть файл

@ -48,8 +48,8 @@
<Separator DockPanel.Dock="Left" Style="{StaticResource VerticalSeparator}" Margin="4 0" /> <Separator DockPanel.Dock="Left" Style="{StaticResource VerticalSeparator}" Margin="4 0" />
<ghfvs:GitHubActionLink DockPanel.Dock="Left" <ghfvs:GitHubActionLink DockPanel.Dock="Left"
Command="{Binding CreatePullRequest}" Content="{x:Static prop:Resources.CreateNew}"> Command="{Binding CreatePullRequest}">
Create New
</ghfvs:GitHubActionLink> </ghfvs:GitHubActionLink>
<ghfvs:DropDownButton Name="authorFilterDropDown" <ghfvs:DropDownButton Name="authorFilterDropDown"
@ -58,7 +58,7 @@
Cursor="Hand" Cursor="Hand"
Foreground="{DynamicResource GitHubActionLinkItemBrush}" Foreground="{DynamicResource GitHubActionLinkItemBrush}"
Padding="2" Padding="2"
ToolTip="{x:Static prop:Resources.FilterByAuthor}" ToolTip="Filter by Author"
VerticalAlignment="Center" VerticalAlignment="Center"
Visibility="{Binding Items.Count, Converter={ghfvs:CountToVisibilityConverter}}" Visibility="{Binding Items.Count, Converter={ghfvs:CountToVisibilityConverter}}"
PopupOpened="authorFilterDropDown_PopupOpened"> PopupOpened="authorFilterDropDown_PopupOpened">
@ -79,7 +79,7 @@
Cursor="Hand" Cursor="Hand"
Foreground="{DynamicResource GitHubActionLinkItemBrush}" Foreground="{DynamicResource GitHubActionLinkItemBrush}"
Padding="2" Padding="2"
ToolTip="{x:Static prop:Resources.SelectFork}" ToolTip="Select Fork"
VerticalAlignment="Center" VerticalAlignment="Center"
Visibility="{Binding Forks, Converter={ghfvs:NullToVisibilityConverter}}"> Visibility="{Binding Forks, Converter={ghfvs:NullToVisibilityConverter}}">
<ghfvs:OcticonImage Icon="repo_forked" Height="12" Width="12"/> <ghfvs:OcticonImage Icon="repo_forked" Height="12" Width="12"/>
@ -141,23 +141,22 @@
HorizontalAlignment="Center" HorizontalAlignment="Center"
FontSize="16" FontSize="16"
Margin="4" Margin="4"
Text="{x:Static prop:Resources.ThereArenTAnyOpenPullRequests}"/> Text="There aren't any open pull requests"/>
<TextBlock TextWrapping="Wrap" <TextBlock TextWrapping="Wrap"
TextAlignment="Center" TextAlignment="Center"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Margin="4" Margin="4"
Opacity="0.75" Opacity="0.75"
Text="{x:Static prop:Resources.PullRequestsLetYouTellOthersAboutChangesYouVePushedToARepositoryOnGitHub}"/> Text="Pull requests let you tell others about changes you've pushed to a repository on GitHub"/>
<TextBlock TextWrapping="Wrap" <TextBlock TextWrapping="Wrap"
TextAlignment="Center" TextAlignment="Center"
HorizontalAlignment="Center" HorizontalAlignment="Center"
Margin="4" Margin="4"
Opacity="0.75"> Opacity="0.75">
<Run Text="{x:Static prop:Resources.ToGetStartedYouCan}"></Run> To get started you can
<Hyperlink Command="{Binding CreatePullRequest}" <Hyperlink Command="{Binding CreatePullRequest}"
Foreground="{DynamicResource GitHubActionLinkItemBrush}" > Foreground="{DynamicResource GitHubActionLinkItemBrush}">
<Run Text="{x:Static prop:Resources.CreateAPullRequest}"></Run> create a pull request
</Hyperlink> </Hyperlink>
</TextBlock> </TextBlock>
</StackPanel> </StackPanel>
@ -173,9 +172,8 @@
HorizontalAlignment="Center" HorizontalAlignment="Center"
FontSize="16" FontSize="16"
Margin="4" Margin="4"
Text="{x:Static prop:Resources.NoResultsMatchedYourSearch}"/> Text="No results matched your search."/>
</StackPanel> </StackPanel>
</Grid> </Grid>
</DockPanel> </DockPanel>
</UserControl> </UserControl>

Просмотреть файл

@ -8,7 +8,6 @@
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI" xmlns:ui="clr-namespace:GitHub.UI;assembly=GitHub.UI"
xmlns:c="clr-namespace:GitHub.VisualStudio.UI.Controls;assembly=GitHub.VisualStudio.UI" xmlns:c="clr-namespace:GitHub.VisualStudio.UI.Controls;assembly=GitHub.VisualStudio.UI"
xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
xmlns:models="clr-namespace:GitHub.Models;assembly=GitHub.App" xmlns:models="clr-namespace:GitHub.Models;assembly=GitHub.App"
xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App" xmlns:sampleData="clr-namespace:GitHub.SampleData;assembly=GitHub.App"
xmlns:theming="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Imaging" xmlns:theming="clr-namespace:Microsoft.VisualStudio.PlatformUI;assembly=Microsoft.VisualStudio.Imaging"
@ -34,13 +33,13 @@
<ScrollViewer> <ScrollViewer>
<StackPanel Margin="8,0"> <StackPanel Margin="8,0">
<TextBlock FontSize="16" Margin="0 4 0 0"> <TextBlock FontSize="16" Margin="0 4 0 0">
<Run Text="{x:Static prop:Resources.SubmitYourReviewFor}"></Run> <Run>Submit your review for</Run>
<Hyperlink Command="{Binding NavigateToPullRequest}"> <Hyperlink Command="{Binding NavigateToPullRequest}">
<Run>#</Run><Run Text="{Binding PullRequestModel.Number, Mode=OneWay}"/> <Run>#</Run><Run Text="{Binding PullRequestModel.Number, Mode=OneWay}"/>
</Hyperlink> </Hyperlink>
</TextBlock> </TextBlock>
<TextBlock Foreground="{DynamicResource GitHubVsGrayText}" Text="{Binding PullRequestModel.Title}" TextWrapping="Wrap"/> <TextBlock Foreground="{DynamicResource GitHubVsGrayText}" Text="{Binding PullRequestModel.Title}" TextWrapping="Wrap"/>
<TextBlock Margin="0 12 0 4" Text="{x:Static prop:Resources.YourReviewSummary}"></TextBlock> <TextBlock Margin="0 12 0 4">Your review summary</TextBlock>
<TextBox AcceptsReturn="True" <TextBox AcceptsReturn="True"
Background="{DynamicResource VsBrush.BrandedUIBackground}" Background="{DynamicResource VsBrush.BrandedUIBackground}"
Foreground="{DynamicResource VsBrush.BrandedUIText}" Foreground="{DynamicResource VsBrush.BrandedUIText}"
@ -61,23 +60,23 @@
BorderThickness="1" BorderThickness="1"
Padding="4"> Padding="4">
<StackPanel Background="{DynamicResource GitHubVsToolWindowBackground}"> <StackPanel Background="{DynamicResource GitHubVsToolWindowBackground}">
<ui:GitHubActionLink Command="{Binding Comment}" Margin="4" Content="{x:Static prop:Resources.CommentOnly}"></ui:GitHubActionLink> <ui:GitHubActionLink Command="{Binding Comment}" Margin="4">Comment only</ui:GitHubActionLink>
<ui:GitHubActionLink Command="{Binding Approve}" <ui:GitHubActionLink Command="{Binding Approve}"
Visibility="{Binding CanApproveRequestChanges, Converter={ui:BooleanToVisibilityConverter}}" Visibility="{Binding CanApproveRequestChanges, Converter={ui:BooleanToVisibilityConverter}}"
Margin="4" Content="{x:Static prop:Resources.Approve}"> Margin="4">
Approve
</ui:GitHubActionLink> </ui:GitHubActionLink>
<ui:GitHubActionLink Command="{Binding RequestChanges}" <ui:GitHubActionLink Command="{Binding RequestChanges}"
Visibility="{Binding CanApproveRequestChanges, Converter={ui:BooleanToVisibilityConverter}}" Visibility="{Binding CanApproveRequestChanges, Converter={ui:BooleanToVisibilityConverter}}"
Margin="4" Content="{x:Static prop:Resources.RequestChanges}"> Margin="4">
Request changes
</ui:GitHubActionLink> </ui:GitHubActionLink>
</StackPanel> </StackPanel>
</Border> </Border>
</ui:DropDownButton.DropDownContent> </ui:DropDownButton.DropDownContent>
</ui:DropDownButton> </ui:DropDownButton>
<Rectangle Fill="{DynamicResource GitHubHeaderSeparatorBrush}" Width="1" Height="16" Margin="4 0"/> <Rectangle Fill="{DynamicResource GitHubHeaderSeparatorBrush}" Width="1" Height="16" Margin="4 0"/>
<ui:GitHubActionLink Command="{Binding Cancel}" VerticalAlignment="Center" Content="{x:Static prop:Resources.CancelLink}"></ui:GitHubActionLink> <ui:GitHubActionLink Command="{Binding Cancel}" VerticalAlignment="Center">Cancel</ui:GitHubActionLink>
</StackPanel> </StackPanel>
<TextBox Grid.Column="0" <TextBox Grid.Column="0"

Просмотреть файл

@ -6,7 +6,6 @@
xmlns:ghfvs="https://github.com/github/VisualStudio" xmlns:ghfvs="https://github.com/github/VisualStudio"
xmlns:local="clr-namespace:GitHub.VisualStudio.Views.GitHubPane" xmlns:local="clr-namespace:GitHub.VisualStudio.Views.GitHubPane"
xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf" xmlns:markdig="clr-namespace:Markdig.Wpf;assembly=Markdig.Wpf"
xmlns:prop="clr-namespace:GitHub.VisualStudio.UI;assembly=GitHub.VisualStudio.UI"
mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="300"> mc:Ignorable="d" d:DesignHeight="500" d:DesignWidth="300">
<d:DesignData.DataContext> <d:DesignData.DataContext>
@ -77,7 +76,7 @@
Margin="0 4" Margin="0 4"
Visibility="{Binding Body, Converter={ghfvs:NullToVisibilityConverter}}"> Visibility="{Binding Body, Converter={ghfvs:NullToVisibilityConverter}}">
<Expander.Header> <Expander.Header>
<TextBlock FontWeight="SemiBold" Text="{x:Static prop:Resources.Description}"></TextBlock> <TextBlock FontWeight="SemiBold">Description</TextBlock>
</Expander.Header> </Expander.Header>
<markdig:MarkdownViewer Margin="22 4 0 0" Markdown="{Binding Body}"/> <markdig:MarkdownViewer Margin="22 4 0 0" Markdown="{Binding Body}"/>
</Expander> </Expander>
@ -85,7 +84,7 @@
Margin="0 4" Margin="0 4"
Visibility="{Binding FileComments.Count, Converter={ghfvs:CountToVisibilityConverter}}"> Visibility="{Binding FileComments.Count, Converter={ghfvs:CountToVisibilityConverter}}">
<Expander.Header> <Expander.Header>
<TextBlock FontWeight="SemiBold" Text="{x:Static prop:Resources.Comments}"></TextBlock> <TextBlock FontWeight="SemiBold">Comments</TextBlock>
</Expander.Header> </Expander.Header>
<local:PullRequestFileCommentsView DataContext="{Binding FileComments}" <local:PullRequestFileCommentsView DataContext="{Binding FileComments}"
Margin="22 4 0 0"/> Margin="22 4 0 0"/>
@ -93,7 +92,7 @@
<Expander Margin="0 4" <Expander Margin="0 4"
Visibility="{Binding OutdatedFileComments.Count, Converter={ghfvs:CountToVisibilityConverter}}"> Visibility="{Binding OutdatedFileComments.Count, Converter={ghfvs:CountToVisibilityConverter}}">
<Expander.Header> <Expander.Header>
<TextBlock FontWeight="SemiBold" Text="{x:Static prop:Resources.OutdatedComments}"></TextBlock> <TextBlock FontWeight="SemiBold">Outdated comments</TextBlock>
</Expander.Header> </Expander.Header>
<local:PullRequestFileCommentsView DataContext="{Binding OutdatedFileComments}" <local:PullRequestFileCommentsView DataContext="{Binding OutdatedFileComments}"
Margin="22 4 0 0"/> Margin="22 4 0 0"/>

Просмотреть файл

@ -9,11 +9,11 @@ using System.Runtime.InteropServices;
[assembly: AssemblyInformationalVersion(AssemblyVersionInformation.Version)] [assembly: AssemblyInformationalVersion(AssemblyVersionInformation.Version)]
[assembly: ComVisible(false)] [assembly: ComVisible(false)]
[assembly: AssemblyCompany("GitHub, Inc.")] [assembly: AssemblyCompany("GitHub, Inc.")]
[assembly: AssemblyCopyright("Copyright ?GitHub, Inc. 2014-2016")] [assembly: AssemblyCopyright("Copyright © GitHub, Inc. 2014-2016")]
[assembly: AssemblyConfiguration("")] [assembly: AssemblyConfiguration("")]
[assembly: AssemblyTrademark("")] [assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")] [assembly: AssemblyCulture("")]
[assembly: NeutralResourcesLanguage("en-US")]
namespace System namespace System
{ {

Просмотреть файл

@ -4,7 +4,6 @@ using GitHub.Exports;
using GitHub.Primitives; using GitHub.Primitives;
using GitHub.Services; using GitHub.Services;
using GitHub.VisualStudio.Commands; using GitHub.VisualStudio.Commands;
using GitHub.VisualStudio.UI;
using Microsoft.VisualStudio; using Microsoft.VisualStudio;
using NSubstitute; using NSubstitute;
using NUnit.Framework; using NUnit.Framework;
@ -22,7 +21,7 @@ public class OpenFromClipboardCommandTests
await target.Execute(null); await target.Execute(null);
vsServices.Received(1).ShowMessageBoxInfo(Resources.NoGitHubUrlMessage); vsServices.Received(1).ShowMessageBoxInfo(OpenFromClipboardCommand.NoGitHubUrlMessage);
} }
[Test] [Test]
@ -35,27 +34,24 @@ public class OpenFromClipboardCommandTests
await target.Execute(null); await target.Execute(null);
vsServices.Received(1).ShowMessageBoxInfo(Resources.NoActiveRepositoryMessage); vsServices.Received(1).ShowMessageBoxInfo(OpenFromClipboardCommand.NoActiveRepositoryMessage);
} }
[Test] [Test]
public async Task UnknownLinkType() public async Task UnknownLinkType()
{ {
var context = new GitHubContext { LinkType = LinkType.Unknown }; var context = new GitHubContext { LinkType = LinkType.Unknown };
var expectMessage = string.Format(Resources.UnknownLinkTypeMessage, context.Url); var expectMessage = string.Format(OpenFromClipboardCommand.UnknownLinkTypeMessage, context.Url);
var activeRepositoryDir = "activeRepositoryDir"; var activeRepositoryDir = "activeRepositoryDir";
var vsServices = Substitute.For<IVSServices>(); var vsServices = Substitute.For<IVSServices>();
var target = CreateOpenFromClipboardCommand(vsServices: vsServices, contextFromClipboard: context, repositoryDir: activeRepositoryDir); var target = CreateOpenFromClipboardCommand(vsServices: vsServices, contextFromClipboard: context, repositoryDir: activeRepositoryDir);
await target.Execute(null); await target.Execute(null);
vsServices.Received(1).ShowMessageBoxInfo(expectMessage); vsServices.Received(1).ShowMessageBoxInfo(expectMessage);
} }
[Test] [TestCase("targetRepositoryName", "activeRepositoryName", OpenFromClipboardCommand.DifferentRepositoryMessage)]
public async Task DifferentLocalRepository_DifferentRepositoryMessage()
{
await DifferentLocalRepository("targetRepositoryName", "activeRepositoryName", Resources.DifferentRepositoryMessage);
}
[TestCase("SameRepositoryName", "SameRepositoryName", null)] [TestCase("SameRepositoryName", "SameRepositoryName", null)]
[TestCase("same_repository_name", "SAME_REPOSITORY_NAME", null)] [TestCase("same_repository_name", "SAME_REPOSITORY_NAME", null)]
public async Task DifferentLocalRepository(string targetRepositoryName, string activeRepositoryName, string expectMessage) public async Task DifferentLocalRepository(string targetRepositoryName, string activeRepositoryName, string expectMessage)
@ -79,25 +75,9 @@ public class OpenFromClipboardCommandTests
} }
} }
[TestCase("TargetOwner", "CurrentOwner", OpenFromClipboardCommand.NoResolveDifferentOwnerMessage)]
[Test] [TestCase("SameOwner", "SameOwner", OpenFromClipboardCommand.NoResolveSameOwnerMessage)]
public async Task CouldNotResolve_NoResolveDifferentOwnerMessage() [TestCase("sameowner", "SAMEOWNER", OpenFromClipboardCommand.NoResolveSameOwnerMessage)]
{
await CouldNotResolve("TargetOwner", "CurrentOwner", Resources.NoResolveDifferentOwnerMessage);
}
[Test]
public async Task CouldNotResolve_NoResolveSameOwnerMessage_SameOwner_SameOwner()
{
await CouldNotResolve("SameOwner", "SameOwner", Resources.NoResolveSameOwnerMessage);
}
[Test]
public async Task CouldNotResolve_NoResolveSameOwnerMessage_sameowner_SAMEOWNER()
{
await CouldNotResolve("sameowner", "SAMEOWNER", Resources.NoResolveSameOwnerMessage);
}
public async Task CouldNotResolve(string targetOwner, string currentOwner, string expectMessage) public async Task CouldNotResolve(string targetOwner, string currentOwner, string expectMessage)
{ {
var repositoryDir = "repositoryDir"; var repositoryDir = "repositoryDir";
@ -146,13 +126,9 @@ public class OpenFromClipboardCommandTests
vsServices.DidNotReceiveWithAnyArgs().ShowMessageBoxInfo(null); vsServices.DidNotReceiveWithAnyArgs().ShowMessageBoxInfo(null);
gitHubContextService.Received(1).TryOpenFile(repositoryDir, context); gitHubContextService.Received(1).TryOpenFile(repositoryDir, context);
} }
[Test]
public async Task HasChangesInWorkingDirectorye_ChangesInWorkingDirectoryMessage()
{
await HasChangesInWorkingDirectory(false, Resources.ChangesInWorkingDirectoryMessage, 1, 1);
}
[TestCase(true, null, 1, 0)] [TestCase(true, null, 1, 0)]
[TestCase(false, OpenFromClipboardCommand.ChangesInWorkingDirectoryMessage, 1, 1)]
public async Task HasChangesInWorkingDirectory(bool annotateFileSupported, string message, public async Task HasChangesInWorkingDirectory(bool annotateFileSupported, string message,
int receivedTryAnnotateFile, int receivedTryOpenFile) int receivedTryAnnotateFile, int receivedTryOpenFile)
{ {