From 59d4abb95043651fa03a9da9eb7230e4f002915d Mon Sep 17 00:00:00 2001 From: Loris Sigrist Date: Tue, 3 Oct 2023 17:40:40 +0200 Subject: [PATCH] Format --- README.md | 3 ++- docs/10-Introduction.md | 3 +-- docs/40-API.md | 4 +--- 3 files changed, 4 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 7054269..154a46b 100644 --- a/README.md +++ b/README.md @@ -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 @@ -12,6 +13,7 @@ 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) @@ -19,4 +21,3 @@ While it is still in early development, it already has some powerful and unique - [Advanced Usage](docs/50-Advanced-Usage.md) - [Precompilation](docs/80-Precompilation.md) - [Roadmap](docs/99-Roadmap.md) - diff --git a/docs/10-Introduction.md b/docs/10-Introduction.md index 4ea9905..db88abb 100644 --- a/docs/10-Introduction.md +++ b/docs/10-Introduction.md @@ -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 - diff --git a/docs/40-API.md b/docs/40-API.md index cd839ed..87dc1a6 100644 --- a/docs/40-API.md +++ b/docs/40-API.md @@ -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. @@ -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'] -``` \ No newline at end of file +```