@@ -72,6 +72,7 @@ const viewContainer = Registry.as<IViewContainersRegistry>(ViewContainerExtensio
72
72
} , ViewContainerLocation . Sidebar , { doNotRegisterOpenCommand : true } ) ;
73
73
74
74
const viewsRegistry = Registry . as < IViewsRegistry > ( ViewContainerExtensions . ViewsRegistry ) ;
75
+ const containerTitle = localize ( 'source control view' , "Source Control" ) ;
75
76
76
77
viewsRegistry . registerViewWelcomeContent ( VIEW_PANE_ID , {
77
78
content : localize ( 'no open repo' , "No source control providers registered." ) ,
@@ -95,7 +96,9 @@ viewsRegistry.registerViewWelcomeContent(HISTORY_VIEW_PANE_ID, {
95
96
96
97
viewsRegistry . registerViews ( [ {
97
98
id : REPOSITORIES_VIEW_PANE_ID ,
98
- name : localize2 ( 'source control repositories' , "Source Control Repositories" ) ,
99
+ containerTitle,
100
+ name : localize2 ( 'scmRepositories' , "Repositories" ) ,
101
+ singleViewPaneContainerTitle : localize ( 'source control repositories' , "Source Control Repositories" ) ,
99
102
ctorDescriptor : new SyncDescriptor ( SCMRepositoriesViewPane ) ,
100
103
canToggleVisibility : true ,
101
104
hideByDefault : true ,
@@ -109,7 +112,9 @@ viewsRegistry.registerViews([{
109
112
110
113
viewsRegistry . registerViews ( [ {
111
114
id : VIEW_PANE_ID ,
112
- name : localize2 ( 'source control' , 'Source Control' ) ,
115
+ containerTitle,
116
+ name : localize2 ( 'scmChanges' , 'Changes' ) ,
117
+ singleViewPaneContainerTitle : containerTitle ,
113
118
ctorDescriptor : new SyncDescriptor ( SCMViewPane ) ,
114
119
canToggleVisibility : true ,
115
120
canMoveView : true ,
@@ -131,7 +136,9 @@ viewsRegistry.registerViews([{
131
136
132
137
viewsRegistry . registerViews ( [ {
133
138
id : HISTORY_VIEW_PANE_ID ,
134
- name : localize2 ( 'source control history' , "Source Control Graph" ) ,
139
+ containerTitle,
140
+ name : localize2 ( 'scmGraph' , "Graph" ) ,
141
+ singleViewPaneContainerTitle : localize ( 'source control graph' , "Source Control Graph" ) ,
135
142
ctorDescriptor : new SyncDescriptor ( SCMHistoryViewPane ) ,
136
143
canToggleVisibility : true ,
137
144
canMoveView : true ,
0 commit comments