Files
ServerKit/frontend/src/components/PageLoader.jsx
T
Juan Denis cc9c3fb70d feat(i18n): convert all remaining user-visible literals to translation keys
Mass conversion of ~8,000 English literals across 320+ files to
t('app.<file>.<key>', 'English default') calls, plus hand-conversion of
the 43 literals the codemod refused (concatenated toasts, module-level
helpers, class components) using bare t() from i18n/t or restructured
{{placeholder}} keys. Marketplace unsigned-release dialog now translates
the Install/Update verb inside the placeholder.

ESLint: 0 errors. Literal checker: 0 remaining.
2026-08-20 20:23:29 -04:00

18 lines
510 B
React

import EmptyState from './EmptyState';
import { useTranslation } from 'react-i18next';
/**
* Full-page loader for tab-group pages.
* Shows a skeleton placeholder inside the standard tab-group inner area.
*/
export function PageLoader({ className = '' }) {
const { t } = useTranslation();
return (
<div className={`sk-tabgroup__inner ${className}`.trim()}>
<EmptyState loading title={t('app.pageLoader.loading', 'Loading')} />
</div>
);
}
export default PageLoader;