mirror of
https://github.com/nextcloud/documentation.git
synced 2026-01-03 02:09:45 +07:00
fix(SpeechToText): Use IL10N in sample
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user