<?xml version="1.0" encoding="UTF-8"?>
<!--

    Copyright (C) 2000 - 2026 Silverpeas

    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU Affero General Public License as
    published by the Free Software Foundation, either version 3 of the
    License, or (at your option) any later version.

    As a special exception to the terms and conditions of version 3.0 of
    the GPL, you may redistribute this Program in connection with Free/Libre
    Open Source Software ("FLOSS") applications as described in Silverpeas's
    FLOSS exception.  You should have received a copy of the text describing
    the FLOSS exception, and it is also available here:
    "https://www.silverpeas.org/docs/core/legal/floss_exception.html"

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Affero General Public License for more details.

    You should have received a copy of the GNU Affero General Public License
    along with this program.  If not, see <https://www.gnu.org/licenses/>.

-->

<WAComponent xmlns="http://silverpeas.org/xml/ns/component"
             xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://silverpeas.org/xml/ns/component https://www.silverpeas.org/xsd/component.xsd">
  <name>infoLetter</name>
  <label>
    <message lang="fr">Lettre d'information</message>
    <message lang="en">Newsletter</message>
    <message lang="de">Newsletter</message>
  </label>
  <description>
    <message lang="fr">Cette application permet l’envoi d’une newsletter à des
      utilisateurs de la plateforme ou bien à des contacts externes. La gestion des
      contacts est facilitée grâce à l’import/export CSV. La mise en place d’un modèle
      facilite la création d’une nouvelle parution.
    </message>
    <message lang="en">Create a periodic information according to a publication template re-usable.
      The subscritpions to thee letter are managed here also.
    </message>
    <message lang="de">Erstellet ein periodischer Informations Brief gemäß einer wieder verwendbarer
      Veröffentlichung Vorlage. Die Abonnements für den Informations Brief werden auch hier
      verwaltet.
    </message>
  </description>
  <suite>
    <message lang="fr">04 Gestion de contenu</message>
    <message lang="en">04 Content Management</message>
    <message lang="de">04 Inhaltsverwaltung</message>
  </suite>
  <visible>true</visible>
  <portlet>true</portlet>
  <profiles>
    <profile name="admin">
      <label>
        <message lang="fr">Gestionnaires</message>
        <message lang="en">Managers</message>
        <message lang="de">Manager</message>
      </label>
      <help>
        <message lang="fr">Les gestionnaires définissent les abonnés et paramètrent le Plan de
          Classement.
        </message>
        <message lang="en">Managers define suscribers and set up the Classification Scheme.
        </message>
        <message lang="de">Managers define suscribers and set up the Classification Scheme.
        </message>
      </help>
      <spaceMapping>
        <profile>admin</profile>
      </spaceMapping>
    </profile>
    <profile name="publisher">
      <label>
        <message lang="fr">Publieurs</message>
        <message lang="en">Publishers</message>
        <message lang="de">Herausgeber</message>
      </label>
      <help>
        <message lang="fr">Les publieurs créent des parutions.</message>
        <message lang="en">Publishers create issues</message>
        <message lang="de">Herausgeber</message>
      </help>
      <spaceMapping>
        <profile>publisher</profile>
        <profile>writer</profile>
      </spaceMapping>
    </profile>
    <profile name="user">
      <label>
        <message lang="fr">Lecteurs</message>
        <message lang="en">Readers</message>
        <message lang="de">Leser</message>
      </label>
      <help>
        <message lang="fr">Les lecteurs visualisent les parutions et peuvent s'abonner.</message>
        <message lang="en">Readers can visualize the publications and subscribe to it.</message>
        <message lang="de">Leser</message>
      </help>
      <spaceMapping>
        <profile>reader</profile>
      </spaceMapping>
    </profile>
  </profiles>
  <parameters>
    <parameter>
      <name>usePdc</name>
      <label>
        <message lang="fr">Classification PDC</message>
        <message lang="en">Classification Scheme</message>
        <message lang="de">Klassierungsplan</message>
      </label>
      <order>1</order>
      <mandatory>true</mandatory>
      <value>no</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Les newsletters créées au sein de cette instance pourront être classées
          sur le Plan de Classement
        </message>
        <message lang="en">Newsletters created here are classified on the classification scheme.
        </message>
        <message lang="de">Informations Briefe können auf dem KP klassifiziert werden</message>
      </help>
    </parameter>
    <parameter>
      <name>sendNewsletter</name>
      <label>
        <message lang="fr">Abonnés internes</message>
        <message lang="en">Internal users</message>
        <message lang="de">interne Benutzer</message>
      </label>
      <order>1</order>
      <mandatory>true</mandatory>
      <value>0</value>
      <options>
        <option>
          <name>
            <message lang="fr">Envoi par notification</message>
            <message lang="en">Shipping by notifification</message>
            <message lang="de">Das Versenden durch notifification</message>
          </name>
          <value>0</value>
        </option>
        <option>
          <name>
            <message lang="fr">Envoi par mail</message>
            <message lang="en">Send by email</message>
            <message lang="de">Email schicken</message>
          </name>
          <value>1</value>
        </option>
      </options>
      <type>select</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Mode d'envoi des newsletters aux abonnés internes</message>
        <message lang="en">How to send newsletters to internal subscribers</message>
        <message lang="de">Wie Newslettern an internen Teilnehmer senden</message>
      </help>
    </parameter>
  </parameters>
</WAComponent>
