Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisSigrist committed Oct 3, 2023
1 parent 2cf4684 commit 59d4abb
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
`t18s` is a vite plugin designed to work in tandem with SvelteKit to provide a simple and powerful translation experience. It's focus is on performance, bundle size and developer experience.

## Features

While it is still in early development, it already has some powerful and unique features.

- [x] Full ICU MessageFormat support
Expand All @@ -12,11 +13,11 @@ While it is still in early development, it already has some powerful and unique
- [x] Supports SSR and Prerendering

## Documentation

- [Introduction](docs/10-Introduction.md)
- [Getting Started](docs/20-Getting-Started.md)
- [Usage](docs/30-Usage.md)
- [API](docs/40-API.md)
- [Advanced Usage](docs/50-Advanced-Usage.md)
- [Precompilation](docs/80-Precompilation.md)
- [Roadmap](docs/99-Roadmap.md)

3 changes: 1 addition & 2 deletions docs/10-Introduction.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@

`t18s` is a vite plugin designed to work in tandem with SvelteKit to provide a simple and powerful translation experience. It's focus is on performance, bundle size and developer experience.


## Features

- [x] Fully TypeSafe
- [x] Precompiled translations, no runtime overhead
- [x] Supports SSR
- [x] Full ICU MessageFormat support
- [x] HMR: No page reload on translation changes

4 changes: 1 addition & 3 deletions docs/40-API.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,6 @@ import { setLocale } from "$t18s";
await setLocale("de");
```



## `$isLoading`

The `$isLoading` store tells us if we are currently waiting for a translation to load. This is useful if you want to show a loading indicator while switching languages.
Expand Down Expand Up @@ -71,4 +69,4 @@ During development, locales may be added or removed dynamically, but in producti
import { locales } from "$t18s";

console.log($locales); // ['en', 'de']
```
```

0 comments on commit 59d4abb

Please sign in to comment.