Álvaro Mondéjar Rubio

Results 192 comments of Álvaro Mondéjar Rubio

Needs https://github.com/fermyon/leptos-spin/issues/42

The quick workaround is to add this to your *.gitattributes* file: ```gitattributes *.ts linguist-language=TypeScript ```

What would be the desired behaviour when the icon color is the same than the dark/light mode backgrounds?

> I would assume it's rare since it's something you need to consider when choosing the color in the first place. Note that this is not true because we choose...

You can't call `lang.activate()` inside an `on:click` event. Use `i18n.language.set(lang)` See https://mondeja.github.io/leptos-fluent/faqs.html#tr-and-move_tr-outside-reactive-graph and https://github.com/leptos-rs/leptos/issues/2852

Thanks for the attempt, I'm closing. Feel free to re-open if you want to work on this!

There must surely be a bug in the translations checker.

See [the `add_builtins` method of `FluentBundle`](https://github.com/projectfluent/fluent-rs/blob/83e9a4517a1de90b7715b0446a2e13acf67af4e1/fluent-bundle/src/bundle.rs#L599-L603) and https://github.com/projectfluent/fluent-rs/issues/181. Currently, it doesn't implements the `DATETIME` function. ```rust pub fn add_builtins(&mut self) -> Result { self.add_function("NUMBER", crate::builtins::NUMBER)?; // TODO: DATETIME() Ok(()) }...

Looks like a good idea. But note that `Some message` is not a valid fluent message identifier.

A `fill_translations` parameter has been added to `leptos_fluent!` macro in leptos-fluent v0.2.6.