Skip to content

Commit 96bd270

Browse files
authoredAug 29, 2023
Update nls metadata to vscode version 1.80.0 (#12875)
1 parent b3e8d42 commit 96bd270

File tree

4 files changed

+5619
-5362
lines changed

4 files changed

+5619
-5362
lines changed
 

‎packages/core/src/common/i18n/nls.metadata.json

+5,616-5,359
Large diffs are not rendered by default.

‎packages/editor/src/browser/editor-widget-factory.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ export class EditorWidgetFactory implements WidgetFactory {
7373
private setLabels(editor: EditorWidget, uri: URI): void {
7474
editor.title.caption = uri.path.fsPath();
7575
if (editor.editor.isReadonly) {
76-
editor.title.caption += ` • ${nls.localizeByDefault('Read Only')}`;
76+
editor.title.caption += ` • ${nls.localizeByDefault('Read-only')}`;
7777
}
7878
const icon = this.labelProvider.getIcon(uri);
7979
editor.title.label = this.labelProvider.getName(uri);

‎packages/filesystem/src/browser/file-service.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ export class FileService {
16811681

16821682
protected throwIfFileSystemIsReadonly<T extends FileSystemProvider>(provider: T, resource: URI): T {
16831683
if (provider.capabilities & FileSystemProviderCapabilities.Readonly) {
1684-
throw new FileOperationError(nls.localizeByDefault("Unable to modify readonly file '{0}'", this.resourceForError(resource)), FileOperationResult.FILE_PERMISSION_DENIED);
1684+
throw new FileOperationError(nls.localizeByDefault("Unable to modify read-only file '{0}'", this.resourceForError(resource)), FileOperationResult.FILE_PERMISSION_DENIED);
16851685
}
16861686

16871687
return provider;

‎packages/filesystem/src/browser/filesystem-preferences.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const filesystemPreferenceSchema: PreferenceSchema = {
4040
properties: {
4141
'files.watcherExclude': {
4242
// eslint-disable-next-line max-len
43-
description: nls.localizeByDefault('Configure paths or glob patterns to exclude from file watching. Paths can either be relative to the watched folder or absolute. Glob patterns are matched relative from the watched folder. When you experience the file watcher process consuming a lot of CPU, make sure to exclude large folders that are of less interest (such as build output folders).'),
43+
description: nls.localizeByDefault('Configure paths or [glob patterns](https://aka.ms/vscode-glob-patterns) to exclude from file watching. Paths can either be relative to the watched folder or absolute. Glob patterns are matched relative from the watched folder. When you experience the file watcher process consuming a lot of CPU, make sure to exclude large folders that are of less interest (such as build output folders).'),
4444
additionalProperties: {
4545
type: 'boolean'
4646
},

0 commit comments

Comments
 (0)
Please sign in to comment.