Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion landing/api/pro/verify.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const isRateLimited = (clientId) => {
return existing.count > RATE_LIMIT_MAX;
};

module.exports = async (req, res) => {
const handler = async (req, res) => {
if (req.method !== "POST") {
res.status(405).json({ error: "method_not_allowed" });
return;
Expand Down Expand Up @@ -220,3 +220,5 @@ module.exports = async (req, res) => {
});
}
};

export default handler;
9 changes: 9 additions & 0 deletions landing/vercel.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@
}
],
"headers": [
{
"source": "/api/(.*)",
"headers": [
{
"key": "Cache-Control",
"value": "no-store"
}
]
},
{
"source": "/(.*)",
"headers": [
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/ar/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -414,7 +414,9 @@
},
"updateChecks": {
"label": "التحقق من وجود تحديثات",
"description": "التحقق تلقائياً من وجود إصدارات جديدة من Dictx"
"description": "التحقق تلقائياً من وجود إصدارات جديدة من Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "سمة الصوت",
Expand Down Expand Up @@ -501,6 +503,17 @@
"description": "استنتاج عالي الأداء لنموذج التعرف التلقائي على الكلام Whisper من OpenAI",
"details": ".يستخدم Dictx برنامج Whisper.cpp لمعالجة سريعة ومحلية لتحويل الكلام إلى نص. شكراً للعمل الرائع الذي قام به Georgi Gerganov والمساهمون"
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"modelSettings": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/cs/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Kontrolovat aktualizace",
"description": "Automaticky kontrolovat nové verze Dictx"
"description": "Automaticky kontrolovat nové verze Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Zvukový motiv",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Vysoce výkonné inferenční zpracování modelu automatického rozpoznávání řeči Whisper od OpenAI",
"details": "Dictx používá Whisper.cpp pro rychlé lokální zpracování řeči na text. Díky skvělé práci Georgiho Gerganova a přispěvatelů."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/de/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Nach Updates suchen",
"description": "Automatisch nach neuen Versionen von Dictx suchen"
"description": "Automatisch nach neuen Versionen von Dictx suchen",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Sound-Thema",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Hochleistungs-Inferenz des Whisper-Spracherkennungsmodells von OpenAI",
"details": "Dictx verwendet Whisper.cpp für schnelle, lokale Sprach-zu-Text-Verarbeitung. Dank an Georgi Gerganov und die Mitwirkenden für ihre großartige Arbeit."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/es/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Buscar Actualizaciones",
"description": "Buscar automáticamente nuevas versiones de Dictx"
"description": "Buscar automáticamente nuevas versiones de Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Tema de Sonido",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Inferencia de alto rendimiento del modelo de reconocimiento automático de voz Whisper de OpenAI",
"details": "Dictx usa Whisper.cpp para procesamiento de voz a texto rápido y local. Gracias al increíble trabajo de Georgi Gerganov y colaboradores."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/fr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Vérifier les mises à jour",
"description": "Vérifier automatiquement les nouvelles versions de Dictx"
"description": "Vérifier automatiquement les nouvelles versions de Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Thème sonore",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Inférence haute performance du modèle de reconnaissance vocale automatique Whisper d'OpenAI",
"details": "Dictx utilise Whisper.cpp pour un traitement rapide et local de la parole en texte. Merci au travail incroyable de Georgi Gerganov et des contributeurs."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/it/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Controlla aggiornamenti",
"description": "Controlla automaticamente la disponibilità di nuove versioni di Dictx"
"description": "Controlla automaticamente la disponibilità di nuove versioni di Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Tema Sonoro",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Inferenza ad alte prestazioni del modello di riconoscimento vocale automatico Whisper di OpenAI",
"details": "Dictx usa Whisper.cpp per il riconoscimento vocale veloce in locale. Grazie a Georgi Gerganov e collaboratori per il fantastico lavoro."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/ja/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "アップデートを確認",
"description": "Dictxの新しいバージョンを自動的にチェック"
"description": "Dictxの新しいバージョンを自動的にチェック",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "サウンドテーマ",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "OpenAIのWhisper自動音声認識モデルの高性能推論",
"details": "Dictxは高速でローカルな音声からテキストへの変換にWhisper.cppを使用しています。Georgi Gerganov氏と貢献者の皆様の素晴らしい仕事に感謝します。"
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/ko/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "업데이트 확인",
"description": "Dictx의 새 버전을 자동으로 확인합니다"
"description": "Dictx의 새 버전을 자동으로 확인합니다",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "사운드 테마",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "OpenAI의 Whisper 자동 음성 인식 모델의 고성능 추론",
"details": "Dictx는 빠르고 로컬 음성-텍스트 처리를 위해 Whisper.cpp를 사용합니다. Georgi Gerganov와 기여자들의 놀라운 작업에 감사드립니다."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/pl/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Sprawdzaj aktualizacje",
"description": "Automatycznie sprawdzaj nowe wersje Dictx"
"description": "Automatycznie sprawdzaj nowe wersje Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Motyw dźwiękowy",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Wydajne wykonywanie modelu rozpoznawania mowy Whisper od OpenAI",
"details": "Dictx używa Whisper.cpp do szybkiego, lokalnego przetwarzania mowy na tekst. Dzięki niesamowitej pracy Georgi Gerganova i współtwórców."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/pt/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Verificar Atualizações",
"description": "Verificar automaticamente novas versões do Dictx"
"description": "Verificar automaticamente novas versões do Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Tema de Som",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Inferência de alto desempenho do modelo de reconhecimento automático de fala Whisper da OpenAI",
"details": "O Dictx usa Whisper.cpp para processamento rápido e local de fala para texto. Agradecemos ao incrível trabalho de Georgi Gerganov e colaboradores."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/ru/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Проверьте наличие обновлений",
"description": "Автоматически проверять наличие новых версий Dictx"
"description": "Автоматически проверять наличие новых версий Dictx",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Звуковая тема",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "Высокопроизводительный вывод модели автоматического распознавания речи OpenAI Whisper",
"details": "Dictx использует Whisper.cpp для быстрой локальной обработки речи в текст. Спасибо великолепной работе Георгия Герганова и его участников."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
15 changes: 14 additions & 1 deletion src/i18n/locales/tr/translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,9 @@
},
"updateChecks": {
"label": "Güncellemeleri Kontrol Et",
"description": "Dictx için yeni sürümleri otomatik olarak kontrol eder"
"description": "Dictx için yeni sürümleri otomatik olarak kontrol eder",
"proRequired": "Auto-updates are available for active Dictx Pro installations.",
"upgrade": "Activate or Upgrade Pro"
},
"soundTheme": {
"label": "Ses Teması",
Expand Down Expand Up @@ -523,6 +525,17 @@
"description": "OpenAI'nin Whisper otomatik konuşma tanıma modelinin yüksek performanslı çıkarımı",
"details": "Dictx, hızlı ve yerel konuşmadan metne dönüştürme için Whisper.cpp kullanır. Georgi Gerganov ve katkıda bulunanların harika çalışmaları için teşekkür ederiz."
}
},
"proActivation": {
"active": "Dictx Pro is active on this device.",
"inactive": "Dictx Pro is not active. Enter your license key to activate updater entitlement.",
"activate": "Activate Dictx Pro",
"refresh": "Re-check Entitlement",
"clear": "Remove Activation",
"licenseKey": "License Key",
"licenseKeyPlaceholder": "lk_... (or migration key)",
"pasteFromClipboard": "Paste From Clipboard",
"clipboardFailed": "Clipboard access failed. Paste manually."
}
},
"obsidian": {
Expand Down
Loading
Loading