diff --git a/README.md b/README.md
index 9eedee0630..e926f19fbf 100644
--- a/README.md
+++ b/README.md
@@ -17,8 +17,8 @@ Most of the extension UI lives in the Team Explorer pane, which is available fro
Official builds of this extension are available at [the official website](https://visualstudio.github.com).
-
[](https://ci.appveyor.com/project/github-windows/visualstudio/branch/master)
+[](https://crowdin.com/project/github-visual-studio)
[](https://codecov.io/gh/GitHub/VisualStudio)
[](http://webchat.freenode.net/?channels=%23github-vs) [](https://gitter.im/github/VisualStudio?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
diff --git a/crowdin.yml b/crowdin.yml
new file mode 100644
index 0000000000..b64b1efeaa
--- /dev/null
+++ b/crowdin.yml
@@ -0,0 +1,3 @@
+files:
+ - source: /src/**/Resources.resx
+ translation: /%original_path%/Resources.%locale%.resx
\ No newline at end of file
diff --git a/scripts/modules.ps1 b/scripts/modules.ps1
index cd61409ce1..a5e0b78d9a 100644
--- a/scripts/modules.ps1
+++ b/scripts/modules.ps1
@@ -105,6 +105,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.")
}
diff --git a/src/GitHub.App/GitHub.App.csproj b/src/GitHub.App/GitHub.App.csproj
index 3f60d278c6..d5607f496d 100644
--- a/src/GitHub.App/GitHub.App.csproj
+++ b/src/GitHub.App/GitHub.App.csproj
@@ -30,7 +30,7 @@
Resources.Designer.cs
-
+
@@ -67,4 +67,4 @@
-
+
\ No newline at end of file
diff --git a/src/GitHub.App/Resources.zh-CN.resx b/src/GitHub.App/Resources.zh-CN.resx
new file mode 100644
index 0000000000..3ccf43f8d1
--- /dev/null
+++ b/src/GitHub.App/Resources.zh-CN.resx
@@ -0,0 +1,329 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ text/microsoft-resx
+
+
+ 2.0
+
+
+ System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
+
+
+ 为新版本库选择文件夹。
+
+
+ 克隆一个 {0} 版本库
+
+
+ 无法连接到github.com
+
+
+ 创建一个GitHub Gist
+
+
+ 创建一个{0}存储库
+
+
+ GistFromVisualStudio.cs
+
+
+ 请输入企业网址
+
+
+ 请输入有效的企业网址
+
+
+ 不是企业服务器。请输入企业服务器 URL
+
+
+ (是否忘记了您的密码?)
+
+
+ 请确保使用您的密码而不是登录的个人访问令牌。
+
+
+ 检查您的用户名和密码然后重试
+
+
+ 登录失败。
+
+
+ 连接到 GitHub
+
+
+ 请输入您的密码
+
+
+ 在 [{1}] ({2}) 上成功创建分支 ** {0} ** 拉取请求
+
+
+ 发布版本库
+
+
+ 发布版本库至 {0}
+
+
+ 请输入请求的标题!
+
+
+ 源和目标分支不能相同
+
+
+ 远程不存在源分支, 你有没有推送它?
+
+
+ 没有选定的存储库。
+
+
+ 请输入名称
+
+
+ 请输入有效路径
+
+
+ 路径包含无效字符
+
+
+ 路径太长
+
+
+ 版本库 '{0}/{1}'已存在。
+
+
+ 请更改存储库名称或选择其他帐户, 然后重试。
+
+
+ 私密文档
+
+
+ 同名的广告活动已存在
+
+
+ 请输入姓名
+
+
+ 这个名字不能超过100个字符
+
+
+ 将要创建为 {0}
+
+
+ 在您的手机上安装双重验证程序:Google Authenticator
+
+
+ 我们将发送一条验证码短信到您的手机。
+
+
+ 双重身份认证
+
+
+ 在此处输入身份验证代码中的符号
+
+
+ 请输入您的用户名或邮箱地址.
+
+
+ 用户名或电子邮件地址不能有空格
+
+
+ 拉取请求
+
+
+ 推送请求
+
+
+ 添加
+
+
+ fork
+
+
+ [无效]
+
+
+ 你必须先拉取再推送
+
+
+ 没有需要拉取的提交
+
+
+ 没有需要推送的提交
+
+
+ * 未提供说明。*
+
+
+ 签出 {0}
+
+
+ 签出到 {0}
+
+
+ 从 {0} 分支 {1} 拉取
+
+
+ 推至 {0} 分支 {1}
+
+
+ 远程
+
+
+ 重命名
+
+
+ 源存版本库不再可用。
+
+
+ 无法签出, 因为您的工作目录有未提交的更改。
+
+
+ 同步 {0} 子模块
+
+
+ 在PATH 找不到 Git.exe。
+
+请安装 Git for Windows : https://git-scm.com/download/win
+
+
+ 批准
+
+
+ 更改需求
+
+
+ 已评论
+
+
+ 进行中
+
+
+ 按回车键导航到编辑器
+
+
+ 在导航到编辑器之前签出 PR 分支
+
+
+ 按回车键导航到编辑器 (PR 分支必须签出)
+
+
+ Fork存储库
+
+
+ 开关原点
+
+
+ 您确定要取消此评审吗?您将丢失所有待处理的评论。
+
+
+ 取消评审
+
+
diff --git a/src/GitHub.InlineReviews/Views/CommentView.xaml b/src/GitHub.InlineReviews/Views/CommentView.xaml
index 7e49028622..5deab58196 100644
--- a/src/GitHub.InlineReviews/Views/CommentView.xaml
+++ b/src/GitHub.InlineReviews/Views/CommentView.xaml
@@ -67,7 +67,7 @@
CornerRadius="3"
Padding="2 1"
Visibility="{Binding IsPending, Converter={ui:BooleanToVisibilityConverter}, FallbackValue=Collapsed}">
- Pending
+
@@ -216,10 +216,9 @@
-
+ Content="{x:Static prop:Resources.StartAReview}"
+ Visibility="{Binding CanStartReview, Converter={ui:BooleanToVisibilityConverter}}"/>
+
diff --git a/src/GitHub.InlineReviews/Views/InlineCommentPeekView.xaml b/src/GitHub.InlineReviews/Views/InlineCommentPeekView.xaml
index c27c40447b..48aeb781a5 100644
--- a/src/GitHub.InlineReviews/Views/InlineCommentPeekView.xaml
+++ b/src/GitHub.InlineReviews/Views/InlineCommentPeekView.xaml
@@ -6,6 +6,7 @@
xmlns:local="clr-namespace:GitHub.InlineReviews.Views"
xmlns:cache="clr-namespace:GitHub.UI.Helpers;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"
d:DesignHeight="200" d:DesignWidth="500">
@@ -58,7 +59,7 @@
- You must commit and push your changes to add a comment here.
+
@@ -71,7 +72,7 @@