aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/oc
diff options
context:
space:
mode:
authorGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-09-13 17:33:18 +0200
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2019-09-17 09:21:23 +0200
commita2ed6626c2f4e85878f775abcac897a1fd3a1f42 (patch)
tree6a12718165c7d054107c587e2b34cdc25c3cc7e7 /app/i18n/oc
parent80590daeb3627e5712be15fdc4bd98f0e2c40ea5 (diff)
Add support for terms of service
This feature is optional. It is based on the presence of a `data/tos.html` file that an administrator can create. If this file exists, FreshRSS will automatically add a "ToS" checkbox on the registration page that users must check to be able to create their account.
Diffstat (limited to 'app/i18n/oc')
-rw-r--r--app/i18n/oc/gen.php1
-rw-r--r--app/i18n/oc/index.php3
-rw-r--r--app/i18n/oc/user.php5
3 files changed, 9 insertions, 0 deletions
diff --git a/app/i18n/oc/gen.php b/app/i18n/oc/gen.php
index 8bbe04aec..57e783395 100644
--- a/app/i18n/oc/gen.php
+++ b/app/i18n/oc/gen.php
@@ -23,6 +23,7 @@ return array(
'update' => 'Actualizar',
),
'auth' => array(
+ 'accept_tos' => 'I accept the <a href="%s">Terms of Service</a>.', // TODO - Translation
'email' => 'Adreça de corrièl',
'keep_logged_in' => 'Demorar connectat <small>(%s jorns) </small>',
'login' => 'Connexion',
diff --git a/app/i18n/oc/index.php b/app/i18n/oc/index.php
index 5cc71c9a9..338d13a8e 100644
--- a/app/i18n/oc/index.php
+++ b/app/i18n/oc/index.php
@@ -15,6 +15,9 @@ return array(
'website' => 'Site internet',
'version' => 'Version',
),
+ 'tos' => array(
+ 'title' => 'Terms of Service', // TODO - Translation
+ ),
'feed' => array(
'add' => 'Podètz ajustar de fluxes.',
'empty' => 'I a pas cap de flux de mostrar.',
diff --git a/app/i18n/oc/user.php b/app/i18n/oc/user.php
index 4bcfebaf9..8f948e61d 100644
--- a/app/i18n/oc/user.php
+++ b/app/i18n/oc/user.php
@@ -22,6 +22,11 @@ return array(
'title' => 'Validacion de l’adreça electronica',
),
),
+ 'tos' => array(
+ 'feedback' => array(
+ 'invalid' => 'You must accept the Terms of Service to be able to register.', // TODO - Translation
+ ),
+ ),
'mailer' => array(
'email_need_validation' => array(
'title' => 'Vos cal validar vòstra adreça electronica',