i18n: make localization context non-global
- Simplify Localization{Context,Manager} to just Localization
- Fixed a bunch of lifetime issueo
- Removed all Arcs and Locks
- Removed globals
* widgets now need access to &mut Localization for i18n
Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
@@ -284,7 +284,7 @@ impl NewNotes {
|
||||
let timeline = if let Some(profile) = timeline_cache.get_mut(&self.id) {
|
||||
profile
|
||||
} else {
|
||||
error!("NewNotes: could not get timeline for key {}", self.id);
|
||||
error!("NewNotes: could not get timeline for key {:?}", self.id);
|
||||
return;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user