diff --git a/example/messages/default.json b/example/messages/default.json index 16f8ce0..8a73294 100644 --- a/example/messages/default.json +++ b/example/messages/default.json @@ -11,5 +11,10 @@ "success": "Great success!", "high_five": "High five", "try_editing": "Try editing this file (src/routes/index.svelte) to test live reloading." + }, + "languages": { + "pt_BR": "", + "en": "", + "es_ES": "" } } diff --git a/example/messages/en.json b/example/messages/en.json index 11c0d65..ac0c5e2 100644 --- a/example/messages/en.json +++ b/example/messages/en.json @@ -11,5 +11,10 @@ "success": "Great success!", "high_five": "High five", "try_editing": "Try editing this file (src/routes/index.svelte) to test live reloading." + }, + "languages": { + "pt_BR": "Portugues", + "en": "English", + "es_ES": "Spanish" } } diff --git a/example/messages/es-ES.json b/example/messages/es-ES.json index 0d15ff4..826134b 100644 --- a/example/messages/es-ES.json +++ b/example/messages/es-ES.json @@ -11,5 +11,10 @@ "success": "Gran éxito!", "high_five": "Cinco altos", "try_editing": " Intente editar este archivo (src/routes/index.svelte) para probar la recarga en vivo." + }, + "languages": { + "pt_BR": "Portugués", + "en": "Ingles", + "es_ES": "Espanol" } } diff --git a/example/messages/pt-BR.json b/example/messages/pt-BR.json index b1f3f29..1997c22 100644 --- a/example/messages/pt-BR.json +++ b/example/messages/pt-BR.json @@ -11,5 +11,10 @@ "success": "Suuuucesso!", "high_five": "Toca aqui", "try_editing": "Tente editar este arquivo (src/routes/index.svelte) para testar o recarregamento ao vivo." + }, + "languages": { + "pt_BR": "Português", + "en": "Inglês", + "es_ES": "Espanhol" } } diff --git a/example/src/components/Nav.svelte b/example/src/components/Nav.svelte index eb4c82f..6964fb4 100644 --- a/example/src/components/Nav.svelte +++ b/example/src/components/Nav.svelte @@ -1,62 +1,86 @@ diff --git a/example/src/routes/_layout.svelte b/example/src/routes/_layout.svelte index 9769934..7771265 100644 --- a/example/src/routes/_layout.svelte +++ b/example/src/routes/_layout.svelte @@ -1,5 +1,5 @@ @@ -54,13 +47,7 @@ {/if}