@theia/scm-extra 1.70.0-next.21 → 1.70.0-next.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -273,10 +273,10 @@ let ScmHistoryWidget = class ScmHistoryWidget extends scm_navigable_list_widget_
|
|
|
273
273
|
const relPath = relPathEncoded ? `${decodeURIComponent(relPathEncoded)}` : '';
|
|
274
274
|
const repo = this.scmService.findRepository(new uri_1.default(this.options.uri));
|
|
275
275
|
const repoName = repo ? `${this.labelProvider.getName(new uri_1.default(repo.provider.rootUri))}` : '';
|
|
276
|
-
const relPathAndRepo = [relPath, repoName].filter(Boolean).join(` ${nls_1.nls.localize('theia/
|
|
276
|
+
const relPathAndRepo = [relPath, repoName].filter(Boolean).join(` ${nls_1.nls.localize('theia/scm/prepositionIn', 'in')} `);
|
|
277
277
|
path = `${relPathAndRepo}`;
|
|
278
278
|
}
|
|
279
|
-
content = React.createElement(alert_message_1.AlertMessage, { type: 'WARNING', header: nls_1.nls.localize('theia/
|
|
279
|
+
content = React.createElement(alert_message_1.AlertMessage, { type: 'WARNING', header: nls_1.nls.localize('theia/scm/noHistoryForError', 'There is no history available for {0}', `${path}`) }, reason);
|
|
280
280
|
break;
|
|
281
281
|
case 'loading':
|
|
282
282
|
content = React.createElement("div", { className: 'spinnerContainer' },
|
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theia/scm-extra",
|
|
3
|
-
"version": "1.70.0-next.
|
|
3
|
+
"version": "1.70.0-next.26+b40555ef6",
|
|
4
4
|
"description": "Theia - Source control extras Extension",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@theia/core": "1.70.0-next.
|
|
7
|
-
"@theia/editor": "1.70.0-next.
|
|
8
|
-
"@theia/filesystem": "1.70.0-next.
|
|
9
|
-
"@theia/navigator": "1.70.0-next.
|
|
10
|
-
"@theia/scm": "1.70.0-next.
|
|
6
|
+
"@theia/core": "1.70.0-next.26+b40555ef6",
|
|
7
|
+
"@theia/editor": "1.70.0-next.26+b40555ef6",
|
|
8
|
+
"@theia/filesystem": "1.70.0-next.26+b40555ef6",
|
|
9
|
+
"@theia/navigator": "1.70.0-next.26+b40555ef6",
|
|
10
|
+
"@theia/scm": "1.70.0-next.26+b40555ef6",
|
|
11
11
|
"tslib": "^2.6.2"
|
|
12
12
|
},
|
|
13
13
|
"publishConfig": {
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"nyc": {
|
|
49
49
|
"extends": "../../configs/nyc.json"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "b40555ef601736234983a8381eb2da6504994aaa"
|
|
52
52
|
}
|
|
@@ -311,13 +311,13 @@ export class ScmHistoryWidget extends ScmNavigableListWidget<ScmHistoryListNode>
|
|
|
311
311
|
const repoName = repo ? `${this.labelProvider.getName(new URI(repo.provider.rootUri))}` : '';
|
|
312
312
|
|
|
313
313
|
const relPathAndRepo = [relPath, repoName].filter(Boolean).join(
|
|
314
|
-
` ${nls.localize('theia/
|
|
314
|
+
` ${nls.localize('theia/scm/prepositionIn', 'in')} `
|
|
315
315
|
);
|
|
316
316
|
path = `${relPathAndRepo}`;
|
|
317
317
|
}
|
|
318
318
|
content = <AlertMessage
|
|
319
319
|
type='WARNING'
|
|
320
|
-
header={nls.localize('theia/
|
|
320
|
+
header={nls.localize('theia/scm/noHistoryForError', 'There is no history available for {0}', `${path}`)}>
|
|
321
321
|
{reason}
|
|
322
322
|
</AlertMessage>;
|
|
323
323
|
break;
|