@@ -152,29 +152,32 @@ export class InputCodeEditorView extends CodeEditorView {
152
152
return [
153
153
baseRange . input1Diffs . length > 0
154
154
? action (
155
- 'mergeEditor.takeInput1 ' ,
156
- localize ( 'mergeEditor.takeInput1 ' , 'Take Input 1' ) ,
155
+ 'mergeEditor.acceptInput1 ' ,
156
+ localize ( 'mergeEditor.accept ' , 'Accept ' ) + model . input1Title ,
157
157
state . toggle ( 1 ) ,
158
158
state . input1
159
159
)
160
160
: undefined ,
161
161
baseRange . input2Diffs . length > 0
162
162
? action (
163
- 'mergeEditor.takeInput2 ' ,
164
- localize ( 'mergeEditor.takeInput2 ' , 'Take Input 2' ) ,
163
+ 'mergeEditor.acceptInput2 ' ,
164
+ localize ( 'mergeEditor.accept ' , 'Accept ' ) + model . input2Title ,
165
165
state . toggle ( 2 ) ,
166
166
state . input2
167
167
)
168
168
: undefined ,
169
169
baseRange . isConflicting
170
- ? action (
171
- 'mergeEditor.takeBothSides' ,
172
- localize (
173
- 'mergeEditor.takeBothSides' ,
174
- 'Take Both Sides'
170
+ ? setFields (
171
+ action (
172
+ 'mergeEditor.acceptBoth' ,
173
+ localize (
174
+ 'mergeEditor.acceptBoth' ,
175
+ 'Accept Both'
176
+ ) ,
177
+ state . withInput1 ( ! both ) . withInput2 ( ! both ) ,
178
+ both
175
179
) ,
176
- state . withInput1 ( ! both ) . withInput2 ( ! both ) ,
177
- both
180
+ { enabled : true } // TODO
178
181
)
179
182
: undefined ,
180
183
baseRange . isConflicting
0 commit comments