kaori 5 лет назад
Родитель
Сommit
c9a9f08cfe

+ 1 - 1
resource/locales/en_US/translation.json

@@ -108,7 +108,7 @@
   "Site URL settings": "Site URL settings",
   "Markdown Settings": "Markdown Settings",
   "Customize": "Customize",
-  "Notification Settings": "Notification Settings",
+  "External_Notification": "External Notification",
   "Legacy_External_Notification": "Legacy External Notification",
   "User_Management": "User Management",
   "external_account_management": "External Account Management",

+ 1 - 1
resource/locales/ja_JP/translation.json

@@ -109,7 +109,7 @@
   "Site URL settings": "サイトURL設定",
   "Markdown Settings": "マークダウン設定",
   "Customize": "カスタマイズ",
-  "Notification Settings": "通知設定",
+  "External_Notification": "外部ツールへの通知",
   "Legacy_External_Notification": "外部ツールへの通知 (レガシー)",
   "User_Management": "ユーザー管理",
   "external_account_management": "外部アカウント管理",

+ 1 - 1
resource/locales/zh_CN/translation.json

@@ -117,7 +117,7 @@
 	"Site URL settings": "主页URL设置",
 	"Markdown Settings": "Markdown设置",
 	"Customize": "页面定制",
-  "Notification Settings": "通知设置",
+  "External_Notification": "外部通知",
   "Legacy_External_Notification": "旧版外部通知",
 	"User_Management": "用户管理",
 	"external_account_management": "外部账户管理",

+ 1 - 1
src/client/js/components/Admin/Common/AdminNavigation.jsx

@@ -20,7 +20,7 @@ const AdminNavigation = (props) => {
       case 'customize':     return <><i className="icon-fw icon-wrench"></i>          { t('Customize') }</>;
       case 'importer':      return <><i className="icon-fw icon-cloud-upload"></i>    { t('Import Data') }</>;
       case 'export':        return <><i className="icon-fw icon-cloud-download"></i>  { t('Export Archive Data') }</>;
-      case 'notification':  return <><i className="icon-fw icon-bell"></i>            { t('Notification Settings') }</>;
+      case 'notification':  return <><i className="icon-fw icon-bell"></i>            { t('External_Notification') }</>;
       // TODO change icon for legacy-external-notification by GW-5466
       case 'legacy-external-notification':  return <> <i className="icon-fw icon-bell"></i>{ t('Legacy_External_Notification') }</>;
       case 'users':         return <><i className="icon-fw icon-user"></i>            { t('User_Management') }</>;

+ 1 - 1
src/client/js/components/Admin/Notification/GlobalNotification.jsx

@@ -26,7 +26,7 @@ class GlobalNotification extends React.Component {
 
     try {
       await adminNotificationContainer.updateGlobalNotificationForPages();
-      toastSuccess(t('toaster.update_successed', { target: t('Notification Settings') }));
+      toastSuccess(t('toaster.update_successed', { target: t('External_Notification') }));
     }
     catch (err) {
       toastError(err);

+ 2 - 2
src/server/views/admin/global-notification-detail.html

@@ -1,9 +1,9 @@
 {% extends '../layout/admin.html' %}
 
-{% block html_title %}{{ customizeService.generateCustomTitleForFixedPageName(t('Notification Settings')) }}{% endblock %}
+{% block html_title %}{{ customizeService.generateCustomTitleForFixedPageName(t('External_Notification')) }}{% endblock %}
 
 {% block content_header %}
-<h1 class="title">{{ t('Notification Settings') }}</h1>
+<h1 class="title">{{ t('External_Notification') }}</h1>
 {% endblock %}
 
 {% block content_main %}

+ 2 - 2
src/server/views/admin/notification.html

@@ -1,9 +1,9 @@
 {% extends '../layout/admin.html' %}
 
-{% block html_title %}{{ customizeService.generateCustomTitleForFixedPageName(t('Notification Settings')) }}{% endblock %}
+{% block html_title %}{{ customizeService.generateCustomTitleForFixedPageName(t('External_Notification')) }}{% endblock %}
 
 {% block content_header %}
-<h1 class="title">{{ t('Notification Settings') }}</h1>
+<h1 class="title">{{ t('External_Notification') }}</h1>
 {% endblock %}
 
 {% block content_main %}