mirror of
https://github.com/jhd3197/ServerKit.git
synced 2026-12-02 13:15:17 +09:00
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.
18 lines
510 B
React
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;
|