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

Localization of GHfVS for Chinese - Simplified and Traditional #1714

Merged
merged 35 commits into from
Aug 10, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
1d1225b
Start localization
maikebing Jun 1, 2018
52d0e0e
modify vsct file and tran chinese
maikebing Jun 1, 2018
5af3313
add en-US
maikebing Jun 2, 2018
1fba9c0
GitHub.InlineReviews’s Chinese is done!
maikebing Jun 2, 2018
a2c45a0
Some of the statements were extracted, and most of the interfaces are…
maikebing Jun 2, 2018
67dfd6a
Chinese interface shows normal, preliminary translation complete.
maikebing Jun 3, 2018
dfb94c3
Chinese interface shows normal, preliminary translation complete.
maikebing Jun 3, 2018
8a0cc61
Add the missing translation content
maikebing Jun 3, 2018
5ad7c08
modify some chinese trans
maikebing Jun 4, 2018
d17420f
Merge branch 'master' into localization
maikebing Jun 10, 2018
995bd53
Merge branch 'master' into localization
maikebing Jun 16, 2018
5dc8528
Merge branch 'master' into localization
maikebing Jun 18, 2018
b2100a5
fix GitHub.InlineReviews.csproj
maikebing Jun 18, 2018
3813756
Merge branch 'localization' of https://github.com/maikebing/VisualStu…
maikebing Jun 18, 2018
74f3b17
Merge branch 'master' into localization
maikebing Jun 20, 2018
aac98f5
Merge branch 'master' into localization
maikebing Jun 21, 2018
c0c4085
Merge branch 'master' into localization
maikebing Jun 24, 2018
e4e412d
Merge branch 'master' into localization
maikebing Jun 29, 2018
2535422
modify for resx
maikebing Jun 29, 2018
3c4a99d
Adjust the localization file to display in the solution, fixed the tr…
maikebing Jun 29, 2018
d4c99d9
When not installed VS2015 use VS2017 Professional
maikebing Jun 29, 2018
b1d214b
Merge branch 'master' into localization
maikebing Jul 5, 2018
2e773ac
add new chinese words
maikebing Jul 5, 2018
575449b
Merge branch 'master' into localization
Jul 31, 2018
3c84109
Add OpenFromClipboardCommand to Chinese translation
maikebing Aug 1, 2018
dcac9e5
fix OpenFromClipboardCommandTests.cs
maikebing Aug 1, 2018
cc322e6
fix OpenFromClipboardCommandTests Async test method must have non-vo…
maikebing Aug 1, 2018
834c46e
Merge branch 'master' into localization
maikebing Aug 6, 2018
6ee1f19
Merge branch 'master' of https://github.com/github/VisualStudio into …
maikebing Aug 10, 2018
becbdea
Merge branch 'localization' of https://github.com/maikebing/VisualStu…
maikebing Aug 10, 2018
078e978
Merged with new content
maikebing Aug 10, 2018
85ba693
Merge branch 'master' into localization
maikebing Aug 10, 2018
17b4ec2
Merge branch 'master' into localization
maikebing Aug 10, 2018
acc46cf
modify for review
maikebing Aug 10, 2018
2f84d73
Merge branch 'master' into localization
maikebing Aug 10, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions scripts/modules.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,9 @@ New-Module -ScriptBlock {
}
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"
}
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 {
Die("No suitable msbuild.exe found.")
Expand Down
6 changes: 6 additions & 0 deletions src/GitHub.App/GitHub.App.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -415,11 +415,17 @@
</ProjectReference>
</ItemGroup>
<ItemGroup>
<EmbeddedResource Include="Resources.en-US.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Resources.resx">
<Generator>PublicResXFileCodeGenerator</Generator>
<LastGenOutput>Resources.Designer.cs</LastGenOutput>
<SubType>Designer</SubType>
</EmbeddedResource>
<EmbeddedResource Include="Resources.zh-Hans.resx">
<DependentUpon>Resources.resx</DependentUpon>
</EmbeddedResource>
</ItemGroup>
<ItemGroup>
<Analyzer Include="..\..\packages\SerilogAnalyzer.0.12.0.0\analyzers\dotnet\cs\SerilogAnalyzer.dll" />
Expand Down
164 changes: 82 additions & 82 deletions src/GitHub.App/Resources.Designer.cs

Large diffs are not rendered by default.

330 changes: 330 additions & 0 deletions src/GitHub.App/Resources.en-US.resx
Original file line number Diff line number Diff line change
@@ -0,0 +1,330 @@
<?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>
Loading