Merge upstream main (typed chat translations) into pr/street-level-show-action

This commit is contained in:
Said Turksever committed 2026-11-04 14:24:04 +00:00
commit 3f55077c2c
18 files changed
+517 -253

No files matched your search

+5 -5
View File
@@ -1,4 +1,4 @@
import { t } from '../i18n/index.js';
import { msg, t } from '../i18n/index.js';
/**
* Chat suggestions and the one chat preference (quick commands), written to
@@ -17,10 +17,10 @@ export function bindChatPreferences({ ui, getDraft, setDraft }) {
};
const quickCommands = () =>
[
'Fly to Tokyo',
'Show live flights',
'Reset to globe view',
'Show earthquakes',
msg('Fly to Tokyo'),
msg('Show live flights'),
msg('Reset to globe view'),
msg('Show earthquakes'),
].map((text) => t(text));
try {
const stored = JSON.parse(localStorage.getItem(key));