fix(i18n): expose redraw hooks to locale controller
This commit is contained in:
1 parent
8cf3a35b6f
commit
e98cd2b7ce
7 files changed
+13
-11
No files matched your search
+2
-2
@@ -3,7 +3,7 @@
|
||||
const DRAFT_KEY = 'lifeos_today_draft_v1';
|
||||
const localDay = () => { const d = new Date(); return `${d.getFullYear()}-${String(d.getMonth()+1).padStart(2,'0')}-${String(d.getDate()).padStart(2,'0')}`; };
|
||||
const escapeHtml = value => String(value || '').replace(/[&<>]/g, char => ({ '&': '&', '<': '<', '>': '>', '"': '"', "'": ''' }[char]));
|
||||
const APP_VERSION = '1.5.6';
|
||||
const APP_VERSION = '1.5.7';
|
||||
window.LifeOSVersion = APP_VERSION;
|
||||
const appIds = ['today', 'timeline', 'museum', 'insights', 'profile', 'tasks', 'calendar', 'system'];
|
||||
const t = (key, values) => LifeI18n.t(key, values);
|
||||
@@ -104,7 +104,7 @@
|
||||
applyingCloud = true;
|
||||
Object.entries(CLOUD_KEYS).forEach(([field, key]) => localStorage.setItem(key, JSON.stringify(state[field] ?? cloudFallback[field])));
|
||||
applyingCloud = false;
|
||||
todayDraft = null; renderIcons(); renderAll(); window.applyLanguage?.();
|
||||
todayDraft = null; window.renderIcons?.(); window.renderAll?.(); window.applyLanguage?.();
|
||||
return mergedLocalBoard || systemNeedsMigration;
|
||||
}
|
||||
async function uploadCloudState() {
|
||||
|
||||
Reference in new issue
Block a user