@theia/core 1.67.0-next.86 → 1.67.0

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.
@@ -93,9 +93,9 @@ export namespace Severity {
93
93
 
94
94
  export function toLocaleString(severity: string | Severity): string {
95
95
  if (severity === Severity.Error || severity === error) {
96
- return nls.localize('theia/core/severity/errors', 'Errors');
96
+ return nls.localizeByDefault('Errors');
97
97
  } else if (severity === Severity.Warning || severity === warning) {
98
- return nls.localize('theia/core/severity/warnings', 'Warnings');
98
+ return nls.localizeByDefault('Warnings');
99
99
  } else if (severity === Severity.Info || severity === info) {
100
100
  return nls.localizeByDefault('Info');
101
101
  } else if (severity === Severity.Log || severity === log) {
@@ -45,8 +45,7 @@ export const electronWindowPreferencesSchema: PreferenceSchema = {
45
45
  enum: ['native', 'custom'],
46
46
  default: isWindows ? 'custom' : 'native',
47
47
  scope: PreferenceScope.User,
48
- // eslint-disable-next-line max-len
49
- description: nls.localizeByDefault('Adjust the appearance of the window title bar to be native by the OS or custom. On Linux and Windows, this setting also affects the application and context menu appearances. Changes require a full restart to apply.'),
48
+ description: nls.localizeByDefault('Adjust the appearance of the window title bar to be native by the OS or custom. Changes require a full restart to apply.'),
50
49
  included: !isOSX
51
50
  },
52
51
  }