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:
@@ -57,6 +57,7 @@ const REDACT_I18N = {
|
||||
redactDownloadDocx: 'Download .docx',
|
||||
redactCopy: 'Copy',
|
||||
redactCopied: 'Copied!',
|
||||
docPickerBtn: 'Select from My Docs',
|
||||
},
|
||||
no: {
|
||||
redactEngine: 'Motor',
|
||||
@@ -111,6 +112,7 @@ const REDACT_I18N = {
|
||||
redactDownloadDocx: 'Last ned .docx',
|
||||
redactCopy: 'Kopier',
|
||||
redactCopied: 'Kopiert!',
|
||||
docPickerBtn: 'Velg fra Mine dokumenter',
|
||||
},
|
||||
uk: {
|
||||
redactEngine: 'Рушій',
|
||||
@@ -165,6 +167,7 @@ const REDACT_I18N = {
|
||||
redactDownloadDocx: 'Завантажити .docx',
|
||||
redactCopy: 'Копіювати',
|
||||
redactCopied: 'Скопійовано!',
|
||||
docPickerBtn: 'Вибрати з Моїх документів',
|
||||
},
|
||||
pl: {
|
||||
redactEngine: 'Silnik',
|
||||
@@ -219,6 +222,7 @@ const REDACT_I18N = {
|
||||
redactDownloadDocx: 'Pobierz .docx',
|
||||
redactCopy: 'Kopiuj',
|
||||
redactCopied: 'Skopiowano!',
|
||||
docPickerBtn: 'Wybierz z Moich dokumentów',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -263,6 +267,7 @@ const TIMELINE_I18N = {
|
||||
timelineNotesLabel: 'Context notes',
|
||||
timelineNotesPlaceholder: 'Add any clarifications to guide the AI — e.g. "All dates are 2024", "Focus on the mother\'s actions", "D refers to the defendant throughout".',
|
||||
timelineNotesHint: 'These notes are included in the prompt to help the model interpret ambiguous dates, actors, or abbreviations. Not stored.',
|
||||
docPickerBtn: 'Select from My Docs',
|
||||
},
|
||||
no: {
|
||||
timelineEngine: 'Motor',
|
||||
@@ -304,6 +309,7 @@ const TIMELINE_I18N = {
|
||||
timelineNotesLabel: 'Kontekstnotes',
|
||||
timelineNotesPlaceholder: 'Legg til avklaringer for å veilede AI-en — f.eks. "Alle datoer er 2024", "Fokuser på morens handlinger", "D refererer til saksøkte gjennom hele dokumentet".',
|
||||
timelineNotesHint: 'Disse notatene inkluderes i ledeteksten for å hjelpe modellen med å tolke uklare datoer, aktører eller forkortelser. Lagres ikke.',
|
||||
docPickerBtn: 'Velg fra Mine dokumenter',
|
||||
},
|
||||
uk: {
|
||||
timelineEngine: 'Рушій',
|
||||
@@ -345,6 +351,7 @@ const TIMELINE_I18N = {
|
||||
timelineNotesLabel: 'Контекстні нотатки',
|
||||
timelineNotesPlaceholder: 'Додайте пояснення для ШІ — напр. "Усі дати відносяться до 2024 року", "Зосередьтесь на діях матері", "D — відповідач по всьому документу".',
|
||||
timelineNotesHint: 'Ці нотатки включаються до запиту, щоб допомогти моделі інтерпретувати неоднозначні дати, учасників або скорочення. Не зберігаються.',
|
||||
docPickerBtn: 'Вибрати з Моїх документів',
|
||||
},
|
||||
pl: {
|
||||
timelineEngine: 'Silnik',
|
||||
@@ -386,6 +393,7 @@ const TIMELINE_I18N = {
|
||||
timelineNotesLabel: 'Notatki kontekstowe',
|
||||
timelineNotesPlaceholder: 'Dodaj wyjaśnienia dla AI — np. "Wszystkie daty dotyczą 2024", "Skup się na działaniach matki", "D odnosi się do pozwanego w całym dokumencie".',
|
||||
timelineNotesHint: 'Te notatki są dołączane do zapytania, aby pomóc modelowi interpretować niejednoznaczne daty, uczestników lub skróty. Nie są przechowywane.',
|
||||
docPickerBtn: 'Wybierz z Moich dokumentów',
|
||||
},
|
||||
};
|
||||
|
||||
@@ -474,6 +482,7 @@ const TRANSCRIBE_I18N = {
|
||||
postModelMini: 'GPT-4o Mini',
|
||||
postModelFull: 'GPT-4o',
|
||||
postModelHint: 'Fixes errors, punctuation, and domain terms after transcription.',
|
||||
audioPickerBtn: 'Select from My Audio',
|
||||
},
|
||||
no: {
|
||||
transcribeLang: 'Språk i lydfil',
|
||||
@@ -528,6 +537,7 @@ const TRANSCRIBE_I18N = {
|
||||
postModelMini: 'GPT-4o Mini',
|
||||
postModelFull: 'GPT-4o',
|
||||
postModelHint: 'Retter feil, tegnsetting og fagtermer etter transkripsjon.',
|
||||
audioPickerBtn: 'Velg fra Mine lydfiler',
|
||||
},
|
||||
uk: {
|
||||
transcribeLang: 'Мова аудіо',
|
||||
@@ -582,6 +592,7 @@ const TRANSCRIBE_I18N = {
|
||||
postModelMini: 'GPT-4o Mini',
|
||||
postModelFull: 'GPT-4o',
|
||||
postModelHint: 'Виправляє помилки, пунктуацію та терміни після транскрипції.',
|
||||
audioPickerBtn: 'Вибрати з Мого аудіо',
|
||||
},
|
||||
pl: {
|
||||
transcribeLang: 'Język audio',
|
||||
@@ -636,6 +647,7 @@ const TRANSCRIBE_I18N = {
|
||||
postModelMini: 'GPT-4o Mini',
|
||||
postModelFull: 'GPT-4o',
|
||||
postModelHint: 'Poprawia błędy, interpunkcję i terminy po transkrypcji.',
|
||||
audioPickerBtn: 'Wybierz z Mojego audio',
|
||||
},
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user