@shellui/core 0.7.0-alpha.1 → 0.7.0-alpha.11

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.
Files changed (94) hide show
  1. package/package.json +2 -2
  2. package/schemas/shellui.config.schema.json +37 -4
  3. package/src/components/ContentView.tsx +19 -8
  4. package/src/components/ui/drawer.tsx +47 -30
  5. package/src/components/ui/sheet.tsx +18 -12
  6. package/src/components/ui/sidebar.tsx +25 -11
  7. package/src/components/ui/tooltip.tsx +4 -2
  8. package/src/features/admin/AdminView.tsx +9 -6
  9. package/src/features/auth/AuthProvider.tsx +25 -4
  10. package/src/features/auth/appBackend/appBackendSessions.spec.ts +134 -0
  11. package/src/features/auth/appBackend/appBackendSessions.ts +168 -17
  12. package/src/features/auth/appBackend/childFrames.spec.ts +328 -0
  13. package/src/features/auth/appBackend/childFrames.ts +180 -0
  14. package/src/features/auth/appBackend/frameAuth.ts +47 -10
  15. package/src/features/auth/appBackend/silentSignIn.spec.ts +18 -0
  16. package/src/features/auth/appBackend/silentSignIn.ts +15 -1
  17. package/src/features/auth/appBackend/tokenExchange.spec.ts +98 -0
  18. package/src/features/auth/appBackend/tokenExchange.ts +76 -0
  19. package/src/features/auth/components/LoginButton.spec.tsx +155 -0
  20. package/src/features/auth/components/LoginButton.tsx +52 -27
  21. package/src/features/auth/components/LoginButtonIcons.tsx +4 -8
  22. package/src/features/auth/components/OAuthCallbackView.tsx +7 -5
  23. package/src/features/auth/utils/buildOAuthSessionRedirectTo.spec.ts +42 -1
  24. package/src/features/auth/utils/buildOAuthSessionRedirectTo.ts +23 -0
  25. package/src/features/auth/utils/canRestoreStoredSession.spec.ts +29 -0
  26. package/src/features/auth/utils/canRestoreStoredSession.ts +12 -0
  27. package/src/features/auth/utils/index.ts +7 -1
  28. package/src/features/auth/utils/resolveSdkLoginRedirectPath.spec.ts +41 -0
  29. package/src/features/auth/utils/resolveSdkLoginRedirectPath.ts +31 -0
  30. package/src/features/auth/utils/webPkce.spec.ts +23 -0
  31. package/src/features/auth/utils/webPkce.ts +23 -6
  32. package/src/features/chromeActions/ChromeActionsHost.tsx +5 -1
  33. package/src/features/chromeActions/computeActionInsets.ts +7 -4
  34. package/src/features/config/types.ts +30 -4
  35. package/src/features/layouts/OverlayShell.tsx +58 -40
  36. package/src/features/layouts/appbar/AppBarItemIcon.spec.tsx +45 -0
  37. package/src/features/layouts/appbar/AppBarItemIcon.tsx +19 -0
  38. package/src/features/layouts/appbar/AppBarLayout.tsx +115 -110
  39. package/src/features/layouts/appbar/appBarOverflow.spec.ts +27 -0
  40. package/src/features/layouts/appbar/appBarOverflow.ts +42 -0
  41. package/src/features/layouts/chrome/CollapsedDesktopTitlebar.tsx +13 -24
  42. package/src/features/layouts/chrome/ContentDragOverlay.tsx +5 -6
  43. package/src/features/layouts/chrome/DesktopChrome.tsx +37 -0
  44. package/src/features/layouts/chrome/DesktopHistoryButtons.tsx +15 -4
  45. package/src/features/layouts/chrome/MacStrip.tsx +33 -0
  46. package/src/features/layouts/chrome/constants.ts +36 -8
  47. package/src/features/layouts/chrome/index.ts +8 -0
  48. package/src/features/layouts/chrome/stripDragMap.ts +35 -0
  49. package/src/features/layouts/chrome/stripNoDrag.spec.tsx +103 -0
  50. package/src/features/layouts/chrome/useScrollHideChrome.ts +3 -8
  51. package/src/features/layouts/chrome/viewport.ts +11 -4
  52. package/src/features/layouts/filterNavigationForAuthState.spec.ts +5 -3
  53. package/src/features/layouts/floating/FloatingBottomDock.tsx +263 -43
  54. package/src/features/layouts/floating/FloatingLayout.tsx +14 -8
  55. package/src/features/layouts/floating/FloatingSidebar.tsx +165 -73
  56. package/src/features/layouts/floating/computeFloatingInsets.ts +22 -4
  57. package/src/features/layouts/floating/moreSections.spec.ts +28 -0
  58. package/src/features/layouts/floating/moreSections.ts +31 -0
  59. package/src/features/layouts/floating/useFloatingChrome.ts +3 -1
  60. package/src/features/layouts/floating/useSoftKeyboard.spec.ts +39 -0
  61. package/src/features/layouts/floating/useSoftKeyboard.ts +82 -0
  62. package/src/features/layouts/fullscreen/FullscreenLayout.spec.tsx +68 -0
  63. package/src/features/layouts/fullscreen/FullscreenLayout.tsx +47 -10
  64. package/src/features/layouts/sidebar/NavigationContent.tsx +17 -9
  65. package/src/features/layouts/sidebar/SidebarIcons.tsx +70 -9
  66. package/src/features/layouts/sidebar/SidebarInner.spec.tsx +109 -0
  67. package/src/features/layouts/sidebar/SidebarInner.tsx +94 -43
  68. package/src/features/layouts/sidebar/SidebarLayout.tsx +24 -17
  69. package/src/features/layouts/utils.ts +4 -3
  70. package/src/features/layouts/windows/DesktopDots.tsx +76 -0
  71. package/src/features/layouts/windows/WindowsLayout.tsx +251 -161
  72. package/src/features/layouts/windows/deskDots.spec.ts +54 -0
  73. package/src/features/layouts/windows/deskDots.ts +314 -0
  74. package/src/features/overlays/ResponsiveModal.tsx +5 -3
  75. package/src/features/overlays/overlaySize.spec.ts +56 -16
  76. package/src/features/overlays/overlaySize.ts +114 -31
  77. package/src/features/overlays/phoneDrawerAnchoring.spec.ts +187 -0
  78. package/src/features/overlays/useOverlayReportedSize.ts +8 -3
  79. package/src/features/settings/SettingsProvider.tsx +158 -2
  80. package/src/features/settings/utils/buildSettingsForPropagation.spec.ts +8 -7
  81. package/src/features/settings/utils/buildSettingsForPropagation.ts +4 -6
  82. package/src/features/theme/applyTheme.ts +8 -0
  83. package/src/features/theme/navContrast.spec.ts +49 -0
  84. package/src/features/theme/navContrast.ts +108 -0
  85. package/src/features/transfers/transferQueue.spec.ts +6 -2
  86. package/src/i18n/translations/en/common.json +26 -0
  87. package/src/i18n/translations/fr/common.json +26 -0
  88. package/src/index.css +1145 -77
  89. package/src/index.ts +1 -0
  90. package/src/routes/hooks/useNavigationItems.ts +14 -3
  91. package/src/routes/hooks/withShellSearch.spec.ts +13 -0
  92. package/src/service-worker/devCaches.spec.ts +32 -0
  93. package/src/service-worker/devCaches.ts +27 -0
  94. package/src/service-worker/sw-dev.ts +23 -23
@@ -287,25 +287,26 @@ describe('buildSettingsForPropagation', () => {
287
287
  expect(result.email).toEqual({ url: 'http://localhost:8003' });
288
288
  });
289
289
 
290
- it('uses the production email url when email is set without url', () => {
290
+ it('sends no email when email is set without url (no built-in default)', () => {
291
291
  const config = {
292
292
  email: {},
293
293
  } as ShellUIConfig;
294
294
 
295
295
  const result = buildSettingsForPropagation(baseSettings, config, 'en');
296
- expect(result.email).toEqual({ url: 'https://email.shellui.com' });
296
+ expect(result.email).toBeNull();
297
297
  });
298
298
 
299
- it('propagates showInAdmin false for email and keeps the default url', () => {
299
+ it('propagates showInAdmin false for email', () => {
300
300
  const config = {
301
301
  email: {
302
+ url: 'http://localhost:8003',
302
303
  showInAdmin: false,
303
304
  },
304
305
  } as ShellUIConfig;
305
306
 
306
307
  const result = buildSettingsForPropagation(baseSettings, config, 'en');
307
308
  expect(result.email).toEqual({
308
- url: 'https://email.shellui.com',
309
+ url: 'http://localhost:8003',
309
310
  showInAdmin: false,
310
311
  });
311
312
  });
@@ -560,7 +561,7 @@ describe('buildSettingsForPropagation', () => {
560
561
  expect(json).not.toContain('https://email.shellui.com');
561
562
  });
562
563
 
563
- it('uses the default email URL when a foreign app sets an empty email object', () => {
564
+ it('sends no email when a foreign app sets an empty email object', () => {
564
565
  const withEmptyEmail = {
565
566
  ...appConfig,
566
567
  navigation: (appConfig.navigation ?? []).map((item) =>
@@ -580,7 +581,7 @@ describe('buildSettingsForPropagation', () => {
580
581
  'en',
581
582
  options,
582
583
  );
583
- expect(result.email).toEqual({ url: 'https://email.shellui.com' });
584
+ expect(result.email).toBeNull();
584
585
  expect(result.storage).toBeNull();
585
586
  expect(result.hosting).toBeNull();
586
587
  const json = JSON.stringify(result);
@@ -618,7 +619,7 @@ describe('buildSettingsForPropagation', () => {
618
619
  );
619
620
  expect(result.accessToken).toBe(shellToken);
620
621
  expect(result.authBackendBaseUrl).toBe('https://id.example.com');
621
- expect(result.email).toEqual({ url: 'https://email.shellui.com' });
622
+ expect(result.email).toBeNull();
622
623
  expect(result.storage).toEqual(shellServices.storage);
623
624
  expect(result.hosting).toEqual(shellServices.hosting);
624
625
  });
@@ -15,15 +15,13 @@ import {
15
15
  getPublishedLayoutChrome,
16
16
  } from '../../layouts/floating/layoutChromeStore';
17
17
 
18
- /** Production email-service origin. No trailing slash. */
19
- const DEFAULT_EMAIL_SERVICE_URL = 'https://email.shellui.com';
20
-
21
18
  const propagateEmail = (email: EmailConfig | null | undefined): SettingsEmail | null => {
22
- if (!email) return null;
23
- const url = email.url?.trim().replace(/\/+$/, '') || DEFAULT_EMAIL_SERVICE_URL;
19
+ // No built-in default: email must come from config or the host app.
20
+ const url = email?.url?.trim().replace(/\/+$/, '') || null;
21
+ if (!url) return null;
24
22
  return {
25
23
  url,
26
- ...(email.showInAdmin === false ? { showInAdmin: false } : {}),
24
+ ...(email?.showInAdmin === false ? { showInAdmin: false } : {}),
27
25
  };
28
26
  };
29
27
 
@@ -1,6 +1,7 @@
1
1
  import { toCssVarValue } from './color';
2
2
  import type { ThemeColorsMode, ThemeDefinition } from './types';
3
3
  import { isHomeScreenPwa, isTauriRuntime } from '../layouts/chrome/runtime';
4
+ import { isLowNavContrast, NAV_CONTRAST_ATTR } from './navContrast';
4
5
 
5
6
  const COLOR_VAR_MAP: Array<[keyof ThemeColorsMode, string]> = [
6
7
  ['background', '--background'],
@@ -95,6 +96,13 @@ export function applyTheme(theme: ThemeDefinition, isDark: boolean): void {
95
96
 
96
97
  root.style.setProperty('--radius', colors.radius);
97
98
 
99
+ // Solid active pill under 4.5:1 in this mode: chrome switches to a tinted pill.
100
+ if (isLowNavContrast(colors.sidebarPrimary, colors.sidebarPrimaryForeground)) {
101
+ root.setAttribute(NAV_CONTRAST_ATTR, 'low');
102
+ } else {
103
+ root.removeAttribute(NAV_CONTRAST_ATTR);
104
+ }
105
+
98
106
  // Browser-tab chrome only — see syncThemeColorMeta (skipped for PWA / Tauri).
99
107
  syncThemeColorMeta(toCssVarValue(colors.background) || (isDark ? '#000000' : '#ffffff'));
100
108
 
@@ -0,0 +1,49 @@
1
+ // @vitest-environment happy-dom
2
+ import { describe, expect, it } from 'vitest';
3
+ import { contrastRatio, isLowNavContrast, parseThemeColor } from './navContrast';
4
+ import { curatedThemes } from './themes';
5
+ import { applyTheme } from './applyTheme';
6
+
7
+ describe('navContrast', () => {
8
+ it('parses oklch, hex and hsl', () => {
9
+ expect(parseThemeColor('oklch(1 0 0)')).toEqual([1, 1, 1]);
10
+ expect(parseThemeColor('#000000')).toEqual([0, 0, 0]);
11
+ expect(parseThemeColor('0 0% 100%')?.map((n) => Math.round(n))).toEqual([1, 1, 1]);
12
+ expect(parseThemeColor('hsl(0 0% 0%)')).toEqual([0, 0, 0]);
13
+ expect(parseThemeColor('var(--x)')).toBeNull();
14
+ });
15
+
16
+ it('computes WCAG ratios', () => {
17
+ expect(contrastRatio('#000000', '#ffffff')).toBeCloseTo(21, 1);
18
+ expect(contrastRatio('nope', '#ffffff')).toBeNull();
19
+ expect(isLowNavContrast('nope', '#ffffff')).toBe(false);
20
+ });
21
+
22
+ it('keeps the solid pill on shellui and flags the low curated modes (37 from the audit, plus quantum-rose light at 4.497:1)', () => {
23
+ const low: string[] = [];
24
+ for (const theme of curatedThemes) {
25
+ for (const mode of ['light', 'dark'] as const) {
26
+ const c = theme.colors[mode];
27
+ if (isLowNavContrast(c.sidebarPrimary, c.sidebarPrimaryForeground)) {
28
+ low.push(`${theme.name}:${mode}`);
29
+ }
30
+ }
31
+ }
32
+ expect(low).not.toContain('shellui:light');
33
+ expect(low).not.toContain('shellui:dark');
34
+ expect(low).toContain('twitter:light');
35
+ expect(low).toContain('amber-minimal:dark');
36
+ expect(low).toContain('quantum-rose:light');
37
+ expect(low).toHaveLength(38);
38
+ });
39
+
40
+ it('applyTheme sets and clears the attribute on <html>', () => {
41
+ const twitter = curatedThemes.find((t) => t.name === 'twitter');
42
+ const shellui = curatedThemes.find((t) => t.name === 'shellui');
43
+ if (!twitter || !shellui) throw new Error('curated themes twitter and shellui are required');
44
+ applyTheme({ ...twitter, fontFiles: [] }, false);
45
+ expect(document.documentElement.getAttribute('data-shellui-nav-contrast')).toBe('low');
46
+ applyTheme({ ...shellui, fontFiles: [] }, false);
47
+ expect(document.documentElement.hasAttribute('data-shellui-nav-contrast')).toBe(false);
48
+ });
49
+ });
@@ -0,0 +1,108 @@
1
+ /**
2
+ * Active nav contrast guard.
3
+ *
4
+ * The solid active pill paints `--sidebar-primary-foreground` on `--sidebar-primary`.
5
+ * Some themes pair those two below WCAG AA (4.5:1). For those, `applyTheme` sets
6
+ * `html[data-shellui-nav-contrast="low"]` and the chrome switches to a tinted pill.
7
+ *
8
+ * Parses the colour formats themes use: oklch(), #rrggbb, hsl() and legacy
9
+ * `H S% L%` channels. Anything else returns null (guard stays off).
10
+ */
11
+
12
+ export const NAV_CONTRAST_MIN = 4.5;
13
+ export const NAV_CONTRAST_ATTR = 'data-shellui-nav-contrast';
14
+
15
+ type Rgb = [number, number, number];
16
+
17
+ const clamp01 = (n: number) => Math.min(1, Math.max(0, n));
18
+
19
+ function parseNumber(token: string, percentScale: number): number | null {
20
+ const t = token.trim();
21
+ if (t === 'none') return 0;
22
+ const n = parseFloat(t);
23
+ if (Number.isNaN(n)) return null;
24
+ return t.endsWith('%') ? (n / 100) * percentScale : n;
25
+ }
26
+
27
+ /** OKLCH to linear sRGB (Björn Ottosson's matrices), clamped to the gamut. */
28
+ function oklchToLinearRgb(L: number, C: number, H: number): Rgb {
29
+ const hr = (H * Math.PI) / 180;
30
+ const a = C * Math.cos(hr);
31
+ const b = C * Math.sin(hr);
32
+ const l_ = L + 0.3963377774 * a + 0.2158037573 * b;
33
+ const m_ = L - 0.1055613458 * a - 0.0638541728 * b;
34
+ const s_ = L - 0.0894841775 * a - 1.291485548 * b;
35
+ const l = l_ ** 3;
36
+ const m = m_ ** 3;
37
+ const s = s_ ** 3;
38
+ return [
39
+ clamp01(4.0767416621 * l - 3.3077115913 * m + 0.2309699292 * s),
40
+ clamp01(-1.2684380046 * l + 2.6097574011 * m - 0.3413193965 * s),
41
+ clamp01(-0.0041960863 * l - 0.7034186147 * m + 1.707614701 * s),
42
+ ];
43
+ }
44
+
45
+ const srgbToLinear = (c: number) => (c <= 0.04045 ? c / 12.92 : ((c + 0.055) / 1.055) ** 2.4);
46
+
47
+ function hslToLinearRgb(h: number, s: number, l: number): Rgb {
48
+ const k = (n: number) => (n + h / 30) % 12;
49
+ const a = s * Math.min(l, 1 - l);
50
+ const f = (n: number) => l - a * Math.max(-1, Math.min(k(n) - 3, Math.min(9 - k(n), 1)));
51
+ return [srgbToLinear(f(0)), srgbToLinear(f(8)), srgbToLinear(f(4))];
52
+ }
53
+
54
+ /** Linear sRGB for a theme colour value, or null when the format is unknown. */
55
+ export function parseThemeColor(value: string | undefined | null): Rgb | null {
56
+ if (!value || typeof value !== 'string') return null;
57
+ const v = value.trim().toLowerCase();
58
+
59
+ const hex = v.match(/^#?([0-9a-f]{6})$/);
60
+ if (hex) {
61
+ const n = parseInt(hex[1], 16);
62
+ return [
63
+ srgbToLinear(((n >> 16) & 255) / 255),
64
+ srgbToLinear(((n >> 8) & 255) / 255),
65
+ srgbToLinear((n & 255) / 255),
66
+ ];
67
+ }
68
+
69
+ const ok = v.match(/^oklch\(\s*([^\s/]+)\s+([^\s/]+)\s+([^\s/)]+)/);
70
+ if (ok) {
71
+ const L = parseNumber(ok[1], 1);
72
+ const C = parseNumber(ok[2], 0.4);
73
+ const H = parseNumber(ok[3], 360);
74
+ if (L === null || C === null || H === null) return null;
75
+ return oklchToLinearRgb(L, C, H);
76
+ }
77
+
78
+ const hsl = v.match(/^(?:hsla?\()?\s*([\d.]+)(?:deg)?[\s,]+([\d.]+)%[\s,]+([\d.]+)%/);
79
+ if (hsl) {
80
+ return hslToLinearRgb(parseFloat(hsl[1]), parseFloat(hsl[2]) / 100, parseFloat(hsl[3]) / 100);
81
+ }
82
+
83
+ return null;
84
+ }
85
+
86
+ const luminance = ([r, g, b]: Rgb) => 0.2126 * r + 0.7152 * g + 0.0722 * b;
87
+
88
+ /** WCAG 2 contrast ratio between two theme colours, or null when either is unparsable. */
89
+ export function contrastRatio(
90
+ a: string | undefined | null,
91
+ b: string | undefined | null,
92
+ ): number | null {
93
+ const ca = parseThemeColor(a);
94
+ const cb = parseThemeColor(b);
95
+ if (!ca || !cb) return null;
96
+ const la = luminance(ca);
97
+ const lb = luminance(cb);
98
+ return (Math.max(la, lb) + 0.05) / (Math.min(la, lb) + 0.05);
99
+ }
100
+
101
+ /** True when the solid active pill would fall under 4.5:1 for this mode. */
102
+ export function isLowNavContrast(
103
+ sidebarPrimary?: string | null,
104
+ sidebarPrimaryForeground?: string | null,
105
+ ): boolean {
106
+ const ratio = contrastRatio(sidebarPrimary, sidebarPrimaryForeground);
107
+ return ratio !== null && ratio < NAV_CONTRAST_MIN;
108
+ }
@@ -47,14 +47,18 @@ describe('transferQueue', () => {
47
47
  expect(summary.active).toBe(2);
48
48
  expect(summary.activeUploads).toBe(1);
49
49
  expect(summary.activeDownloads).toBe(1);
50
- expect(getItemPercent(getTransferQueue().find((i) => i.id === 'dl')!)).toBe(25);
50
+ const download = getTransferQueue().find((i) => i.id === 'dl');
51
+ expect(download).toBeDefined();
52
+ expect(getItemPercent(download as NonNullable<typeof download>)).toBe(25);
51
53
  expect(getTransferQueue().find((i) => i.id === 'dl')?.bytesTransferred).toBe(175_000_000);
52
54
  });
53
55
 
54
56
  it('supports ratio-only progress when size is unknown', () => {
55
57
  addTransfer({ id: 'dl', kind: 'download', name: 'Model', size: 0 });
56
58
  setTransferProgress('dl', { ratio: 0.4 });
57
- expect(getItemPercent(getTransferQueue()[0]!)).toBe(40);
59
+ const [item] = getTransferQueue();
60
+ expect(item).toBeDefined();
61
+ expect(getItemPercent(item as NonNullable<typeof item>)).toBe(40);
58
62
  expect(getTransferSummary().percent).toBe(40);
59
63
  });
60
64
 
@@ -24,6 +24,7 @@
24
24
  "userFallback": "User",
25
25
  "goToLoginAriaLabel": "Go to login",
26
26
  "openAccountMenuAriaLabel": "Open account menu for {{name}}",
27
+ "openAccountMenuWithEmailAriaLabel": "Open account menu for {{name}}, {{email}}",
27
28
  "loadingAccount": "Loading account…",
28
29
  "backToHome": "Back to home"
29
30
  },
@@ -155,5 +156,30 @@
155
156
  "navigation": "Navigation",
156
157
  "openNavigation": "Open navigation",
157
158
  "more": "More"
159
+ },
160
+ "shellChrome": {
161
+ "externalLink": "Opens in a new tab",
162
+ "mainNav": "Main",
163
+ "accountNav": "Account",
164
+ "toggleSidebar": "Toggle sidebar",
165
+ "resizeSidebar": "Resize sidebar",
166
+ "dragToResize": "Drag to resize",
167
+ "collapseSidebar": "Collapse sidebar",
168
+ "expandSidebar": "Expand sidebar",
169
+ "closeMenu": "Close menu",
170
+ "unreadCount": "{{count}} unread",
171
+ "sheetDescription": "Main navigation and account links"
172
+ },
173
+ "windows": {
174
+ "applications": "Applications",
175
+ "chooseApp": "Choose an app to open in a window",
176
+ "noApps": "No applications available",
177
+ "maximize": "Maximize",
178
+ "restore": "Restore",
179
+ "close": "Close",
180
+ "taskbar": "Taskbar",
181
+ "openApps": "Open windows",
182
+ "start": "Start",
183
+ "open": "Open"
158
184
  }
159
185
  }
@@ -24,6 +24,7 @@
24
24
  "userFallback": "Utilisateur",
25
25
  "goToLoginAriaLabel": "Aller à la connexion",
26
26
  "openAccountMenuAriaLabel": "Ouvrir le menu du compte pour {{name}}",
27
+ "openAccountMenuWithEmailAriaLabel": "Ouvrir le menu du compte pour {{name}}, {{email}}",
27
28
  "loadingAccount": "Chargement du compte…",
28
29
  "backToHome": "Retour à l'accueil"
29
30
  },
@@ -155,5 +156,30 @@
155
156
  "navigation": "Navigation",
156
157
  "openNavigation": "Ouvrir la navigation",
157
158
  "more": "Plus"
159
+ },
160
+ "shellChrome": {
161
+ "externalLink": "S'ouvre dans un nouvel onglet",
162
+ "mainNav": "Principal",
163
+ "accountNav": "Compte",
164
+ "toggleSidebar": "Afficher ou masquer la barre latérale",
165
+ "resizeSidebar": "Redimensionner la barre latérale",
166
+ "dragToResize": "Faire glisser pour redimensionner",
167
+ "collapseSidebar": "Réduire la barre latérale",
168
+ "expandSidebar": "Développer la barre latérale",
169
+ "closeMenu": "Fermer le menu",
170
+ "unreadCount": "{{count}} non lus",
171
+ "sheetDescription": "Navigation principale et liens du compte"
172
+ },
173
+ "windows": {
174
+ "applications": "Applications",
175
+ "chooseApp": "Choisissez une application à ouvrir dans une fenêtre",
176
+ "noApps": "Aucune application disponible",
177
+ "maximize": "Agrandir",
178
+ "restore": "Restaurer",
179
+ "close": "Fermer",
180
+ "taskbar": "Barre des tâches",
181
+ "openApps": "Fenêtres ouvertes",
182
+ "start": "Démarrer",
183
+ "open": "Ouverte"
158
184
  }
159
185
  }