yusuketk 6 tahun lalu
induk
melakukan
c9d5f84413

+ 1 - 1
resource/locales/en-US/translation.json

@@ -411,7 +411,7 @@
     "siteurl_help": "Site full URL beginning from <code>http://</code> or <code>https://</code>.",
     "Confidential name": "Confidential name",
     "Default Language for new users": "Default Language for new users",
-    "ex): internal use only":"ex): internal use only",
+    "ex) internal use only":"ex): internal use only",
     "File Uploading": "File Uploading",
     "enable_files_except_image": "Enable file upload other than image files.",
     "attach_enable": "You can attach files other than image files if you enable this option.",

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

@@ -410,7 +410,7 @@
     "siteurl_help": "<code>http://</code> または <code>https://</code> から始まるサイトのURL",
     "Confidential name": "コンフィデンシャル表示",
     "Default Language for new users": "新規ユーザーのデフォルト設定言語",
-    "ex): internal use only": "例: 社外秘",
+    "ex) internal use only": "例: 社外秘",
     "File Uploading": "ファイルアップロード",
     "enable_files_except_image": "画像以外のファイルアップロードを許可",
     "attach_enable": "許可をしている場合、画像以外のファイルをページに添付可能になります。",

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

@@ -91,7 +91,7 @@ class AppSetting extends React.Component {
                   name="confidentialName"
                   value={this.state.confidentialName}
                   onChange={this.inputChangeHandler}
-                  placeholder="{{ t('app_setting. ex&rpar;: internal use only') }}"
+                  placeholder={t('app_setting.ex) internal use only')}
                 />
                 <p className="help-block">{t('app_setting.header_content')}</p>
               </div>
@@ -100,25 +100,15 @@ class AppSetting extends React.Component {
         </div>
 
         <div className="form-group">
-          <label className="col-xs-3 control-label">{ t('app_setting.Default Language for new users') }</label>
+          <label className="col-xs-3 control-label">{t('app_setting.Default Language for new users')}</label>
           <div className="col-xs-6">
             <div className="radio radio-primary radio-inline">
-              <input
-                type="radio"
-                id="radioLangEn"
-                name="settingForm[app:globalLang]"
-                value="{{ consts.language.LANG_EN_US }}"
-              />
-              <label htmlFor="radioLangEn">{ t('English') }</label>
+              <input type="radio" id="radioLangEn" name="settingForm[app:globalLang]" value="{{ consts.language.LANG_EN_US }}" />
+              <label htmlFor="radioLangEn">{t('English')}</label>
             </div>
             <div className="radio radio-primary radio-inline">
-              <input
-                type="radio"
-                id="radioLangJa"
-                name="settingForm[app:globalLang]"
-                value="{{ consts.language.LANG_JA }}"
-              />
-              <label htmlFor="radioLangJa">{ t('Japanese') }</label>
+              <input type="radio" id="radioLangJa" name="settingForm[app:globalLang]" value="{{ consts.language.LANG_JA }}" />
+              <label htmlFor="radioLangJa">{t('Japanese')}</label>
             </div>
           </div>
         </div>
@@ -126,9 +116,7 @@ class AppSetting extends React.Component {
         <div className="row">
           <div className="col-md-12">
             <div className="form-group">
-              <label className="col-xs-3 control-label">
-                {t('app_setting.File Uploading')}
-              </label>
+              <label className="col-xs-3 control-label">{t('app_setting.File Uploading')}</label>
               <div className="col-xs-6">
                 <div className="checkbox checkbox-info">
                   <input type="checkbox" id="cbFileUpload" name="settingForm[app:fileUpload]" value="1" />