chore(app): missing i18n strings

This commit is contained in:
adamelmore
2026-01-26 12:18:10 -06:00
parent 319ad2a391
commit 97aec21cb3
9 changed files with 161 additions and 102 deletions

View File

@@ -1565,7 +1565,7 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
const timeoutMs = 5 * 60 * 1000
const timeout = new Promise<Awaited<ReturnType<typeof WorktreeState.wait>>>((resolve) => {
setTimeout(() => {
resolve({ status: "failed", message: "Workspace is still preparing" })
resolve({ status: "failed", message: language.t("workspace.error.stillPreparing") })
}, timeoutMs)
})
@@ -1863,9 +1863,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
store.mode === "shell"
? language.t("prompt.placeholder.shell")
: commentCount() > 1
? "Summarize comments"
? language.t("prompt.placeholder.summarizeComments")
: commentCount() === 1
? "Summarize comment"
? language.t("prompt.placeholder.summarizeComment")
: language.t("prompt.placeholder.normal", { example: language.t(EXAMPLES[store.placeholder]) })
}
contenteditable="true"
@@ -1887,9 +1887,9 @@ export const PromptInput: Component<PromptInputProps> = (props) => {
{store.mode === "shell"
? language.t("prompt.placeholder.shell")
: commentCount() > 1
? "Summarize comments"
? language.t("prompt.placeholder.summarizeComments")
: commentCount() === 1
? "Summarize comment"
? language.t("prompt.placeholder.summarizeComment")
: language.t("prompt.placeholder.normal", { example: language.t(EXAMPLES[store.placeholder]) })}
</div>
</Show>