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

    Copyright (C) 2000 - 2024 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>questionReply</name>
  <label>
    <message lang="fr">Questions/Réponses (aux experts)</message>
    <message lang="en">Questions/Answers (to experts)</message>
    <message lang="de">Fragen/Antworten (die Experten)</message>
  </label>
  <description>
    <message lang="fr">Reprenant le principe bien connu d’une
      FAQ, cette application permet à n’importe quel utilisateur de poser directement
      une question aux experts. Les réponses enrichissent progressivement cette base
      de connaissances.
    </message>
    <message lang="en">Create a knowledge database, with questions asked by users to experts.
      The users can locate the experts that have the best chance of knowing the answer.
      The expert manage the diffusion of answers towards the users.
    </message>
    <message lang="de">Erstellt eine Wissens-Datenbank mit Fragen von Benutzern an Experten.
      Die Benutzern können die Experten finden, die die beste Chance haben, eine Antwort zu haben.
      Die Experten verwalten die Verbreitung von Antworten.
    </message>
  </description>
  <suite>
    <message lang="fr">03 Gestion de la connaissance</message>
    <message lang="en">03 Knowledge Management</message>
    <message lang="de">03 Wissens Verwaltung</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 gèrent les catégories et paramètrent le Plan de
          Classement.
        </message>
        <message lang="en">Managers manage categories and set up the Classification Scheme</message>
        <message lang="de">Managers manage categories and set up the Classification Scheme</message>
      </help>
      <spaceMapping>
        <profile>admin</profile>
      </spaceMapping>
    </profile>
    <profile name="publisher">
      <label>
        <message lang="fr">Demandeurs</message>
        <message lang="en">Applicants</message>
        <message lang="de">Antragsteller</message>
      </label>
      <help>
        <message lang="fr">Les demandeurs posent des questions.</message>
        <message lang="en">Applicants ask questions.</message>
        <message lang="de">Antragsteller</message>
      </help>
      <spaceMapping>
        <profile>writer</profile>
      </spaceMapping>
    </profile>
    <profile name="writer">
      <label>
        <message lang="fr">Experts</message>
        <message lang="en">Experts</message>
        <message lang="de">Experte</message>
      </label>
      <help>
        <message lang="fr">Les experts répondent aux questions.</message>
        <message lang="en">Experts answer questions.</message>
        <message lang="de">Experte</message>
      </help>
      <spaceMapping>
        <profile>publisher</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 consultent les questions et leurs réponses.</message>
        <message lang="en">Readers consult questions and answers.</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>yes</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Les enquêtes créées au sein de cette instance pourront être classées sur
          le Plan de Classement
        </message>
        <message lang="en">The surveys created in this instance may be classified on the
          classification scheme.
        </message>
        <message lang="de">Umfragen können auf dem KP klassifiziert werden</message>
      </help>
    </parameter>
    <parameter>
      <name>privateRepliesUsed</name>
      <label>
        <message lang="fr">Réponses privées</message>
        <message lang="en">Private answers</message>
        <message lang="de">Private Antworten</message>
      </label>
      <order>2</order>
      <mandatory>true</mandatory>
      <value>no</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Possibilité de créer des réponses privées.</message>
        <message lang="en">Experts can send private answers.</message>
        <message lang="de">Experten können private Antworten senden.</message>
      </help>
    </parameter>
    <parameter>
      <name>sortable</name>
      <label>
        <message lang="fr">Ordre alphabétique des questions</message>
        <message lang="en">Alphabetical order of the questions</message>
        <message lang="de">Sortieren nach Fragen</message>
      </label>
      <order>3</order>
      <mandatory>false</mandatory>
      <value>no</value>
      <type>checkbox</type>
      <updatable>always</updatable>
      <help>
        <message lang="fr">Les questions sont automatiquement triées par ordre alphabétique.
        </message>
        <message lang="en">Questions are automatically sorted alphabetically.</message>
        <message lang="de">Fragen sind sortierbar.</message>
      </help>
    </parameter>
  </parameters>
</WAComponent>