Przeglądaj źródła

fix:修正上传图片的英文

adam 5 lat temu
rodzic
commit
c861eb3139
1 zmienionych plików z 4 dodań i 4 usunięć
  1. 4
    4
      src/components/Editor/index.js

+ 4
- 4
src/components/Editor/index.js Wyświetl plik

@@ -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>