Include canonical locale in list of available locales

finchie
May 20, 2025, 8:30 AM
RUFPE6OOIM52WE3EQWYPQQ2DTHGYLNRO6EN3I5UETJW6MDW5AG7AC

Dependencies

  • [2] 7U2DXFMP Refactor `fluent_embed::Localize` to support overriding locales
  • [3] QSK7JRBA Add simple `attribute_path` function
  • [4] QFPQZR4K Refactor `fluent_embed`
  • [*] XGNME3WR Move `Group::derive_enum` to new `crate::parse_macro` module

Change contents

  • replacement in fluent_embed_derive/src/macro_impl/derive.rs at line 85
    [2.1776][2.1776:1841]()
    quote!(vec![#(::fluent_embed::langid!(#locale_literals)),*])
    [2.1776]
    [2.1841]
    quote!(vec![Self::CANONICAL_LOCALE, #(::fluent_embed::langid!(#locale_literals)),*])