This repository was archived by the owner on Jun 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +14
-14
lines changed
GitHub.InlineReviews/ViewModels
test/GitHub.InlineReviews.UnitTests/ViewModels Expand file tree Collapse file tree 4 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -64,7 +64,7 @@ public PullRequestReviewCommentViewModel(
6464 . ToProperty ( this , x => x . CanStartReview ) ;
6565
6666 commitCaption = pendingReviewAndIdObservable
67- . Select ( arg => ! arg . isNewComment ? Resources . EditComment : arg . hasPendingReview ? Resources . AddSingleComment : Resources . AddReviewComment )
67+ . Select ( arg => ! arg . isNewComment ? Resources . UpdateComment : arg . hasPendingReview ? Resources . AddSingleComment : Resources . AddReviewComment )
6868 . ToProperty ( this , x => x . CommitCaption ) ;
6969
7070 StartReview = ReactiveCommand . CreateAsyncTask (
Original file line number Diff line number Diff line change 431431 <data name =" Options_ForkButtonLabel" xml : space =" preserve" >
432432 <value >Show Fork button in Team Explorer</value >
433433 </data >
434- <data name =" EditComment " xml : space =" preserve" >
435- <value >Edit Comment</value >
434+ <data name =" UpdateComment " xml : space =" preserve" >
435+ <value >Update Comment</value >
436436 </data >
437437</root >
Original file line number Diff line number Diff line change @@ -162,7 +162,7 @@ public void IsAddSingleCommentWhenSessionHasNoPendingReview()
162162 }
163163
164164 [ Test ]
165- public void IsEditCommentWhenEditingExistingComment ( )
165+ public void IsUpdateCommentWhenEditingExistingComment ( )
166166 {
167167 var session = CreateSession ( false ) ;
168168
@@ -171,7 +171,7 @@ public void IsEditCommentWhenEditingExistingComment()
171171
172172 var target = CreateTarget ( session , pullRequestReviewCommentModel : pullRequestReviewCommentModel ) ;
173173
174- Assert . That ( target . CommitCaption , Is . EqualTo ( "Edit Comment " ) ) ;
174+ Assert . That ( target . CommitCaption , Is . EqualTo ( "Update comment " ) ) ;
175175 }
176176 }
177177
You can’t perform that action at this time.
0 commit comments