Skip to content

Commit ef6170f

Browse files
committed
fix(l10n): Adjust strings
Signed-off-by: Joas Schilling <coding@schilljs.com>
1 parent 920e42e commit ef6170f

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

lib/Controller/RuleController.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ public function create(string $directoryPath, int $thresholdDays): DataResponse
7777
try {
7878
$node = $this->userFolder->get($directoryPath);
7979
if (!($node instanceof Folder)) {
80-
return new DataResponse(['message' => $this->l->t('The selected path is not a folder')], Http::STATUS_BAD_REQUEST);
80+
return new DataResponse(['message' => $this->l->t('Selected path is not a folder')], Http::STATUS_BAD_REQUEST);
8181
}
8282
} catch (NotFoundException) {
8383
return new DataResponse(['message' => $this->l->t('Folder not found')], Http::STATUS_NOT_FOUND);

lib/Notification/Notifier.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function prepare(INotification $notification, string $languageCode): INot
6262
case 'directory_missing':
6363
$path = $params['path'];
6464
$notification->setParsedSubject(
65-
$l->t('The watched folder %1$s no longer exists. You may want to remove this watch rule.', [$path])
65+
$l->t('Watched folder %1$s no longer exists. You may want to remove this watch rule.', [$path])
6666
);
6767
break;
6868

src/components/PersonalSettings.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ export default {
156156
async addRule() {
157157
const thresholdDays = parseInt(this.newThresholdDays, 10)
158158
if (!this.newDirectoryPath || isNaN(thresholdDays) || thresholdDays < 1) {
159-
showError(t('upload_monitor', 'Please provide a valid folder and threshold'))
159+
showError(t('upload_monitor', 'Provide a valid folder and threshold'))
160160
return
161161
}
162162

0 commit comments

Comments
 (0)