Jelajahi Sumber

번역 수정

Surplus_Up (2DU) 7 tahun lalu
induk
melakukan
f88aca8597
3 mengubah file dengan 8 tambahan dan 6 penghapusan
  1. 4 4
      app.py
  2. 2 1
      language/en-US.json
  3. 2 1
      language/ko-KR.json

+ 4 - 4
app.py

@@ -492,7 +492,7 @@ def setting(num = 0):
         return re_error('/ban')
 
     if num == 0:
-        li_list = [load_lang('main'), load_lang('set_text'), load_lang('main') + ' head', 'robots.txt', 'google']
+        li_list = [load_lang('main'), load_lang('text') + ' ' + load_lang('setting'), load_lang('main') + ' head', 'robots.txt', 'google']
         
         x = 0
         
@@ -598,10 +598,10 @@ def setting(num = 0):
                             <br>
                             <input placeholder="''' + load_lang('frontpage') + '''" type="text" name="frontpage" value="''' + html.escape(d_list[2]) + '''">
                             <hr>
-                            <span>''' + load_lang('license') + ''' (html)</span>
+                            <span>''' + load_lang('bottom') + ' ' + load_lang('text') + ''' (html)</span>
                             <br>
                             <br>
-                            <input placeholder="''' + load_lang('license') + '''" type="text" name="license" value="''' + html.escape(d_list[3]) + '''">
+                            <input placeholder="''' + load_lang('bottom') + ' ' + load_lang('text') + '''" type="text" name="license" value="''' + html.escape(d_list[3]) + '''">
                             <hr>
                             <span>''' + load_lang('max_file_size') + ''' [mb]</span>
                             <br>
@@ -680,7 +680,7 @@ def setting(num = 0):
             conn.commit()
 
             return easy_minify(flask.render_template(skin_check(), 
-                imp = [load_lang('set_text'), wiki_set(), custom(), other2([0, 0])],
+                imp = [load_lang('text') + ' ' + load_lang('setting'), wiki_set(), custom(), other2([0, 0])],
                 data =  '''
                         <form method="post">
                             <span>''' + load_lang('register_text') + '''</span>

+ 2 - 1
language/en-US.json

@@ -14,13 +14,14 @@
     "secret_key" : "secret key",
     "update_branch" : "update branch",
     "main" : "main",
-    "set_text" : "set up notices",
     "indexing" : "indexing",
     "easy" : "easy",
     "server" : "server",
     "load" : "load",
     "skin" : "skin",
     "view" : "view",
+    "bottom" : "bottom",
+    "text" : "notice",
     "template" : "template",
     "move" : "move",
     "hide" : "hide",

+ 2 - 1
language/ko-KR.json

@@ -50,6 +50,8 @@
     "record": "기록",
     "name": "이름",
     "license": "라이선스",
+    "bottom" : "하단",
+    "text" : "문구",
     "interwiki": "인터위키",
     "update": "업데이트",
     "setting": "설정",
@@ -122,7 +124,6 @@
     "secret_key": "비밀키",
     "update_branch": "업데이트 브랜치",
     "main": "메인",
-    "set_text": "안내문",
     "indexing" : "인덱싱",
     "register_text" : "회원가입 문구",
     "non_login_alert" : "비 로그인 경고문"