wip(app): i18n
This commit is contained in:
parent
be493e8be0
commit
0f2e8ea2b4
15 changed files with 110 additions and 89 deletions
|
|
@ -597,7 +597,10 @@ export default function Page() {
|
|||
// Restore the prompt from the reverted message
|
||||
const parts = sync.data.part[message.id]
|
||||
if (parts) {
|
||||
const restored = extractPromptFromParts(parts, { directory: sdk.directory })
|
||||
const restored = extractPromptFromParts(parts, {
|
||||
directory: sdk.directory,
|
||||
attachmentName: language.t("common.attachment"),
|
||||
})
|
||||
prompt.set(restored)
|
||||
}
|
||||
// Navigate to the message before the reverted one (which will be the new last visible message)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue