config.toml 934 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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. DBType = "sqlite3"
  9. DBPath = "test.db"
  10. #
  11. # utc/utc+-n (UTC-12 ~ UTC+14)
  12. # This will not effect the "uid related" time settings(UTC+0)
  13. displayTime = "UTC+8"
  14. # Choose between: sqlite3/toml/md/csv/mongodb
  15. # However toml/md/csv/mongodb are not supported in v1.0
  16. [Database]
  17. type = "sqlite3"
  18. path = "test.db"
  19. # ----- DB Syntax Translation -----
  20. [sqlite3]
  21. list = "SELECT"
  22. add = "INSERT INTO"
  23. edit = "UPDATE"
  24. [csv]
  25. [mongodb]
  26. [toml_as_DB]
  27. [md_as_DB]
  28. # ----- helps -----
  29. # 难道用asicⅡ然后根据系统语言转换?
  30. # 或者是单独的.toml/.txt 文本文件也行 <<< 采用这个方案
  31. [command-help]
  32. en = """
  33. Help texts in en
  34. """
  35. zh-s = """
  36. Help texts in zh-s
  37. """
  38. [could-not-find]
  39. en = "could not find"
  40. zh-s = "找不到"