From 0993212e7af3d9e6d8c04980f3a509bc9ba73cc8 Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Tue, 28 Jul 2026 14:57:58 +0200 Subject: [PATCH 1/2] chore(i18n): Adapted guidelines See guidelines https://docs.nextcloud.com/server/latest/developer_manual/design/writing.html#general-rules Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- lib/Controller/AssistantApiController.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/Controller/AssistantApiController.php b/lib/Controller/AssistantApiController.php index 5e917f5c..7d876129 100644 --- a/lib/Controller/AssistantApiController.php +++ b/lib/Controller/AssistantApiController.php @@ -429,18 +429,18 @@ public function getOutputFile(int $ocpTaskId, int $fileId): DataDownloadResponse public function runFileAction(int $fileId, string $taskTypeId): DataResponse { try { $this->taskProcessingService->runFileAction($this->userId, $fileId, $taskTypeId); - $message = $this->l10n->t('Assistant task submitted successfully'); + $message = $this->l10n->t('Assistant task submitted'); if ($taskTypeId === AudioToText::ID) { - $message = $this->l10n->t('Transcription task submitted successfully'); + $message = $this->l10n->t('Transcription task submitted'); } elseif (class_exists('OCP\\TaskProcessing\\TaskTypes\\AudioToTextSubtitles')) { if ($taskTypeId === \OCP\TaskProcessing\TaskTypes\AudioToTextSubtitles::ID) { - $message = $this->l10n->t('Subtitles task submitted successfully'); + $message = $this->l10n->t('Subtitles task submitted'); } } elseif ($taskTypeId === TextToTextSummary::ID) { - $message = $this->l10n->t('Summarization task submitted successfully'); + $message = $this->l10n->t('Summarization task submitted'); } elseif (class_exists('OCP\\TaskProcessing\\TaskTypes\\TextToSpeech')) { if ($taskTypeId === \OCP\TaskProcessing\TaskTypes\TextToSpeech::ID) { - $message = $this->l10n->t('Text-to-speech task submitted successfully'); + $message = $this->l10n->t('Text-to-speech task submitted'); } } return new DataResponse([ From 1595bf4d5f139195a10fa1b5549eb572d17d0cba Mon Sep 17 00:00:00 2001 From: rakekniven <2069590+rakekniven@users.noreply.github.com> Date: Tue, 28 Jul 2026 15:00:48 +0200 Subject: [PATCH 2/2] chore(i18n): Adapted guidelines See guidelines https://docs.nextcloud.com/server/latest/developer_manual/design/writing.html#general-rules Signed-off-by: rakekniven <2069590+rakekniven@users.noreply.github.com> --- src/files/fileActions.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/files/fileActions.js b/src/files/fileActions.js index f58b87d1..cb62ab08 100644 --- a/src/files/fileActions.js +++ b/src/files/fileActions.js @@ -64,7 +64,7 @@ function registerSummarizeAction() { try { await axios.post(url) showSuccess( - t('assistant', 'Summarization AI task submitted successfully.') + '\n' + t('assistant', 'Summarization AI task submitted.') + '\n' + t('assistant', 'You will be notified when it is ready.') + '\n' + t('assistant', 'It can also be checked in the Assistant in the "Work with text -> Summarize" menu.'), ) @@ -103,7 +103,7 @@ function registerTtsAction() { try { await axios.post(url) showSuccess( - t('assistant', 'Text-to-Speech AI task submitted successfully.') + '\n' + t('assistant', 'Text-to-Speech AI task submitted.') + '\n' + t('assistant', 'You will be notified when it is ready.') + '\n' + t('assistant', 'It can also be checked in the Assistant in the "Work with audio -> Generate speech" menu.'), ) @@ -142,7 +142,7 @@ function registerSttAction() { try { await axios.post(url) showSuccess( - t('assistant', 'Transcription AI task submitted successfully.') + '\n' + t('assistant', 'Transcription AI task submitted.') + '\n' + t('assistant', 'You will be notified when it is ready.') + '\n' + t('assistant', 'It can also be checked in the Assistant in the "Work with audio -> Transcribe audio" menu.'), ) @@ -181,7 +181,7 @@ function registerSttSubtitlesAction() { try { await axios.post(url) showSuccess( - t('assistant', 'AI subtitles task submitted successfully.') + '\n' + t('assistant', 'AI subtitles task submitted.') + '\n' + t('assistant', 'You will be notified when it is ready.') + '\n' + t('assistant', 'It can also be checked in the Assistant in the "Work with audio -> Generate subtitles" menu.'), )