diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/l10n/zh_CN.js | 2 | ||||
-rw-r--r-- | lib/l10n/zh_CN.json | 2 | ||||
-rw-r--r-- | lib/public/Activity/IEvent.php | 8 | ||||
-rw-r--r-- | lib/public/Notification/INotification.php | 8 |
4 files changed, 18 insertions, 2 deletions
diff --git a/lib/l10n/zh_CN.js b/lib/l10n/zh_CN.js index ffe415ae409..9049b086ef5 100644 --- a/lib/l10n/zh_CN.js +++ b/lib/l10n/zh_CN.js @@ -103,7 +103,7 @@ OC.L10N.register( "Administration settings" : "管理设置", "Settings" : "设置", "Log out" : "注销", - "Accounts" : "账户", + "Accounts" : "账号", "Email" : "电子邮箱", "Mail %s" : "发邮件给 %s", "Fediverse" : "联邦宇宙", diff --git a/lib/l10n/zh_CN.json b/lib/l10n/zh_CN.json index 4c861fdc4ee..9218032c82a 100644 --- a/lib/l10n/zh_CN.json +++ b/lib/l10n/zh_CN.json @@ -101,7 +101,7 @@ "Administration settings" : "管理设置", "Settings" : "设置", "Log out" : "注销", - "Accounts" : "账户", + "Accounts" : "账号", "Email" : "电子邮箱", "Mail %s" : "发邮件给 %s", "Fediverse" : "联邦宇宙", diff --git a/lib/public/Activity/IEvent.php b/lib/public/Activity/IEvent.php index f204de599b9..524ecd0c767 100644 --- a/lib/public/Activity/IEvent.php +++ b/lib/public/Activity/IEvent.php @@ -310,6 +310,10 @@ interface IEvent { public function getLink(): string; /** + * Set the absolute url for the icon (should be colored black or not have a color) + * + * It's automatically color inverted by clients when needed + * * @param string $icon * @return $this * @throws InvalidValueException if the icon is invalid @@ -319,6 +323,10 @@ interface IEvent { public function setIcon(string $icon): self; /** + * Get the absolute url for the icon (should be colored black or not have a color) + * + * It's automatically color inverted by clients when needed + * * @return string * @since 11.0.0 */ diff --git a/lib/public/Notification/INotification.php b/lib/public/Notification/INotification.php index 28d2d6bff5a..4e9a68beccf 100644 --- a/lib/public/Notification/INotification.php +++ b/lib/public/Notification/INotification.php @@ -249,6 +249,10 @@ interface INotification { public function getLink(): string; /** + * Set the absolute url for the icon (should be colored black or not have a color) + * + * It's automatically color inverted by clients when needed + * * @param string $icon * @return $this * @throws InvalidValueException if the icon is invalid @@ -258,6 +262,10 @@ interface INotification { public function setIcon(string $icon): INotification; /** + * Get the absolute url for the icon (should be colored black or not have a color) + * + * It's automatically color inverted by clients when needed + * * @return string * @since 11.0.0 */ |