Spaces:
Running

axeronis commited on
Commit
57130ab
·
1 Parent(s): 5c59261

fix: SecondaryNav label fallback and English translations

Browse files
frontend/components/SecondaryNav.tsx CHANGED
@@ -162,7 +162,7 @@ export function SecondaryNav() {
162
  )}
163
  >
164
  <Icon className={cn("w-4 h-4", active ? "text-indigo-400" : "text-slate-500 group-hover:text-slate-300")} />
165
- <span>{t(item.labelKey) || item.label}</span>
166
  </Link>
167
  )
168
  })}
 
162
  )}
163
  >
164
  <Icon className={cn("w-4 h-4", active ? "text-indigo-400" : "text-slate-500 group-hover:text-slate-300")} />
165
+ <span>{t(item.labelKey) !== item.labelKey ? t(item.labelKey) : item.label}</span>
166
  </Link>
167
  )
168
  })}
frontend/lib/i18n/translations/en.ts CHANGED
@@ -77,6 +77,7 @@ export const en = {
77
  partner: 'Partner Program',
78
  admin: 'Admin',
79
  products: 'Products',
 
80
  },
81
 
82
  // Auth
 
77
  partner: 'Partner Program',
78
  admin: 'Admin',
79
  products: 'Products',
80
+ demo: 'Correction',
81
  },
82
 
83
  // Auth