Fix docPickerBtn/audioPickerBtn i18n — add missing translation keys

Add doc_picker_btn/audio_picker_btn to i18n.php (en/no/uk/pl), add
docPickerBtn to REDACT_I18N + TIMELINE_I18N and audioPickerBtn to
TRANSCRIBE_I18N in tools.js. PHP-render picker labels in legal-analysis,
translate, summarize, tool_form, and layout_footer using dbnToolsT().

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-24 12:41:09 +02:00
parent 1eb55a8384
commit 88555eb8a7
7 changed files with 33 additions and 5 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ $_footerAddonI18n = [
<div id="docPickerBackdrop" class="doc-picker-backdrop" hidden role="dialog" aria-modal="true" aria-labelledby="docPickerTitle">
<div class="doc-picker-dialog">
<div class="doc-picker-dialog__head">
<h3 id="docPickerTitle">Select from My Docs</h3>
<h3 id="docPickerTitle"><?= htmlspecialchars(dbnToolsT('doc_picker_modal_title', $uiLang)) ?></h3>
<button class="doc-picker-dialog__close" aria-label="Close">&times;</button>
</div>
<input type="search" class="doc-picker-dialog__search" placeholder="Search documents…" aria-label="Search documents">