♻️ (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
|
|
@ -206,9 +206,9 @@ impl<C: Component> Embed<C> {
|
|||
///
|
||||
/// ```rust,no_run
|
||||
/// # use pagetop::prelude::*;
|
||||
/// let mut embed = Embed::with(Block::new().with_title(L10n::n("Title")));
|
||||
/// let mut embed = Embed::with(Block::new().with_title(Lc::n("Title")));
|
||||
/// if let Some(component) = embed.get_mut() {
|
||||
/// component.alter_title(L10n::n("New Title"));
|
||||
/// component.alter_title(Lc::n("New Title"));
|
||||
/// }
|
||||
/// ```
|
||||
pub fn get_mut(&mut self) -> Option<&mut C>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue