♻️ (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
|
|
@ -194,12 +194,12 @@ pub struct SeaORM;
|
|||
|
||||
#[async_trait]
|
||||
impl Extension for SeaORM {
|
||||
fn name(&self) -> L10n {
|
||||
L10n::t("extension_name", &LOCALES_SEAORM)
|
||||
fn name(&self) -> Lc {
|
||||
Lc::t("extension_name", &LOCALES_SEAORM)
|
||||
}
|
||||
|
||||
fn description(&self) -> L10n {
|
||||
L10n::t("extension_description", &LOCALES_SEAORM)
|
||||
fn description(&self) -> Lc {
|
||||
Lc::t("extension_description", &LOCALES_SEAORM)
|
||||
}
|
||||
|
||||
async fn initialize(&self) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue