mooncak397 Claude Opus 5.5 commited on
Commit ·
e426128
1
Parent(s): 8980248
texts: ADR-010 fixed texts (EMPTY, TOO_LONG, BUSY, SESSION_LIMIT, ADDR/LINK_REMOVED)
Browse files- app/texts.py +26 -0
app/texts.py
CHANGED
|
@@ -12,3 +12,29 @@ FORM_INTRO = {
|
|
| 12 |
"en": "Happy to help. Please use the contact form below to send Christopher a message.",
|
| 13 |
"de": "Gern. Bitte nutzen Sie das Kontaktformular unten, um Christopher eine Nachricht zu senden.",
|
| 14 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
"en": "Happy to help. Please use the contact form below to send Christopher a message.",
|
| 13 |
"de": "Gern. Bitte nutzen Sie das Kontaktformular unten, um Christopher eine Nachricht zu senden.",
|
| 14 |
}
|
| 15 |
+
|
| 16 |
+
# ADR-010: code-chosen texts for the entry, error and scrub paths. ASCII only.
|
| 17 |
+
EMPTY = {
|
| 18 |
+
"en": "Please type a question about Christopher's professional background.",
|
| 19 |
+
"de": "Bitte schreiben Sie eine Frage zum beruflichen Hintergrund von Christopher.",
|
| 20 |
+
}
|
| 21 |
+
|
| 22 |
+
TOO_LONG = {
|
| 23 |
+
"en": "Your message is too long. Please keep it under 1,000 characters.",
|
| 24 |
+
"de": "Ihre Nachricht ist zu lang. Bitte schreiben Sie weniger als 1000 Zeichen.",
|
| 25 |
+
}
|
| 26 |
+
|
| 27 |
+
BUSY = {
|
| 28 |
+
"en": "The assistant is busy right now. Please try again in a minute, or use the contact form.",
|
| 29 |
+
"de": "Der Assistent ist gerade ausgelastet. Bitte versuchen Sie es in einer Minute noch einmal, "
|
| 30 |
+
"oder nutzen Sie das Kontaktformular.",
|
| 31 |
+
}
|
| 32 |
+
|
| 33 |
+
SESSION_LIMIT = {
|
| 34 |
+
"en": "This chat has reached its limit. Please reload the page to start a new chat, or use the contact form.",
|
| 35 |
+
"de": "Dieser Chat hat sein Limit erreicht. Bitte laden Sie die Seite neu, oder nutzen Sie das Kontaktformular.",
|
| 36 |
+
}
|
| 37 |
+
|
| 38 |
+
ADDR_REMOVED = {"en": "(address removed)", "de": "(Adresse entfernt)"}
|
| 39 |
+
|
| 40 |
+
LINK_REMOVED = {"en": "(link removed)", "de": "(Link entfernt)"}
|