浏览代码

fix:修正上传图片的英文

adam 5 年前
父节点
当前提交
c861eb3139
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/components/Editor/index.js

+ 4
- 4
src/components/Editor/index.js 查看文件

@@ -199,7 +199,7 @@ class Editor extends React.Component {
199 199
             "comment-editor-toolbar-error": inputValue.length > maxLength
200 200
           })}
201 201
         >
202
-           
202
+
203 203
           {/* {intl.get("editor.alreadyEntered", {
204 204
             count: inputValue.length,
205 205
             maxLength
@@ -281,9 +281,9 @@ class Editor extends React.Component {
281 281
                         {intl.get("editor.uploadTip")}
282 282
                         {maxUpload >= 2 ? (
283 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 287
                           </span>
288 288
                         ) : null}
289 289
                       </span>