📝 Translate default config file comments
This commit is contained in:
parent
d1bf201707
commit
651733dc08
1 changed files with 26 additions and 27 deletions
|
|
@ -1,57 +1,56 @@
|
||||||
[app]
|
[app]
|
||||||
name = "PageTop Application"
|
name = "PageTop Application"
|
||||||
description = "Developed with the awesome PageTop framework."
|
description = "Developed with the amazing PageTop framework."
|
||||||
# Tema predeterminado.
|
# Default theme.
|
||||||
theme = "Default"
|
theme = "Default"
|
||||||
# Idioma (localización) predeterminado.
|
# Default language (localization).
|
||||||
language = "en-US"
|
language = "en-US"
|
||||||
# Dirección predeterminada para el texto: "ltr", "rtl" o "auto".
|
# Default text direction: "ltr", "rtl", or "auto".
|
||||||
direction = "ltr"
|
direction = "ltr"
|
||||||
# Rótulo al inicio: "Off", "Slant", "Small", "Speed" o "Starwars".
|
# Startup banner: "Off", "Slant", "Small", "Speed", or "Starwars".
|
||||||
startup_banner = "Slant"
|
startup_banner = "Slant"
|
||||||
|
|
||||||
[database]
|
[database]
|
||||||
# Conecta con una base de datos (opcional).
|
# Connect to a database (optional).
|
||||||
# Tipo de base de datos (mysql, postgres ó sqlite).
|
# Database type (mysql, postgres, or sqlite).
|
||||||
db_type = ""
|
db_type = ""
|
||||||
# Nombre (para mysql/postgres) o referencia (para sqlite) de la base de datos.
|
# Database name (for mysql/postgres) or reference (for sqlite).
|
||||||
db_name = ""
|
db_name = ""
|
||||||
# Usuario y contraseña (para mysql/postgres).
|
# User and password (for mysql/postgres).
|
||||||
db_user = ""
|
db_user = ""
|
||||||
db_pass = ""
|
db_pass = ""
|
||||||
# Servidor (para mysql/postgres).
|
# Database server (for mysql/postgres).
|
||||||
db_host = "localhost"
|
db_host = "localhost"
|
||||||
# Puerto, normalmente 3306 (para mysql) ó 5432 (para postgres).
|
# Port, usually 3306 (for mysql) or 5432 (for postgres).
|
||||||
db_port = 0
|
db_port = 0
|
||||||
# Número máximo de conexiones habilitadas.
|
# Maximum number of enabled connections.
|
||||||
max_pool_size = 5
|
max_pool_size = 5
|
||||||
|
|
||||||
[dev]
|
[dev]
|
||||||
# Los archivos estáticos requeridos por la aplicación se integran de manera
|
# Static files required by the app are integrated by default into the executable
|
||||||
# predeterminada en el binario ejecutable. Sin embargo, durante el desarrollo
|
# binary. However, during development, it can be useful to serve these files
|
||||||
# puede resultar útil servir estos archivos desde su propio directorio para
|
# from their own directory to avoid recompiling every time they are modified. In
|
||||||
# evitar recompilar cada vez que se modifican. En este caso bastaría con
|
# this case, just indicate the full path to the project's root directory.
|
||||||
# indicar la ruta completa al directorio raiz del proyecto.
|
|
||||||
pagetop_project_dir = ""
|
pagetop_project_dir = ""
|
||||||
|
|
||||||
[log]
|
[log]
|
||||||
# Traza de ejecución: "Error", "Warn", "Info", "Debug" o "Trace".
|
# Execution trace: "Error", "Warn", "Info", "Debug", or "Trace".
|
||||||
# Por ejemplo: "Error,actix_server::builder=Info,tracing_actix_web=Debug".
|
# For example: "Error,actix_server::builder=Info,tracing_actix_web=Debug".
|
||||||
tracing = "Info"
|
tracing = "Info"
|
||||||
# En terminal ("Stdout") o archivos "Daily", "Hourly", "Minutely" o "Endless".
|
# In terminal ("Stdout") or files "Daily", "Hourly", "Minutely", or "Endless".
|
||||||
rolling = "Stdout"
|
rolling = "Stdout"
|
||||||
# Directorio para los archivos de traza (si rolling != "Stdout").
|
# Directory for trace files (if rolling != "Stdout").
|
||||||
path = "log"
|
path = "log"
|
||||||
# Prefijo para los archivos de traza (si rolling != "Stdout").
|
# Prefix for trace files (if rolling != "Stdout").
|
||||||
prefix = "tracing.log"
|
prefix = "tracing.log"
|
||||||
# Presentación de las trazas: "Full", "Compact", "Pretty" o "Json".
|
# Traces format: "Full", "Compact", "Pretty", or "Json".
|
||||||
format = "Full"
|
format = "Full"
|
||||||
|
|
||||||
[server]
|
[server]
|
||||||
# Configuración del servidor web.
|
# Web server config.
|
||||||
bind_address = "localhost"
|
bind_address = "localhost"
|
||||||
bind_port = 8088
|
bind_port = 8088
|
||||||
# Duración de la cookie de sesión (en segundos), es decir, el tiempo desde que
|
# Session cookie duration (in seconds), i.e., the time from when the session is
|
||||||
# se crea la sesión hasta que caduca la cookie. El valor 0 indica "hasta que se
|
# created until the cookie expires. A value of 0 indicates "until the browser is
|
||||||
# cierre el navegador". Por defecto es una semana.
|
# closed". By default, it is one week.
|
||||||
session_lifetime = 604800
|
session_lifetime = 604800
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue