Skip to content

Commit dccf36e

Browse files
committed
Merge branch 'main' into experiment-with-svelte-inline-components
2 parents 92c8301 + 3d1f42c commit dccf36e

File tree

8 files changed

+177
-22
lines changed

8 files changed

+177
-22
lines changed

locales/en.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@
7676
"getting-started.subsection.installation": "Installation",
7777
"getting-started.paragraph.installation-1": "Install svelte-intl-precompile as a runtime dependency of your sveltkit app.",
7878
"getting-started.subsection.create-translations": "Create your translations",
79-
"getting-started.paragraph.create-translations-1": "Next create a folder to put your translations files in. I like to use",
79+
"getting-started.paragraph.create-translations-1": "Next create a folder to put your translations files in. I like to use {dir1} {or} {dir2}",
8080
"getting-started.paragraph.create-translations-2": "at the root of the project, but really any folder will do.",
8181
"getting-started.paragraph.create-translations-3": "I recommend using JSON files but you can use use javascript with an object as their default export. Whatever the file extension, you translations inside are just regular strings in the ICU message syntax:",
8282
"getting-started.paragraph.create-translations-4": "I prefer when the dictionary has a single level and using dots to create hierarchies like in the one above, but you can also nest objects like in the next example:",
@@ -87,10 +87,10 @@
8787
"getting-started.paragraph.create-translations-9": "I want even more features",
8888
"getting-started.paragraph.create-translations-10": "You can also define your translation in .js files, .ts files and .mjs files. Your module must export the object with the translations as its default export.",
8989
"getting-started.subsection.hook-into-sveltekit": "Hook the compiler into SvelteKit",
90-
"getting-started.paragraph.hook-into-sveltekit-1": "This library's build time compiler needs to hook into the build pipeline of your app. For that, add it to the list of vite plugins in your",
90+
"getting-started.paragraph.hook-into-sveltekit-1": "This library's build time compiler needs to hook into the build pipeline of your app. For that, add it to the list of vite plugins in your <code class=\"bg-code px-2\">{path}</code>",
9191
"getting-started.paragraph.hook-into-sveltekit-2": "You are set, time to use the library.",
9292
"getting-started.subsection.hook-into-vite": "Hook the compiler into plain Vite.js",
93-
"getting-started.paragraph.hook-into-vite-1": "If you are not using SvelteKit but raw Vite.js, the configuration is very similar. At the end SvelteKit uses Vite.js underneath. Import the compiler and pass it to the list of plugins in",
93+
"getting-started.paragraph.hook-into-vite-1": "If you are not using SvelteKit but raw Vite.js, the configuration is very similar. At the end SvelteKit uses Vite.js underneath. Import the compiler and pass it to the list of plugins in <code class=\"bg-code px-2\">{path}</code>",
9494

9595
"configuration.title": "Configuration",
9696
"configuration.subsection.example": "Configuration example",
@@ -152,6 +152,6 @@
152152
"usage.paragraph.other-stores-2": "Lets build a component to change the current locale.",
153153
"usage.paragraph.other-stores-3": "The code above is quite straigtforward. We just iterate the list of available locales in <code class='bg-code px-2'>$locales</code> rendering a button for each one. Clicking on a button will set the current locale in <code class='bg-code px-2'>$locale</code> to the new value.<br/> Every translation in the app will update without refreshing the page.",
154154
"usage.definitions.other-stores-1": "Can be used to read or write the current locale (E.g: <pre class='inline'>\"es-ES\"</pre>).",
155-
"usage.definitions.other-stores-2": "Contain al array of all the available locales (E.g: <pre class='inline'>[\"es-ES\", \"en\", \"pt-BR\"]</pre>).",
155+
"usage.definitions.other-stores-2": "Contains an array of all the available locales (E.g: <pre class='inline'>[\"es-ES\", \"en\", \"pt-BR\"]</pre>).",
156156
"usage.definitions.other-stores-3": "Contains <pre class='inline'>true</pre> when an asynchronous locale is still being loaded."
157157
}

locales/es.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"getting-started.subsection.installation": "Instalación",
7676
"getting-started.paragraph.installation-1": "Instala svelte-intl-precompile como una dependencia de runtime de tu proyecto Svelte.",
7777
"getting-started.subsection.create-translations": "Crea tus traducciones",
78-
"getting-started.paragraph.create-translations-1": "A continuación crea un directorio donde poner tus ficheros de traducciones. A mi me gusta usar",
78+
"getting-started.paragraph.create-translations-1": "A continuación crea un directorio donde poner tus ficheros de traducciones. A mi me gusta usar {dir1} {or} {dir2}",
7979
"getting-started.paragraph.create-translations-2": "en la raiz del proyecto, pero en realidad puedes colocar el directorio donde tu prefieras",
8080
"getting-started.paragraph.create-translations-3": "Recomiendo usar ficheros .json pero puedes también crear ficheros javascript que exporten un único objeto que contiene las traducciones. Cualquiera que sea tu preferencia, las traducciones son simples cadenas con la sintaxis ICU:",
8181
"getting-started.paragraph.create-translations-4": "Yo prefiero el diccionario de traducciones tenga un único nivel y usar puntos para crear jerarquías como el de arriba, pero también puedes anidar objectos como a continuación:",
@@ -86,10 +86,10 @@
8686
"getting-started.paragraph.create-translations-9": "Quiero más funcionalidades",
8787
"getting-started.paragraph.create-translations-10": "Puedes definir tus traducciones en ficheros .js, ficheros .ts y ficheros .mjs. El módulo debe exportar un objeto con las traducciones como su export por defecto.",
8888
"getting-started.subsection.hook-into-sveltekit": "Acomplar el compilador a SvelteKit",
89-
"getting-started.paragraph.hook-into-sveltekit-1": "El compilador de esta librería necesita integrarse en el proceso de complilado de SvelteKit de tu proyecto. Para ello añadelo a las lista de plugins de vite en tu",
89+
"getting-started.paragraph.hook-into-sveltekit-1": "El compilador de esta librería necesita integrarse en el proceso de complilado de SvelteKit de tu proyecto. Para ello añadelo a las lista de plugins de vite en tu <code class=\"bg-code px-2\">{path}</code>",
9090
"getting-started.paragraph.hook-into-sveltekit-2": "Y ya está todo listo. Tiempo de usar la librería.",
9191
"getting-started.subsection.hook-into-vite": "Acoplar el compilador a Vite.js",
92-
"getting-started.paragraph.hook-into-vite-1": "Si no estás usando SvelteKit sino simplemente Vite.js la configuración es muy similar. Al fin y al cabo SvelteKit usa Vite.js internamente. Importa el compilador y añádelo a la lista de plugins en ",
92+
"getting-started.paragraph.hook-into-vite-1": "Si no estás usando SvelteKit sino simplemente Vite.js la configuración es muy similar. Al fin y al cabo SvelteKit usa Vite.js internamente. Importa el compilador y añádelo a la lista de plugins en <code class=\"bg-code px-2\">{path}</code>",
9393

9494
"configuration.title": "Configuración",
9595
"configuration.subsection.example": "Ejemplo de configuración",

locales/gl.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@
7272
"getting-started.subsection.installation": "Instalación",
7373
"getting-started.paragraph.installation-1": "Instala svelte-intl-precompile coma unha dependencia de runtime do teu proxecto Svelte.",
7474
"getting-started.subsection.create-translations": "Crea as túas traduccións",
75-
"getting-started.paragraph.create-translations-1": "A continuación crea o directorio onde por os teus ficheiros de traduccións. A min gustame usar",
75+
"getting-started.paragraph.create-translations-1": "A continuación crea o directorio onde por os teus ficheiros de traduccións. A min gustame usar {dir1} {or} {dir2}",
7676
"getting-started.paragraph.create-translations-2": "no raiz do proxecto, pero en realidade podes colocar o directorio onde prefiras",
7777
"getting-started.paragraph.create-translations-3": "Recomiendo usar ficheiros .json pero podes tamén crear ficheiros javascript que exporten un único obxeto que contén as traduccións. Calqueira que sexa a túa preferencia, as traduccións son simples cadeas coa sintaxis ICU:",
7878
"getting-started.paragraph.create-translations-4": "Eu prefiero o diccionario de traduccións teña un único nivel e usar puntos para crear xerarquías coma o de enriba, pero tamén podes aniñar obxetos coma a continuación:",
@@ -83,10 +83,10 @@
8383
"getting-started.paragraph.create-translations-9": "Quero máis funcionalidades",
8484
"getting-started.paragraph.create-translations-10": "Podes definir as túas traduccions en ficheiros .js, ficheiros .ts y ficheiros .mjs. O módulo debe exportar un objecto coas traduccións como o seu export por defecto.",
8585
"getting-started.subsection.hook-into-sveltekit": "Acomplar o compilador a SvelteKit",
86-
"getting-started.paragraph.hook-into-sveltekit-1": "O compilador desta librería necesita integrarse no proceso de complilado de SvelteKit do teu proxecto. Para elo engadep a lista de plugins de vite no teu",
86+
"getting-started.paragraph.hook-into-sveltekit-1": "O compilador desta librería necesita integrarse no proceso de complilado de SvelteKit do teu proxecto. Para elo engadep a lista de plugins de vite no teu <code class=\"bg-code px-2\">{path}</code>",
8787
"getting-started.paragraph.hook-into-sveltekit-2": "E xa está todo listo. Tempo de usar a librería.",
8888
"getting-started.subsection.hook-into-vite": "Acoplar o compilador a Vite.js",
89-
"getting-started.paragraph.hook-into-vite-1": "Se non estás a usar SvelteKit senon simplemente Vite.js a configuración é moy semellante. O fin e o cabo SvelteKit usa Vite.js internamente. Importa o compilador e engádeo á lista de plugins en ",
89+
"getting-started.paragraph.hook-into-vite-1": "Se non estás a usar SvelteKit senon simplemente Vite.js a configuración é moy semellante. O fin e o cabo SvelteKit usa Vite.js internamente. Importa o compilador e engádeo á lista de plugins en <code class=\"bg-code px-2\">{path}</code>",
9090
"configuration.title": "Configuración",
9191
"configuration.subsection.example": "Exemplo de configuración",
9292
"configuration.link.example": "Exemplo",

0 commit comments

Comments
 (0)