Pārlūkot izejas kodu

Merge branch 'iapt-platform:laravel' into laravel

visuddhinanda 4 gadi atpakaļ
vecāks
revīzija
6080f4ec58

+ 4 - 6
deploy/roles/mint-clone/tasks/main.yml

@@ -12,11 +12,15 @@
     version: laravel
 
 - name: Setup storage folder
+  become: true
   ansible.builtin.file:
     path: "{{ app_deploy_target }}/storage"
+    state: directory
+    recurse: true
     owner: www-data
     group: www-data
 
+
 - name: Install v2 php dependencies
   ansible.builtin.shell: "php{{ app_php_version }} {{ ansible_env.HOME }}/.local/bin/composer install"
   args:
@@ -49,12 +53,6 @@
     dest: "{{ app_deploy_target }}/public/node_modules"
     state: link
 
-- name: Install v2 tmp
-  ansible.builtin.file:
-    src: "/var/www/{{ inventory_hostname }}/tmp"
-    dest: "{{ app_deploy_target }}/tmp"
-    state: link
-
 # TODO will remove in future
 - name: Install v1 tmp
   ansible.builtin.file:

+ 4 - 5
deploy/roles/mint-clone/templates/config-v1.php.j2

@@ -1,6 +1,4 @@
 <?php
-#目录设置,不能更改
-require_once __DIR__."/config.dir.php";
 
 #域名设置
 define("RPC_SERVER","https://rpc.wikipali.org");
@@ -48,14 +46,15 @@ define("SnowFlake",[
 	"DatacenterId"=>1,
 	"WorkerId"=>1
 ]);
+
+#目录设置,不能更改
+require_once __DIR__."/config.dir.php";
+
 /*
 数据表
 */
 #表设置,此行不能更改
 require_once __DIR__."/config.table.php";
 
-#表名设置,此行不能更改
-require_once __DIR__."/config.migrate.php";
-
 
 ?>

+ 1 - 1
public/app/public/lang/zh-cn.json

@@ -392,7 +392,7 @@
 		"function_introduce": "Wikipāḷi功能介绍",
 		"vedio_link": "视频链接",
 		"project_introduce": "三藏翻译会议简报",
-		"help_doc": "开发者必读",
+		"help_doc": "帮助文档",
 		"code_add": "代码查看及下载",
 		"test_declare": "此网址仅供功能测试,目前无法保证对用户个人数据的保留。",
 		"project_introduce_inbrief": "巴利圣典翻译工程整体思路",

+ 1 - 1
public/app/public/lang/zh-tw.json

@@ -388,7 +388,7 @@
 		"add_to_folder": "加入資料夾",
 		"rename": "重新命名",
 		"collaborate": "協作",
-		"help": "幫助",
+		"help": "幫助文件",
 		"function_introduce": "Wikipāḷi功能介紹",
 		"vedio_link": "視訊連結",
 		"project_introduce": "三藏翻譯會議簡報",

+ 4 - 4
public/app/users_guide/zh-cn/grammar_fut.md

@@ -1,6 +1,6 @@
 # 将来时
 
-**动词**变位之一,表示将要发生或将要做(的事情),动作。相当于英语的一般将来时
+**动词**变位之一,表示将要发生或将要做(的事情),动作。相当于英语的各种将来有关的时态
 
 |语种|缩写|全称|
 |-|-|-|
@@ -12,6 +12,6 @@
 
 |将来时|单数|复数|
 | -- | -- | -- |
-|第三人称|~(i)ssati<br>TA**将**~|~(i)ssanti<br>TA们**将**~|
-|第二人称|~(i)ssasi<br>你**将**~|~(i)ssatha<br>你们**将**~|
-|第一人称|~(i)ssāmi<br>我**将**~|~(i)ssāma<br>我们**将**~|
+|第三人称|-(i)ssati<br>TA**将**~|-(i)ssanti<br>TA们**将**~|
+|第二人称|-(i)ssasi<br>你**将**~|-(i)ssatha<br>你们**将**~|
+|第一人称|-(i)ssāmi<br>我**将**~|-(i)ssāma<br>我们**将**~|