@ -941,32 +941,6 @@ define([
return ;
} ;
Messages . admin _cat _broadcast = "Broadcast" ; // XXX
Messages . admin _maintenanceTitle = "Maintenance" ; // XXX
Messages . admin _maintenanceHint = "Plan, remove or update a maintenance. You can only have one active maintenance at a time." ; // XXX
Messages . admin _maintenanceButton = "Plan maintenance" ; // XXX
Messages . admin _maintenanceCancel = "Cancel planned maintenance" ; // XXX
Messages . broadcast _start = 'Start time' ;
Messages . broadcast _end = 'End time' ;
Messages . admin _surveyTitle = "Survey" ; // XXX
Messages . admin _surveyHint = "Add, update or remove the active survey accessible from the user menu" ; // XXX
Messages . admin _surveyButton = "Apply survey" ; // XXX
Messages . admin _surveyCancel = "Cancel active survey" ; // XXX
Messages . admin _surveyActive = "View the active survey" ; // XXX
Messages . broadcast _surveyURL = 'Survey URL' ;
Messages . admin _broadcastTitle = "Broadcast a message" ; // XXX
Messages . admin _broadcastHint = "Send a message to all the existing and future users as a notification" ; // XXX
Messages . admin _broadcastButton = "Send" ; // XXX
Messages . admin _broadcastActive = "Active message" ; // XXX
Messages . admin _broadcastCancel = "Delete active message" ; // XXX
Messages . broadcast _translations = 'Translations' ;
Messages . broadcast _defaultLanguage = 'Fallback to this language' ;
Messages . broadcast _preview = "Preview in a fake notification" ;
var getApi = function ( cb ) {
return function ( ) {
require ( [ '/api/broadcast?' + ( + new Date ( ) ) ] , function ( Broadcast ) {
@ -1321,8 +1295,7 @@ define([
var end = h ( 'input' ) ;
var $start = $ ( start ) ;
var $end = $ ( end ) ;
// XXX new Date().toLocaleString('fr-fr', {month: 'long'}).replace(/./, c => c.toUpperCase())
var endPickr = Flatpickr ( end , { // XXX translations?
var endPickr = Flatpickr ( end , {
enableTime : true ,
minDate : new Date ( )
} ) ;