Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/app/[lang]/app/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ export default async function AppPage({
projectTab={t.projectTab}
uploadFolder={t.uploadFolder}
projectHint={t.projectHint}
resizePanelsLabel={t.aria.resizePanels}
isAuthed={!!session?.user}
saveLabel={t.auth.save}
savedLabel={t.auth.saved}
Expand Down
2 changes: 1 addition & 1 deletion src/components/docs/DocsSidebar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function DocsSidebar({
const t = getDictionary(lang);

return (
<nav aria-label="Docs">
<nav aria-label={t.aria.docs}>
{showHeading && (
<p className="mb-4 font-mono text-[11px] font-semibold uppercase tracking-[0.18em] text-[#94a3b8]">
{t.documentation}
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export default function Footer({
href={REPO}
target="_blank"
rel="noopener noreferrer"
aria-label="GitHub repository"
aria-label={t.aria.githubRepository}
className="mt-7 inline-flex h-10 w-10 items-center justify-center rounded-full border border-[#e2e8f0] dark:border-[#232a36] bg-white dark:bg-[#12151c] text-[#475569] dark:text-[#9aa6b8] transition-all hover:-translate-y-0.5 hover:border-[#c7d2fe] hover:text-[#4f46e5]"
>
<svg
Expand Down
6 changes: 3 additions & 3 deletions src/components/layout/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ export default function Header({

{/* ── Center: primary nav (desktop) ── */}
<nav
aria-label="Sections"
aria-label={t.aria.sections}
className="hidden sm:flex items-center justify-center gap-1"
>
{docsLink()}
Expand All @@ -168,7 +168,7 @@ export default function Header({
onClick={() => setDropdownOpen(!dropdownOpen)}
aria-expanded={dropdownOpen}
aria-haspopup="listbox"
aria-label="Select language"
aria-label={t.aria.selectLanguage}
className="flex items-center gap-1.5 px-3.5 py-[6px] rounded-full border text-[13px] font-semibold transition-all bg-black/[0.04] border-line text-ink hover:bg-black/[0.08] dark:bg-surface dark:border-border-dark dark:text-fg dark:hover:bg-surface-hover"
>
<span>🌐</span>
Expand Down Expand Up @@ -286,7 +286,7 @@ export default function Header({
<ThemeToggle />
<button
onClick={() => setMenuOpen(true)}
aria-label="Menu"
aria-label={t.aria.menu}
aria-expanded={menuOpen}
className="grid place-items-center h-8 w-8 rounded-full border border-line text-ink transition-colors hover:bg-black/[0.04] dark:border-border-dark dark:text-fg dark:hover:bg-surface-hover"
>
Expand Down
4 changes: 3 additions & 1 deletion src/components/ui/CodeWorkspace.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,7 @@ type Props = {
projectTab: string;
uploadFolder: string;
projectHint: string;
resizePanelsLabel: string;
isAuthed: boolean;
saveLabel: string;
savedLabel: string;
Expand All @@ -225,6 +226,7 @@ export default function CodeWorkspace({
projectTab,
uploadFolder,
projectHint,
resizePanelsLabel,
isAuthed,
saveLabel,
savedLabel,
Expand Down Expand Up @@ -565,7 +567,7 @@ export default function CodeWorkspace({
<div
role="separator"
aria-orientation="vertical"
aria-label="Resize panels"
aria-label={resizePanelsLabel}
onPointerDown={onSplitDown}
onPointerMove={onSplitMove}
onPointerUp={onSplitUp}
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/ar.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@
"notFoundDesc": "ربما الرابط تالف أو تم نقل الصفحة. لنعدك إلى المسار الصحيح.",
"notFoundHome": "العودة للرئيسية",
"notFoundApp": "افتح التطبيق",
"aria": {
"sections": "الأقسام",
"selectLanguage": "اختيار اللغة",
"menu": "القائمة",
"docs": "التوثيق",
"resizePanels": "تغيير حجم اللوحات",
"githubRepository": "مستودع GitHub"
},
"auth": {
"signIn": "تسجيل الدخول",
"signOut": "تسجيل الخروج",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@
"notFoundDesc": "The link may be broken or the page may have moved. Let's get you back on track.",
"notFoundHome": "Back home",
"notFoundApp": "Open the app",
"aria": {
"sections": "Sections",
"selectLanguage": "Select language",
"menu": "Menu",
"docs": "Docs",
"resizePanels": "Resize panels",
"githubRepository": "GitHub repository"
},
"auth": {
"signIn": "Sign in",
"signOut": "Sign out",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/es.json
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,14 @@
"notFoundDesc": "El enlace puede estar roto o la página se movió. Volvamos al camino.",
"notFoundHome": "Volver al inicio",
"notFoundApp": "Abrir la app",
"aria": {
"sections": "Secciones",
"selectLanguage": "Seleccionar idioma",
"menu": "Menú",
"docs": "Documentación",
"resizePanels": "Redimensionar paneles",
"githubRepository": "Repositorio de GitHub"
},
"auth": {
"signIn": "Iniciar sesión",
"signOut": "Cerrar sesión",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@
"notFoundDesc": "Le lien est peut-être cassé ou la page a été déplacée. Revenons sur le bon chemin.",
"notFoundHome": "Retour à l'accueil",
"notFoundApp": "Ouvrir l'application",
"aria": {
"sections": "Sections",
"selectLanguage": "Sélectionner la langue",
"menu": "Menu",
"docs": "Documentation",
"resizePanels": "Redimensionner les panneaux",
"githubRepository": "Dépôt GitHub"
},
"auth": {
"signIn": "Se connecter",
"signOut": "Se déconnecter",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/it.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@
"notFoundDesc": "Il link potrebbe essere interrotto o la pagina potrebbe essere stata spostata. Torniamo in pista.",
"notFoundHome": "Torna alla home",
"notFoundApp": "Apri l'app",
"aria": {
"sections": "Sezioni",
"selectLanguage": "Seleziona lingua",
"menu": "Menu",
"docs": "Documentazione",
"resizePanels": "Ridimensiona pannelli",
"githubRepository": "Repository GitHub"
},
"auth": {
"signIn": "Accedi",
"signOut": "Esci",
Expand Down
8 changes: 8 additions & 0 deletions src/i18n/dictionaries/pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,14 @@
"notFoundDesc": "O link pode estar quebrado ou a página pode ter sido movida. Vamos colocar você de volta nos trilhos.",
"notFoundHome": "Voltar ao início",
"notFoundApp": "Abrir o aplicativo",
"aria": {
"sections": "Seções",
"selectLanguage": "Selecionar idioma",
"menu": "Menu",
"docs": "Documentação",
"resizePanels": "Redimensionar painéis",
"githubRepository": "Repositório do GitHub"
},
"auth": {
"signIn": "Entrar",
"signOut": "Sair",
Expand Down