Translations

merge-requests/30/head
Bob Mottram 2024-02-15 21:36:32 +00:00
parent 292bf99f66
commit 7626f6eaf1
28 changed files with 89 additions and 36 deletions

View File

@ -1008,14 +1008,15 @@ class PubServer(BaseHTTPRequestHandler):
self._http_return_code(401, 'Unauthorized', self._http_return_code(401, 'Unauthorized',
post_msg, None) post_msg, None)
def _402(self, post_msg: str) -> None: def _402(self) -> None:
if self.server.translate: if self.server.translate:
ok_str = self.server.translate[post_msg] text = self.server.translate["It's time to splash that cash"]
self._http_return_code(402, self.server.translate['Unauthorized'], self._http_return_code(402,
ok_str, None) self.server.translate['Payment required'],
text, None)
else: else:
self._http_return_code(402, 'Unauthorized', text = "It's time to splash that cash"
post_msg, None) self._http_return_code(402, 'Payment required', text, None)
def _201(self, etag: str) -> None: def _201(self, etag: str) -> None:
if self.server.translate: if self.server.translate:
@ -17552,9 +17553,7 @@ class PubServer(BaseHTTPRequestHandler):
if self.headers['Server'] in corp_servers(): if self.headers['Server'] in corp_servers():
if self.server.debug: if self.server.debug:
print('Corporate leech bounced: ' + self.headers['Server']) print('Corporate leech bounced: ' + self.headers['Server'])
self._402("If you are a BigTech corp trying to steal " + self._402()
"data then it's time to see the color of " +
"your money")
return return
if self.headers.get('Host'): if self.headers.get('Host'):

View File

@ -657,5 +657,7 @@
"Birthday": "عيد ميلاد", "Birthday": "عيد ميلاد",
"Only show reminders": "عرض التذكيرات فقط", "Only show reminders": "عرض التذكيرات فقط",
"Show all events": "عرض كافة الأحداث", "Show all events": "عرض كافة الأحداث",
"Blocking API endpoints": "حظر نقاط نهاية API" "Blocking API endpoints": "حظر نقاط نهاية API",
"Payment required": "الدفع مطلوب",
"It's time to splash that cash": "لقد حان الوقت لصرف هذه الأموال"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "জন্মদিন", "Birthday": "জন্মদিন",
"Only show reminders": "শুধুমাত্র অনুস্মারক দেখান", "Only show reminders": "শুধুমাত্র অনুস্মারক দেখান",
"Show all events": "সমস্ত ঘটনা দেখান", "Show all events": "সমস্ত ঘটনা দেখান",
"Blocking API endpoints": "এপিআই এন্ডপয়েন্ট ব্লক করা" "Blocking API endpoints": "এপিআই এন্ডপয়েন্ট ব্লক করা",
"Payment required": "অর্থপ্রদান আবশ্যক",
"It's time to splash that cash": "এটা যে নগদ স্প্ল্যাশ সময়"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Aniversari", "Birthday": "Aniversari",
"Only show reminders": "Mostra només recordatoris", "Only show reminders": "Mostra només recordatoris",
"Show all events": "Mostra tots els esdeveniments", "Show all events": "Mostra tots els esdeveniments",
"Blocking API endpoints": "Bloqueig de punts finals de l'API" "Blocking API endpoints": "Bloqueig de punts finals de l'API",
"Payment required": "Cal pagar",
"It's time to splash that cash": "És hora d'esquitxar aquests diners en efectiu"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Penblwydd", "Birthday": "Penblwydd",
"Only show reminders": "Dangoswch nodiadau atgoffa yn unig", "Only show reminders": "Dangoswch nodiadau atgoffa yn unig",
"Show all events": "Dangos pob digwyddiad", "Show all events": "Dangos pob digwyddiad",
"Blocking API endpoints": "Rhwystro pwyntiau terfyn API" "Blocking API endpoints": "Rhwystro pwyntiau terfyn API",
"Payment required": "Angen taliad",
"It's time to splash that cash": "Mae'n bryd tasgu'r arian hwnnw"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Geburtstag", "Birthday": "Geburtstag",
"Only show reminders": "Nur Erinnerungen anzeigen", "Only show reminders": "Nur Erinnerungen anzeigen",
"Show all events": "Alle Veranstaltungen anzeigen", "Show all events": "Alle Veranstaltungen anzeigen",
"Blocking API endpoints": "Blockieren von API-Endpunkten" "Blocking API endpoints": "Blockieren von API-Endpunkten",
"Payment required": "Bezahlung erforderlich",
"It's time to splash that cash": "Es ist Zeit, das Geld auszugeben"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Γενέθλια", "Birthday": "Γενέθλια",
"Only show reminders": "Εμφάνιση μόνο υπενθυμίσεων", "Only show reminders": "Εμφάνιση μόνο υπενθυμίσεων",
"Show all events": "Εμφάνιση όλων των συμβάντων", "Show all events": "Εμφάνιση όλων των συμβάντων",
"Blocking API endpoints": "Αποκλεισμός τελικών σημείων API" "Blocking API endpoints": "Αποκλεισμός τελικών σημείων API",
"Payment required": "Απαιτείται πληρωμή",
"It's time to splash that cash": "Ήρθε η ώρα να ρίξετε αυτά τα μετρητά"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Birthday", "Birthday": "Birthday",
"Only show reminders": "Only show reminders", "Only show reminders": "Only show reminders",
"Show all events": "Show all events", "Show all events": "Show all events",
"Blocking API endpoints": "Blocking API endpoints" "Blocking API endpoints": "Blocking API endpoints",
"Payment required": "Payment required",
"It's time to splash that cash": "It's time to splash that cash"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Cumpleaños", "Birthday": "Cumpleaños",
"Only show reminders": "Mostrar solo recordatorios", "Only show reminders": "Mostrar solo recordatorios",
"Show all events": "Mostrar todos los eventos", "Show all events": "Mostrar todos los eventos",
"Blocking API endpoints": "Bloqueo de puntos finales de API" "Blocking API endpoints": "Bloqueo de puntos finales de API",
"Payment required": "Pago requerido",
"It's time to splash that cash": "Es hora de gastar ese dinero"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "روز تولد", "Birthday": "روز تولد",
"Only show reminders": "فقط یادآوری ها را نشان دهید", "Only show reminders": "فقط یادآوری ها را نشان دهید",
"Show all events": "نمایش همه رویدادها", "Show all events": "نمایش همه رویدادها",
"Blocking API endpoints": "مسدود کردن نقاط پایانی API" "Blocking API endpoints": "مسدود کردن نقاط پایانی API",
"Payment required": "مستلزم پرداخت",
"It's time to splash that cash": "وقت آن است که آن پول نقد را بپاشیم"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Anniversaire", "Birthday": "Anniversaire",
"Only show reminders": "Afficher uniquement les rappels", "Only show reminders": "Afficher uniquement les rappels",
"Show all events": "Afficher tous les événements", "Show all events": "Afficher tous les événements",
"Blocking API endpoints": "Blocage des points de terminaison de l'API" "Blocking API endpoints": "Blocage des points de terminaison de l'API",
"Payment required": "Paiement Requis",
"It's time to splash that cash": "Il est temps de dépenser cet argent"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Breithlá", "Birthday": "Breithlá",
"Only show reminders": "Ná taispeáin ach meabhrúcháin", "Only show reminders": "Ná taispeáin ach meabhrúcháin",
"Show all events": "Taispeáin gach imeacht", "Show all events": "Taispeáin gach imeacht",
"Blocking API endpoints": "Ag cur bac ar chríochphointí API" "Blocking API endpoints": "Ag cur bac ar chríochphointí API",
"Payment required": "Íocaíocht ag teastáil",
"It's time to splash that cash": "Tá sé in am an t-airgead sin a splancadh"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "יום הולדת", "Birthday": "יום הולדת",
"Only show reminders": "הצג רק תזכורות", "Only show reminders": "הצג רק תזכורות",
"Show all events": "הצג את כל האירועים", "Show all events": "הצג את כל האירועים",
"Blocking API endpoints": "חסימת נקודות קצה של API" "Blocking API endpoints": "חסימת נקודות קצה של API",
"Payment required": "נדרש תשלום",
"It's time to splash that cash": "הגיע הזמן להתיז את המזומנים האלה"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "जन्मदिन", "Birthday": "जन्मदिन",
"Only show reminders": "केवल अनुस्मारक दिखाएँ", "Only show reminders": "केवल अनुस्मारक दिखाएँ",
"Show all events": "सभी घटनाएँ दिखाएँ", "Show all events": "सभी घटनाएँ दिखाएँ",
"Blocking API endpoints": "एपीआई समापनबिंदुओं को अवरुद्ध करना" "Blocking API endpoints": "एपीआई समापनबिंदुओं को अवरुद्ध करना",
"Payment required": "भुगतान की आवश्यकता है",
"It's time to splash that cash": "अब उस नकदी को बिखेरने का समय आ गया है"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Compleanno", "Birthday": "Compleanno",
"Only show reminders": "Mostra solo promemoria", "Only show reminders": "Mostra solo promemoria",
"Show all events": "Mostra tutti gli eventi", "Show all events": "Mostra tutti gli eventi",
"Blocking API endpoints": "Blocco degli endpoint API" "Blocking API endpoints": "Blocco degli endpoint API",
"Payment required": "Pagamento richiesto",
"It's time to splash that cash": "È ora di spendere quei soldi"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "誕生日", "Birthday": "誕生日",
"Only show reminders": "リマインダーのみを表示", "Only show reminders": "リマインダーのみを表示",
"Show all events": "すべてのイベントを表示", "Show all events": "すべてのイベントを表示",
"Blocking API endpoints": "APIエンドポイントのブロック" "Blocking API endpoints": "APIエンドポイントのブロック",
"Payment required": "支払いが必要",
"It's time to splash that cash": "お金を投じる時が来ました"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "생일", "Birthday": "생일",
"Only show reminders": "알림만 표시", "Only show reminders": "알림만 표시",
"Show all events": "모든 이벤트 표시", "Show all events": "모든 이벤트 표시",
"Blocking API endpoints": "API 엔드포인트 차단" "Blocking API endpoints": "API 엔드포인트 차단",
"Payment required": "결제 필요",
"It's time to splash that cash": "이제 그 현금을 쏟아부을 시간이다"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Rojbûn", "Birthday": "Rojbûn",
"Only show reminders": "Tenê bîranînan nîşan bidin", "Only show reminders": "Tenê bîranînan nîşan bidin",
"Show all events": "Hemî bûyeran nîşan bide", "Show all events": "Hemî bûyeran nîşan bide",
"Blocking API endpoints": "Astengkirina xalên dawiya API-ê" "Blocking API endpoints": "Astengkirina xalên dawiya API-ê",
"Payment required": "Payment pêwîst",
"It's time to splash that cash": "Wext e ku meriv wê drav birijîne"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Verjaardag", "Birthday": "Verjaardag",
"Only show reminders": "Toon alleen herinneringen", "Only show reminders": "Toon alleen herinneringen",
"Show all events": "Toon alle evenementen", "Show all events": "Toon alle evenementen",
"Blocking API endpoints": "API-eindpunten blokkeren" "Blocking API endpoints": "API-eindpunten blokkeren",
"Payment required": "Betaling Vereist",
"It's time to splash that cash": "Het is tijd om met dat geld te spetteren"
} }

View File

@ -653,5 +653,7 @@
"Birthday": "Birthday", "Birthday": "Birthday",
"Only show reminders": "Only show reminders", "Only show reminders": "Only show reminders",
"Show all events": "Show all events", "Show all events": "Show all events",
"Blocking API endpoints": "Blocking API endpoints" "Blocking API endpoints": "Blocking API endpoints",
"Payment required": "Payment required",
"It's time to splash that cash": "It's time to splash that cash"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Urodziny", "Birthday": "Urodziny",
"Only show reminders": "Pokazuj tylko przypomnienia", "Only show reminders": "Pokazuj tylko przypomnienia",
"Show all events": "Pokaż wszystkie wydarzenia", "Show all events": "Pokaż wszystkie wydarzenia",
"Blocking API endpoints": "Blokowanie punktów końcowych API" "Blocking API endpoints": "Blokowanie punktów końcowych API",
"Payment required": "Płatność wymagana",
"It's time to splash that cash": "Czas przelać tę kasę"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Aniversário", "Birthday": "Aniversário",
"Only show reminders": "Mostrar apenas lembretes", "Only show reminders": "Mostrar apenas lembretes",
"Show all events": "Mostrar todos os eventos", "Show all events": "Mostrar todos os eventos",
"Blocking API endpoints": "Bloqueio de endpoints de API" "Blocking API endpoints": "Bloqueio de endpoints de API",
"Payment required": "Pagamento Requerido",
"It's time to splash that cash": "É hora de gastar esse dinheiro"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "День рождения", "Birthday": "День рождения",
"Only show reminders": "Показывать только напоминания", "Only show reminders": "Показывать только напоминания",
"Show all events": "Показать все события", "Show all events": "Показать все события",
"Blocking API endpoints": "Блокировка конечных точек API" "Blocking API endpoints": "Блокировка конечных точек API",
"Payment required": "Требуется оплата",
"It's time to splash that cash": "Пришло время выплеснуть эти деньги"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Siku ya kuzaliwa", "Birthday": "Siku ya kuzaliwa",
"Only show reminders": "Onyesha vikumbusho pekee", "Only show reminders": "Onyesha vikumbusho pekee",
"Show all events": "Onyesha matukio yote", "Show all events": "Onyesha matukio yote",
"Blocking API endpoints": "Inazuia miisho ya API" "Blocking API endpoints": "Inazuia miisho ya API",
"Payment required": "Malipo yanahitajika",
"It's time to splash that cash": "Ni wakati wa kunyunyiza pesa hizo"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "Doğum günü", "Birthday": "Doğum günü",
"Only show reminders": "Yalnızca hatırlatıcıları göster", "Only show reminders": "Yalnızca hatırlatıcıları göster",
"Show all events": "Tüm etkinlikleri göster", "Show all events": "Tüm etkinlikleri göster",
"Blocking API endpoints": "API uç noktalarını engelleme" "Blocking API endpoints": "API uç noktalarını engelleme",
"Payment required": "Ödeme gerekli",
"It's time to splash that cash": "O parayı sıçratmanın zamanı geldi"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "день народження", "Birthday": "день народження",
"Only show reminders": "Показувати лише нагадування", "Only show reminders": "Показувати лише нагадування",
"Show all events": "Показати всі події", "Show all events": "Показати всі події",
"Blocking API endpoints": "Блокування кінцевих точок API" "Blocking API endpoints": "Блокування кінцевих точок API",
"Payment required": "Потрібна оплата",
"It's time to splash that cash": "Настав час виплеснути ці гроші"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "דיין געבורסטאָג", "Birthday": "דיין געבורסטאָג",
"Only show reminders": "בלויז ווייַזן רימיינדערז", "Only show reminders": "בלויז ווייַזן רימיינדערז",
"Show all events": "ווייַזן אַלע געשעענישן", "Show all events": "ווייַזן אַלע געשעענישן",
"Blocking API endpoints": "בלאַקינג אַפּי ענדפּאָינץ" "Blocking API endpoints": "בלאַקינג אַפּי ענדפּאָינץ",
"Payment required": "צאָלונג פארלאנגט",
"It's time to splash that cash": "עס איז צייט צו שפּריצן די געלט"
} }

View File

@ -657,5 +657,7 @@
"Birthday": "生日", "Birthday": "生日",
"Only show reminders": "只显示提醒", "Only show reminders": "只显示提醒",
"Show all events": "显示所有活动", "Show all events": "显示所有活动",
"Blocking API endpoints": "阻止 API 端点" "Blocking API endpoints": "阻止 API 端点",
"Payment required": "需要付款",
"It's time to splash that cash": "是时候挥霍现金了"
} }