Commit 70aef00b authored by Chenu Denis's avatar Chenu Denis

[lang] String update and fr

parent 8bfad967
No preview for this file type
This diff is collapsed.
......@@ -2,7 +2,7 @@
msgid ""
msgstr ""
"Project-Id-Version: pdfReport\n"
"POT-Creation-Date: 2018-09-13 12:25+0200\n"
"POT-Creation-Date: 2019-02-11 16:45+0100\n"
"PO-Revision-Date: 2017-03-09 15:09+0100\n"
"Last-Translator: \n"
"Language-Team: \n"
......@@ -10,7 +10,7 @@ msgstr ""
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"X-Generator: Poedit 2.1.1\n"
"X-Generator: Poedit 2.2.1\n"
"X-Poedit-Basepath: ..\n"
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
"X-Poedit-SourceCharset: UTF-8\n"
......@@ -19,16 +19,17 @@ msgstr ""
#: pdfReport.php:107
#, php-format
msgid "[WIP] To allow user to get the file of the question number X at end : you can use this url: %s. Replacing %s by the question number (LimeSurvey replace %s by the survey number)."
msgid "To allow user to get the file of the question number X at end : you can use this url: %s. Replacing %s by the question number (LimeSurvey replace %s by the survey number)."
msgstr ""
#: pdfReport.php:122 pdfReport.php:131 pdfReport.php:142 pdfReport.php:153
#: pdfReport.php:167 pdfReport.php:181 pdfReport.php:192 pdfReport.php:208
msgid "pdf report"
#: pdfReport.php:219 pdfReport.php:228
msgid "PDF report"
msgstr ""
#: pdfReport.php:126
msgid "The pdf are saved inside question answers, it's better if you hide the question, else only answers part are hidden."
msgid "The pdf are saved inside question answers, its better if you hide the question, else only answers part are hidden."
msgstr ""
#: pdfReport.php:127
......@@ -56,7 +57,7 @@ msgid "Allow to download pdf after submitted the survey, see plugin settings for
msgstr ""
#: pdfReport.php:176
msgid "By default usage of questioncode_{SAVEDID}. You don't have to put the .pdf part."
msgid "By default usage of the question code. You don‘t have to put the .pdf part."
msgstr ""
#: pdfReport.php:177
......@@ -84,7 +85,7 @@ msgid "Detailed admin notification"
msgstr ""
#: pdfReport.php:203
msgid "This don't deactivate limesurvey other email system."
msgid "This dont deactivate limesurvey other email system."
msgstr ""
#: pdfReport.php:204
......@@ -92,9 +93,25 @@ msgid "Content and subject of the email"
msgstr ""
#: pdfReport.php:212
msgid "Add attachements on same way than default."
msgid "Add existing attachements of LimeSurvey."
msgstr ""
#: pdfReport.php:213
msgid "Add attachements of email"
msgstr ""
#: pdfReport.php:223
msgid "You have limeMpdf plugin allowing more class, but don‘t use pdfreport.css. Then if you need usage of pdfreport.css: you can choose to use old tcpdf system."
msgstr ""
#: pdfReport.php:224
msgid "Use limeMpdf"
msgstr ""
#: pdfReport.php:232
msgid "Plugin limeMpdf allow table of content using h1, h2 etc … then adding title in your pdf set a table of contents."
msgstr ""
#: pdfReport.php:233
msgid "Create a PDF table of content"
msgstr ""
......@@ -104,7 +104,7 @@ class pdfReport extends PluginBase {
{
$dowloadurl=$this->api->createUrl('plugins/direct', array('plugin' => $this->getName(), 'surveyid' => 'SID','qid'=>'QID'));
$dowloadurl=str_replace(array("SID","QID"),array("{SID}","{QID}"),$dowloadurl);
$helpString=sprintf($this->_translate("[WIP] To allow user to get the file of the question number X at end : you can use this url: %s. Replacing %s by the question number (LimeSurvey replace %s by the survey number)."),"<code>".$dowloadurl."</code>","<code>{QID}</code>","{SID}");
$helpString=sprintf($this->_translate("To allow user to get the file of the question number X at end : you can use this url: %s. Replacing %s by the question number (LimeSurvey replace %s by the survey number)."),"<code>".$dowloadurl."</code>","<code>{QID}</code>","{SID}");
$this->settings['basicDocumentation']['content']="<div class='well'>{$helpString}</div>";
return parent::getPluginSettings($getValues);
......@@ -119,16 +119,16 @@ class pdfReport extends PluginBase {
$pdfReportAttribute = array(
'pdfReport'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>1,
'inputtype'=>'switch',
'default'=>0,
'help'=>$this->_translate('The pdf are saved inside question answers, it\'s better if you hide the question, else only answers part are hidden.'),
'help'=>$this->_translate('The pdf are saved inside question answers, its better if you hide the question, else only answers part are hidden.'),
'caption'=>$this->_translate('Use this question as pdf report.'),
),
'pdfReportTitle'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>10,
'inputtype'=>'text',
'default'=>'{SITENAME}',
......@@ -139,7 +139,7 @@ class pdfReport extends PluginBase {
),
'pdfReportSubTitle'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>11,
'inputtype'=>'text',
'default'=>'{SURVEYNAME}',
......@@ -150,7 +150,7 @@ class pdfReport extends PluginBase {
),
'pdfReportPrintAnswer'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>20,
'inputtype'=>'singleselect',
'options'=>array(
......@@ -164,7 +164,7 @@ class pdfReport extends PluginBase {
),
'pdfReportSavedFileName'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>30,
'inputtype'=>'text',
'default'=>'',
......@@ -173,12 +173,12 @@ class pdfReport extends PluginBase {
'placeholder'=>'questioncode',
),
'expression'=>1,
'help'=>$this->_translate('By default usage of the question code. You don\'t have to put the .pdf part.'),
'help'=>$this->_translate('By default usage of the question code. You dont have to put the .pdf part.'),
'caption'=>$this->_translate('Name of saved PDF file.'),
),
'pdfReportSendByEmailMail'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>40,
'inputtype'=>'text',
'default'=>'',
......@@ -189,7 +189,7 @@ class pdfReport extends PluginBase {
),
'pdfReportSendByEmailContent'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>45,
'inputtype'=>'singleselect',//'buttongroup',
'options'=>array(
......@@ -200,36 +200,36 @@ class pdfReport extends PluginBase {
'default'=>'admin_notification',
'i18n'=>false,
'expression'=>1,
'help'=>$this->_translate('This don\'t deactivate limesurvey other email system.'),
'help'=>$this->_translate('This dont deactivate limesurvey other email system.'),
'caption'=>$this->_translate('Content and subject of the email'),
),
'pdfReportSendByEmailAttachment'=>array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>50,
'inputtype'=>'switch',
'default'=>1,
'help'=>$this->_translate('Add attachements on same way than default.'),
'help'=>$this->_translate('Add existing attachements of LimeSurvey.'),
'caption'=>$this->_translate('Add attachements of email'),
),
);
if(Yii::getPathOfAlias("limeMpdf")) {
$pdfReportAttribute['pdfReportPdfGenerator'] = array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>100,
'inputtype'=>'switch',
'default'=>1,
'help'=>$this->_translate('You have limeMpdf plugin allowing more class, but don\'t use pdfreport.css. Then if you need usage of pdfreport.css: you can choose to use old tcpdf system.'),
'help'=>$this->_translate('You have limeMpdf plugin allowing more class, but dont use pdfreport.css. Then if you need usage of pdfreport.css: you can choose to use old tcpdf system.'),
'caption'=>$this->_translate('Use limeMpdf'),
);
$pdfReportAttribute['pdfReportCreateToc'] = array(
'types'=>'|', /* upload question type */
'category'=>$this->_translate('pdf report'),
'category'=>$this->_translate('PDF report'),
'sortorder'=>110,
'inputtype'=>'switch',
'default'=>1,
'help'=>$this->_translate('limeMpdf allow table of content using h1, h2 etc … then adding tiotle in your pdf set a table of contents.'),
'help'=>$this->_translate('Plugin limeMpdf allow table of content using h1, h2 etc … then adding title in your pdf set a table of contents.'),
'caption'=>$this->_translate('Create a PDF table of content'),
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment