misc: s/Au Quotidien/Publik/ in sources (#7179)
This commit is contained in:
parent
26f854b43f
commit
08a4543c3e
|
@ -23,10 +23,10 @@ from abelium_domino_ui import AbeliumDominoDirectory
|
|||
class AdminRootDirectory(wcs.admin.root.RootDirectory):
|
||||
def __init__(self):
|
||||
self._q_exports = wcs.admin.root.RootDirectory._q_exports
|
||||
self.menu_items[-1] = ('/', N_('Au Quotidien'))
|
||||
self.menu_items[-1] = ('/', N_('Publik'))
|
||||
|
||||
def get_intro_text(self):
|
||||
return _('Welcome on Au Quotidien administration interface')
|
||||
return _('Welcome on Publik administration interface')
|
||||
|
||||
|
||||
class PanelDirectory(Directory):
|
||||
|
|
|
@ -198,7 +198,7 @@ class AgendaDirectory(Directory):
|
|||
xmldoc = pyatom.XMLDoc()
|
||||
feed = pyatom.Feed()
|
||||
xmldoc.root_element = feed
|
||||
feed.title = get_cfg('misc', {}).get('sitename', 'Au Quotidien') + ' - ' + _('Agenda')
|
||||
feed.title = get_cfg('misc', {}).get('sitename', 'Publik') + ' - ' + _('Agenda')
|
||||
feed.id = get_request().get_url()
|
||||
|
||||
author_email = get_cfg('emails', {}).get('reply_to')
|
||||
|
|
|
@ -16,7 +16,7 @@ from qommon.form import *
|
|||
|
||||
class BackofficeRootDirectory(wcs.backoffice.root.RootDirectory):
|
||||
def get_intro_text(self):
|
||||
return _('Welcome on Au Quotidien back office interface')
|
||||
return _('Welcome on Publik back office interface')
|
||||
|
||||
def _q_index(self):
|
||||
if len(self.get_menu_items()) == 1:
|
||||
|
|
|
@ -143,7 +143,7 @@ def form_download_event(self):
|
|||
if not isinstance(p, AppointmentPart):
|
||||
continue
|
||||
cal = vobject.iCalendar()
|
||||
cal.add('prodid').value = '-//Entr\'ouvert//NON SGML Au Quotidien'
|
||||
cal.add('prodid').value = '-//Entr\'ouvert//NON SGML Publik'
|
||||
vevent = vobject.newFromBehavior('vevent')
|
||||
vevent.add('uid').value = 'clicrdv-%s' % p.id
|
||||
vevent.add('summary').value = p.json_dict.get('group_name')
|
||||
|
@ -256,7 +256,7 @@ class ClicRdvCreateAppointment(WorkflowStatusItem):
|
|||
'date': args.get('var_datetime'),
|
||||
'intervention_ids': [int(args.get('var_intervention_id'))],
|
||||
# 'comments': '-',
|
||||
'websource': 'Au Quotidien'}
|
||||
'websource': 'Publik'}
|
||||
}
|
||||
|
||||
req = get_clicrdv_req('appointments')
|
||||
|
|
|
@ -99,7 +99,7 @@ class Event(StorableObject):
|
|||
|
||||
def as_vcalendar(cls):
|
||||
cal = vobject.iCalendar()
|
||||
cal.add('prodid').value = '-//Entr\'ouvert//NON SGML Au Quotidien'
|
||||
cal.add('prodid').value = '-//Entr\'ouvert//NON SGML Publik'
|
||||
for x in cls.select():
|
||||
cal.add(x.as_vevent())
|
||||
return cal.serialize()
|
||||
|
|
|
@ -547,7 +547,7 @@ class AnnouncesDirectory(Directory):
|
|||
xmldoc = pyatom.XMLDoc()
|
||||
feed = pyatom.Feed()
|
||||
xmldoc.root_element = feed
|
||||
feed.title = get_cfg('misc', {}).get('sitename') or 'Au Quotidien'
|
||||
feed.title = get_cfg('misc', {}).get('sitename') or 'Publik'
|
||||
feed.id = get_request().get_url()
|
||||
|
||||
author_email = get_cfg('emails', {}).get('reply_to')
|
||||
|
|
Reference in New Issue