Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Having multiple .ftl files is causing an error #116

Closed
kakserpom opened this issue Jun 15, 2024 · 1 comment · Fixed by #117
Closed

Having multiple .ftl files is causing an error #116

kakserpom opened this issue Jun 15, 2024 · 1 comment · Fixed by #117
Labels
bug Something isn't working

Comments

@kakserpom
Copy link

error[E0308]: mismatched types
  --> src/app.rs:35:5
   |
35 | /     leptos_fluent! {{
36 | |         locales: "./locales",
37 | |         translations: TRANSLATIONS,
38 | |         check_translations: "./src/**/*.rs",
...  |
45 | |         set_language_to_cookie: true,
46 | |     }};
   | |______^ expected an array with a fixed size of 52 elements, found one with 321 elements

This happens if I have both 'main.ftl' and test.ftl in locales/*/

@mondeja
Copy link
Owner

mondeja commented Jun 15, 2024

Fixed on v0.0.36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants