Explorar el Código

버그 수정, 번역 조금 수정

Surplus_Up (2DU) hace 7 años
padre
commit
f48659a8ab
Se han modificado 3 ficheros con 3 adiciones y 3 borrados
  1. 1 1
      language/en-US.json
  2. 1 1
      language/ko-KR.json
  3. 1 1
      route/api_version.py

+ 1 - 1
language/en-US.json

@@ -237,7 +237,7 @@
             "id_char_error" : "Only hangul, alphabet and space are allowed for ID.",
             "file_exist_error" : "File does not exist.",
             "password_error" : "The password is different.",
-            "recaptcha_error" : "Go through the recaptcha.",
+            "recaptcha_error" : "Go through the reCAPTCHA.",
             "file_extension_error" : "Only jpg, gif, jpeg, png, webp is possible.",
             "edit_record_error" : "Edit reason can not be more than 500 characters.",
             "same_file_error" : "A file with the same name exists.",

+ 1 - 1
language/ko-KR.json

@@ -237,7 +237,7 @@
             "id_char_error" : "오직 한글과 알파벳, 공백만 사용 가능합니다.",
             "file_exist_error" : "파일이 존재하지 않습니다.",
             "password_error" : "비밀번호가 다릅니다.",
-            "recaptcha_error" : "'나는 로봇이 아닙니다'를 통해 reCaptcha를 수행하세요.",
+            "recaptcha_error" : "'나는 로봇이 아닙니다'를 통해 reCAPTCHA를 수행하세요.",
             "file_extension_error" : "오직 jpg, gif, jpeg, png, webp 만 업로드할 수 있습니다.",
             "edit_record_error" : "수정 요약은 500자를 넘길 수 없습니다.",
             "same_file_error" : "똑같은 이름의 파일이 존재합니다.",

+ 1 - 1
route/api_version.py

@@ -14,7 +14,7 @@ def api_version_2(conn, r_ver, c_ver):
 
     if data and data.getcode() == 200:
         try:
-            json_data = json.loads(data.read().decode(data.headers.get_content_charset()))
+            json_data = json.loads(data.read().decode())
             if 'version' in json_data:
                 new_ver = json_data['version']
         except: