config.toml 903 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  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. [csv]
  22. [mongodb]
  23. [toml_as_DB]
  24. [md_as_DB]
  25. # ----- helps -----
  26. # 难道用asicⅡ然后根据系统语言转换?
  27. # 或者是单独的.toml/.txt 文本文件也行 <<< 采用这个方案
  28. [command-help]
  29. en = """
  30. Help texts in en
  31. """
  32. zh-s = """
  33. Help texts in zh-s
  34. """
  35. [could-not-find]
  36. en = "could not find"
  37. zh-s = "找不到"