Browse Source

add some lang

2du 4 years ago
parent
commit
6073e18ebf
3 changed files with 25 additions and 4 deletions
  1. 13 1
      lang/en-US.json
  2. 10 1
      lang/ko-KR.json
  3. 2 2
      route/tool/func.py

+ 13 - 1
lang/en-US.json

@@ -451,5 +451,17 @@
             "user_head_warning" : "User data will be deleted if you close the browser or when you sign in.",
             "no_login_warning" : "You are not logged in. Your current IP address will be logged within editing or discussing until you log in.",
             "update_warning" : "Manual updates are recommended if your version is 0.2 or lower than the latest version. For Windows, the contents of the route folder will be deleted.",
-            "history_delete_warning" : "If you erase history, it's hard to restore it, so please be careful."
+            "history_delete_warning" : "If you erase history, it's hard to restore it, so please be careful.",
+        "_comment_" : "Challenge",
+            "challenge_title_register" : "Hello, World!",
+            "challenge_info_register" : "Sign up",
+    
+            "challenge_title_first_contribute" : "Well begun is half done.",
+            "challenge_info_first_contribute" : "Make your 1st contribution",
+    
+            "challenge_title_tenthousandth_contribute" : "Rome wasn't built in a day.",
+            "challenge_info_tenthousandth_contribute" : "Make your 1000th contribution",
+    
+            "challenge_title_thousandth_discussion" : "I think, therefore I am.",
+            "challenge_info_thousandth_discussion" : "Post the 1000th discussion thread"
 }

+ 10 - 1
lang/ko-KR.json

@@ -419,5 +419,14 @@
     "topic_text": "토론 기본 문구",
     "hcaptcha": "hCAPTCHA",
     "captcha": "CAPTCHA",
-    "make_new_topic": "새 토론 생성"
+    "make_new_topic": "새 토론 생성",
+    "old_page_warring": "이 문서는 오래되었습니다.",
+    "challenge_title_register": "Hello, World!",
+    "challenge_info_register": "가입을 하세요.",
+    "challenge_title_first_contribute": "시작이 반이다.",
+    "challenge_info_first_contribute": "첫 기여를 하세요.",
+    "challenge_title_tenthousandth_contribute": "대기만성",
+    "challenge_info_tenthousandth_contribute": "1000번째 기여를 하세요.",
+    "challenge_title_thousandth_discussion": "나는 생각한다. 고로 존재한다.",
+    "challenge_info_thousandth_discussion": "1000번째 토론 스레드를 올리세요."
 }

+ 2 - 2
route/tool/func.py

@@ -892,8 +892,8 @@ def wiki_css(data):
     data_css += '<link rel="stylesheet" href="/views/main_css/css/main.css?ver=' + data_css_ver + '">'
                 
     data = data[0:2] + ['', '''
-        <link rel="stylesheet"
-              href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.0/build/styles/default.min.css">
+        <link   rel="stylesheet"
+                href="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.0/build/styles/default.min.css">
         <script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.5.0/build/highlight.min.js"></script>
         <link   rel="stylesheet" 
                 href="https://cdn.jsdelivr.net/npm/katex@0.15.3/dist/katex.min.css"