Browse Source

fix:修正上传图片的英文

adam 5 years ago
parent
commit
c861eb3139
1 changed files with 4 additions and 4 deletions
  1. 4
    4
      src/components/Editor/index.js

+ 4
- 4
src/components/Editor/index.js View File

199
             "comment-editor-toolbar-error": inputValue.length > maxLength
199
             "comment-editor-toolbar-error": inputValue.length > maxLength
200
           })}
200
           })}
201
         >
201
         >
202
-           
202
+
203
           {/* {intl.get("editor.alreadyEntered", {
203
           {/* {intl.get("editor.alreadyEntered", {
204
             count: inputValue.length,
204
             count: inputValue.length,
205
             maxLength
205
             maxLength
281
                         {intl.get("editor.uploadTip")}
281
                         {intl.get("editor.uploadTip")}
282
                         {maxUpload >= 2 ? (
282
                         {maxUpload >= 2 ? (
283
                           <span style={{ color: "#666", fontWeight: 400 }}>
283
                           <span style={{ color: "#666", fontWeight: 400 }}>
284
-                            (您还能上传
285
-                            {maxUpload - this.state.fileList.length}
286
-                            张图片)
284
+                            {intl.get("editor.uploadCount", {
285
+                              count: maxUpload - this.state.fileList.length
286
+                            })}
287
                           </span>
287
                           </span>
288
                         ) : null}
288
                         ) : null}
289
                       </span>
289
                       </span>