Steven Fukase пре 5 година
родитељ
комит
cde51d0d7a

+ 1 - 3
resource/locales/en_US/admin/admin.json

@@ -23,9 +23,7 @@
     "confidential_name": "Confidential name",
     "confidential_example": "ex): internal use only",
     "default_language": "Default language for new users",
-    "default_mail_visibility": "Default e-mail visibility for new users",
-    "show": "Show",
-    "hide": "Hide",
+    "default_mail_visibility": "Disclose e-mail for new users",
     "file_uploading": "File uploading",
     "enable_files_except_image": "Enabling this option will allow upload of any file type. Without this option, only image file upload is supported.",
     "attach_enable": "You can attach files other than image files if you enable this option.",

+ 0 - 2
resource/locales/ja_JP/admin/admin.json

@@ -24,8 +24,6 @@
     "confidential_example": "例: 社外秘",
     "default_language": "新規ユーザーのデフォルト設定言語",
     "default_mail_visibility": "新規ユーザーのデフォルトメール公開設定",
-    "show": "公開",
-    "hide": "非公開",
     "file_uploading": "ファイルアップロード",
     "enable_files_except_image": "画像以外のファイルアップロードを許可",
     "attach_enable": "許可をしている場合、画像以外のファイルをページに添付可能になります。",

+ 0 - 2
resource/locales/zh_CN/admin/admin.json

@@ -24,8 +24,6 @@
 		"confidential_example": "ex):仅供内部使用",
 		"default_language": "新用户的默认语言",
 		"default_mail_visibility": "新用户的默认电子邮件可见性",
-    "show": "显示",
-    "hide": "不显示",
 		"file_uploading": "文件上传",
 		"enable_files_except_image": "启用此选项将允许上传任何文件类型。如果没有此选项,则仅支持图像文件上载。",
 		"attach_enable": "如果启用此选项,则可以附加图像文件以外的文件。",

+ 2 - 2
src/client/js/components/Admin/App/AppSetting.jsx

@@ -119,7 +119,7 @@ class AppSetting extends React.Component {
                 name="mailVisibility"
                 value="show-mail-address"
               />
-              <label className="custom-control-label" htmlFor="radio1">{t('admin:app_setting.show')}</label>
+              <label className="custom-control-label" htmlFor="radio1">{t('show')}</label>
             </div>
 
             <div className="custom-control custom-radio custom-control-inline">
@@ -130,7 +130,7 @@ class AppSetting extends React.Component {
                 name="mailVisibility"
                 value="hide-mail-address"
               />
-              <label className="custom-control-label" htmlFor="radio2">{t('admin:app_setting.hide')}</label>
+              <label className="custom-control-label" htmlFor="radio2">{t('hide')}</label>
             </div>
 
           </div>