fix(SpeechToText): Use IL10N in sample

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr
2023-04-19 15:24:00 +02:00
parent 03f167bf1d
commit 899e2a5e0f

View File

@@ -87,7 +87,7 @@ A **Speech-To-Text provider** is a class that implements the interface ``OCP\Spe
class Provider implements ISpeechToTextProvider {
public function getName(): string {
return 'My awesome speech to text provider';
return $this->l->t('My awesome speech to text provider');
}
public function transcribeFile(File $file): string {