mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 07:23:13 +00:00
PHRAS-3399 update string and test
This commit is contained in:
@@ -13,5 +13,5 @@ module.exports = {
|
||||
setupDir: _root + 'tests/setup/node.js',
|
||||
karmaConf: _root + 'config/karma.conf.js',
|
||||
// change this version when you change JS file for lazy loading
|
||||
jsFileVersion: 12
|
||||
jsFileVersion: 13
|
||||
};
|
||||
|
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=12";
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=13";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@@ -96,7 +96,7 @@ return /******/ (function(modules) { // webpackBootstrap
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=12";
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=13";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
2
Phraseanet-production-client/dist/commons.js
vendored
2
Phraseanet-production-client/dist/commons.js
vendored
@@ -91,7 +91,7 @@
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=12";
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".js?v=13";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@@ -91,7 +91,7 @@
|
||||
/******/ if (__webpack_require__.nc) {
|
||||
/******/ script.setAttribute("nonce", __webpack_require__.nc);
|
||||
/******/ }
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=12";
|
||||
/******/ script.src = __webpack_require__.p + "lazy-" + ({}[chunkId]||chunkId) + ".min.js?v=13";
|
||||
/******/ var timeout = setTimeout(onScriptComplete, 120000);
|
||||
/******/ script.onerror = script.onload = onScriptComplete;
|
||||
/******/ function onScriptComplete() {
|
||||
|
@@ -60676,7 +60676,7 @@ var Feedback = function Feedback(services, options) {
|
||||
};
|
||||
|
||||
if ($el.data('feedback-action') === 'adduser') {
|
||||
buttons[localeService.t('feedbackNotNotify')] = function () {
|
||||
buttons[localeService.t('feedbackSaveNotNotify')] = function () {
|
||||
$dialog.close();
|
||||
|
||||
(0, _jquery2.default)('textarea[name="message"]', $FeedBackForm).val((0, _jquery2.default)('textarea[name="message"]', $dialog.getDomElement()).val());
|
||||
|
@@ -60676,7 +60676,7 @@ var Feedback = function Feedback(services, options) {
|
||||
};
|
||||
|
||||
if ($el.data('feedback-action') === 'adduser') {
|
||||
buttons[localeService.t('feedbackNotNotify')] = function () {
|
||||
buttons[localeService.t('feedbackSaveNotNotify')] = function () {
|
||||
$dialog.close();
|
||||
|
||||
(0, _jquery2.default)('textarea[name="message"]', $FeedBackForm).val((0, _jquery2.default)('textarea[name="message"]', $dialog.getDomElement()).val());
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@@ -250,7 +250,7 @@ const Feedback = function (services, options) {
|
||||
};
|
||||
|
||||
if ($el.data('feedback-action') === 'adduser') {
|
||||
buttons[localeService.t('feedbackNotNotify')] = function () {
|
||||
buttons[localeService.t('feedbackSaveNotNotify')] = function () {
|
||||
$dialog.close();
|
||||
|
||||
$('textarea[name="message"]', $FeedBackForm).val($('textarea[name="message"]', $dialog.getDomElement()).val());
|
||||
|
@@ -60,7 +60,7 @@ class LanguageController
|
||||
'feed_require_feed' => $translator->trans('Vous n\'avez pas selectionne de fil de publication'),
|
||||
'removeTitle' => $translator->trans('panier::Supression d\'un element d\'un reportage'),
|
||||
'removeRecordFeedbackTitle' => $translator->trans('basket:feedback Delete item'),
|
||||
'feedbackNotNotify' => $translator->trans('feedback::send not notify'),
|
||||
'feedbackSaveNotNotify' => $translator->trans('feedback:: save users and users rights'),
|
||||
'feedbackReminderTitle' => $translator->trans('prod::workzone:manual feedback reminder title'),
|
||||
'reminderMessageToCheck' => $translator->trans('prod::workzone:manual feedback reminder provide a message!'),
|
||||
'reminderParticipantToCheck' => $translator->trans('prod::workzone:manual feedback reminder select a participant!'),
|
||||
|
@@ -59,7 +59,7 @@ class PhraseanetExtension extends \Twig_Extension
|
||||
{
|
||||
return [
|
||||
// change this version when you change JS file to force the navigation to reload js file
|
||||
'jsFileVersion' => 12
|
||||
'jsFileVersion' => 13
|
||||
];
|
||||
|
||||
}
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:23Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:01Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
@@ -10459,14 +10459,14 @@
|
||||
<target state="translated">Email Senden ist fehlgeschlagen</target>
|
||||
<jms:reference-file line="42">eventsmanager/notify/downloadmailfail.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="e299f479ac6ef7fbaf35abfda28dfb02a55d65e9" resname="feedback::send not notify">
|
||||
<source>feedback::send not notify</source>
|
||||
<target state="new">feedback::send not notify</target>
|
||||
<trans-unit id="45ce9abf6f4d4799ba448fab1f5bf4ee5c97f247" resname="feedback:: save users and users rights">
|
||||
<source>feedback:: save users and users rights</source>
|
||||
<target state="new">feedback:: save users and users rights</target>
|
||||
<jms:reference-file line="63">Controller/Prod/LanguageController.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="66a94ce4f2f32a753f9444d0b5cc8d0c0ccc5986" resname="feedback::send user to notify">
|
||||
<source>feedback::send user to notify</source>
|
||||
<target state="new">feedback::send user to notify</target>
|
||||
<trans-unit id="421821a2969b522a05589922597017229f3faead" resname="feedback::users to notify">
|
||||
<source>feedback::users to notify</source>
|
||||
<target state="new">feedback::users to notify</target>
|
||||
<jms:reference-file line="140">prod/templates/push.html.twig</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="373fa5153a6c195e99a654c0098e05bfbf38665a" resname="fevrier" approved="yes">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:36Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:13Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
@@ -10462,14 +10462,14 @@
|
||||
<target state="translated">failed to send mail</target>
|
||||
<jms:reference-file line="42">eventsmanager/notify/downloadmailfail.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="e299f479ac6ef7fbaf35abfda28dfb02a55d65e9" resname="feedback::send not notify">
|
||||
<source>feedback::send not notify</source>
|
||||
<target state="new">feedback::send not notify</target>
|
||||
<trans-unit id="45ce9abf6f4d4799ba448fab1f5bf4ee5c97f247" resname="feedback:: save users and users rights">
|
||||
<source>feedback:: save users and users rights</source>
|
||||
<target state="new">feedback:: save users and users rights</target>
|
||||
<jms:reference-file line="63">Controller/Prod/LanguageController.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="66a94ce4f2f32a753f9444d0b5cc8d0c0ccc5986" resname="feedback::send user to notify">
|
||||
<source>feedback::send user to notify</source>
|
||||
<target state="new">feedback::send user to notify</target>
|
||||
<trans-unit id="421821a2969b522a05589922597017229f3faead" resname="feedback::users to notify">
|
||||
<source>feedback::users to notify</source>
|
||||
<target state="new">feedback::users to notify</target>
|
||||
<jms:reference-file line="140">prod/templates/push.html.twig</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="373fa5153a6c195e99a654c0098e05bfbf38665a" resname="fevrier" approved="yes">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:50Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:28Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
@@ -10462,14 +10462,14 @@ Si vous recevez cet e-mail sans l'avoir sollicité, merci de l'ignorer ou de le
|
||||
<target state="translated">Echec de l'envoi d'e-mail</target>
|
||||
<jms:reference-file line="42">eventsmanager/notify/downloadmailfail.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="e299f479ac6ef7fbaf35abfda28dfb02a55d65e9" resname="feedback::send not notify">
|
||||
<source>feedback::send not notify</source>
|
||||
<target state="new">feedback::send not notify</target>
|
||||
<trans-unit id="45ce9abf6f4d4799ba448fab1f5bf4ee5c97f247" resname="feedback:: save users and users rights">
|
||||
<source>feedback:: save users and users rights</source>
|
||||
<target state="new">feedback:: save users and users rights</target>
|
||||
<jms:reference-file line="63">Controller/Prod/LanguageController.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="66a94ce4f2f32a753f9444d0b5cc8d0c0ccc5986" resname="feedback::send user to notify">
|
||||
<source>feedback::send user to notify</source>
|
||||
<target state="new">feedback::send user to notify</target>
|
||||
<trans-unit id="421821a2969b522a05589922597017229f3faead" resname="feedback::users to notify">
|
||||
<source>feedback::users to notify</source>
|
||||
<target state="new">feedback::users to notify</target>
|
||||
<jms:reference-file line="140">prod/templates/push.html.twig</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="373fa5153a6c195e99a654c0098e05bfbf38665a" resname="fevrier" approved="yes">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:14:08Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:45Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
@@ -10469,14 +10469,14 @@
|
||||
<target state="translated">email versturen niet gelukt</target>
|
||||
<jms:reference-file line="42">eventsmanager/notify/downloadmailfail.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="e299f479ac6ef7fbaf35abfda28dfb02a55d65e9" resname="feedback::send not notify">
|
||||
<source>feedback::send not notify</source>
|
||||
<target state="new">feedback::send not notify</target>
|
||||
<trans-unit id="45ce9abf6f4d4799ba448fab1f5bf4ee5c97f247" resname="feedback:: save users and users rights">
|
||||
<source>feedback:: save users and users rights</source>
|
||||
<target state="new">feedback:: save users and users rights</target>
|
||||
<jms:reference-file line="63">Controller/Prod/LanguageController.php</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="66a94ce4f2f32a753f9444d0b5cc8d0c0ccc5986" resname="feedback::send user to notify">
|
||||
<source>feedback::send user to notify</source>
|
||||
<target state="new">feedback::send user to notify</target>
|
||||
<trans-unit id="421821a2969b522a05589922597017229f3faead" resname="feedback::users to notify">
|
||||
<source>feedback::users to notify</source>
|
||||
<target state="new">feedback::users to notify</target>
|
||||
<jms:reference-file line="140">prod/templates/push.html.twig</jms:reference-file>
|
||||
</trans-unit>
|
||||
<trans-unit id="373fa5153a6c195e99a654c0098e05bfbf38665a" resname="fevrier" approved="yes">
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:23Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:01Z" source-language="en" target-language="de" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:36Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:13Z" source-language="en" target-language="en" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:13:50Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:28Z" source-language="en" target-language="fr" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<xliff xmlns="urn:oasis:names:tc:xliff:document:1.2" xmlns:jms="urn:jms:translation" version="1.2">
|
||||
<file date="2021-03-25T13:14:08Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
|
||||
<file date="2021-03-26T07:49:45Z" source-language="en" target-language="nl" datatype="plaintext" original="not.available">
|
||||
<header>
|
||||
<tool tool-id="JMSTranslationBundle" tool-name="JMSTranslationBundle" tool-version="1.1.0-DEV"/>
|
||||
<note>The source node in most cases contains the sample message as written by the developer. If it looks like a dot-delimitted string such as "form.label.firstname", then the developer has not provided a default message.</note>
|
||||
|
@@ -137,7 +137,7 @@
|
||||
<script type="text/template" id="feedback_adduser_sendform_tpl">
|
||||
<form style="margin-bottom: 0;">
|
||||
<div class="control-group email-to-notify">
|
||||
<label style="font-size: 16px;">{% trans %}feedback::send user to notify{% endtrans %}</label>
|
||||
<label style="font-size: 16px;">{% trans %}feedback::users to notify{% endtrans %}</label>
|
||||
<span id="email-to-notify"></span>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
|
@@ -62,6 +62,7 @@ class PushTest extends \PhraseanetAuthenticatedWebTestCase
|
||||
|
||||
self::$DI['client']->request('POST', '/prod/push/validate/', [
|
||||
'lst' => implode(';', $records),
|
||||
'notify' => 1,
|
||||
'participants' => [[
|
||||
'usr_id' => self::$DI['user_alt1']->getId(),
|
||||
'agree' => 0,
|
||||
|
Reference in New Issue
Block a user