Skip to content

Commit 0f3dcca

Browse files
authored
Merge pull request #6 from LoulouNoLegend/main
Updated main.ts to add french
2 parents e3d566c + 5af8e0e commit 0f3dcca

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/main.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import {getLocaleFromNavigator, init, register} from 'svelte-i18n'
2222

2323
// has to have US bc browser returns en-US instead of en
2424
register('en-US', async () => await import('./Assets/L10N/en-us.json'));
25+
register('fr', async () => await import('./Assets/L10N/fr.json'));
2526
register('ru', async () => await import('./Assets/L10N/ru.json'));
2627

2728
const getLanguage = (): string | null => {
@@ -42,4 +43,4 @@ const app = mount(App, {
4243
})
4344

4445
export default app
45-
// endregion
46+
// endregion

0 commit comments

Comments
 (0)