Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'apps/user_status')
-rw-r--r--apps/user_status/l10n/fa.js10
-rw-r--r--apps/user_status/l10n/fa.json10
-rw-r--r--apps/user_status/lib/Service/PredefinedStatusService.php7
-rw-r--r--apps/user_status/src/components/PredefinedStatus.vue2
4 files changed, 17 insertions, 12 deletions
diff --git a/apps/user_status/l10n/fa.js b/apps/user_status/l10n/fa.js
index eceab5a6a2a..26695de3aaa 100644
--- a/apps/user_status/l10n/fa.js
+++ b/apps/user_status/l10n/fa.js
@@ -20,21 +20,21 @@ OC.L10N.register(
"There was an error saving the status" : "مشکلی در ذخیره سازی وضعیت پیش آمده",
"There was an error clearing the status" : "مشکلی در پاک کردن وضعیت پیش آمده",
"No recent status changes" : "هیچ تغییر وضعیت جدیدی وجود ندارد",
- "Away" : "دور",
+ "Away" : "بیرون",
"Do not disturb" : "مزاحم نشوید",
"Don't clear" : "پاک نکن",
- "Today" : "Today",
+ "Today" : "امروز",
"This week" : "این هفته",
"Online" : "آنلاین",
- "Invisible" : "نامرئی",
+ "Invisible" : "غیر قابل مشاهده",
"Offline" : "آفلاین",
"There was an error saving the new status" : "مشکلی در ذخیره سازی وضعیت جدید پیش آمده",
"30 minutes" : "۳۰ دقیقه",
- "1 hour" : "1 ساعت",
+ "1 hour" : "۱ ساعت",
"4 hours" : "۴ ساعت",
"Mute all notifications" : "خاموش کردن همه اعلانات",
"Appear offline" : "نمایش آفلاین",
- "Clear status message after" : "بعد از آن پیام وضعیت را پاک کن ",
+ "Clear status message after" : "پاک کردن پیام وضعیت بعد از",
"What's your status?" : "وضعیت شما چیست؟"
},
"nplurals=2; plural=(n > 1);");
diff --git a/apps/user_status/l10n/fa.json b/apps/user_status/l10n/fa.json
index bf954d2cf3b..bb7906651da 100644
--- a/apps/user_status/l10n/fa.json
+++ b/apps/user_status/l10n/fa.json
@@ -18,21 +18,21 @@
"There was an error saving the status" : "مشکلی در ذخیره سازی وضعیت پیش آمده",
"There was an error clearing the status" : "مشکلی در پاک کردن وضعیت پیش آمده",
"No recent status changes" : "هیچ تغییر وضعیت جدیدی وجود ندارد",
- "Away" : "دور",
+ "Away" : "بیرون",
"Do not disturb" : "مزاحم نشوید",
"Don't clear" : "پاک نکن",
- "Today" : "Today",
+ "Today" : "امروز",
"This week" : "این هفته",
"Online" : "آنلاین",
- "Invisible" : "نامرئی",
+ "Invisible" : "غیر قابل مشاهده",
"Offline" : "آفلاین",
"There was an error saving the new status" : "مشکلی در ذخیره سازی وضعیت جدید پیش آمده",
"30 minutes" : "۳۰ دقیقه",
- "1 hour" : "1 ساعت",
+ "1 hour" : "۱ ساعت",
"4 hours" : "۴ ساعت",
"Mute all notifications" : "خاموش کردن همه اعلانات",
"Appear offline" : "نمایش آفلاین",
- "Clear status message after" : "بعد از آن پیام وضعیت را پاک کن ",
+ "Clear status message after" : "پاک کردن پیام وضعیت بعد از",
"What's your status?" : "وضعیت شما چیست؟"
},"pluralForm" :"nplurals=2; plural=(n > 1);"
} \ No newline at end of file
diff --git a/apps/user_status/lib/Service/PredefinedStatusService.php b/apps/user_status/lib/Service/PredefinedStatusService.php
index 354e0f16b32..40f6052aa95 100644
--- a/apps/user_status/lib/Service/PredefinedStatusService.php
+++ b/apps/user_status/lib/Service/PredefinedStatusService.php
@@ -26,6 +26,7 @@ declare(strict_types=1);
namespace OCA\UserStatus\Service;
use OCP\IL10N;
+use OCP\UserStatus\IUserStatus;
/**
* Class DefaultStatusService
@@ -41,6 +42,9 @@ class PredefinedStatusService {
private const SICK_LEAVE = 'sick-leave';
private const VACATIONING = 'vacationing';
private const REMOTE_WORK = 'remote-work';
+ /**
+ * @depreacted See \OCP\UserStatus\IUserStatus::MESSAGE_CALL
+ */
public const CALL = 'call';
/** @var IL10N */
@@ -196,7 +200,8 @@ class PredefinedStatusService {
self::SICK_LEAVE,
self::VACATIONING,
self::REMOTE_WORK,
- self::CALL,
+ IUserStatus::MESSAGE_CALL,
+ IUserStatus::MESSAGE_AVAILABILITY,
], true);
}
}
diff --git a/apps/user_status/src/components/PredefinedStatus.vue b/apps/user_status/src/components/PredefinedStatus.vue
index f8d5fe26be4..4ab585493e6 100644
--- a/apps/user_status/src/components/PredefinedStatus.vue
+++ b/apps/user_status/src/components/PredefinedStatus.vue
@@ -103,7 +103,7 @@ export default {
opacity: .7;
&::before {
- content: ' - ';
+ content: ' – ';
}
}
}