Skip to content

Speakr is a personal, self-hosted web application designed for transcribing audio recordings

Python

Localize all speaker composable toasts, fix Safari iOS recording view, add lite sha tags

Murtaza Nasirc5a5a393f668
diff --git a/.github/workflows/docker-publish.yml b/.github/workflows/docker-publish.yml
index 8cb3d4cc..83edb205 100644
--- a/.github/workflows/docker-publish.yml
+++ b/.github/workflows/docker-publish.yml
@@ -165,6 +165,7 @@ jobs:
type=raw,value=lite,enable=${{ github.event_name == 'workflow_dispatch' || github.event_name == 'release' || startsWith(github.ref, 'refs/tags/v') }}
type=semver,pattern={{version}}-lite
type=semver,pattern={{major}}.{{minor}}-lite
+ type=sha,suffix=-lite
# Build and push lightweight Docker image (no PyTorch/sentence-transformers)
- name: Build and push lite Docker image
diff --git a/static/js/modules/composables/audio.js b/static/js/modules/composables/audio.js
index 5ce665e7..0ac77abc 100644
--- a/static/js/modules/composables/audio.js
+++ b/static/js/modules/composables/audio.js
@@ -416,6 +416,8 @@ export function useAudio(state, utils) {
mediaRecorder.value = recorder;
recorder.start(5000); // 5-second chunks for less overhead while still enabling crash recovery
isRecording.value = true;
+ // Switch to recording view immediately so pending wake-lock/notification awaits don't block Safari rendering
+ currentView.value = 'recording';
// Start timer
recordingInterval.value = setInterval(() => {
@@ -442,9 +444,6 @@ export function useAudio(state, utils) {
});
}
- // Switch to recording view
- currentView.value = 'recording';
-
} catch (error) {
console.error('Recording error:', error);
setGlobalError(`Failed to start recording: ${error.message}`);
diff --git a/static/js/modules/composables/speakers.js b/static/js/modules/composables/speakers.js
index d8525702..87f980f1 100644
--- a/static/js/modules/composables/speakers.js
+++ b/static/js/modules/composables/speakers.js
@@ -21,6 +21,10 @@ export function useSpeakers(state, utils, processedTranscription) {
const { showToast, setGlobalError, onChatComplete } = utils;
+ // i18n helper — falls back to the provided fallback string if i18n is not loaded
+ const t = (key, params, fallback) => window.i18n ? window.i18n.t(key, params) : (fallback || key);
+ const tc = (key, count, params) => window.i18n ? window.i18n.tc(key, count, params) : (params && params.count != null ? `${params.count}` : key);
+
// Current speaker highlight state
let currentSpeakerId = null;
@@ -220,7 +224,7 @@ export function useSpeakers(state, utils, processedTranscription) {
selectedRecording.value = data.recording;
editedTranscriptData.value = null;
- showToast('Saved!', 'fa-check-circle', 2000, 'success');
+ showToast(t('help.saved'), 'fa-check-circle', 2000, 'success');
} catch (error) {
console.error('Save Transcript Error:', error);
showToast(`Error: ${error.message}`, 'fa-exclamation-circle', 3000, 'error');
@@ -272,8 +276,8 @@ export function useSpeakers(state, utils, processedTranscription) {
selectedRecording.value = summarizingRecording;
editedTranscriptData.value = null;
- showToast('Transcript updated successfully!', 'fa-check-circle');
- showToast('Summary regeneration started', 'fa-sync-alt');
+ showToast(t('help.transcriptUpdated'), 'fa-check-circle');
+ showToast(t('help.summaryRegenerationStarted'), 'fa-sync-alt');
// Poll for summary completion
pollForSummaryCompletion(selectedRecording.value.id);
@@ -285,7 +289,7 @@ export function useSpeakers(state, utils, processedTranscription) {
selectedRecording.value = data.recording;
editedTranscriptData.value = null;
- showToast('Transcript updated successfully!', 'fa-check-circle');
+ showToast(t('help.transcriptUpdated'), 'fa-check-circle');
}
} catch (error) {
console.error('Save Transcript Error:', error);
@@ -339,8 +343,8 @@ export function useSpeakers(state, utils, processedTranscription) {
}
selectedRecording.value = summarizingRecording;
- showToast('Speaker names updated successfully!', 'fa-check-circle');
- showToast('Summary regeneration started', 'fa-sync-alt');
+ showToast(t('help.speakerNamesUpdated'), 'fa-check-circle');
+ showToast(t('help.summaryRegenerationStarted'), 'fa-sync-alt');
// Poll for summary completion
pollForSummaryCompletion(selectedRecording.value.id);
@@ -352,7 +356,7 @@ export function useSpeakers(state, utils, processedTranscription) {
}
selectedRecording.value = data.recording;
- showToast('Speaker names updated successfully!', 'fa-check-circle');
+ showToast(t('help.speakerNamesUpdated'), 'fa-check-circle');
}
} catch (error) {
setGlobalError(`Failed to save speaker names: ${error.message}`);
@@ -418,17 +422,17 @@ export function useSpeakers(state, utils, processedTranscription) {
}
}
- showToast('Summary updated!', 'fa-check-circle');
+ showToast(t('help.summaryUpdated'), 'fa-check-circle');
// Refresh token budget after LLM operation
if (onChatComplete) onChatComplete();
} else if (statusData.status === 'FAILED' || statusData.status === 'ERROR') {
// Stop polling if it failed
clearInterval(pollInterval);
- showToast('Summary generation failed', 'fa-exclamation-circle', 3000, 'error');
+ showToast(t('help.summaryGenerationFailed'), 'fa-exclamation-circle', 3000, 'error');
} else if (attempts >= maxAttempts) {
// Stop polling after max attempts
clearInterval(pollInterval);
- showToast('Summary generation timed out', 'fa-clock', 3000, 'warning');
+ showToast(t('help.summaryGenerationTimedOut'), 'fa-clock', 3000, 'warning');
}
} catch (error) {
console.error('Error polling for summary:', error);
@@ -762,12 +766,12 @@ export function useSpeakers(state, utils, processedTranscription) {
showAutoIdDropdown.value = false;
if (!selectedRecording.value) {
- showToast('No recording selected.', 'fa-exclamation-circle');
+ showToast(t('help.noRecordingSelected'), 'fa-exclamation-circle');
return;
}
isAutoIdentifying.value = true;
- showToast('Starting automatic speaker identification...', 'fa-magic');
+ showToast(t('help.startingAutoIdentification'), 'fa-magic');
try {
const csrfToken = document.querySelector('meta[name="csrf-token"]')?.getAttribute('content');
@@ -808,9 +812,9 @@ export function useSpeakers(state, utils, processedTranscription) {
}
if (identifiedCount > 0) {
- showToast(`${identifiedCount} speaker${identifiedCount === 1 ? '' : 's'} identified successfully!`, 'fa-check-circle');
+ showToast(tc('help.speakersIdentified', identifiedCount, { count: identifiedCount }), 'fa-check-circle');
} else {
- showToast('No speakers could be identified from the context.', 'fa-info-circle');
+ showToast(t('help.noSpeakersIdentified'), 'fa-info-circle');
}
// Refresh token budget after LLM operation
@@ -871,9 +875,9 @@ export function useSpeakers(state, utils, processedTranscription) {
}
if (appliedCount > 0) {
- showToast(`Applied ${appliedCount} suggested name${appliedCount === 1 ? '' : 's'}`, 'fa-check-circle');
+ showToast(tc('help.appliedSuggestedNames', appliedCount, { count: appliedCount }), 'fa-check-circle');
} else {
- showToast('No suggestions to apply', 'fa-info-circle');
+ showToast(t('help.noSuggestionsToApply'), 'fa-info-circle');
}
};
@@ -938,7 +942,7 @@ export function useSpeakers(state, utils, processedTranscription) {
const name = newSpeakerIsMe.value ? (currentUserName.value || 'Me') : newSpeakerName.value.trim();
if (!newSpeakerIsMe.value && !name) {
- showToast('Please enter a speaker name', 'fa-exclamation-circle');
+ showToast(t('help.pleaseEnterSpeakerName'), 'fa-exclamation-circle');
return;
}
@@ -970,7 +974,7 @@ export function useSpeakers(state, utils, processedTranscription) {
modalSpeakers.value.push(newSpeakerId);
closeAddSpeakerModal();
- showToast('Speaker added successfully', 'fa-check-circle');
+ showToast(t('help.speakerAdded'), 'fa-check-circle');
};
// =========================================
@@ -1092,7 +1096,7 @@ export function useSpeakers(state, utils, processedTranscription) {
});
closeEditSpeakersModal();
- showToast('Speakers updated! Save the transcript to apply changes.', 'fa-check-circle');
+ showToast(t('help.speakersUpdatedSaveToApply'), 'fa-check-circle');
} else {
// Regular flow for non-ASR editor context
speakerMap.value = map;
@@ -1117,7 +1121,7 @@ export function useSpeakers(state, utils, processedTranscription) {
}
} catch (e) {
console.error('Error opening text editor:', e);
- showToast('Error opening text editor', 'fa-exclamation-circle', 3000, 'error');
+ showToast(t('help.errorOpeningTextEditor'), 'fa-exclamation-circle', 3000, 'error');
}
};
@@ -1142,12 +1146,12 @@ export function useSpeakers(state, utils, processedTranscription) {
closeEditTextModal();
// Immediately persist the change
- showToast('Saving...', 'fa-spinner fa-spin');
+ showToast(t('help.savingProgress'), 'fa-spinner fa-spin');
await saveTranscriptImmediately(transcriptionData);
}
} catch (e) {
console.error('Error saving text:', e);
- showToast('Error saving text', 'fa-exclamation-circle', 3000, 'error');
+ showToast(t('help.errorSavingText'), 'fa-exclamation-circle', 3000, 'error');
}
};
@@ -1174,12 +1178,12 @@ export function useSpeakers(state, utils, processedTranscription) {
editingSpeakerIndex.value = null;
// Immediately persist the change
- showToast('Saving...', 'fa-spinner fa-spin');
+ showToast(t('help.savingProgress'), 'fa-spinner fa-spin');
await saveTranscriptImmediately(transcriptionData);
}
} catch (e) {
console.error('Error changing speaker:', e);
- showToast('Error changing speaker', 'fa-exclamation-circle', 3000, 'error');
+ showToast(t('help.errorChangingSpeaker'), 'fa-exclamation-circle', 3000, 'error');
}
};
diff --git a/static/locales/de.json b/static/locales/de.json
index 7b352ed2..9ec3b35b 100644
--- a/static/locales/de.json
+++ b/static/locales/de.json
@@ -277,7 +277,6 @@
"currentUsageMinutes": "Aktuelle Nutzung",
"userTranscriptionUsage": "Benutzer-Transkriptionsnutzung (Dieser Monat)",
"noTranscriptionData": "Keine Transkriptionsnutzungsdaten verfügbar",
- "minutes": "Minuten",
"percentUsed": "verwendet",
"topUsers": "Top-Benutzer",
"topUsersByStorage": "Top-Benutzer nach Speicher",
@@ -608,6 +607,11 @@
"audioDeletedTitle": "Audiodatei gelöscht",
"audioDeletedDescription": "Die Audiodatei für diese Aufnahme wurde gelöscht, aber die Transkription ist weiterhin verfügbar.",
"autoIdentify": "Automatisch identifizieren",
+ "autoIdentifyMobile": "Auto",
+ "applySuggested": "Vorschläge anwenden",
+ "applySuggestedMobile": "Vorschlag",
+ "appliedSuggestedNames": "{{count}} vorgeschlagener Name angewendet",
+ "appliedSuggestedNamesPlural": "{{count}} vorgeschlagene Namen angewendet",
"bothAudioDesc": "Nimmt Ihre Stimme + Meeting-Teilnehmer auf (empfohlen für Online-Meetings)",
"clearFilters": "Filter löschen",
"clickToAddNotes": "Klicken um Notizen hinzuzufügen...",
@@ -626,6 +630,7 @@
"generatingSummary": "Generiere Zusammenfassung...",
"groups": "Gruppen",
"identifying": "Identifiziere...",
+ "identifyAllSpeakers": "Alle Sprecher identifizieren",
"howToRecordSystemAudio": "Wie man System-Audio aufnimmt",
"importantNote": "Wichtiger Hinweis",
"lines": "{{count}} Zeilen",
@@ -638,6 +643,8 @@
"navigate": "Navigiere",
"noDateSet": "Kein Datum gesetzt",
"noParticipants": "Keine Teilnehmer",
+ "noSpeakersIdentified": "Es konnten keine Sprecher aus dem Kontext identifiziert werden.",
+ "noSuggestionsToApply": "Keine Vorschläge zum Anwenden",
"noTagsCreated": "Noch keine Tags erstellt.",
"of": "von",
"playFromHere": "Von hier abspielen",
@@ -659,6 +666,8 @@
"sharingWindowNoAudio": "Das Teilen eines \"Fensters\" nimmt kein Audio auf.",
"speakerName": "Sprechername",
"speakerCount": "Sprecher",
+ "speakersIdentified": "{{count}} Sprecher erfolgreich identifiziert!",
+ "speakersIdentifiedPlural": "{{count}} Sprecher erfolgreich identifiziert!",
"specificBrowserTab": "spezifischen Browser-Tab",
"startTime": "Start",
"systemAudioDesc": "Nimmt Meeting-Teilnehmer und Systemklänge auf",
@@ -675,7 +684,23 @@
"youHaveXSpeakers": "Sie haben {{count}} Sprecher, aber nur 16 eindeutige Farben sind verfügbar. Die Farben wiederholen sich nach dem 16. Sprecher.",
"speakers": "Sprecher",
"publicLinkDesc": "Jeder mit diesem Link kann auf die Aufnahme zugreifen",
- "internalSharingDesc": "Mit bestimmten Benutzern in Ihrer Organisation teilen"
+ "internalSharingDesc": "Mit bestimmten Benutzern in Ihrer Organisation teilen",
+ "errorChangingSpeaker": "Fehler beim Wechseln des Sprechers",
+ "errorOpeningTextEditor": "Fehler beim Öffnen des Texteditors",
+ "errorSavingText": "Fehler beim Speichern des Textes",
+ "noRecordingSelected": "Keine Aufnahme ausgewählt.",
+ "pleaseEnterSpeakerName": "Bitte geben Sie einen Sprechernamen ein",
+ "saved": "Gespeichert!",
+ "savingProgress": "Wird gespeichert...",
+ "speakerAdded": "Sprecher erfolgreich hinzugefügt",
+ "speakerNamesUpdated": "Sprechernamen erfolgreich aktualisiert!",
+ "speakersUpdatedSaveToApply": "Sprecher aktualisiert! Speichern Sie die Transkription, um die Änderungen zu übernehmen.",
+ "startingAutoIdentification": "Automatische Sprecheridentifikation wird gestartet...",
+ "summaryGenerationFailed": "Zusammenfassungsgenerierung fehlgeschlagen",
+ "summaryGenerationTimedOut": "Zeitüberschreitung bei der Zusammenfassungsgenerierung",
+ "summaryRegenerationStarted": "Neugenerierung der Zusammenfassung gestartet",
+ "summaryUpdated": "Zusammenfassung aktualisiert!",
+ "transcriptUpdated": "Transkription erfolgreich aktualisiert!"
},
"inquire": {
"title": "Nachfragen",
@@ -1205,4 +1230,4 @@
"recordingData": "Aufnahmedaten",
"contentSections": "Inhaltsbereiche"
}
-}
\ No newline at end of file
+}
diff --git a/static/locales/en.json b/static/locales/en.json
index 839cc04d..dda9c25e 100644
--- a/static/locales/en.json
+++ b/static/locales/en.json
@@ -595,6 +595,11 @@
"audioDeletedTitle": "Audio file deleted",
"audioDeletedDescription": "The audio file for this recording has been deleted, but the transcription remains available.",
"autoIdentify": "Auto Identify",
+ "autoIdentifyMobile": "Auto",
+ "applySuggested": "Apply Suggested",
+ "applySuggestedMobile": "Suggest",
+ "appliedSuggestedNames": "Applied {{count}} suggested name",
+ "appliedSuggestedNamesPlural": "Applied {{count}} suggested names",
"bothAudioDesc": "Records your voice + meeting participants (recommended for online meetings)",
"clearFilters": "clear filters",
"clickToAddNotes": "Click to add notes...",
@@ -609,10 +614,14 @@
"enterNameFor": "Enter name for",
"enterSpeakerName": "Enter speaker name...",
"entireScreen": "Entire Screen",
+ "errorChangingSpeaker": "Error changing speaker",
+ "errorOpeningTextEditor": "Error opening text editor",
+ "errorSavingText": "Error saving text",
"estimatedSize": "Estimated size",
"generatingSummary": "Generating summary...",
"groups": "groups",
"identifying": "Identifying...",
+ "identifyAllSpeakers": "Identify all speakers",
"howToRecordSystemAudio": "How to Record System Audio",
"importantNote": "Important note",
"lines": "{{count}} lines",
@@ -625,8 +634,12 @@
"navigate": "Navigate",
"noDateSet": "No date set",
"noParticipants": "No participants",
+ "noRecordingSelected": "No recording selected.",
+ "noSpeakersIdentified": "No speakers could be identified from the context.",
+ "noSuggestionsToApply": "No suggestions to apply",
"noTagsCreated": "No tags created yet.",
"of": "of",
+ "pleaseEnterSpeakerName": "Please enter a speaker name",
"playFromHere": "Play from here",
"addSegmentBelow": "Add segment below",
"deleteSegment": "Delete segment",
@@ -639,19 +652,32 @@
"recordingFinished": "Recording finished",
"recordingInProgress": "Recording in progress...",
"regenerateSummaryAfterNames": "Regenerate summary after updating names",
+ "saved": "Saved!",
+ "savingProgress": "Saving...",
"sentence": "Sentence",
"shareSystemAudio": "Share system audio",
"shareTabAudio": "Share tab audio",
"sharedOn": "Shared on",
"sharingWindowNoAudio": "Sharing a \"Window\" will not capture audio.",
+ "speakerAdded": "Speaker added successfully",
"speakerName": "Speaker Name",
+ "speakerNamesUpdated": "Speaker names updated successfully!",
"speakerCount": "Speaker",
+ "speakersUpdatedSaveToApply": "Speakers updated! Save the transcript to apply changes.",
+ "speakersIdentified": "{{count}} speaker identified successfully!",
+ "speakersIdentifiedPlural": "{{count}} speakers identified successfully!",
"specificBrowserTab": "specific browser tab",
+ "startingAutoIdentification": "Starting automatic speaker identification...",
"startTime": "Start",
+ "summaryGenerationFailed": "Summary generation failed",
+ "summaryGenerationTimedOut": "Summary generation timed out",
+ "summaryRegenerationStarted": "Summary regeneration started",
+ "summaryUpdated": "Summary updated!",
"systemAudioDesc": "Records meeting participants and system sounds",
"tagManagement": "Tag Management",
"thisActionCannotBeUndone": "This action cannot be undone.",
"toCaptureAudioFromMeetings": "To capture audio from meetings or other apps, you must share your screen or a browser tab.",
+ "transcriptUpdated": "Transcript updated successfully!",
"troubleshooting": "Troubleshooting",
"tryAdjustingSearch": "Try adjusting your search or",
"unsupportedBrowser": "Unsupported Browser",
diff --git a/static/locales/es.json b/static/locales/es.json
index 0885d800..22eb383b 100644
--- a/static/locales/es.json
+++ b/static/locales/es.json
@@ -277,7 +277,6 @@
"currentUsageMinutes": "Uso Actual",
"userTranscriptionUsage": "Uso de Transcripción por Usuario (Este Mes)",
"noTranscriptionData": "No hay datos de uso de transcripción disponibles",
- "minutes": "minutos",
"percentUsed": "usado",
"topUsers": "Usuarios Principales",
"topUsersByStorage": "Principales Usuarios por Almacenamiento",
@@ -608,6 +607,11 @@
"audioDeletedTitle": "Archivo de audio eliminado",
"audioDeletedDescription": "El archivo de audio de esta grabación ha sido eliminado, pero la transcripción sigue disponible.",
"autoIdentify": "Identificar Automáticamente",
+ "autoIdentifyMobile": "Auto",
+ "applySuggested": "Aplicar sugeridos",
+ "applySuggestedMobile": "Sugerir",
+ "appliedSuggestedNames": "{{count}} nombre sugerido aplicado",
+ "appliedSuggestedNamesPlural": "{{count}} nombres sugeridos aplicados",
"bothAudioDesc": "Graba tu voz + participantes de reunión (recomendado para reuniones en línea)",
"clearFilters": "limpiar filtros",
"clickToAddNotes": "Haz clic para añadir notas...",
@@ -625,6 +629,7 @@
"generatingSummary": "Generando resumen...",
"groups": "grupos",
"identifying": "Identificando...",
+ "identifyAllSpeakers": "Identificar todos los hablantes",
"howToRecordSystemAudio": "Cómo Grabar Audio del Sistema",
"importantNote": "Nota importante",
"lines": "{{count}} líneas",
@@ -637,6 +642,8 @@
"navigate": "Navegar",
"noDateSet": "Sin fecha establecida",
"noParticipants": "Sin participantes",
+ "noSpeakersIdentified": "No se pudieron identificar hablantes a partir del contexto.",
+ "noSuggestionsToApply": "No hay sugerencias para aplicar",
"noTagsCreated": "Aún no se han creado etiquetas.",
"of": "de",
"playFromHere": "Reproducir desde aquí",
@@ -657,6 +664,8 @@
"sharedOn": "Compartido el",
"sharingWindowNoAudio": "Compartir una \"Ventana\" no capturará audio.",
"speakerCount": "Hablante",
+ "speakersIdentified": "{{count}} hablante identificado correctamente!",
+ "speakersIdentifiedPlural": "{{count}} hablantes identificados correctamente!",
"specificBrowserTab": "pestaña específica del navegador",
"startTime": "Inicio",
"systemAudioDesc": "Graba participantes de reunión y sonidos del sistema",
@@ -674,7 +683,23 @@
"speakers": "Hablantes",
"publicLinkDesc": "Cualquiera con este enlace puede acceder a la grabación",
"internalSharingDesc": "Compartir con usuarios específicos de su organización",
- "enterSpeakerName": "Ingrese nombre del orador..."
+ "enterSpeakerName": "Ingrese nombre del orador...",
+ "errorChangingSpeaker": "Error al cambiar hablante",
+ "errorOpeningTextEditor": "Error al abrir el editor de texto",
+ "errorSavingText": "Error al guardar texto",
+ "noRecordingSelected": "No se seleccionó ninguna grabación.",
+ "pleaseEnterSpeakerName": "Por favor ingresa un nombre de hablante",
+ "saved": "¡Guardado!",
+ "savingProgress": "Guardando...",
+ "speakerAdded": "Hablante añadido correctamente",
+ "speakerNamesUpdated": "¡Nombres de hablantes actualizados correctamente!",
+ "speakersUpdatedSaveToApply": "¡Hablantes actualizados! Guarda la transcripción para aplicar los cambios.",
+ "startingAutoIdentification": "Iniciando identificación automática de hablantes...",
+ "summaryGenerationFailed": "Error al generar el resumen",
+ "summaryGenerationTimedOut": "La generación del resumen expiró",
+ "summaryRegenerationStarted": "Regeneración del resumen iniciada",
+ "summaryUpdated": "¡Resumen actualizado!",
+ "transcriptUpdated": "¡Transcripción actualizada correctamente!"
},
"inquire": {
"title": "Consultar",
@@ -1174,4 +1199,4 @@
"recordingData": "Datos de grabación",
"contentSections": "Secciones de contenido"
}
-}
\ No newline at end of file
+}
diff --git a/static/locales/fr.json b/static/locales/fr.json
index 3d295d8d..e41f6fba 100644
--- a/static/locales/fr.json
+++ b/static/locales/fr.json
@@ -271,7 +271,6 @@
"currentUsageMinutes": "Utilisation Actuelle",
"userTranscriptionUsage": "Utilisation de Transcription par Utilisateur (Ce Mois)",
"noTranscriptionData": "Aucune donnée d'utilisation de transcription disponible",
- "minutes": "minutes",
"percentUsed": "utilisé",
"topUsers": "Meilleurs Utilisateurs",
"topUsersByStorage": "Principaux Utilisateurs par Stockage",
@@ -602,6 +601,11 @@
"audioDeletedTitle": "Fichier audio supprimé",
"audioDeletedDescription": "Le fichier audio de cet enregistrement a été supprimé, mais la transcription reste disponible.",
"autoIdentify": "Identifier Automatiquement",
+ "autoIdentifyMobile": "Auto",
+ "applySuggested": "Appliquer les suggestions",
+ "applySuggestedMobile": "Suggérer",
+ "appliedSuggestedNames": "{{count}} nom suggéré appliqué",
+ "appliedSuggestedNamesPlural": "{{count}} noms suggérés appliqués",
"bothAudioDesc": "Enregistre votre voix + les participants à la réunion (recommandé pour les réunions en ligne)",
"clearFilters": "effacer les filtres",
"clickToAddNotes": "Cliquez pour ajouter des notes...",
@@ -619,6 +623,7 @@
"generatingSummary": "Génération du résumé...",
"groups": "groupes",
"identifying": "Identification...",
+ "identifyAllSpeakers": "Identifier tous les orateurs",
"howToRecordSystemAudio": "Comment Enregistrer l'Audio Système",
"importantNote": "Note importante",
"lines": "{{count}} lignes",
@@ -631,6 +636,8 @@
"navigate": "Naviguer",
"noDateSet": "Aucune date définie",
"noParticipants": "Aucun participant",
+ "noSpeakersIdentified": "Aucun orateur n'a pu être identifié à partir du contexte.",
+ "noSuggestionsToApply": "Aucune suggestion à appliquer",
"noTagsCreated": "Aucune étiquette créée pour le moment.",
"of": "sur",
"playFromHere": "Lire à partir d'ici",
@@ -651,6 +658,8 @@
"sharedOn": "Partagé le",
"sharingWindowNoAudio": "Partager une \"Fenêtre\" ne capturera pas l'audio.",
"speakerCount": "Orateur",
+ "speakersIdentified": "{{count}} orateur identifié avec succès !",
+ "speakersIdentifiedPlural": "{{count}} orateurs identifiés avec succès !",
"specificBrowserTab": "onglet de navigateur spécifique",
"startTime": "Début",
"systemAudioDesc": "Enregistre les participants à la réunion et les sons du système",
@@ -668,7 +677,23 @@
"speakers": "Orateurs",
"publicLinkDesc": "Toute personne disposant de ce lien peut accéder à l'enregistrement",
"internalSharingDesc": "Partager avec des utilisateurs spécifiques de votre organisation",
- "enterSpeakerName": "Entrez le nom du locuteur..."
+ "enterSpeakerName": "Entrez le nom du locuteur...",
+ "errorChangingSpeaker": "Erreur lors du changement d'orateur",
+ "errorOpeningTextEditor": "Erreur lors de l'ouverture de l'éditeur de texte",
+ "errorSavingText": "Erreur lors de la sauvegarde du texte",
+ "noRecordingSelected": "Aucun enregistrement sélectionné.",
+ "pleaseEnterSpeakerName": "Veuillez entrer un nom d'orateur",
+ "saved": "Sauvegardé !",
+ "savingProgress": "Sauvegarde en cours...",
+ "speakerAdded": "Orateur ajouté avec succès",
+ "speakerNamesUpdated": "Noms des orateurs mis à jour avec succès !",
+ "speakersUpdatedSaveToApply": "Orateurs mis à jour ! Sauvegardez la transcription pour appliquer les modifications.",
+ "startingAutoIdentification": "Identification automatique des orateurs en cours...",
+ "summaryGenerationFailed": "Échec de la génération du résumé",
+ "summaryGenerationTimedOut": "La génération du résumé a expiré",
+ "summaryRegenerationStarted": "Régénération du résumé lancée",
+ "summaryUpdated": "Résumé mis à jour !",
+ "transcriptUpdated": "Transcription mise à jour avec succès !"
},
"inquire": {
"title": "Enquêter",
@@ -1174,4 +1199,4 @@
"recordingData": "Données d'enregistrement",
"contentSections": "Sections de contenu"
}
-}
\ No newline at end of file
+}
diff --git a/static/locales/ru.json b/static/locales/ru.json
index 541bbd7a..e6c29cfe 100644
--- a/static/locales/ru.json
+++ b/static/locales/ru.json
@@ -294,7 +294,6 @@
"currentUsageMinutes": "Текущее использование",
"userTranscriptionUsage": "Использование транскрипции пользователями (Этот месяц)",
"noTranscriptionData": "Данные об использовании транскрипции недоступны",
- "minutes": "минут",
"percentUsed": "использовано",
"topUsers": "Топ пользователей",
"topUsersByStorage": "Топ пользователей по использованию хранилища",
@@ -401,20 +400,56 @@
"title": "Выбор цветовой схемы",
"themes": {
"light": {
- "blue": { "name": "Океанический синий", "description": "Классическая синяя тема с профессиональным видом" },
- "emerald": { "name": "Лесной изумруд", "description": "Свежая зелёная тема для естественного ощущения" },
- "purple": { "name": "Королевский пурпур", "description": "Элегантная фиолетовая тема с изысканностью" },
- "rose": { "name": "Закат в розовых тонах", "description": "Тёплая розовая тема с мягкой энергией" },
- "amber": { "name": "Золотистый янтарь", "description": "Тёплая жёлтая тема для яркости" },
- "teal": { "name": "Океанский бирюзовый", "description": "Прохладная бирюзовая тема для спокойствия" }
+ "blue": {
+ "name": "Океанический синий",
+ "description": "Классическая синяя тема с профессиональным видом"
+ },
+ "emerald": {
+ "name": "Лесной изумруд",
+ "description": "Свежая зелёная тема для естественного ощущения"
+ },
+ "purple": {
+ "name": "Королевский пурпур",
+ "description": "Элегантная фиолетовая тема с изысканностью"
+ },
+ "rose": {
+ "name": "Закат в розовых тонах",
+ "description": "Тёплая розовая тема с мягкой энергией"
+ },
+ "amber": {
+ "name": "Золотистый янтарь",
+ "description": "Тёплая жёлтая тема для яркости"
+ },
+ "teal": {
+ "name": "Океанский бирюзовый",
+ "description": "Прохладная бирюзовая тема для спокойствия"
+ }
},
"dark": {
- "blue": { "name": "Полуночный синий", "description": "Глубокий синий для сосредоточенной работы" },
- "emerald": { "name": "Тёмный лес", "description": "Насыщенный зелёный для комфортного просмотра" },
- "purple": { "name": "Глубокий пурпур", "description": "Таинственный фиолетовый для творчества" },
- "rose": { "name": "Тёмная роза", "description": "Приглушённый розовый с едва заметным теплом" },
- "amber": { "name": "Тёмный янтарь", "description": "Тёплый коричневый для уютных сессий" },
- "teal": { "name": "Глубокий бирюзовый", "description": "Тёмный бирюзовый для спокойной сосредоточенности" }
+ "blue": {
+ "name": "Полуночный синий",
+ "description": "Глубокий синий для сосредоточенной работы"
+ },
+ "emerald": {
+ "name": "Тёмный лес",
+ "description": "Насыщенный зелёный для комфортного просмотра"
+ },
+ "purple": {
+ "name": "Глубокий пурпур",
+ "description": "Таинственный фиолетовый для творчества"
+ },
+ "rose": {
+ "name": "Тёмная роза",
+ "description": "Приглушённый розовый с едва заметным теплом"
+ },
+ "amber": {
+ "name": "Тёмный янтарь",
+ "description": "Тёплый коричневый для уютных сессий"
+ },
+ "teal": {
+ "name": "Глубокий бирюзовый",
+ "description": "Тёмный бирюзовый для спокойной сосредоточенности"
+ }
}
}
},
@@ -590,6 +625,11 @@
"audioDeletedTitle": "Аудиофайл удалён",
"audioDeletedDescription": "Аудиофайл для этой записи был удалён, но транскрипция остаётся доступной.",
"autoIdentify": "Автоопределение",
+ "autoIdentifyMobile": "Авто",
+ "applySuggested": "Применить предложенные",
+ "applySuggestedMobile": "Предложить",
+ "appliedSuggestedNames": "Применено {{count}} предложенное имя",
+ "appliedSuggestedNamesPlural": "Применено {{count}} предложенных имён",
"bothAudioDesc": "Записывает ваш голос + участников встречи (рекомендуется для онлайн-встреч)",
"clearFilters": "сбросить фильтры",
"clickToAddNotes": "Нажмите, чтобы добавить заметки...",
@@ -608,6 +648,7 @@
"generatingSummary": "Генерация резюме...",
"groups": "группы",
"identifying": "Определение...",
+ "identifyAllSpeakers": "Определить всех спикеров",
"howToRecordSystemAudio": "Как записать системный звук",
"importantNote": "Важное примечание",
"lines": "{{count}} строк",
@@ -620,6 +661,8 @@
"navigate": "Навигация",
"noDateSet": "Дата не установлена",
"noParticipants": "Нет участников",
+ "noSpeakersIdentified": "Не удалось определить спикеров из контекста.",
+ "noSuggestionsToApply": "Нет предложений для применения",
"noTagsCreated": "Теги ещё не созданы.",
"of": "из",
"playFromHere": "Воспроизвести отсюда",
@@ -641,6 +684,8 @@
"sharingWindowNoAudio": "При демонстрации \"Окна\" звук не захватывается.",
"speakerName": "Имя спикера",
"speakerCount": "Спикер",
+ "speakersIdentified": "{{count}} спикер успешно определён!",
+ "speakersIdentifiedPlural": "{{count}} спикеров успешно определено!",
"specificBrowserTab": "конкретную вкладку браузера",
"startTime": "Начало",
"systemAudioDesc": "Записывает участников встречи и системные звуки",
@@ -657,7 +702,23 @@
"youHaveXSpeakers": "У вас {{count}} спикеров, но доступно только 16 уникальных цветов. Цвета будут повторяться после 16-го спикера.",
"speakers": "Спикеры",
"publicLinkDesc": "Любой, у кого есть эта ссылка, может получить доступ к записи",
- "internalSharingDesc": "Поделиться с конкретными пользователями в вашей организации"
+ "internalSharingDesc": "Поделиться с конкретными пользователями в вашей организации",
+ "errorChangingSpeaker": "Ошибка при смене спикера",
+ "errorOpeningTextEditor": "Ошибка при открытии текстового редактора",
+ "errorSavingText": "Ошибка при сохранении текста",
+ "noRecordingSelected": "Запись не выбрана.",
+ "pleaseEnterSpeakerName": "Пожалуйста, введите имя спикера",
+ "saved": "Сохранено!",
+ "savingProgress": "Сохранение...",
+ "speakerAdded": "Спикер успешно добавлен",
+ "speakerNamesUpdated": "Имена спикеров успешно обновлены!",
+ "speakersUpdatedSaveToApply": "Спикеры обновлены! Сохраните транскрипцию, чтобы применить изменения.",
+ "startingAutoIdentification": "Запуск автоматического определения спикеров...",
+ "summaryGenerationFailed": "Ошибка генерации резюме",
+ "summaryGenerationTimedOut": "Превышено время генерации резюме",
+ "summaryRegenerationStarted": "Перегенерация резюме запущена",
+ "summaryUpdated": "Резюме обновлено!",
+ "transcriptUpdated": "Транскрипция успешно обновлена!"
},
"inquire": {
"title": "Inquire",
diff --git a/static/locales/zh.json b/static/locales/zh.json
index 9442e583..dc35f1ec 100644
--- a/static/locales/zh.json
+++ b/static/locales/zh.json
@@ -296,7 +296,6 @@
"currentUsageMinutes": "当前使用量",
"userTranscriptionUsage": "用户转录使用情况(本月)",
"noTranscriptionData": "暂无转录使用数据",
- "minutes": "分钟",
"percentUsed": "已使用",
"topUsers": "顶级用户",
"topUsersByStorage": "按存储排序的顶级用户",
@@ -680,6 +679,11 @@
"audioDeletedTitle": "音频文件已删除",
"audioDeletedDescription": "此录音的音频文件已被删除,但转录内容仍然可用。",
"autoIdentify": "自动识别",
+ "autoIdentifyMobile": "自动",
+ "applySuggested": "应用建议",
+ "applySuggestedMobile": "建议",
+ "appliedSuggestedNames": "已应用 {{count}} 个建议名称",
+ "appliedSuggestedNamesPlural": "已应用 {{count}} 个建议名称",
"bothAudioDesc": "录制您的声音 + 会议参与者(推荐用于在线会议)",
"clearFilters": "清除筛选",
"clickToAddNotes": "点击添加笔记...",
@@ -697,6 +701,7 @@
"generatingSummary": "生成摘要中...",
"groups": "组",
"identifying": "识别中...",
+ "identifyAllSpeakers": "识别所有发言人",
"howToRecordSystemAudio": "如何录制系统音频",
"importantNote": "重要提示",
"lines": "{{count}} 行",
@@ -709,6 +714,8 @@
"navigate": "导航",
"noDateSet": "未设置日期",
"noParticipants": "无参与者",
+ "noSpeakersIdentified": "无法从上下文中识别发言人。",
+ "noSuggestionsToApply": "没有可应用的建议",
"noTagsCreated": "尚未创建标签。",
"of": "/",
"playFromHere": "从此处播放",
@@ -729,6 +736,8 @@
"sharedOn": "共享于",
"sharingWindowNoAudio": "共享\"窗口\"不会捕获音频。",
"speakerCount": "发言人",
+ "speakersIdentified": "成功识别 {{count}} 位发言人!",
+ "speakersIdentifiedPlural": "成功识别 {{count}} 位发言人!",
"specificBrowserTab": "特定浏览器标签页",
"startTime": "开始",
"systemAudioDesc": "录制会议参与者和系统声音",
@@ -773,7 +782,7 @@
"showMore": "显示更多",
"speaker": "发言人",
"speakerName": "发言人名称",
- "speakerNamesUpdated": "发言人名称已更新",
+ "speakerNamesUpdated": "发言人名称更新成功!",
"speakers": "发言人",
"startRecording": "开始录音",
"stopRecording": "停止录音",
@@ -794,7 +803,22 @@
"waitingToUpload": "等待上传",
"publicLinkDesc": "任何拥有此链接的人都可以访问录音",
"internalSharingDesc": "与您组织中的特定用户分享",
- "enterSpeakerName": "输入发言人姓名..."
+ "enterSpeakerName": "输入发言人姓名...",
+ "errorChangingSpeaker": "更改发言人时出错",
+ "errorOpeningTextEditor": "打开文本编辑器时出错",
+ "errorSavingText": "保存文本时出错",
+ "noRecordingSelected": "未选择录音。",
+ "pleaseEnterSpeakerName": "请输入发言人名称",
+ "saved": "已保存!",
+ "savingProgress": "保存中...",
+ "speakerAdded": "发言人添加成功",
+ "speakersUpdatedSaveToApply": "发言人已更新!保存转录以应用更改。",
+ "startingAutoIdentification": "正在启动自动发言人识别...",
+ "summaryGenerationFailed": "摘要生成失败",
+ "summaryGenerationTimedOut": "摘要生成超时",
+ "summaryRegenerationStarted": "摘要重新生成已开始",
+ "summaryUpdated": "摘要已更新!",
+ "transcriptUpdated": "转录更新成功!"
},
"inquire": {
"title": "查询",
@@ -1358,4 +1382,4 @@
"recordingData": "录音数据",
"contentSections": "内容部分"
}
-}
\ No newline at end of file
+}
diff --git a/templates/modals/speaker-modal.html b/templates/modals/speaker-modal.html
index aea9db49..beb87b82 100644
--- a/templates/modals/speaker-modal.html
+++ b/templates/modals/speaker-modal.html
@@ -289,7 +289,7 @@
<button @click="autoIdentifySpeakers(false)" class="px-2 sm:px-3 py-1.5 sm:py-2 bg-purple-600 text-white rounded-l-md hover:bg-purple-700 active:scale-[0.98] transition-all flex items-center justify-center text-xs sm:text-sm font-medium" :disabled="isAutoIdentifying">
<i class="fas fa-magic mr-1 sm:mr-1.5"></i>
<span v-if="!isAutoIdentifying" class="hidden sm:inline" v-text="t('help.autoIdentify')"></span>
- <span v-if="!isAutoIdentifying" class="sm:hidden">Auto</span>
+ <span v-if="!isAutoIdentifying" class="sm:hidden" v-text="t('help.autoIdentifyMobile')"></span>
<span v-else>
<i class="fas fa-spinner fa-spin"></i>
</span>
@@ -301,15 +301,15 @@
<!-- Dropdown menu -->
<div v-if="showAutoIdDropdown" class="absolute bottom-full left-0 mb-1 bg-[var(--bg-secondary)] border border-[var(--border-primary)] rounded-md shadow-lg z-50 min-w-[180px]">
<button @click="autoIdentifySpeakers(true)" class="w-full px-3 py-2 text-left text-xs sm:text-sm text-[var(--text-primary)] hover:bg-[var(--bg-tertiary)] transition-colors rounded-md">
- <i class="fas fa-users mr-2"></i>Identify all speakers
+ <i class="fas fa-users mr-2"></i><span v-text="t('help.identifyAllSpeakers')"></span>
</button>
</div>
</div>
<!-- Apply Suggested Button -->
<button v-if="hasAnySuggestions" @click="applySuggestedNames" class="px-2 sm:px-3 py-1.5 sm:py-2 bg-gradient-to-r from-blue-600 to-purple-600 text-white rounded-md hover:from-blue-700 hover:to-purple-700 active:scale-[0.98] transition-all flex items-center text-xs sm:text-sm font-medium">
<i class="fas fa-lightbulb mr-1 sm:mr-1.5"></i>
- <span class="hidden sm:inline">Apply Suggested</span>
- <span class="sm:hidden">Suggest</span>
+ <span class="hidden sm:inline" v-text="t('help.applySuggested')"></span>
+ <span class="sm:hidden" v-text="t('help.applySuggestedMobile')"></span>
</button>
</div>
<!-- Right: Cancel & Save Buttons -->