From 6e451fa6e7acbd84a4de6f7bfc7efc2efd716056 Mon Sep 17 00:00:00 2001 From: Camille L Date: Tue, 23 Apr 2024 10:01:37 +0000 Subject: [PATCH 01/15] Translated using Weblate (French) Currently translated at 96.8% (1185 of 1223 strings) Translation: Grist/client Translate-URL: https://hosted.weblate.org/projects/grist/client/fr/ --- static/locales/fr.client.json | 33 +++++++++++++++++++++++++++------ 1 file changed, 27 insertions(+), 6 deletions(-) diff --git a/static/locales/fr.client.json b/static/locales/fr.client.json index 163ab625..828246d1 100644 --- a/static/locales/fr.client.json +++ b/static/locales/fr.client.json @@ -478,7 +478,8 @@ "Welcome to {{- orgName}}": "Bienvenue sur {{- orgName}}", "Visit our {{link}} to learn more about Grist.": "Visitez notre {{link}} pour en savoir plus sur Grist.", "Sign in": "Connexion", - "To use Grist, please either sign up or sign in.": "Pour utiliser Grist, connectez-vous ou créez-vous un compte." + "To use Grist, please either sign up or sign in.": "Pour utiliser Grist, connectez-vous ou créez-vous un compte.", + "Learn more in our {{helpCenterLink}}, or find an expert via our {{sproutsProgram}}.": "Pour en savoir plus, consultez notre {{helpCenterLink}}, ou trouvez un expert via notre {{sproutsProgram}}." }, "HomeLeftPane": { "All Documents": "Tous les documents", @@ -694,7 +695,10 @@ "Share": "Partager", "Download...": "Télécharger...", "Microsoft Excel (.xlsx)": "Microsoft Excel (.xlsx)", - "Export as...": "Exporter en tant que..." + "Export as...": "Exporter en tant que...", + "Comma Separated Values (.csv)": "Comma Separated Values (.csv)", + "DOO Separated Values (.dsv)": "DOO Separated Values (.dsv)", + "Tab Separated Values (.tsv)": "Tab Separated Values (.tsv)" }, "SiteSwitcher": { "Switch Sites": "Changer d’espace", @@ -931,7 +935,10 @@ }, "NTextBox": { "false": "faux", - "true": "vrai" + "true": "vrai", + "Single line": "Ligne unique", + "Multi line": "Multi-lignes", + "Lines": "Lignes" }, "ViewAsDropdown": { "View As": "Voir en tant que", @@ -1065,7 +1072,10 @@ "Decimals": "Décimales", "Currency": "Devise", "Default currency ({{defaultCurrency}})": "Devise par défaut ({{defaultCurrency}})", - "Number Format": "Format de nombre" + "Number Format": "Format de nombre", + "min": "min", + "Text": "Texte", + "max": "max" }, "LanguageMenu": { "Language": "Langue" @@ -1230,7 +1240,8 @@ "Opt in to Telemetry": "S'inscrire à l'envoi de données de télémétrie", "Opted In": "Accepté", "Support Grist page": "Soutenir Grist", - "Admin Panel": "Panneau d'administration" + "Admin Panel": "Panneau d'administration", + "Thank you! Your trust and support is greatly appreciated. Opt out any time from the {{link}} in the user menu.": "Nous vous remercions ! Votre confiance et votre soutien sont très appréciés. Vous pouvez vous désinscrire à tout moment en cliquant sur le {{link}} dans le menu utilisateur." }, "GridView": { "Click to insert": "Cliquer pour insérer" @@ -1387,7 +1398,14 @@ }, "FormConfig": { "Field rules": "Règles du champ", - "Required field": "Champ obligatoire" + "Required field": "Champ obligatoire", + "Ascending": "Croissant", + "Default": "Par défaut", + "Descending": "Décroissant", + "Field Format": "Format du champ", + "Field Rules": "Règles du champ", + "Horizontal": "Horizontale", + "Options Alignment": "Option d'alignement" }, "Editor": { "Delete": "Supprimer" @@ -1449,5 +1467,8 @@ "Sponsor": "Parrainage", "Support Grist": "Soutenir Grist", "Version": "Version" + }, + "Field": { + "No choices configured": "Aucun choix configuré" } } From c2768b3e25b37a6212d49ba052a3cae2055cc779 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=92=D0=BB=D0=B0=D0=B4=D0=B8=D0=BC=D0=B8=D1=80=20=D0=92?= Date: Mon, 22 Apr 2024 18:22:14 +0000 Subject: [PATCH 02/15] Translated using Weblate (Russian) Currently translated at 99.5% (1218 of 1223 strings) Translation: Grist/client Translate-URL: https://hosted.weblate.org/projects/grist/client/ru/ --- static/locales/ru.client.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/locales/ru.client.json b/static/locales/ru.client.json index 563eae00..9c508257 100644 --- a/static/locales/ru.client.json +++ b/static/locales/ru.client.json @@ -1274,7 +1274,7 @@ "User inherits permissions from {{parent}}. To remove, set 'Inherit access' option to 'None'.": "Пользователь наследует разрешения от {{parent}}. Чтобы удалить, установите для параметра 'Наследовать доступ' значение 'None'.", "Allow anyone with the link to open.": "Разрешить открывать всем, у кого есть ссылка.", "Grist support": "Grist поддержка", - "Invite people to {{resourceType}}": "Пригласите людей в {{resourceType}}", + "Invite people to {{resourceType}}": "Пригласите людей к {{resourceType}}", "Create a team to share with more people": "Создайте команду, чтобы поделиться с большим количеством людей", "Link copied to clipboard": "Ссылка скопирована в буфер обмена", "No default access allows access to be granted to individual documents or workspaces, rather than the full team site.": "Отсутствие доступа по умолчанию позволяет предоставлять доступ к отдельным документам или рабочим областям, а не ко всему групповому сайту.", From dc70cf59d305ee878fe8242c25b7ca3112dff475 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Tue, 23 Apr 2024 11:42:12 -0400 Subject: [PATCH 03/15] docs: better explain GRIST_DATA_DIR This little variable has unexpected complexity: it defaults to being relative to the working directory, which usually is the same as the app directory. However, in practice we instruct people to explicitly set this to `/persist/docs`, so we should mention this common use case. Some day I would like to simplify some of the logic around this variable. closes: #931 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 1509f475..774b1205 100644 --- a/README.md +++ b/README.md @@ -246,7 +246,6 @@ GRIST_ADAPT_DOMAIN | set to "true" to support multiple base domains (careful, h GRIST_APP_ROOT | directory containing Grist sandbox and assets (specifically the sandbox and static subdirectories). GRIST_BACKUP_DELAY_SECS | wait this long after a doc change before making a backup GRIST_BOOT_KEY | if set, offer diagnostics at /boot/GRIST_BOOT_KEY -GRIST_DATA_DIR | directory in which to store document caches. GRIST_DEFAULT_EMAIL | if set, login as this user if no other credentials presented GRIST_DEFAULT_PRODUCT | if set, this controls enabled features and limits of new sites. See names of PRODUCTS in Product.ts. GRIST_DEFAULT_LOCALE | Locale to use as fallback when Grist cannot honour the browser locale. @@ -299,6 +298,7 @@ GRIST_SKIP_REDIS_CHECKSUM_MISMATCH | Experimental. If set, only warn if the chec GRIST_SNAPSHOT_TIME_CAP | optional. Define the caps for tracking buckets. Usage: {"hour": 25, "day": 32, "isoWeek": 12, "month": 96, "year": 1000} GRIST_SNAPSHOT_KEEP | optional. Number of recent snapshots to retain unconditionally for a document, regardless of when they were made GRIST_PROMCLIENT_PORT | optional. If set, serve the Prometheus metrics on the specified port number. ⚠️ Be sure to use a port which is not publicly exposed ⚠️. +| GRIST_DATA_DIR | Directory in which to store documents. Defaults to `docs/` relative to the Grist application directory. In Grist's default Docker image, its default value is /persist/docs so that it will be used as a mounted volume. | #### AI Formula Assistant related variables (all optional): From 5fad8a2baa7ae9be16111ba5440c174f55c09b27 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jordi=20Guti=C3=A9rrez=20Hermoso?= Date: Tue, 23 Apr 2024 11:42:58 -0400 Subject: [PATCH 04/15] (docs) README.md: reformat envvars table This is just a source-level reformatting to realign it. --- README.md | 130 +++++++++++++++++++++++++++--------------------------- 1 file changed, 65 insertions(+), 65 deletions(-) diff --git a/README.md b/README.md index 774b1205..c950d741 100644 --- a/README.md +++ b/README.md @@ -233,72 +233,72 @@ For more on Grist Labs' history and principles, see our [About Us](https://www.g Grist can be configured in many ways. Here are the main environment variables it is sensitive to: -Variable | Purpose --------- | ------- -ALLOWED_WEBHOOK_DOMAINS | comma-separated list of permitted domains to use in webhooks (e.g. webhook.site,zapier.com). You can set this to `*` to allow all domains, but if doing so, we recommend using a carefully locked-down proxy (see `GRIST_HTTPS_PROXY`) if you do not entirely trust users. Otherwise services on your internal network may become vulnerable to manipulation. -APP_DOC_URL | doc worker url, set when starting an individual doc worker (other servers will find doc worker urls via redis) -APP_DOC_INTERNAL_URL | like `APP_DOC_URL` but used by the home server to reach the server using an internal domain name resolution (like in a docker environment). Defaults to `APP_DOC_URL` -APP_HOME_URL | url prefix for home api (home and doc servers need this) -APP_STATIC_URL | url prefix for static resources -APP_STATIC_INCLUDE_CUSTOM_CSS | set to "true" to include custom.css (from APP_STATIC_URL) in static pages -APP_UNTRUSTED_URL | URL at which to serve/expect plugin content. -GRIST_ADAPT_DOMAIN | set to "true" to support multiple base domains (careful, host header should be trustworthy) -GRIST_APP_ROOT | directory containing Grist sandbox and assets (specifically the sandbox and static subdirectories). -GRIST_BACKUP_DELAY_SECS | wait this long after a doc change before making a backup -GRIST_BOOT_KEY | if set, offer diagnostics at /boot/GRIST_BOOT_KEY -GRIST_DEFAULT_EMAIL | if set, login as this user if no other credentials presented -GRIST_DEFAULT_PRODUCT | if set, this controls enabled features and limits of new sites. See names of PRODUCTS in Product.ts. -GRIST_DEFAULT_LOCALE | Locale to use as fallback when Grist cannot honour the browser locale. -GRIST_DOMAIN | in hosted Grist, Grist is served from subdomains of this domain. Defaults to "getgrist.com". -GRIST_EXPERIMENTAL_PLUGINS | enables experimental plugins -GRIST_ENABLE_REQUEST_FUNCTION | enables the REQUEST function. This function performs HTTP requests in a similar way to `requests.request`. This function presents a significant security risk, since it can let users call internal endpoints when Grist is available publicly. This function can also cause performance issues. Unset by default. -GRIST_HIDE_UI_ELEMENTS | comma-separated list of UI features to disable. Allowed names of parts: `helpCenter,billing,templates,createSite,multiSite,multiAccounts,sendToDrive,tutorials,supportGrist`. If a part also exists in GRIST_UI_FEATURES, it will still be disabled. -GRIST_HOST | hostname to use when listening on a port. -GRIST_HTTPS_PROXY | if set, use this proxy for webhook payload delivery. -GRIST_ID_PREFIX | for subdomains of form o-*, expect or produce o-${GRIST_ID_PREFIX}*. -GRIST_IGNORE_SESSION | if set, Grist will not use a session for authentication. -GRIST_INCLUDE_CUSTOM_SCRIPT_URL | if set, will load the referenced URL in a `