diff --git a/app/helpers/projects_helper.rb b/app/helpers/projects_helper.rb index 4679053..fa76080 100644 --- a/app/helpers/projects_helper.rb +++ b/app/helpers/projects_helper.rb @@ -44,6 +44,8 @@ shared_num = project.project_groups.count - 1 text = shared_num > 0 ? (t("helpers.yes_label") + " (with #{shared_num} people) ") : t("helpers.no_label") [ "dmp_td_small", text ] + when 'visibility' + ["dmp_td_small", (project.is_public? ? t("helpers.project.public_visibility") : (project.is_test? ? t("helpers.project.test_visibility") : t("helpers.project.default_visibility")))] when 'last_edited' [ "dmp_td_small", l(project.latest_update.to_date, formats: :short) ] when 'description' diff --git a/config/locales/de.yml b/config/locales/de.yml index 7edee86..f41f2b2 100644 --- a/config/locales/de.yml +++ b/config/locales/de.yml @@ -511,6 +511,9 @@ project_identifier_help_text: "Eine Identifikationskürzel, wie es von Förderern oder Institutionen vergeben wird." project_static_info: "Dieser Plan basiert auf:" projects_title: "Meine Pläne" + default_visibility: "Organisatorische" + test_visibility: "Test" + public_visibility: "Öffentlichkeit" project_is_test: "Test oder praxisplan?" project_is_test_help_text: "Dieser Plan ist für die Prüfung oder Praxis puposes. Es wird von anderen Benutzern nicht angezeigt werden, es sei denn, Sie explizit freigeben sie mit ihnen (es wird jedoch in Website-Statistiken berücksichtigt werden)." project_is_public: "Öffentlich im Internet verfügbar?" diff --git a/config/locales/en-UK.yml b/config/locales/en-UK.yml index e10af00..a12996e 100644 --- a/config/locales/en-UK.yml +++ b/config/locales/en-UK.yml @@ -577,6 +577,9 @@ project_identifier_help_text: "A pertinent ID as determined by the funder and/or institution." project_static_info: "This plan is based on:" projects_title: "My plans" + default_visibility: "Organizational" + test_visibility: "Test" + public_visibility: "Public" project_is_test: "Test or practice plan?" project_is_test_help_text: "This plan is for testing or practice puposes. It will not be viewable by other users unless you explicitly share it with them (it will however be factored into site statistics)." project_is_public: "Publicly available on the web?" diff --git a/config/locales/en-US.yml b/config/locales/en-US.yml index 7627f6f..04c8ca7 100644 --- a/config/locales/en-US.yml +++ b/config/locales/en-US.yml @@ -563,6 +563,9 @@ project_identifier_help_text: "A pertinent ID as determined by the funder and/or institution." project_static_info: "This plan is based on:" projects_title: "My plans" + default_visibility: "Organizational" + test_visibility: "Test" + public_visibility: "Public" project_is_test: "Test or practice plan?" project_is_test_help_text: "This plan is for testing or practice puposes. It will not be viewable by other users unless you explicitly share it with them (it will however be factored into site statistics)." project_is_public: "Publicly available on the web?" diff --git a/config/locales/es.yml b/config/locales/es.yml index 7fec13f..51dec6c 100644 --- a/config/locales/es.yml +++ b/config/locales/es.yml @@ -453,6 +453,9 @@ project_identifier_help_text: "El ID tal como lo determinó la institución u organismo financiador." project_static_info: "Este plan está basado en:" projects_title: "Mis planes" + default_visibility: "Organizativo" + test_visibility: "Prueba" + public_visibility: "Público" project_is_test: "¿Plan de prueba o práctica?" project_is_test_help_text: "Este plan es para probar o hacer puposes. No será visible por otros usuarios a menos que explícitamente lo comparta con ellos (sin embargo, se tendrá en cuenta en las estadísticas del sitio)." project_is_public: "¿Publicamente disponible en la web?" diff --git a/config/locales/fr.yml b/config/locales/fr.yml index fdd447d..c5b2fdd 100644 --- a/config/locales/fr.yml +++ b/config/locales/fr.yml @@ -458,6 +458,9 @@ project_identifier_help_text: "Un identifiant approprié conforme aux prescriptions de l'organisme financeur ou de l'établissement." project_static_info: "Ce plan s'inspire de :" projects_title: "Mes plans" + default_visibility: "Organisationnel" + test_visibility: "Tester" + public_visibility: "Public" project_is_test: "Test ou un plan de pratique?" project_is_test_help_text: "Ce plan est destiné aux essais ou à la pratique. Il ne sera pas visible par d'autres utilisateurs à moins que vous ne le partagiez explicitement avec eux (il sera cependant pris en compte dans les statistiques du site)." project_is_public: "Publiquement disponible sur le web?"