Prechádzať zdrojové kódy

Call Recordings: Option to manually submit audio to AI for transcription, if enabled.

fusionate 1 rok pred
rodič
commit
ebd2681914
2 zmenil súbory, kde vykonal 81 pridanie a 24 odobranie
  1. 78 24
      resources/app_languages.php
  2. 3 0
      themes/default/template.php

+ 78 - 24
resources/app_languages.php

@@ -6202,29 +6202,83 @@ $text['label-translate']['zh-cn'] = "";
 $text['label-translate']['ja-jp'] = "";
 $text['label-translate']['ja-jp'] = "";
 $text['label-translate']['ko-kr'] = "";
 $text['label-translate']['ko-kr'] = "";
 
 
-$text['description-language']['en-us'] = "Select the language, voice and dialect.";
-$text['description-language']['en-gb'] = "Select the language, voice and dialect.";
-$text['description-language']['ar-eg'] = "";
-$text['description-language']['de-at'] = "";
-$text['description-language']['de-ch'] = "";
-$text['description-language']['de-de'] = "";
-$text['description-language']['es-cl'] = "";
-$text['description-language']['es-mx'] = "";
-$text['description-language']['fr-ca'] = "Sélectionnez la langue, la voix et le dialecte.";
-$text['description-language']['fr-fr'] = "Sélectionnez la langue, la voix et le dialecte.";
-$text['description-language']['he-il'] = "";
-$text['description-language']['it-it'] = "";
-$text['description-language']['nl-nl'] = "";
-$text['description-language']['pl-pl'] = "";
-$text['description-language']['pt-br'] = "";
-$text['description-language']['pt-pt'] = "";
-$text['description-language']['ro-ro'] = "";
-$text['description-language']['ru-ru'] = "";
-$text['description-language']['sv-se'] = "";
-$text['description-language']['uk-ua'] = "";
-$text['description-language']['zh-cn'] = "";
-$text['description-language']['ja-jp'] = "";
-$text['description-language']['ko-kr'] = "";
+$text['button-transcribe']['en-us'] = "Transcribe";
+$text['button-transcribe']['en-gb'] = "Transcribe";
+$text['button-transcribe']['ar-eg'] = "نسخ";
+$text['button-transcribe']['de-at'] = "transkribieren";
+$text['button-transcribe']['de-ch'] = "transkribieren";
+$text['button-transcribe']['de-de'] = "transkribieren";
+$text['button-transcribe']['el-gr'] = "Αντιγράφω";
+$text['button-transcribe']['es-cl'] = "transcribir";
+$text['button-transcribe']['es-mx'] = "transcribir";
+$text['button-transcribe']['fr-ca'] = "transcrire";
+$text['button-transcribe']['fr-fr'] = "transcrire";
+$text['button-transcribe']['he-il'] = "לְתַעֲתֵק";
+$text['button-transcribe']['it-it'] = "trascrivere";
+$text['button-transcribe']['nl-nl'] = "overschrijven";
+$text['button-transcribe']['pl-pl'] = "rozpisać";
+$text['button-transcribe']['pt-br'] = "transcrever";
+$text['button-transcribe']['pt-pt'] = "transcrever";
+$text['button-transcribe']['ro-ro'] = "Transcrie";
+$text['button-transcribe']['ru-ru'] = "транскрибировать";
+$text['button-transcribe']['sv-se'] = "transkribera";
+$text['button-transcribe']['uk-ua'] = "переписати";
+$text['button-transcribe']['tr-tr'] = "Uyarlamak";
+$text['button-transcribe']['zh-cn'] = "录制";
+$text['button-transcribe']['ja-jp'] = "転写する";
+$text['button-transcribe']['ko-kr'] = "고쳐 쓰다";
+
+$text['label-transcription']['en-us'] = "Transcription";
+$text['label-transcription']['en-gb'] = "Transcription";
+$text['label-transcription']['ar-eg'] = "النسخ";
+$text['label-transcription']['de-at'] = "Transkription";
+$text['label-transcription']['de-ch'] = "Transkription";
+$text['label-transcription']['de-de'] = "Transkription";
+$text['label-transcription']['el-gr'] = "Μεταγραφή";
+$text['label-transcription']['es-cl'] = "Transcripción";
+$text['label-transcription']['es-mx'] = "Transcripción";
+$text['label-transcription']['fr-ca'] = "Transcription";
+$text['label-transcription']['fr-fr'] = "Transcription";
+$text['label-transcription']['he-il'] = "תַעֲתוּק";
+$text['label-transcription']['it-it'] = "Trascrizione";
+$text['label-transcription']['nl-nl'] = "Overschrijving";
+$text['label-transcription']['pl-pl'] = "Transkrypcja";
+$text['label-transcription']['pt-br'] = "Transcrição";
+$text['label-transcription']['pt-pt'] = "Transcrição";
+$text['label-transcription']['ro-ro'] = "Transcriere";
+$text['label-transcription']['ru-ru'] = "Транскрипция";
+$text['label-transcription']['sv-se'] = "Transcription";
+$text['label-transcription']['uk-ua'] = "Транскрипція";
+$text['label-transcription']['tr-tr'] = "Transkripsiyon";
+$text['label-transcription']['zh-cn'] = "转录";
+$text['label-transcription']['ja-jp'] = "転写";
+$text['label-transcription']['ko-kr'] = "전사";
+
+$text['message-audio_transcribed']['en-us'] = "Audio Transcribed";
+$text['message-audio_transcribed']['en-gb'] = "Audio Transcribed";
+$text['message-audio_transcribed']['ar-eg'] = "";
+$text['message-audio_transcribed']['de-at'] = "";
+$text['message-audio_transcribed']['de-ch'] = "";
+$text['message-audio_transcribed']['de-de'] = "";
+$text['message-audio_transcribed']['el-gr'] = "";
+$text['message-audio_transcribed']['es-cl'] = "";
+$text['message-audio_transcribed']['es-mx'] = "";
+$text['message-audio_transcribed']['fr-ca'] = "";
+$text['message-audio_transcribed']['fr-fr'] = "";
+$text['message-audio_transcribed']['he-il'] = "";
+$text['message-audio_transcribed']['it-it'] = "";
+$text['message-audio_transcribed']['nl-nl'] = "";
+$text['message-audio_transcribed']['pl-pl'] = "";
+$text['message-audio_transcribed']['pt-br'] = "";
+$text['message-audio_transcribed']['pt-pt'] = "";
+$text['message-audio_transcribed']['ro-ro'] = "";
+$text['message-audio_transcribed']['ru-ru'] = "";
+$text['message-audio_transcribed']['sv-se'] = "";
+$text['message-audio_transcribed']['uk-ua'] = "";
+$text['message-audio_transcribed']['tr-tr'] = "";
+$text['message-audio_transcribed']['zh-cn'] = "";
+$text['message-audio_transcribed']['ja-jp'] = "";
+$text['message-audio_transcribed']['ko-kr'] = "";
 
 
 $text['button-setup']['en-us'] = "Setup";
 $text['button-setup']['en-us'] = "Setup";
 $text['button-setup']['en-gb'] = "Setup";
 $text['button-setup']['en-gb'] = "Setup";
@@ -6304,4 +6358,4 @@ $text['button-hide']['zh-cn'] = "隐藏";
 $text['button-hide']['ja-jp'] = "隠れる";
 $text['button-hide']['ja-jp'] = "隠れる";
 $text['button-hide']['ko-kr'] = "숨다";
 $text['button-hide']['ko-kr'] = "숨다";
 
 
-?>
+?>

+ 3 - 0
themes/default/template.php

@@ -905,17 +905,20 @@
 			btn_toggle = document.getElementById("btn_toggle");
 			btn_toggle = document.getElementById("btn_toggle");
 			btn_delete = document.getElementById("btn_delete");
 			btn_delete = document.getElementById("btn_delete");
 			btn_download = document.getElementById("btn_download");
 			btn_download = document.getElementById("btn_download");
+			btn_transcribe = document.getElementById("btn_transcribe");
 			if (checked == true) {
 			if (checked == true) {
 				if (btn_copy) { btn_copy.style.display = "inline"; }
 				if (btn_copy) { btn_copy.style.display = "inline"; }
 				if (btn_toggle) { btn_toggle.style.display = "inline"; }
 				if (btn_toggle) { btn_toggle.style.display = "inline"; }
 				if (btn_delete) { btn_delete.style.display = "inline"; }
 				if (btn_delete) { btn_delete.style.display = "inline"; }
 				if (btn_download) { btn_download.style.display = "inline"; }
 				if (btn_download) { btn_download.style.display = "inline"; }
+				if (btn_transcribe) { btn_transcribe.style.display = "inline"; }
 			}
 			}
 		 	else {
 		 	else {
 				if (btn_copy) { btn_copy.style.display = "none"; }
 				if (btn_copy) { btn_copy.style.display = "none"; }
 				if (btn_toggle) { btn_toggle.style.display = "none"; }
 				if (btn_toggle) { btn_toggle.style.display = "none"; }
 				if (btn_delete) { btn_delete.style.display = "none"; }
 				if (btn_delete) { btn_delete.style.display = "none"; }
 				if (btn_download) { btn_download.style.display = "none"; }
 				if (btn_download) { btn_download.style.display = "none"; }
+				if (btn_transcribe) { btn_transcribe.style.display = "none"; }
 		 	}
 		 	}
 		}
 		}
 		{/literal}
 		{/literal}