diff options
Diffstat (limited to 'apps/user_status')
-rw-r--r-- | apps/user_status/l10n/ja.js | 1 | ||||
-rw-r--r-- | apps/user_status/l10n/ja.json | 1 | ||||
-rw-r--r-- | apps/user_status/l10n/nl.js | 1 | ||||
-rw-r--r-- | apps/user_status/l10n/nl.json | 1 | ||||
-rw-r--r-- | apps/user_status/l10n/sw.js | 1 | ||||
-rw-r--r-- | apps/user_status/l10n/sw.json | 1 | ||||
-rw-r--r-- | apps/user_status/lib/Capabilities.php | 3 | ||||
-rw-r--r-- | apps/user_status/openapi.json | 6 | ||||
-rw-r--r-- | apps/user_status/tests/Unit/CapabilitiesTest.php | 1 |
9 files changed, 14 insertions, 2 deletions
diff --git a/apps/user_status/l10n/ja.js b/apps/user_status/l10n/ja.js index 9f56f70053b..74f480e0f36 100644 --- a/apps/user_status/l10n/ja.js +++ b/apps/user_status/l10n/ja.js @@ -10,6 +10,7 @@ OC.L10N.register( "Out of office" : "オフィス外", "Working remotely" : "リモートワーク中", "In a call" : "通話中", + "Be right back" : "すぐ戻ります", "User status" : "ユーザーステータス", "Clear status after" : "ステータスの有効期限", "Emoji for your status message" : "あなたのステータスメッセージに絵文字を", diff --git a/apps/user_status/l10n/ja.json b/apps/user_status/l10n/ja.json index a6dc1ec19a3..183ed4f1c1e 100644 --- a/apps/user_status/l10n/ja.json +++ b/apps/user_status/l10n/ja.json @@ -8,6 +8,7 @@ "Out of office" : "オフィス外", "Working remotely" : "リモートワーク中", "In a call" : "通話中", + "Be right back" : "すぐ戻ります", "User status" : "ユーザーステータス", "Clear status after" : "ステータスの有効期限", "Emoji for your status message" : "あなたのステータスメッセージに絵文字を", diff --git a/apps/user_status/l10n/nl.js b/apps/user_status/l10n/nl.js index 3a981ec3a3c..745507c57c0 100644 --- a/apps/user_status/l10n/nl.js +++ b/apps/user_status/l10n/nl.js @@ -10,6 +10,7 @@ OC.L10N.register( "Out of office" : "Niet op kantoor", "Working remotely" : "Thuiswerken", "In a call" : "In gesprek", + "Be right back" : "Zo weer terug", "User status" : "Gebruikersstatus", "Clear status after" : "Maak de status leeg na", "Emoji for your status message" : "Emoji voor je statusbericht", diff --git a/apps/user_status/l10n/nl.json b/apps/user_status/l10n/nl.json index 485b773bb85..643cf4c27fb 100644 --- a/apps/user_status/l10n/nl.json +++ b/apps/user_status/l10n/nl.json @@ -8,6 +8,7 @@ "Out of office" : "Niet op kantoor", "Working remotely" : "Thuiswerken", "In a call" : "In gesprek", + "Be right back" : "Zo weer terug", "User status" : "Gebruikersstatus", "Clear status after" : "Maak de status leeg na", "Emoji for your status message" : "Emoji voor je statusbericht", diff --git a/apps/user_status/l10n/sw.js b/apps/user_status/l10n/sw.js index e633d96c1dd..69e9430b920 100644 --- a/apps/user_status/l10n/sw.js +++ b/apps/user_status/l10n/sw.js @@ -10,6 +10,7 @@ OC.L10N.register( "Out of office" : "Nje ya ofisi", "Working remotely" : "Kufanyia kazi mbali", "In a call" : "Katika simu", + "Be right back" : "Rudi mara moja", "User status" : "Hadhi ya mtumiaji", "Clear status after" : "Futa hali baada ya", "Emoji for your status message" : "Emoji kwa hali yako ya ujumbe", diff --git a/apps/user_status/l10n/sw.json b/apps/user_status/l10n/sw.json index e6b01ce2ac4..a106159c6fb 100644 --- a/apps/user_status/l10n/sw.json +++ b/apps/user_status/l10n/sw.json @@ -8,6 +8,7 @@ "Out of office" : "Nje ya ofisi", "Working remotely" : "Kufanyia kazi mbali", "In a call" : "Katika simu", + "Be right back" : "Rudi mara moja", "User status" : "Hadhi ya mtumiaji", "Clear status after" : "Futa hali baada ya", "Emoji for your status message" : "Emoji kwa hali yako ya ujumbe", diff --git a/apps/user_status/lib/Capabilities.php b/apps/user_status/lib/Capabilities.php index 0c5dc4e03d2..c3edbc032d6 100644 --- a/apps/user_status/lib/Capabilities.php +++ b/apps/user_status/lib/Capabilities.php @@ -23,7 +23,7 @@ class Capabilities implements ICapability { } /** - * @return array{user_status: array{enabled: bool, restore: bool, supports_emoji: bool}} + * @return array{user_status: array{enabled: bool, restore: bool, supports_emoji: bool, supports_busy: bool}} */ public function getCapabilities() { return [ @@ -31,6 +31,7 @@ class Capabilities implements ICapability { 'enabled' => true, 'restore' => true, 'supports_emoji' => $this->emojiHelper->doesPlatformSupportEmoji(), + 'supports_busy' => true, ], ]; } diff --git a/apps/user_status/openapi.json b/apps/user_status/openapi.json index d1018fa26e6..e48d4970b96 100644 --- a/apps/user_status/openapi.json +++ b/apps/user_status/openapi.json @@ -31,7 +31,8 @@ "required": [ "enabled", "restore", - "supports_emoji" + "supports_emoji", + "supports_busy" ], "properties": { "enabled": { @@ -42,6 +43,9 @@ }, "supports_emoji": { "type": "boolean" + }, + "supports_busy": { + "type": "boolean" } } } diff --git a/apps/user_status/tests/Unit/CapabilitiesTest.php b/apps/user_status/tests/Unit/CapabilitiesTest.php index f07892ff3fd..601fb207df4 100644 --- a/apps/user_status/tests/Unit/CapabilitiesTest.php +++ b/apps/user_status/tests/Unit/CapabilitiesTest.php @@ -35,6 +35,7 @@ class CapabilitiesTest extends TestCase { 'enabled' => true, 'restore' => true, 'supports_emoji' => $supportsEmojis, + 'supports_busy' => true, ] ], $this->capabilities->getCapabilities()); } |