♻️ (locale): Renombra L10n a Lc
Simplifica el nombre del tipo de localización. Actualiza todas las referencias en el crate principal, extensiones, ejemplos y tests.
This commit is contained in:
parent
3198b74399
commit
be10dd28a1
65 changed files with 612 additions and 621 deletions
|
|
@ -62,7 +62,7 @@ use crate::hx;
|
|||
/// .with_param("sort", field)
|
||||
/// .with_param("dir", next_dir);
|
||||
///
|
||||
/// table::Column::new(L10n::n("User"))
|
||||
/// table::Column::new(Lc::n("User"))
|
||||
/// .with_sort(hx_table::sort_link(href, "#user-table-wrapper", active))
|
||||
/// # }
|
||||
/// ```
|
||||
|
|
|
|||
|
|
@ -135,12 +135,12 @@ pub struct Htmx;
|
|||
|
||||
#[async_trait]
|
||||
impl Extension for Htmx {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("extension_name", &LOCALES_HTMX)
|
||||
fn name(&self) -> Lc {
|
||||
Lc::t("extension_name", &LOCALES_HTMX)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("extension_description", &LOCALES_HTMX)
|
||||
fn description(&self) -> Lc {
|
||||
Lc::t("extension_description", &LOCALES_HTMX)
|
||||
}
|
||||
|
||||
fn actions(&self) -> Vec<ActionBox> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue