@codingame/monaco-vscode-update-service-override 32.0.1 → 33.0.9

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.
package/package.json CHANGED
@@ -1,21 +1,21 @@
1
1
  {
2
2
  "name": "@codingame/monaco-vscode-update-service-override",
3
- "version": "32.0.1",
3
+ "version": "33.0.9",
4
4
  "private": false,
5
5
  "description": "VSCode public API plugged on the monaco editor - update service-override",
6
6
  "keywords": [],
7
+ "license": "MIT",
7
8
  "author": {
8
9
  "name": "CodinGame",
9
10
  "url": "http://www.codingame.com"
10
11
  },
11
- "license": "MIT",
12
12
  "repository": {
13
13
  "type": "git",
14
14
  "url": "git+ssh://git@github.com/CodinGame/monaco-vscode-api.git"
15
15
  },
16
16
  "type": "module",
17
17
  "dependencies": {
18
- "@codingame/monaco-vscode-api": "32.0.1"
18
+ "@codingame/monaco-vscode-api": "33.0.9"
19
19
  },
20
20
  "main": "index.js",
21
21
  "module": "index.js",
@@ -9,7 +9,7 @@ const configurationRegistry = ( Registry.as(Extensions.Configuration));
9
9
  configurationRegistry.registerConfiguration({
10
10
  id: "update",
11
11
  order: 15,
12
- title: ( localize(2510, "Update")),
12
+ title: ( localize(2532, "Update")),
13
13
  type: "object",
14
14
  properties: {
15
15
  "update.mode": {
@@ -18,18 +18,18 @@ configurationRegistry.registerConfiguration({
18
18
  default: "default",
19
19
  scope: ConfigurationScope.APPLICATION,
20
20
  description: ( localize(
21
- 2511,
21
+ 2533,
22
22
  "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
23
23
  )),
24
24
  tags: ["usesOnlineServices"],
25
- enumDescriptions: [( localize(2512, "Disable updates.")), ( localize(
26
- 2513,
25
+ enumDescriptions: [( localize(2534, "Disable updates.")), ( localize(
26
+ 2535,
27
27
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
28
28
  )), ( localize(
29
- 2514,
29
+ 2536,
30
30
  "Check for updates only on startup. Disable automatic background update checks."
31
31
  )), ( localize(
32
- 2515,
32
+ 2537,
33
33
  "Enable automatic update checks. Code will check for updates automatically and periodically."
34
34
  ))],
35
35
  policy: {
@@ -40,29 +40,29 @@ configurationRegistry.registerConfiguration({
40
40
  description: {
41
41
  key: "updateMode",
42
42
  value: ( localize(
43
- 2511,
43
+ 2533,
44
44
  "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
45
45
  ))
46
46
  },
47
47
  enumDescriptions: [{
48
48
  key: "none",
49
- value: ( localize(2512, "Disable updates."))
49
+ value: ( localize(2534, "Disable updates."))
50
50
  }, {
51
51
  key: "manual",
52
52
  value: ( localize(
53
- 2513,
53
+ 2535,
54
54
  "Disable automatic background update checks. Updates will be available if you manually check for updates."
55
55
  ))
56
56
  }, {
57
57
  key: "start",
58
58
  value: ( localize(
59
- 2514,
59
+ 2536,
60
60
  "Check for updates only on startup. Disable automatic background update checks."
61
61
  ))
62
62
  }, {
63
63
  key: "default",
64
64
  value: ( localize(
65
- 2515,
65
+ 2537,
66
66
  "Enable automatic update checks. Code will check for updates automatically and periodically."
67
67
  ))
68
68
  }]
@@ -74,11 +74,11 @@ configurationRegistry.registerConfiguration({
74
74
  default: "default",
75
75
  scope: ConfigurationScope.APPLICATION,
76
76
  description: ( localize(
77
- 2511,
77
+ 2533,
78
78
  "Configure whether you receive automatic updates. Requires a restart after change. The updates are fetched from a Microsoft online service."
79
79
  )),
80
80
  deprecationMessage: ( localize(
81
- 2516,
81
+ 2538,
82
82
  "This setting is deprecated, please use '{0}' instead.",
83
83
  "update.mode"
84
84
  ))
@@ -87,9 +87,9 @@ configurationRegistry.registerConfiguration({
87
87
  type: "boolean",
88
88
  default: true,
89
89
  scope: ConfigurationScope.APPLICATION,
90
- title: ( localize(2517, "Enable Background Updates")),
90
+ title: ( localize(2539, "Enable Background Updates")),
91
91
  description: ( localize(
92
- 2518,
92
+ 2540,
93
93
  "Enable to download and install new VS Code versions in the background."
94
94
  )),
95
95
  included: isWindows && !isWeb
@@ -99,7 +99,7 @@ configurationRegistry.registerConfiguration({
99
99
  default: true,
100
100
  scope: ConfigurationScope.APPLICATION,
101
101
  description: ( localize(
102
- 2519,
102
+ 2541,
103
103
  "Show Release Notes after an update. The Release Notes are fetched from a Microsoft online service."
104
104
  )),
105
105
  tags: ["usesOnlineServices"],
@@ -113,7 +113,7 @@ configurationRegistry.registerConfiguration({
113
113
  default: false,
114
114
  scope: ConfigurationScope.APPLICATION,
115
115
  description: ( localize(
116
- 2520,
116
+ 2542,
117
117
  "Show a post-install update tooltip in the title bar instead of opening the release notes editor."
118
118
  )),
119
119
  tags: ["usesOnlineServices"]
@@ -122,7 +122,7 @@ configurationRegistry.registerConfiguration({
122
122
  type: "boolean",
123
123
  default: true,
124
124
  scope: ConfigurationScope.APPLICATION,
125
- description: ( localize(2521, "Show the update indicator in the title bar.")),
125
+ description: ( localize(2543, "Show the update indicator in the title bar.")),
126
126
  included: !isWeb
127
127
  }
128
128
  }
@@ -123,11 +123,11 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
123
123
  }
124
124
  viewInSettingsMessage(settingId, alreadyDisplayed) {
125
125
  if (alreadyDisplayed) {
126
- return localize(10691, "View in Settings");
126
+ return localize(10818, "View in Settings");
127
127
  } else {
128
128
  const displayName = settingKeyToDisplayFormat(settingId);
129
129
  return localize(
130
- 10692,
130
+ 10819,
131
131
  "View \"{0}: {1}\" in Settings",
132
132
  displayName.category,
133
133
  displayName.label
@@ -137,7 +137,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
137
137
  restorePreviousSettingMessage(settingId) {
138
138
  const displayName = settingKeyToDisplayFormat(settingId);
139
139
  return localize(
140
- 10693,
140
+ 10820,
141
141
  "Restore value of \"{0}: {1}\"",
142
142
  displayName.category,
143
143
  displayName.label
@@ -152,14 +152,14 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
152
152
  if (this.isAlreadySet(setting, booleanValue)) {
153
153
  if (booleanValue) {
154
154
  return localize(
155
- 10694,
155
+ 10821,
156
156
  "\"{0}: {1}\" is already enabled",
157
157
  displayName.category,
158
158
  displayName.label
159
159
  );
160
160
  } else {
161
161
  return localize(
162
- 10695,
162
+ 10822,
163
163
  "\"{0}: {1}\" is already disabled",
164
164
  displayName.category,
165
165
  displayName.label
@@ -167,16 +167,16 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
167
167
  }
168
168
  }
169
169
  if (booleanValue) {
170
- return localize(10696, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
170
+ return localize(10823, "Enable \"{0}: {1}\"", displayName.category, displayName.label);
171
171
  } else {
172
- return localize(10697, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
172
+ return localize(10824, "Disable \"{0}: {1}\"", displayName.category, displayName.label);
173
173
  }
174
174
  }
175
175
  stringSettingMessage(setting, stringValue) {
176
176
  const displayName = settingKeyToDisplayFormat(setting.key);
177
177
  if (this.isAlreadySet(setting, stringValue)) {
178
178
  return localize(
179
- 10698,
179
+ 10825,
180
180
  "\"{0}: {1}\" is already set to \"{2}\"",
181
181
  displayName.category,
182
182
  displayName.label,
@@ -184,7 +184,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
184
184
  );
185
185
  }
186
186
  return localize(
187
- 10699,
187
+ 10826,
188
188
  "Set \"{0}: {1}\" to \"{2}\"",
189
189
  displayName.category,
190
190
  displayName.label,
@@ -195,7 +195,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
195
195
  const displayName = settingKeyToDisplayFormat(setting.key);
196
196
  if (this.isAlreadySet(setting, numberValue)) {
197
197
  return localize(
198
- 10700,
198
+ 10827,
199
199
  "\"{0}: {1}\" is already set to {2}",
200
200
  displayName.category,
201
201
  displayName.label,
@@ -203,7 +203,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
203
203
  );
204
204
  }
205
205
  return localize(
206
- 10701,
206
+ 10828,
207
207
  "Set \"{0}: {1}\" to {2}",
208
208
  displayName.category,
209
209
  displayName.label,
@@ -212,7 +212,7 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
212
212
  }
213
213
  renderSetting(setting, newValue) {
214
214
  const href = this.settingToUriString(setting.key, newValue);
215
- const title = ( localize(10702, "View or change setting"));
215
+ const title = ( localize(10829, "View or change setting"));
216
216
  return `<code tabindex="0"><a href="${href}" class="codesetting" title="${title}" aria-role="button"><svg width="14" height="14" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path d="M9.1 4.4L8.6 2H7.4l-.5 2.4-.7.3-2-1.3-.9.8 1.3 2-.2.7-2.4.5v1.2l2.4.5.3.8-1.3 2 .8.8 2-1.3.8.3.4 2.3h1.2l.5-2.4.8-.3 2 1.3.8-.8-1.3-2 .3-.8 2.3-.4V7.4l-2.4-.5-.3-.8 1.3-2-.8-.8-2 1.3-.7-.2zM9.4 1l.5 2.4L12 2.1l2 2-1.4 2.1 2.4.4v2.8l-2.4.5L14 12l-2 2-2.1-1.4-.5 2.4H6.6l-.5-2.4L4 13.9l-2-2 1.4-2.1L1 9.4V6.6l2.4-.5L2.1 4l2-2 2.1 1.4.4-2.4h2.8zm.6 7c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2zM8 9c.6 0 1-.4 1-1s-.4-1-1-1-1 .4-1 1 .4 1 1 1z"/></svg>
217
217
  <span class="separator"></span>
218
218
  <span class="setting-name">${setting.key}</span>
@@ -290,8 +290,8 @@ let SimpleSettingRenderer = class SimpleSettingRenderer {
290
290
  class: undefined,
291
291
  enabled: true,
292
292
  id: "copySettingId",
293
- tooltip: ( localize(10703, "Copy Setting ID")),
294
- label: ( localize(10703, "Copy Setting ID")),
293
+ tooltip: ( localize(10830, "Copy Setting ID")),
294
+ label: ( localize(10830, "Copy Setting ID")),
295
295
  run: () => {
296
296
  this._clipboardService.writeText(settingId);
297
297
  }
@@ -137,7 +137,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
137
137
  info = {
138
138
  ...info,
139
139
  buttons: [{
140
- label: ( localize(15291, "Release Notes")),
140
+ label: ( localize(15423, "Release Notes")),
141
141
  commandId: ShowCurrentReleaseNotesActionId,
142
142
  args: [this.productService.version],
143
143
  style: "secondary"
@@ -166,7 +166,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
166
166
  banner.style.setProperty("background-image", `url(${JSON.stringify(safeBannerUrl)})`);
167
167
  }
168
168
  const closeButton = append(container, $("button.banner-close"));
169
- closeButton.setAttribute("aria-label", ( localize(15292, "Close")));
169
+ closeButton.setAttribute("aria-label", ( localize(15424, "Close")));
170
170
  const closeIcon = append(closeButton, $(ThemeIcon.asCSSSelector(Codicon.close)));
171
171
  closeIcon.setAttribute("aria-hidden", "true");
172
172
  disposables.add(addDisposableListener(closeButton, "click", () => {
@@ -179,7 +179,7 @@ let PostUpdateWidgetContribution = class PostUpdateWidgetContribution extends Di
179
179
  }
180
180
  const titleEl = append(body, $(".title"));
181
181
  titleEl.id = titleId;
182
- titleEl.textContent = title ?? ( localize(15293, "New in {0}", this.productService.version));
182
+ titleEl.textContent = title ?? ( localize(15425, "New in {0}", this.productService.version));
183
183
  if (features?.length) {
184
184
  const list = append(body, $(".features"));
185
185
  list.setAttribute("role", "list");
@@ -104,7 +104,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
104
104
  base
105
105
  };
106
106
  const html = await this.renderBody(this._lastMeta);
107
- const title = ( localize(15294, "Release Notes: {0}", version));
107
+ const title = ( localize(15426, "Release Notes: {0}", version));
108
108
  const activeEditorPane = this._editorService.activeEditorPane;
109
109
  if (this._currentReleaseNotes) {
110
110
  this._currentReleaseNotes.setWebviewTitle(title);
@@ -160,7 +160,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
160
160
  const versionLabel = match[1].replace(/\./g, "_");
161
161
  const baseUrl = "https://code.visualstudio.com/raw";
162
162
  const url = `${baseUrl}/v${versionLabel}.md`;
163
- const unassigned = ( localize(15295, "unassigned"));
163
+ const unassigned = ( localize(15427, "unassigned"));
164
164
  const escapeMdHtml = text => {
165
165
  return escape(text).replace(/\\/g, "\\\\");
166
166
  };
@@ -542,7 +542,7 @@ let ReleaseNotesManager = class ReleaseNotesManager extends Disposable {
542
542
 
543
543
  const label = document.createElement('label');
544
544
  label.htmlFor = 'showReleaseNotes';
545
- label.textContent = '${( localize(15296, "Show release notes after an update"))}';
545
+ label.textContent = '${( localize(15428, "Show release notes after an update"))}';
546
546
  container.appendChild(label);
547
547
 
548
548
  const beforeElement = document.querySelector("body > h1")?.nextElementSibling;
@@ -39,8 +39,8 @@ class ShowReleaseNotesAction extends Action2 {
39
39
  super({
40
40
  id: ShowCurrentReleaseNotesActionId,
41
41
  title: {
42
- ...( localize2(15297, "Show Release Notes")),
43
- mnemonicTitle: ( localize(15298, "Show &&Release Notes"))
42
+ ...( localize2(15429, "Show Release Notes")),
43
+ mnemonicTitle: ( localize(15430, "Show &&Release Notes"))
44
44
  },
45
45
  category: {
46
46
  value: product.nameShort,
@@ -66,7 +66,7 @@ class ShowReleaseNotesAction extends Action2 {
66
66
  await openerService.open(( URI.parse(productService.releaseNotesUrl)));
67
67
  } else {
68
68
  throw ( new Error(( localize(
69
- 15299,
69
+ 15431,
70
70
  "This version of {0} does not have release notes online",
71
71
  productService.nameLong
72
72
  ))));
@@ -79,10 +79,10 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
79
79
  super({
80
80
  id: ShowCurrentReleaseNotesFromCurrentFileActionId,
81
81
  title: {
82
- ...( localize2(15300, "Open Current File as Release Notes")),
83
- mnemonicTitle: ( localize(15298, "Show &&Release Notes"))
82
+ ...( localize2(15432, "Open Current File as Release Notes")),
83
+ mnemonicTitle: ( localize(15430, "Show &&Release Notes"))
84
84
  },
85
- category: ( localize2(15301, "Developer")),
85
+ category: ( localize2(15433, "Developer")),
86
86
  f1: true
87
87
  });
88
88
  }
@@ -92,7 +92,7 @@ class ShowCurrentReleaseNotesFromCurrentFileAction extends Action2 {
92
92
  try {
93
93
  await showReleaseNotesInEditor(instantiationService, productService.version, true);
94
94
  } catch (err) {
95
- throw ( new Error(( localize(15302, "Cannot open the current file as Release Notes"))));
95
+ throw ( new Error(( localize(15434, "Cannot open the current file as Release Notes"))));
96
96
  }
97
97
  }
98
98
  }
@@ -104,7 +104,7 @@ class CheckForUpdateAction extends Action2 {
104
104
  constructor() {
105
105
  super({
106
106
  id: "update.checkForUpdate",
107
- title: ( localize2(15303, "Check for Updates...")),
107
+ title: ( localize2(15435, "Check for Updates...")),
108
108
  category: {
109
109
  value: product.nameShort,
110
110
  original: product.nameShort
@@ -122,7 +122,7 @@ class DownloadUpdateAction extends Action2 {
122
122
  constructor() {
123
123
  super({
124
124
  id: "update.downloadUpdate",
125
- title: ( localize2(15304, "Download Update")),
125
+ title: ( localize2(15436, "Download Update")),
126
126
  category: {
127
127
  value: product.nameShort,
128
128
  original: product.nameShort
@@ -139,7 +139,7 @@ class InstallUpdateAction extends Action2 {
139
139
  constructor() {
140
140
  super({
141
141
  id: "update.installUpdate",
142
- title: ( localize2(15305, "Install Update")),
142
+ title: ( localize2(15437, "Install Update")),
143
143
  category: {
144
144
  value: product.nameShort,
145
145
  original: product.nameShort
@@ -156,7 +156,7 @@ class RestartToUpdateAction extends Action2 {
156
156
  constructor() {
157
157
  super({
158
158
  id: "update.restartToUpdate",
159
- title: ( localize2(15306, "Restart to Update")),
159
+ title: ( localize2(15438, "Restart to Update")),
160
160
  category: {
161
161
  value: product.nameShort,
162
162
  original: product.nameShort
@@ -179,7 +179,7 @@ class DownloadAction extends Action2 {
179
179
  constructor() {
180
180
  super({
181
181
  id: DownloadAction.ID,
182
- title: ( localize2(15307, "Download {0}", product.nameLong)),
182
+ title: ( localize2(15439, "Download {0}", product.nameLong)),
183
183
  precondition: IsWebContext,
184
184
  f1: true,
185
185
  menu: [{
@@ -208,7 +208,7 @@ if (isWindows) {
208
208
  constructor() {
209
209
  super({
210
210
  id: "_update.applyupdate",
211
- title: ( localize2(15308, "Apply Update...")),
211
+ title: ( localize2(15440, "Apply Update...")),
212
212
  category: Categories.Developer,
213
213
  f1: true,
214
214
  precondition: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
@@ -218,13 +218,13 @@ if (isWindows) {
218
218
  const updateService = accessor.get(IUpdateService);
219
219
  const fileDialogService = accessor.get(IFileDialogService);
220
220
  const updatePath = await fileDialogService.showOpenDialog({
221
- title: ( localize(15309, "Apply Update")),
221
+ title: ( localize(15441, "Apply Update")),
222
222
  filters: [{
223
223
  name: "Setup",
224
224
  extensions: ["exe"]
225
225
  }],
226
226
  canSelectFiles: true,
227
- openLabel: mnemonicButtonLabel(( localize(15310, "&&Update")))
227
+ openLabel: mnemonicButtonLabel(( localize(15442, "&&Update")))
228
228
  });
229
229
  if (!updatePath || !updatePath[0]) {
230
230
  return;
@@ -238,7 +238,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
238
238
  constructor() {
239
239
  super({
240
240
  id: "update.showUpdateInfo",
241
- title: ( localize2(15311, "Show Update Info")),
241
+ title: ( localize2(15443, "Show Update Info")),
242
242
  category: Categories.Developer,
243
243
  f1: true,
244
244
  precondition: ( IsWebContext.negate())
@@ -249,7 +249,7 @@ registerAction2(class ShowUpdateInfoAction extends Action2 {
249
249
  const quickInputService = accessor.get(IQuickInputService);
250
250
  const markdown = await quickInputService.input({
251
251
  prompt: ( localize(
252
- 15312,
252
+ 15444,
253
253
  "Enter markdown to render, or JSON with markdown/buttons (leave empty to load from URL)"
254
254
  ))
255
255
  });
@@ -53,7 +53,7 @@ async function openLatestReleaseNotesInBrowser(accessor) {
53
53
  await openerService.open(uri);
54
54
  } else {
55
55
  throw ( new Error(( localize(
56
- 15313,
56
+ 15445,
57
57
  "This version of {0} does not have release notes online",
58
58
  productService.nameLong
59
59
  ))));
@@ -76,7 +76,7 @@ function appendUpdateMenuItems(menuId, group) {
76
76
  group,
77
77
  command: {
78
78
  id: "update.check",
79
- title: ( localize(15314, "Check for Updates..."))
79
+ title: ( localize(15446, "Check for Updates..."))
80
80
  },
81
81
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Idle))
82
82
  });
@@ -84,7 +84,7 @@ function appendUpdateMenuItems(menuId, group) {
84
84
  group,
85
85
  command: {
86
86
  id: "update.checking",
87
- title: ( localize(15315, "Checking for Updates...")),
87
+ title: ( localize(15447, "Checking for Updates...")),
88
88
  precondition: ( ContextKeyExpr.false())
89
89
  },
90
90
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.CheckingForUpdates))
@@ -93,7 +93,7 @@ function appendUpdateMenuItems(menuId, group) {
93
93
  group,
94
94
  command: {
95
95
  id: "update.downloadNow",
96
- title: ( localize(15316, "Download Update (1)"))
96
+ title: ( localize(15448, "Download Update (1)"))
97
97
  },
98
98
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.AvailableForDownload))
99
99
  });
@@ -101,7 +101,7 @@ function appendUpdateMenuItems(menuId, group) {
101
101
  group,
102
102
  command: {
103
103
  id: "update.downloading",
104
- title: ( localize(15317, "Downloading Update...")),
104
+ title: ( localize(15449, "Downloading Update...")),
105
105
  precondition: ( ContextKeyExpr.false())
106
106
  },
107
107
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloading))
@@ -110,7 +110,7 @@ function appendUpdateMenuItems(menuId, group) {
110
110
  group,
111
111
  command: {
112
112
  id: "update.install",
113
- title: ( localize(15318, "Install Update... (1)"))
113
+ title: ( localize(15450, "Install Update... (1)"))
114
114
  },
115
115
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Downloaded))
116
116
  });
@@ -118,7 +118,7 @@ function appendUpdateMenuItems(menuId, group) {
118
118
  group,
119
119
  command: {
120
120
  id: "update.updating",
121
- title: ( localize(15319, "Installing Update...")),
121
+ title: ( localize(15451, "Installing Update...")),
122
122
  precondition: ( ContextKeyExpr.false())
123
123
  },
124
124
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Updating))
@@ -128,7 +128,7 @@ function appendUpdateMenuItems(menuId, group) {
128
128
  order: 2,
129
129
  command: {
130
130
  id: "update.restart",
131
- title: ( localize(15320, "Restart to Update (1)"))
131
+ title: ( localize(15452, "Restart to Update (1)"))
132
132
  },
133
133
  when: ( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready))
134
134
  });
@@ -170,12 +170,12 @@ let ProductContribution = class ProductContribution {
170
170
  if (shouldShowReleaseNotes && !shouldShowPostInstallInfo && !environmentService.skipReleaseNotes && releaseNotesUrl && lastVersion && currentVersion && isMajorMinorUpdate(lastVersion, currentVersion)) {
171
171
  showReleaseNotesInEditor(instantiationService, productService.version, false).then(undefined, () => {
172
172
  notificationService.prompt(Severity.Info, ( localize(
173
- 15321,
173
+ 15453,
174
174
  "Welcome to {0} v{1}! Would you like to read the Release Notes?",
175
175
  productService.nameLong,
176
176
  productService.version
177
177
  )), [{
178
- label: ( localize(15322, "Release Notes")),
178
+ label: ( localize(15454, "Release Notes")),
179
179
  run: () => {
180
180
  const uri = ( URI.parse(releaseNotesUrl));
181
181
  openerService.open(uri);
@@ -241,13 +241,13 @@ let UpdateContribution = class UpdateContribution extends Disposable {
241
241
  }
242
242
  let badge = undefined;
243
243
  if (state.type === StateType.AvailableForDownload || state.type === StateType.Downloaded || state.type === StateType.Ready) {
244
- badge = ( new NumberBadge(1, () => ( localize(15323, "New {0} update available.", this.productService.nameShort))));
244
+ badge = ( new NumberBadge(1, () => ( localize(15455, "New {0} update available.", this.productService.nameShort))));
245
245
  } else if (state.type === StateType.CheckingForUpdates) {
246
- badge = ( new ProgressBadge(() => ( localize(15324, "Checking for {0} updates...", this.productService.nameShort))));
246
+ badge = ( new ProgressBadge(() => ( localize(15456, "Checking for {0} updates...", this.productService.nameShort))));
247
247
  } else if (state.type === StateType.Downloading || state.type === StateType.Overwriting) {
248
- badge = ( new ProgressBadge(() => ( localize(15325, "Downloading {0} update...", this.productService.nameShort))));
248
+ badge = ( new ProgressBadge(() => ( localize(15457, "Downloading {0} update...", this.productService.nameShort))));
249
249
  } else if (state.type === StateType.Updating) {
250
- badge = ( new ProgressBadge(() => ( localize(15326, "Updating {0}...", this.productService.nameShort))));
250
+ badge = ( new ProgressBadge(() => ( localize(15458, "Updating {0}...", this.productService.nameShort))));
251
251
  }
252
252
  this.badgeDisposable.clear();
253
253
  if (badge) {
@@ -284,7 +284,7 @@ let UpdateContribution = class UpdateContribution extends Disposable {
284
284
  order: 1,
285
285
  command: {
286
286
  id: "update.showUpdateReleaseNotes",
287
- title: ( localize(15327, "Show Update Release Notes"))
287
+ title: ( localize(15459, "Show Update Release Notes"))
288
288
  },
289
289
  when: ( ContextKeyExpr.and(( CONTEXT_UPDATE_STATE.isEqualTo(StateType.Ready)), MAJOR_MINOR_UPDATE_AVAILABLE))
290
290
  });
@@ -310,7 +310,7 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
310
310
  constructor() {
311
311
  super({
312
312
  id: commandId,
313
- title: isSwitchingToInsiders ? ( localize(15328, "Switch to Insiders Version...")) : ( localize(15329, "Switch to Stable Version...")),
313
+ title: isSwitchingToInsiders ? ( localize(15460, "Switch to Insiders Version...")) : ( localize(15461, "Switch to Stable Version...")),
314
314
  precondition: IsWebContext,
315
315
  menu: {
316
316
  id: MenuId.GlobalActivity,
@@ -348,15 +348,15 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
348
348
  }
349
349
  const res = await dialogService.confirm({
350
350
  type: "info",
351
- message: ( localize(15330, "Changing the version requires a reload to take effect")),
351
+ message: ( localize(15462, "Changing the version requires a reload to take effect")),
352
352
  detail: newQuality === "insider" ? ( localize(
353
- 15331,
353
+ 15463,
354
354
  "Press the reload button to switch to the Insiders version of VS Code."
355
355
  )) : ( localize(
356
- 15332,
356
+ 15464,
357
357
  "Press the reload button to switch to the Stable version of VS Code."
358
358
  )),
359
- primaryButton: ( localize(15333, "&&Reload"))
359
+ primaryButton: ( localize(15465, "&&Reload"))
360
360
  });
361
361
  if (res.confirmed) {
362
362
  const promises = [];
@@ -386,18 +386,18 @@ let SwitchProductQualityContribution = class SwitchProductQualityContribution ex
386
386
  } = await dialogService.prompt({
387
387
  type: Severity.Info,
388
388
  message: ( localize(
389
- 15334,
389
+ 15466,
390
390
  "Choose the settings sync service to use after changing the version"
391
391
  )),
392
392
  detail: ( localize(
393
- 15335,
393
+ 15467,
394
394
  "The Insiders version of VS Code will synchronize your settings, keybindings, extensions, snippets and UI State using separate insiders settings sync service by default."
395
395
  )),
396
396
  buttons: [{
397
- label: ( localize(15336, "&&Insiders")),
397
+ label: ( localize(15468, "&&Insiders")),
398
398
  run: () => "insiders"
399
399
  }, {
400
- label: ( localize(15337, "&&Stable (current)")),
400
+ label: ( localize(15469, "&&Stable (current)")),
401
401
  run: () => "stable"
402
402
  }],
403
403
  cancelButton: true
@@ -47,7 +47,7 @@ registerAction2(class UpdateIndicatorTitleBarAction extends Action2 {
47
47
  constructor() {
48
48
  super({
49
49
  id: UPDATE_TITLE_BAR_ACTION_ID,
50
- title: ( localize(15338, "Update")),
50
+ title: ( localize(15470, "Update")),
51
51
  f1: false,
52
52
  menu: [{
53
53
  id: MenuId.TitleBarAdjacentCenter,
@@ -273,43 +273,43 @@ let UpdateTitleBarEntry = class UpdateTitleBarEntry extends BaseActionViewItem {
273
273
  const label = append(this.content, $(".indicator-label"));
274
274
  switch (state.type) {
275
275
  case StateType.Disabled:
276
- label.textContent = ( localize(15339, "Update"));
276
+ label.textContent = ( localize(15471, "Update"));
277
277
  this.content.classList.add("update-disabled");
278
278
  break;
279
279
  case StateType.CheckingForUpdates:
280
- label.textContent = ( localize(15340, "Checking..."));
280
+ label.textContent = ( localize(15472, "Checking..."));
281
281
  this.renderProgressState(this.content);
282
282
  break;
283
283
  case StateType.Overwriting:
284
- label.textContent = ( localize(15341, "Updating..."));
284
+ label.textContent = ( localize(15473, "Updating..."));
285
285
  this.renderProgressState(this.content);
286
286
  break;
287
287
  case StateType.AvailableForDownload:
288
288
  case StateType.Downloaded:
289
289
  case StateType.Ready:
290
- label.textContent = ( localize(15339, "Update"));
290
+ label.textContent = ( localize(15471, "Update"));
291
291
  this.content.classList.add("prominent");
292
292
  break;
293
293
  case StateType.Downloading:
294
- label.textContent = ( localize(15342, "Downloading..."));
294
+ label.textContent = ( localize(15474, "Downloading..."));
295
295
  this.renderProgressState(
296
296
  this.content,
297
297
  computeProgressPercent(state.downloadedBytes, state.totalBytes)
298
298
  );
299
299
  break;
300
300
  case StateType.Updating:
301
- label.textContent = ( localize(15343, "Installing..."));
301
+ label.textContent = ( localize(15475, "Installing..."));
302
302
  this.renderProgressState(
303
303
  this.content,
304
304
  computeProgressPercent(state.currentProgress, state.maxProgress)
305
305
  );
306
306
  break;
307
307
  case StateType.Restarting:
308
- label.textContent = ( localize(15344, "Restarting..."));
308
+ label.textContent = ( localize(15476, "Restarting..."));
309
309
  this.renderProgressState(this.content);
310
310
  break;
311
311
  default:
312
- label.textContent = ( localize(15339, "Update"));
312
+ label.textContent = ( localize(15471, "Update"));
313
313
  break;
314
314
  }
315
315
  }
@@ -63,7 +63,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
63
63
  this.messageNode = append(this.domNode, $(".state-message"));
64
64
  this.buttonBar = append(this.domNode, $(".button-bar"));
65
65
  this.releaseNotesButton = append(this.buttonBar, $("button.release-notes-button"));
66
- this.releaseNotesButton.textContent = ( localize(15345, "Release Notes"));
66
+ this.releaseNotesButton.textContent = ( localize(15477, "Release Notes"));
67
67
  this._register(addDisposableListener(this.releaseNotesButton, "click", () => {
68
68
  if (this.releaseNotesVersion) {
69
69
  this.runCommandAndClose(ShowCurrentReleaseNotesActionId, this.releaseNotesVersion);
@@ -82,7 +82,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
82
82
  const productVersion = this.productService.version;
83
83
  if (productVersion) {
84
84
  const currentCommitId = this.productService.commit?.substring(0, 7);
85
- this.currentVersionNode.textContent = currentCommitId ? ( localize(15346, "Current Version: {0} ({1})", productVersion, currentCommitId)) : ( localize(15347, "Current Version: {0}", productVersion));
85
+ this.currentVersionNode.textContent = currentCommitId ? ( localize(15478, "Current Version: {0} ({1})", productVersion, currentCommitId)) : ( localize(15479, "Current Version: {0}", productVersion));
86
86
  this.currentVersionCopyValue.value = currentCommitId ? `${productVersion} (${this.productService.commit})` : productVersion;
87
87
  this.currentVersionNode.parentElement.style.display = "";
88
88
  } else {
@@ -138,46 +138,46 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
138
138
  }
139
139
  }
140
140
  renderUninitialized() {
141
- this.renderTitleAndInfo(( localize(15348, "Initializing")));
142
- this.renderMessage(( localize(15349, "Initializing update service...")));
141
+ this.renderTitleAndInfo(( localize(15480, "Initializing")));
142
+ this.renderMessage(( localize(15481, "Initializing update service...")));
143
143
  }
144
144
  renderDisabled(
145
145
  {
146
146
  reason
147
147
  }
148
148
  ) {
149
- this.renderTitleAndInfo(( localize(15350, "Updates Disabled")));
149
+ this.renderTitleAndInfo(( localize(15482, "Updates Disabled")));
150
150
  switch (reason) {
151
151
  case DisablementReason.NotBuilt:
152
- this.renderMessage(( localize(15351, "Updates are not available for this build.")), Codicon.info);
152
+ this.renderMessage(( localize(15483, "Updates are not available for this build.")), Codicon.info);
153
153
  break;
154
154
  case DisablementReason.DisabledByEnvironment:
155
- this.renderMessage(( localize(15352, "Updates are disabled by the --disable-updates command line flag.")), Codicon.warning);
155
+ this.renderMessage(( localize(15484, "Updates are disabled by the --disable-updates command line flag.")), Codicon.warning);
156
156
  break;
157
157
  case DisablementReason.ManuallyDisabled:
158
158
  this.renderMessage(( localize(
159
- 15353,
159
+ 15485,
160
160
  "Updates are manually disabled. Change the \"update.mode\" setting to enable."
161
161
  )), Codicon.warning);
162
162
  break;
163
163
  case DisablementReason.Policy:
164
- this.renderMessage(( localize(15354, "Updates are disabled by organization policy.")), Codicon.info);
164
+ this.renderMessage(( localize(15486, "Updates are disabled by organization policy.")), Codicon.info);
165
165
  break;
166
166
  case DisablementReason.MissingConfiguration:
167
- this.renderMessage(( localize(15355, "Updates are disabled because no update URL is configured.")), Codicon.info);
167
+ this.renderMessage(( localize(15487, "Updates are disabled because no update URL is configured.")), Codicon.info);
168
168
  break;
169
169
  case DisablementReason.InvalidConfiguration:
170
- this.renderMessage(( localize(15356, "Updates are disabled because the update URL is invalid.")), Codicon.error);
170
+ this.renderMessage(( localize(15488, "Updates are disabled because the update URL is invalid.")), Codicon.error);
171
171
  break;
172
172
  case DisablementReason.RunningAsAdmin:
173
173
  this.renderMessage(( localize(
174
- 15357,
174
+ 15489,
175
175
  "Updates are not available when running a user install of {0} as administrator.",
176
176
  this.productService.nameShort
177
177
  )), Codicon.warning);
178
178
  break;
179
179
  default:
180
- this.renderMessage(( localize(15358, "Updates are disabled.")), Codicon.warning);
180
+ this.renderMessage(( localize(15490, "Updates are disabled.")), Codicon.warning);
181
181
  break;
182
182
  }
183
183
  }
@@ -188,55 +188,55 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
188
188
  }
189
189
  ) {
190
190
  if (error) {
191
- this.renderTitleAndInfo(( localize(15359, "Update Error")));
191
+ this.renderTitleAndInfo(( localize(15491, "Update Error")));
192
192
  this.renderMessage(error, Codicon.error);
193
193
  return;
194
194
  }
195
195
  if (notAvailable) {
196
- this.renderTitleAndInfo(( localize(15360, "No Update Available")));
197
- this.renderMessage(( localize(15361, "There are no updates currently available.")), Codicon.info);
196
+ this.renderTitleAndInfo(( localize(15492, "No Update Available")));
197
+ this.renderMessage(( localize(15493, "There are no updates currently available.")), Codicon.info);
198
198
  return;
199
199
  }
200
- this.renderTitleAndInfo(( localize(15362, "Up to Date")));
200
+ this.renderTitleAndInfo(( localize(15494, "Up to Date")));
201
201
  switch (this.configurationService.getValue("update.mode")) {
202
202
  case "none":
203
- this.renderMessage(( localize(15363, "Automatic updates are disabled.")), Codicon.warning);
203
+ this.renderMessage(( localize(15495, "Automatic updates are disabled.")), Codicon.warning);
204
204
  break;
205
205
  case "manual":
206
206
  this.renderMessage(( localize(
207
- 15364,
207
+ 15496,
208
208
  "Automatic updates will be checked but not installed automatically."
209
209
  )));
210
210
  break;
211
211
  case "start":
212
- this.renderMessage(( localize(15365, "Updates will be applied on restart.")));
212
+ this.renderMessage(( localize(15497, "Updates will be applied on restart.")));
213
213
  break;
214
214
  case "default":
215
215
  if (this.meteredConnectionService.isConnectionMetered) {
216
216
  this.renderMessage(( localize(
217
- 15366,
217
+ 15498,
218
218
  "Automatic updates are paused because the network connection is metered."
219
219
  )), Codicon.radioTower);
220
220
  } else {
221
- this.renderMessage(( localize(15367, "Automatic updates are enabled. Happy Coding!")), Codicon.smiley);
221
+ this.renderMessage(( localize(15499, "Automatic updates are enabled. Happy Coding!")), Codicon.smiley);
222
222
  }
223
223
  break;
224
224
  }
225
225
  }
226
226
  renderCheckingForUpdates() {
227
- this.renderTitleAndInfo(( localize(15368, "Checking for Updates")));
228
- this.renderMessage(( localize(15369, "Checking for updates, please wait...")));
227
+ this.renderTitleAndInfo(( localize(15500, "Checking for Updates")));
228
+ this.renderMessage(( localize(15501, "Checking for updates, please wait...")));
229
229
  }
230
230
  renderAvailableForDownload(
231
231
  {
232
232
  update
233
233
  }
234
234
  ) {
235
- this.renderTitleAndInfo(( localize(15370, "Update Available")), update);
236
- this.renderActionButton(( localize(15371, "Download")), "update.downloadNow");
235
+ this.renderTitleAndInfo(( localize(15502, "Update Available")), update);
236
+ this.renderActionButton(( localize(15503, "Download")), "update.downloadNow");
237
237
  }
238
238
  renderDownloading(state) {
239
- this.renderTitleAndInfo(( localize(15372, "Downloading Update")), state.update);
239
+ this.renderTitleAndInfo(( localize(15504, "Downloading Update")), state.update);
240
240
  const {
241
241
  downloadedBytes,
242
242
  totalBytes
@@ -249,15 +249,15 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
249
249
  this.progressContainer.style.display = "";
250
250
  const speed = computeDownloadSpeed(state);
251
251
  if (speed !== undefined && speed > 0) {
252
- this.speedInfoNode.textContent = ( localize(15373, "{0}/s", formatBytes(speed)));
252
+ this.speedInfoNode.textContent = ( localize(15505, "{0}/s", formatBytes(speed)));
253
253
  }
254
254
  const timeRemaining = computeDownloadTimeRemaining(state);
255
255
  if (timeRemaining !== undefined && timeRemaining > 0) {
256
- this.timeRemainingNode.textContent = `~${formatTimeRemaining(timeRemaining)} ${( localize(15374, "remaining"))}`;
256
+ this.timeRemainingNode.textContent = `~${formatTimeRemaining(timeRemaining)} ${( localize(15506, "remaining"))}`;
257
257
  }
258
258
  this.downloadStatsContainer.style.display = "";
259
259
  } else {
260
- this.renderMessage(( localize(15375, "Downloading update, please wait...")));
260
+ this.renderMessage(( localize(15507, "Downloading update, please wait...")));
261
261
  }
262
262
  }
263
263
  renderDownloaded(
@@ -265,8 +265,8 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
265
265
  update
266
266
  }
267
267
  ) {
268
- this.renderTitleAndInfo(( localize(15376, "Update is Ready to Install")), update);
269
- this.renderActionButton(( localize(15377, "Install")), "update.install");
268
+ this.renderTitleAndInfo(( localize(15508, "Update is Ready to Install")), update);
269
+ this.renderActionButton(( localize(15509, "Install")), "update.install");
270
270
  }
271
271
  renderUpdating(
272
272
  {
@@ -275,7 +275,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
275
275
  maxProgress
276
276
  }
277
277
  ) {
278
- this.renderTitleAndInfo(( localize(15378, "Installing Update")), update);
278
+ this.renderTitleAndInfo(( localize(15510, "Installing Update")), update);
279
279
  const percentage = computeProgressPercent(currentProgress, maxProgress);
280
280
  if (percentage !== undefined) {
281
281
  this.progressFill.style.width = `${percentage}%`;
@@ -283,7 +283,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
283
283
  this.progressSizeNode.textContent = "";
284
284
  this.progressContainer.style.display = "";
285
285
  } else {
286
- this.renderMessage(( localize(15379, "Installing update, please wait...")));
286
+ this.renderMessage(( localize(15511, "Installing update, please wait...")));
287
287
  }
288
288
  }
289
289
  renderReady(
@@ -292,10 +292,10 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
292
292
  }
293
293
  ) {
294
294
  if (this.configurationService.getValue("update.mode") === "manual") {
295
- this.renderTitleAndInfo(( localize(15380, "Update Installed")), update);
296
- this.renderActionButton(( localize(15381, "Restart")), "update.restart");
295
+ this.renderTitleAndInfo(( localize(15512, "Update Installed")), update);
296
+ this.renderActionButton(( localize(15513, "Restart")), "update.restart");
297
297
  } else {
298
- this.renderTitleAndInfo(( localize(15382, "Restart to Update")), update);
298
+ this.renderTitleAndInfo(( localize(15514, "Restart to Update")), update);
299
299
  }
300
300
  }
301
301
  renderOverwriting(
@@ -303,23 +303,23 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
303
303
  update
304
304
  }
305
305
  ) {
306
- this.renderTitleAndInfo(( localize(15383, "Downloading Newer Update")), update);
307
- this.renderMessage(( localize(15384, "A newer update was released. Downloading, please wait...")));
306
+ this.renderTitleAndInfo(( localize(15515, "Downloading Newer Update")), update);
307
+ this.renderMessage(( localize(15516, "A newer update was released. Downloading, please wait...")));
308
308
  }
309
309
  renderRestarting(
310
310
  {
311
311
  update
312
312
  }
313
313
  ) {
314
- this.renderTitleAndInfo(( localize(15385, "Restarting {0}", this.productService.nameShort)), update);
315
- this.renderMessage(( localize(15386, "Restarting to update, please wait...")));
314
+ this.renderTitleAndInfo(( localize(15517, "Restarting {0}", this.productService.nameShort)), update);
315
+ this.renderMessage(( localize(15518, "Restarting to update, please wait...")));
316
316
  }
317
317
  renderTitleAndInfo(title, update) {
318
318
  this.titleNode.textContent = title;
319
319
  const version = update?.productVersion;
320
320
  if (version) {
321
321
  const updateCommitId = update.version?.substring(0, 7);
322
- this.latestVersionNode.textContent = updateCommitId ? ( localize(15387, "Latest Version: {0} ({1})", version, updateCommitId)) : ( localize(15388, "Latest Version: {0}", version));
322
+ this.latestVersionNode.textContent = updateCommitId ? ( localize(15519, "Latest Version: {0} ({1})", version, updateCommitId)) : ( localize(15520, "Latest Version: {0}", version));
323
323
  this.latestVersionCopyValue.value = updateCommitId ? `${version} (${update.version})` : version;
324
324
  this.latestVersionNode.parentElement.style.display = "";
325
325
  } else {
@@ -327,7 +327,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
327
327
  }
328
328
  const releaseDate = update?.timestamp ?? tryParseDate(this.productService.date);
329
329
  if (typeof releaseDate === "number" && releaseDate > 0) {
330
- this.releaseDateNode.textContent = ( localize(15389, "Released {0}", formatDate(releaseDate)));
330
+ this.releaseDateNode.textContent = ( localize(15521, "Released {0}", formatDate(releaseDate)));
331
331
  this.releaseDateNode.style.display = "";
332
332
  } else {
333
333
  this.releaseDateNode.style.display = "none";
@@ -360,7 +360,7 @@ let UpdateTooltip = class UpdateTooltip extends Disposable {
360
360
  const copyButton = append(row, $("a.copy-version-button"));
361
361
  copyButton.setAttribute("role", "button");
362
362
  copyButton.setAttribute("tabindex", "0");
363
- const title = ( localize(15390, "Copy"));
363
+ const title = ( localize(15522, "Copy"));
364
364
  copyButton.title = title;
365
365
  copyButton.setAttribute("aria-label", title);
366
366
  const copyIcon = append(copyButton, $(".copy-icon"));
@@ -54,31 +54,31 @@ function formatTimeRemaining(seconds) {
54
54
  if (hours >= 1) {
55
55
  const formattedHours = formatDecimal(hours);
56
56
  if (formattedHours === "1") {
57
- return localize(15391, "{0} hour", formattedHours);
57
+ return localize(15523, "{0} hour", formattedHours);
58
58
  } else {
59
- return localize(15392, "{0} hours", formattedHours);
59
+ return localize(15524, "{0} hours", formattedHours);
60
60
  }
61
61
  }
62
62
  const minutes = Math.floor(seconds / 60);
63
63
  if (minutes >= 1) {
64
- return localize(15393, "{0} min", minutes);
64
+ return localize(15525, "{0} min", minutes);
65
65
  }
66
- return localize(15394, "{0}s", seconds);
66
+ return localize(15526, "{0}s", seconds);
67
67
  }
68
68
  function formatBytes(bytes) {
69
69
  if (bytes < 1024) {
70
- return localize(15395, "{0} B", bytes);
70
+ return localize(15527, "{0} B", bytes);
71
71
  }
72
72
  const kb = bytes / 1024;
73
73
  if (kb < 1024) {
74
- return localize(15396, "{0} KB", formatDecimal(kb));
74
+ return localize(15528, "{0} KB", formatDecimal(kb));
75
75
  }
76
76
  const mb = kb / 1024;
77
77
  if (mb < 1024) {
78
- return localize(15397, "{0} MB", formatDecimal(mb));
78
+ return localize(15529, "{0} MB", formatDecimal(mb));
79
79
  }
80
80
  const gb = mb / 1024;
81
- return localize(15398, "{0} GB", formatDecimal(gb));
81
+ return localize(15530, "{0} GB", formatDecimal(gb));
82
82
  }
83
83
  function tryParseDate(date) {
84
84
  if (date === undefined) {