copy: e-mails and notes without "a gente", "é só" or em dashes
Order and account e-mails say who acts ("Conferimos a arte"), the test
e-mail is one sentence, the machine alerts and Prumo lines use a colon,
and the default video title matches the Site.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -205,7 +205,7 @@ def alerts(c, machine_id):
|
||||
'snoozable': bool, 'blocking': bool}. blocking is False when it was
|
||||
postponed this cycle and no card was pulled on the machine since.
|
||||
Texts, with metres in one decimal and a comma:
|
||||
clean "<máquina>: 10,4 m desde a última limpeza — limpe antes do próximo arquivo"
|
||||
clean "<máquina>: 10,4 m desde a última limpeza: limpe antes do próximo arquivo"
|
||||
align "<máquina>: 19,8 m desde a troca de filme — alinhe a cabeça antes do próximo"
|
||||
supply "<label minúsculo> da <máquina> deve acabar em ~3 m" (e.g. "tinta branca da máquina2 deve acabar em ~3,0 m")
|
||||
"""
|
||||
@@ -236,11 +236,11 @@ def alerts(c, machine_id):
|
||||
|
||||
if counts['clean']['metres'] >= CLEAN_EVERY_METRES:
|
||||
due('clean', f"{name}: {one_decimal(counts['clean']['metres'])} m desde a última limpeza "
|
||||
'— limpe antes do próximo arquivo', counts['clean']['since'])
|
||||
': limpe antes do próximo arquivo', counts['clean']['since'])
|
||||
if (counts['film']['since'] is not None and not counts['film']['aligned']
|
||||
and counts['film']['metres'] >= ALIGN_AFTER_FILM_METRES):
|
||||
due('align', f"{name}: {one_decimal(counts['film']['metres'])} m desde a troca de filme "
|
||||
'— alinhe a cabeça antes do próximo', counts['film']['since'])
|
||||
': alinhe a cabeça antes do próximo', counts['film']['since'])
|
||||
for item, value in supplies.items():
|
||||
if not supply_low(value):
|
||||
continue
|
||||
|
||||
Reference in New Issue
Block a user