config.toml 950 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. # Choose between: zh_s/zh_f/en
  2. # zh_s == 简体中文; zh_f == 繁体中文(暫未支持)
  3. lang = "en"
  4. # tree/expand
  5. listStyle = "tree"
  6. # >>>need some guidance here<<<
  7. EnableGlobalCommand = false
  8. # Choose between: sqlite3/toml/md/csv/mongodb
  9. # However toml/md/csv/mongodb are not supported in v1.0
  10. DBType = "sqlite3"
  11. DBPath = "test.db"
  12. #
  13. # utc/utc+-n (UTC-12 ~ UTC+14)
  14. # This will not effect the "uid related" time settings(UTC+0)
  15. displayTime = "UTC+8"
  16. # ----- App Command to DB Syntax Translation -----
  17. [sqlite3]
  18. list = "SELECT"
  19. add = "INSERT INTO"
  20. edit = "UPDATE"
  21. delete = "UPDATE" # change stauts to "deleted"
  22. [csv]
  23. [mongodb]
  24. [toml_as_DB]
  25. [md_as_DB]
  26. # ----- helps -----
  27. # 难道用asicⅡ然后根据系统语言转换?
  28. # 或者是单独的.toml/.txt 文本文件也行 <<< 采用这个方案
  29. [command-help]
  30. en = """
  31. Help texts in en
  32. """
  33. zh-s = """
  34. Help texts in zh-s
  35. """
  36. [could-not-find]
  37. en = "could not find"
  38. zh-s = "找不到"