Storybook (#328)
* feat(docs): add interactive examples and API references for Button, Card, and LoadingFallback components - Updated dependencies - Set `retries` to a fixed value of 3 for consistent test retries across environments. - Increased `timeout` from 60 seconds to 120 seconds to allow more time for tests to complete. - Reduced `expect` timeout from 10 seconds to 5 seconds for quicker feedback on assertions.
This commit is contained in:
committed by
GitHub
parent
360ea30f4b
commit
ad427365c9
10
apps/dev-tool/lib/i18n/i18n.server.ts
Normal file
10
apps/dev-tool/lib/i18n/i18n.server.ts
Normal file
@@ -0,0 +1,10 @@
|
||||
import { initializeServerI18n } from '@kit/i18n/server';
|
||||
|
||||
import { i18nResolver } from './i18n.resolver';
|
||||
import { getI18nSettings } from './i18n.settings';
|
||||
|
||||
export function createI18nServerInstance(language?: string) {
|
||||
const settings = getI18nSettings(language);
|
||||
|
||||
return initializeServerI18n(settings, i18nResolver);
|
||||
}
|
||||
Reference in New Issue
Block a user