Parcourir la source

이번 주에는 영어판 완성 할 듯

ect (or 2du) il y a 8 ans
Parent
commit
1dd133c28e
4 fichiers modifiés avec 103 ajouts et 75 suppressions
  1. 40 40
      app.py
  2. 27 33
      func.py
  3. 18 1
      language/en-US.json
  4. 18 1
      language/ko-KR.json

+ 40 - 40
app.py

@@ -941,7 +941,7 @@ def user_log():
     list_data += next_fix('/user_log?num=', num, user_list)
 
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('recent') + ' ' + load_lang('register') + '', wiki_set(1), custom(), other2([0, 0])],
+        imp = [load_lang('recent') + ' ' + load_lang('register'), wiki_set(1), custom(), other2([0, 0])],
         data = list_data,
         menu = 0
     ))
@@ -965,7 +965,7 @@ def admin_log():
     list_data += next_fix('/admin_log?num=', num, get_list)
 
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('recent') + ' ' + load_lang('authority'), wiki_set(1), custom(), other2([0, 0])],
+        imp = [load_lang('recent') + ' ' + load_lang('authority'), wiki_set(1), custom(), other2([0, 0])],
         data = list_data,
         menu = 0
     ))
@@ -1171,7 +1171,7 @@ def recent_discuss(tools = 'normal'):
         div += '</tbody></table>'
             
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('recent') + ' ' + load_lang('discussion'), wiki_set(1), custom(), other2([m_sub, 0])],
+        imp = [load_lang('recent') + ' ' + load_lang('discussion'), wiki_set(1), custom(), other2([m_sub, 0])],
         data = div,
         menu = 0
     ))
@@ -1269,7 +1269,7 @@ def block_log(name = None, tool = None, tool2 = None):
         if data[3] != '':
             end = data[3]
         else:
-            end = '' + load_lang('limitless') + ''
+            end = load_lang('limitless') + ''
             
         div += '<tr><td>' + ip + '</td><td>' + ip_pas(data[2]) + '</td><td>Start : ' + data[4] + '<br>End : ' + end + '</td></tr>'
         div += '<tr><td colspan="3">' + why + '</td></tr>'
@@ -1285,7 +1285,7 @@ def block_log(name = None, tool = None, tool2 = None):
         div += next_fix('/' + url_pas(tool) + '/' + url_pas(name) + '?num=', num, data_list)
                 
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('recent') + ' ' + load_lang('ban'), wiki_set(1), custom(), other2([sub, 0])],
+        imp = [load_lang('recent') + ' ' + load_lang('ban'), wiki_set(1), custom(), other2([sub, 0])],
         data = div,
         menu = menu
     ))
@@ -1450,7 +1450,7 @@ def revert(name = None):
                         <button type="submit">''' + load_lang('revert') + '''</button>
                     </form>
                     ''',
-            menu = [['history/' + url_pas(name), load_lang('history')], ['recent_changes', '' + load_lang('recent') + ' ' + load_lang('change') + '']]
+            menu = [['history/' + url_pas(name), load_lang('history')], ['recent_changes', load_lang('recent') + ' ' + load_lang('change')]]
         ))            
                     
 @app.route('/big_delete', methods=['POST', 'GET'])
@@ -1614,7 +1614,7 @@ def edit(name = None):
             return re_error('/error/15')
 
         if flask.request.form.get('otent', None) == flask.request.form.get('content', None):
-            return re_error('/error/18')
+            return redirect('/w/' + url_pas(name))
 
         today = get_time()
         content = savemark(flask.request.form.get('content', None))
@@ -2029,7 +2029,7 @@ def title_index():
         else:
             count_end += [0]
 
-        sql_list = ['틀:', '' + load_lang('category') + ':', load_lang('user') + ':', '' + load_lang('file') + ':']
+        sql_list = ['틀:', load_lang('category') + ':', load_lang('user') + ':', load_lang('file') + ':']
         for sql in sql_list:
             curs.execute("select count(title) from data where title like ?", [sql + '%'])
             count = curs.fetchall()
@@ -2099,9 +2099,9 @@ def topic_top(name = None, sub = None, num = None):
 @app.route('/topic/<path:name>/sub/<sub>/tool/<regex("close|stop|agree"):tool>')
 def topic_stop(name = None, sub = None, tool = None):
     if tool == 'close':
-        set_list = ['O', '', load_lang('discussion') + ' ' + load_lang('close') + '', load_lang('discussion') + ' ' + load_lang('open') + '']
+        set_list = ['O', '', load_lang('discussion') + ' ' + load_lang('close'), load_lang('discussion') + ' ' + load_lang('open')]
     elif tool == 'stop':
-        set_list = ['', 'O', load_lang('discussion') + ' ' + load_lang('stop') + '', load_lang('discussion') + ' ' + load_lang('restart') + '']
+        set_list = ['', 'O', load_lang('discussion') + ' ' + load_lang('stop'), load_lang('discussion') + ' ' + load_lang('restart')]
     elif tool == 'agree':
         pass
     else:
@@ -2163,9 +2163,9 @@ def topic_admin(name = None, sub = None, num = None):
 
         curs.execute("select id from topic where title = ? and sub = ? and id = ? and top = 'O'", [name, sub, str(num)])
         if curs.fetchall():
-            is_ban += '' + load_lang('notice') + ' ' + load_lang('release')
+            is_ban += load_lang('notice') + ' ' + load_lang('release')
         else:
-            is_ban += '' + load_lang('notice') + ''
+            is_ban += load_lang('notice') + ''
         
         is_ban += '</a></li></ul>'
         ban += '<li><a href="/ban/' + url_pas(data[0][1]) + '">'
@@ -2388,11 +2388,11 @@ def close_topic_list(name = None, tool = None):
         if tool == 'close':
             curs.execute("select sub from stop where title = ? and close = 'O' order by sub asc", [name])
             
-            sub = '' + load_lang('close') + ''
+            sub = load_lang('close') + ''
         elif tool == 'agree':
             curs.execute("select sub from agreedis where title = ? order by sub asc", [name])
             
-            sub = '' + load_lang('agreement') + ''
+            sub = load_lang('agreement') + ''
         else:
             curs.execute("select sub from rd where title = ? order by date desc", [name])
             
@@ -2427,7 +2427,7 @@ def close_topic_list(name = None, tool = None):
 @app.route('/login', methods=['POST', 'GET'])
 def login():
     if 'Now' in flask.session and flask.session['Now'] == 1:
-        return re_error('/error/11')
+        return redirect('/user')
 
     ip = ip_check()
     agent = flask.request.headers.get('User-Agent')
@@ -2460,7 +2460,7 @@ def login():
         curs.execute("select pw from user where id = ?", [flask.request.form.get('id', None)])
         user = curs.fetchall()
         if not user:
-            return re_error('/error/5')
+            return re_error('/error/2')
 
         if not bcrypt.checkpw(bytes(flask.request.form.get('pw', None), 'utf-8'), bytes(user[0][0], 'utf-8')):
             return re_error('/error/10')
@@ -2515,7 +2515,7 @@ def change_password():
                 return re_error('/error/10')
 
             if not bcrypt.checkpw(bytes(flask.request.form.get('pw', None), 'utf-8'), bytes(user[0][0], 'utf-8')):
-                return re_error('/error/5')
+                return re_error('/error/2')
 
             hashed = bcrypt.hashpw(bytes(flask.request.form.get('pw2', None), 'utf-8'), bcrypt.gensalt())
             
@@ -2631,10 +2631,10 @@ def user_check(name = None):
         
         div += '</tbody></table>'
     else:
-        return re_error('/error/5')
+        return re_error('/error/2')
             
     return css_html_js_minify.html_minify(flask.render_template(skin_check(),    
-        imp = ['' + load_lang('check') + '', wiki_set(1), custom(), other2([0, 0])],
+        imp = [load_lang('check'), wiki_set(1), custom(), other2([0, 0])],
         data = div,
         menu = [['manager', load_lang('admin')]]
     ))
@@ -2645,7 +2645,7 @@ def plus_check(name):
         return redirect('/check/' + url_pas(name) + '?plus=' + url_pas(flask.request.form.get('name2', None)))
     else:
         return css_html_js_minify.html_minify(flask.render_template(skin_check(),
-            imp = ['' + load_lang('plus'), wiki_set(1), custom(), other2([0, 0])],
+            imp = [load_lang('plus'), wiki_set(1), custom(), other2([0, 0])],
             data = '''
                     <form method="post">
                         <input placeholder="' + load_lang('compare') + '" name="name2" type="text">
@@ -2706,7 +2706,7 @@ def register():
             contract = data[0][0] + '<hr>'
 
         return css_html_js_minify.html_minify(flask.render_template(skin_check(),    
-            imp = ['' + load_lang('register') + '', wiki_set(1), custom(), other2([0, 0])],
+            imp = [load_lang('register'), wiki_set(1), custom(), other2([0, 0])],
             data = '''
                     <form method="post">
                         ''' + contract + '''
@@ -2777,7 +2777,7 @@ def user_ban(name = None):
                 data += '</ul><hr>'
         else:
             if re.search("^([0-9]{1,3}\.[0-9]{1,3})$", name):
-                now = '' + load_lang('band') + ' ' + load_lang('ban')
+                now = load_lang('band') + ' ' + load_lang('ban')
             else:
                 now = load_lang('ban')
 
@@ -2881,9 +2881,9 @@ def acl(name = None):
         data = '<h2>' + load_lang('document') + ' ACL</h2><select name="dec" ' + check_ok + '>'
     
         if re.search('^' + load_lang('user') + ':', name):
-            acl_list = [['', load_lang('normal')], ['user', load_lang('subscriber')], ['all', '' + load_lang('all') + '']]
+            acl_list = [['', load_lang('normal')], ['user', load_lang('subscriber')], ['all', load_lang('all')]]
         else:
-            acl_list = [['', load_lang('normal')], ['user', load_lang('subscriber')], ['admin', '' + load_lang('admin') + '']]
+            acl_list = [['', load_lang('normal')], ['user', load_lang('subscriber')], ['admin', load_lang('admin')]]
         
         curs.execute("select dec from acl where title = ?", [name])
         acl_data = curs.fetchall()
@@ -2928,7 +2928,7 @@ def user_admin(name = None):
     curs.execute("select acl from user where id = ?", [name])
     user = curs.fetchall()
     if not user:
-        return re_error('/error/5')
+        return re_error('/error/2')
     else:
         if owner != 1:
             curs.execute('select name from alist where name = ? and acl = "owner"', [user[0][0]])
@@ -3153,14 +3153,14 @@ def read_view(name = None):
         menu += [['topic/' + url_pas(name), load_lang('discussion')], ['history/' + url_pas(name), load_lang('history')], ['xref/' + url_pas(name), load_lang('backlink')], ['acl/' + url_pas(name), 'ACL']]
 
         if flask.request.args.get('froms', None):
-            menu += [['w/' + url_pas(name), '' + load_lang('pass') + '']]
+            menu += [['w/' + url_pas(name), load_lang('pass')]]
             end_data = '<ul id="redirect"><li>Redirect : <a href="/w/' + url_pas(flask.request.args.get('froms', None)) + '?froms=' + url_pas(name) + '">' + flask.request.args.get('froms', None) + '</a></li></ul><br>' + end_data
 
         if uppage != 0:
-            menu += [['w/' + url_pas(uppage), '' + load_lang('upper') + '']]
+            menu += [['w/' + url_pas(uppage), load_lang('upper')]]
 
         if down:
-            menu += [['down/' + url_pas(name), '' + load_lang('under') + '']]
+            menu += [['down/' + url_pas(name), load_lang('under')]]
     
         curs.execute("select date from history where title = ? order by date desc limit 1", [name])
         date = curs.fetchall()
@@ -3220,7 +3220,7 @@ def user_topic_list(name = None):
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
         imp = [load_lang('discussion') + ' ' + load_lang('record'), wiki_set(1), custom(), other2([sub, 0])],
         data = div,
-        menu = [['other', load_lang('other')], ['user', load_lang('user')], ['count/' + url_pas(name), '' + load_lang('count') + ''], ['record/' + url_pas(name), load_lang('record')]]
+        menu = [['other', load_lang('other')], ['user', load_lang('user')], ['count/' + url_pas(name), load_lang('count')], ['record/' + url_pas(name), load_lang('record')]]
     ))
 
 @app.route('/recent_changes')
@@ -3381,9 +3381,9 @@ def recent_changes(name = None, tool = 'record'):
                 if curs.fetchall():
                     sub += ' (' + load_lang('ban') + ')'
 
-                title = '' + load_lang('edit') + ' ' + load_lang('record')
+                title = load_lang('edit') + ' ' + load_lang('record')
                 
-                menu = [['other', load_lang('other')], ['user', load_lang('user')], ['count/' + url_pas(name), '' + load_lang('count') + ''], ['topic_record/' + url_pas(name), load_lang('discussion')]]
+                menu = [['other', load_lang('other')], ['user', load_lang('user')], ['count/' + url_pas(name), load_lang('count')], ['topic_record/' + url_pas(name), load_lang('discussion')]]
                 
                 div += next_fix('/record/' + url_pas(name) + '/' + url_pas(what) + '?num=', num, data_list)
                 
@@ -3391,7 +3391,7 @@ def recent_changes(name = None, tool = 'record'):
                     menu += [['record/' + url_pas(name), load_lang('normal')]]
         else:
             menu = 0
-            title = '' + load_lang('recent') + ' ' + load_lang('change') + ''
+            title = load_lang('recent') + ' ' + load_lang('change') + ''
             
             if what != 'all':
                 menu = [['recent_changes', load_lang('normal')]]
@@ -3445,7 +3445,7 @@ def upload():
 
         e_data = sha224(piece[0]) + piece[1]
 
-        curs.execute("select title from data where title = ?", ['' + load_lang('file') + ':' + name])
+        curs.execute("select title from data where title = ?", [load_lang('file') + ':' + name])
         if curs.fetchall():
             return re_error('/error/16')
             
@@ -3466,14 +3466,14 @@ def upload():
         else:
             data.save(os.path.join('image', e_data))
             
-        curs.execute("select title from data where title = ?", ['' + load_lang('file') + ':' + name])
+        curs.execute("select title from data where title = ?", [load_lang('file') + ':' + name])
         if curs.fetchall(): 
-            curs.execute("delete from data where title = ?", ['' + load_lang('file') + ':' + name])
+            curs.execute("delete from data where title = ?", [load_lang('file') + ':' + name])
         
-        curs.execute("insert into data (title, data) values (?, ?)", ['' + load_lang('file') + ':' + name, '[[' + load_lang('file') + ':' + name + ']][br][br]{{{[[' + load_lang('file') + ':' + name + ']]}}}[br][br]' + lice])
-        curs.execute("insert into acl (title, dec, dis, why) values (?, 'admin', '', '')", ['' + load_lang('file') + ':' + name])
+        curs.execute("insert into data (title, data) values (?, ?)", [load_lang('file') + ':' + name, '[[' + load_lang('file') + ':' + name + ']][br][br]{{{[[' + load_lang('file') + ':' + name + ']]}}}[br][br]' + lice])
+        curs.execute("insert into acl (title, dec, dis, why) values (?, 'admin', '', '')", [load_lang('file') + ':' + name])
 
-        history_plus('' + load_lang('file') + ':' + name, '[[' + load_lang('file') + ':' + name + ']][br][br]{{{[[' + load_lang('file') + ':' + name + ']]}}}[br][br]' + lice, get_time(), ip, '(Upload)', '0')
+        history_plus(load_lang('file') + ':' + name, '[[' + load_lang('file') + ':' + name + ']][br][br]{{{[[' + load_lang('file') + ':' + name + ']]}}}[br][br]' + lice, get_time(), ip, '(Upload)', '0')
         
         conn.commit()
         
@@ -3592,7 +3592,7 @@ def watch_list():
     div += '<a href="/manager/13">(' + load_lang('plus') + ')</a>'
 
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('watchlist') + ' ' + load_lang('list'), wiki_set(1), custom(), other2([0, 0])],
+        imp = [load_lang('watchlist') + ' ' + load_lang('list'), wiki_set(1), custom(), other2([0, 0])],
         data = div,
         menu = [['manager', load_lang('admin')]]
     ))
@@ -3691,7 +3691,7 @@ def count_edit(name = None):
         t_data = 0
 
     return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
-        imp = ['' + load_lang('count') + '', wiki_set(1), custom(), other2([0, 0])],
+        imp = [load_lang('count'), wiki_set(1), custom(), other2([0, 0])],
         data = '''
                 <ul>
                     <li><a href="/record/''' + url_pas(that) + '''">''' + load_lang('edit') + '''</a> : ''' + str(data) + '''</li>

+ 27 - 33
func.py

@@ -286,11 +286,11 @@ def ip_pas(raw_ip):
             ip = raw_ip
             hide = 1
     else:
-        curs.execute("select title from data where title = ?", ['' + load_lang('user') + ':' + raw_ip])
+        curs.execute("select title from data where title = ?", [load_lang('user') + ':' + raw_ip])
         if curs.fetchall():
-            ip = '<a href="/w/' + url_pas('' + load_lang('user') + ':' + raw_ip) + '">' + raw_ip + '</a>'
+            ip = '<a href="/w/' + url_pas(load_lang('user') + ':' + raw_ip) + '">' + raw_ip + '</a>'
         else:
-            ip = '<a id="not_thing" href="/w/' + url_pas('' + load_lang('user') + ':' + raw_ip) + '">' + raw_ip + '</a>'
+            ip = '<a id="not_thing" href="/w/' + url_pas(load_lang('user') + ':' + raw_ip) + '">' + raw_ip + '</a>'
          
     if hide == 0:
         ip += ' <a href="/record/' + url_pas(raw_ip) + '">(' + load_lang('record') + ')</a>'
@@ -325,7 +325,7 @@ def custom():
     if user_icon != 0:
         user_name = ip_check()
     else:
-        user_name = '' + load_lang('user') + ''
+        user_name = load_lang('user')
 
     return ['', '', user_icon, user_head, email, user_name]
 
@@ -342,7 +342,7 @@ def acl_check(name):
         if admin_check(5, None) == 1:
             return 0
 
-        curs.execute("select dec from acl where title = ?", ['' + load_lang('user') + ':' + acl_n[0]])
+        curs.execute("select dec from acl where title = ?", [load_lang('user') + ':' + acl_n[0]])
         acl_data = curs.fetchall()
         if acl_data:
             if acl_data[0][0] == 'all':
@@ -455,7 +455,7 @@ def ban_insert(name, end, why, login, blocker):
 
     curs.execute("select block from ban where block = ?", [name])
     if curs.fetchall():
-        curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [name, '' + load_lang('release') + '', time, blocker, '', band])
+        curs.execute("insert into rb (block, end, today, blocker, why, band) values (?, ?, ?, ?, ?, ?)", [name, load_lang('release'), time, blocker, '', band])
         curs.execute("delete from ban where block = ?", [name])
     else:
         if login != '':
@@ -527,14 +527,14 @@ def re_error(data):
 
                         end += 'Re Try.'
                     else:
-                        end += 'Ban : ' + end_data[0][0]
+                        end += load_lang('why') + ' : ' + end_data[0][0]
                 else:
-                    end += 'Ban : No End'
+                    end += load_lang('why') + ' : ' + load_lang('limitless')
                 
                 end += '</li>'
 
                 if end_data[0][1] != '':
-                    end += '<li>Why : ' + end_data[0][1] + '</li>'
+                    end += '<li>' + load_lang('why') + ' : ' + end_data[0][1] + '</li>'
 
         return css_html_js_minify.html_minify(flask.render_template(skin_check(), 
             imp = ['Error', wiki_set(1), custom(), other2([0, 0])],
@@ -546,47 +546,41 @@ def re_error(data):
     if error_data:
         num = int(error_data.groups()[0])
         if num == 1:
-            data = '비 로그인 상태 입니다.'
+            data = load_lang('no_login_error')
         elif num == 2:
-            data = '이 계정이 없습니다.'
+            data = load_lang('no_exist_user_error')
         elif num == 3:
-            data = '권한이 모자랍니다.'
+            data = load_lang('authority_error')
         elif num == 4:
-            data = '관리자는 차단, 검사 할 수 없습니다.'
-        elif num == 5:
-            data = '그런 계정이 없습니다.'
+            data = load_lang('no_admin_block_error')
         elif num == 6:
-            data = '동일한 아이디의 사용자가 있습니다.'
+            data = load_lang('same_id_exist_error')
         elif num == 7:
-            data = '아이디는 20글자보다 짧아야 합니다.'
+            data = load_lang('long_id_error')
         elif num == 8:
-            data = '아이디에는 한글과 알파벳과 공백만 허용 됩니다.'
+            data = load_lang('id_char_error')
         elif num == 9:
-            data = '파일이 없습니다.'
+            data = load_lang('file_exist_error')
         elif num == 10:
-            data = '비밀번호가 다릅니다.'
-        elif num == 11:
-            data = '이미 로그인 되어 있습니다.'
+            data = load_lang('password_error')
         elif num == 13:
-            data = '리캡차를 통과하세요.'
+            data = load_lang('recaptcha_error')
         elif num == 14:
-            data = 'jpg, gif, jpeg, png, webp만 가능 합니다.'
+            data = load_lang('file_extension_error')
         elif num == 15:
-            data = '편집 기록은 500자를 넘을 수 없습니다.'
+            data = load_lang('edit_record_error')
         elif num == 16:
-            data = '동일한 이름의 파일이 있습니다.'
+            data = load_lang('same_file_error')
         elif num == 17:
-            data = '파일 용량은 ' + wiki_set(3) + 'MB를 넘길 수 없습니다.'
-        elif num == 18:
-            data = '내용이 원래 문서와 동일 합니다.'
+            data = load_lang('file_capacity_error') + ' ' + wiki_set(3)
         elif num == 19:
-            data = '이동 하려는 곳에 문서가 이미 있습니다.'
+            data = load_lang('decument_exist_error')
         elif num == 20:
-            data = '재 확인이랑 비밀번호가 다릅니다.'
+            data = load_lang('password_diffrent_error')
         elif num == 21:
-            data = '편집 필터에 의해 검열 되었습니다.'
+            data = load_lang('edit_filter_error')
         elif num == 22:
-            data = '파일 이름은 알파벳, 한글, 띄어쓰기, 언더바, 빼기표만 허용 됩니다.'
+            data = load_lang('file_name_error')
         else:
             data = '???'
 

+ 18 - 1
language/en-US.json

@@ -82,5 +82,22 @@
     "user_css_warring" : "User's CSS will deleted if you close the browser or when you are editting as guest",
     "http_warring" : "Warning : If you are not on HTTPS connection, your information can be leaked. We won't response to that.",
     "no_login_warring" : "Non-login status. IP is logged when working with non-login.",
-    "authority_error" : "Insufficient privileges."
+    "authority_error" : "Insufficient privileges.",
+    "no_login_error" : "Non-login status.",
+    "no_exist_user_error" : "Account does not exist.",
+    "no_admin_block_error" : "Administrators can not block, check.",
+    "same_id_exist_error" : "There are users with the same ID.",
+    "long_id_error" : "ID must be shorter than 20 characters.",
+    "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.",
+    "file_extension_error" : "Only jpg, gif, jpeg, png, webp is possible.",
+    "edit_record_error" : "Edit record can not be more than 500 characters.",
+    "same_file_error" : "A file with the same name exists.",
+    "file_capacity_error" : "Maximum file capacity (MB) :",
+    "decument_exist_error" : "The document already exists where you want to move it.",
+    "password_diffrent_error" : "Reconfirm password and input password are different.",
+    "edit_filter_error" : "Censored by edit filter.",
+    "file_name_error" : "Only alphabet, hangul, space, underscore, and minus signs are allowed for file names."
 }

+ 18 - 1
language/ko-KR.json

@@ -83,5 +83,22 @@
     "under": "하위",
     "pass": "통과",
     "category": "분류",
-    "authority_error": "권한이 부족합니다."
+    "authority_error": "권한이 부족합니다.",
+    "no_login_error": "비 로그인 상태 입니다.",
+    "no_exist_user_error": "계정이 없습니다.",
+    "no_admin_block_error": "관리자는 차단, 검사 할 수 없습니다.",
+    "same_id_exist_error": "동일한 아이디의 사용자가 있습니다.",
+    "long_id_error": "아이디는 20글자보다 짧아야 합니다.",
+    "id_char_error": "아이디에는 한글과 알파벳과 공백만 허용 됩니다.",
+    "file_exist_error": "파일이 없습니다.",
+    "password_error": "비밀번호가 다릅니다.",
+    "recaptcha_error": "리캡차를 통과하세요.",
+    "file_extension_error": "jpg, gif, jpeg, png, webp만 가능 합니다.",
+    "edit_record_error": "편집 기록은 500자를 넘을 수 없습니다.",
+    "same_file_error": "동일한 이름의 파일이 있습니다.",
+    "file_capacity_error": "파일 최대 용량 (MB) :",
+    "decument_exist_error": "내용이 원래 문서와 동일 합니다.",
+    "password_diffrent_error": "재 확인 비밀번호와 입력 비밀번호가 다릅니다.",
+    "edit_filter_error": "편집 필터에 의해 검열 되었습니다.",
+    "file_name_error": "파일 이름은 알파벳, 한글, 띄어쓰기, 언더바, 빼기표만 허용 됩니다."
 }