Skip to content

Commit

Permalink
💄 style: add PWA install and metadata & ld generate (#2438)
Browse files Browse the repository at this point in the history
* ✨ feat: Add PWA install button

* 🐛 fix: Fix review problem

* 🐛 fix: Fix review problem

* 🔧 chore: Update i18n

* 🔧 chore: Update metadata

* 🐛 fix: Fix preview problem

* 🐛 fix: Fix title

* 🔧 chore: Update pwa i18n
  • Loading branch information
canisminor1990 committed May 13, 2024
1 parent db81d9f commit 6e9c69a
Show file tree
Hide file tree
Showing 119 changed files with 1,315 additions and 424 deletions.
1 change: 1 addition & 0 deletions locales/ar/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"title": "استيراد البيانات"
},
"installPWA": "تثبيت تطبيق المتصفح",
"lang": {
"ar": "العربية",
"bg-BG": "البلغارية",
Expand Down
18 changes: 18 additions & 0 deletions locales/ar/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "تقدم LobeChat أفضل تجربة استخدام لـ ChatGPT و OLLaMA و Gemini و Claude WebUI",
"title": "LobeChat: أداة أداء شخصية LLM، لتمنح نفسك عقلًا أكثر ذكاءً"
},
"market": {
"description": "إنشاء محتوى، كتابة نصوص، إجابة على الأسئلة، إنشاء صور، إنشاء فيديو، إنشاء صوت، وكيل ذكاء اصطناعي، سير عمل تلقائي، قم بتخصيص مساعد ذكاء اصطناعي / GPTs / OLLaMA الخاص بك",
"title": "سوق المساعدين"
},
"plugins": {
"description": "البحث، إنشاء رسوم بيانية، أكاديمي، إنشاء صور، إنشاء فيديو، إنشاء صوت، سير عمل تلقائي، قم بتخصيص قدرات الإضافات الخاصة بـ ChatGPT / OLLaMA",
"title": "سوق الإضافات"
},
"welcome": {
"description": "تقدم LobeChat أفضل تجربة استخدام لـ ChatGPT و OLLaMA و Gemini و Claude WebUI",
"title": "مرحبًا بك في استخدام LobeChat: أداة أداء شخصية LLM، لتمنح نفسك عقلًا أكثر ذكاءً"
}
}
11 changes: 5 additions & 6 deletions locales/ar/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "استدعاء الدالة",
"off": "إيقاف التصحيح",
"on": "عرض معلومات استدعاء البرنامج المساعد",
"response": "الرد"
"payload": "حمولة البرنامج المساعد",
"response": "الرد",
"tool_call": "طلب استدعاء الأداة"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "جاري تشغيل الإضافة..."
},
"pluginList": "قائمة الإضافات",
"plugins": {
"loading": "جاري فحص الأدوات...",
"unknown": "أداة غير معروفة"
},
"setting": "إعدادات الإضافة",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "مثبتة"
},
"title": "متجر الإضافات"
}
},
"unknownPlugin": "البرنامج المساعد غير معروف"
}
3 changes: 2 additions & 1 deletion locales/ar/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"downloading": "صلاحية روابط الصور المُولَّدة بواسطة DallE3 تدوم ساعة واحدة فقط، يتم تحميل الصور إلى الجهاز المحلي...",
"generate": "توليد",
"generating": "جارٍ التوليد...",
"images": "الصور:"
"images": "الصور:",
"prompt": "كلمة تلميح"
}
}
1 change: 1 addition & 0 deletions locales/bg-BG/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"title": "Импортирай данни"
},
"installPWA": "Инсталиране на PWA",
"lang": {
"ar": "Арабски",
"bg-BG": "български",
Expand Down
18 changes: 18 additions & 0 deletions locales/bg-BG/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "LobeChat предлага най-доброто използване на ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "LobeChat: Личен инструмент за ефективност на LLM, даващ по-умен мозък"
},
"market": {
"description": "Създаване на съдържание, копирайтинг, въпроси и отговори, генериране на изображения, генериране на видео, генериране на глас, интелигентен агент, автоматизирани работни процеси, персонализирайте си собствения AI / GPTs / OLLaMA интелигентен асистент",
"title": "Пазар на асистенти"
},
"plugins": {
"description": "Търсене, генериране на диаграми, академични изследвания, генериране на изображения, генериране на видео, генериране на глас, автоматизирани работни процеси, персонализирайте си собствените способности на ChatGPT / OLLaMA с инструментите на ToolCall",
"title": "Пазар на добавки"
},
"welcome": {
"description": "LobeChat предлага най-доброто използване на ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "Добре дошли в LobeChat: Личен инструмент за ефективност на LLM, даващ по-умен мозък"
}
}
11 changes: 5 additions & 6 deletions locales/bg-BG/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "Извикване на функция",
"off": "Изключи отстраняване на грешки",
"on": "Преглед на информацията за извикване на плъгина",
"response": "Отговор"
"payload": "полезна натоварване",
"response": "Отговор",
"tool_call": "заявка за инструмент"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "Плъгинът работи..."
},
"pluginList": "Списък с плъгини",
"plugins": {
"loading": "Откриване на плъгини...",
"unknown": "Неизвестен плъгин"
},
"setting": "Настройки на плъгина",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "Инсталирани"
},
"title": "Магазин за плъгини"
}
},
"unknownPlugin": "Неизвестен плъгин"
}
3 changes: 2 additions & 1 deletion locales/bg-BG/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"downloading": "Връзките към изображенията, генерирани от DALL·E3, са валидни само за 1 час, кеширане на изображенията локално...",
"generate": "Генерирай",
"generating": "Генериране...",
"images": "Изображения:"
"images": "Изображения:",
"prompt": "подсказка"
}
}
1 change: 1 addition & 0 deletions locales/de-DE/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"title": "Daten importieren"
},
"installPWA": "Installiere die Browser-App",
"lang": {
"ar": "Arabisch",
"bg-BG": "Bulgarisch",
Expand Down
18 changes: 18 additions & 0 deletions locales/de-DE/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "LobeChat bietet Ihnen das beste ChatGPT-, OLLaMA-, Gemini- und Claude-WebUI-Nutzererlebnis.",
"title": "LobeChat: Persönliches LLM-Produktivitätstool, um deinem Gehirn mehr Intelligenz zu verleihen"
},
"market": {
"description": "Inhalts-Erstellung, Copywriting, Fragen & Antworten, Bildgenerierung, Videogenerierung, Sprachgenerierung, intelligente Agenten, Automatisierungs-Workflows - gestalten Sie Ihren eigenen AI / GPTs / OLLaMA intelligenten Assistenten",
"title": "Assistentenmarkt"
},
"plugins": {
"description": "Suche, Diagrammerstellung, Akademisch, Bildgenerierung, Videogenerierung, Sprachgenerierung, Automatisierungs-Workflows - passen Sie die exklusiven ToolCall-Plugin-Fähigkeiten für ChatGPT / OLLaMA an",
"title": "Plugin-Markt"
},
"welcome": {
"description": "LobeChat bietet Ihnen das beste ChatGPT-, OLLaMA-, Gemini- und Claude-WebUI-Nutzererlebnis.",
"title": "Willkommen bei LobeChat: Persönliches LLM-Produktivitätstool, um deinem Gehirn mehr Intelligenz zu verleihen"
}
}
11 changes: 5 additions & 6 deletions locales/de-DE/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "Funktionsaufruf",
"off": "Debugging deaktivieren",
"on": "Plugin-Aufrufinformationen anzeigen",
"response": "Antwort"
"payload": "Plugin-Payload",
"response": "Antwort",
"tool_call": "Tool Call Request"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "Plugin wird ausgeführt..."
},
"pluginList": "Plugin-Liste",
"plugins": {
"loading": "Plugins werden überprüft...",
"unknown": "Unbekanntes Plugin"
},
"setting": "Plugin-Einstellung",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "Installiert"
},
"title": "Plugin-Shop"
}
},
"unknownPlugin": "Unbekanntes Plugin"
}
3 changes: 2 additions & 1 deletion locales/de-DE/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"downloading": "Die von DallE3 generierten Bildlinks sind nur 1 Stunde lang gültig. Das Bild wird lokal zwischengespeichert...",
"generate": "Generieren",
"generating": "Generiert",
"images": "Bilder:"
"images": "Bilder:",
"prompt": "Hinweiswort"
}
}
3 changes: 2 additions & 1 deletion locales/en-US/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"copySuccess": "Copied successfully",
"dataStatistics": {
"messages": "Messages",
"sessions": "Assistants",
"sessions": "Agents",
"today": "Today's New",
"topics": "Topics"
},
Expand Down Expand Up @@ -58,6 +58,7 @@
},
"title": "Import Data"
},
"installPWA": "Install browser app",
"lang": {
"ar": "Arabic",
"bg-BG": "Bulgarian",
Expand Down
18 changes: 18 additions & 0 deletions locales/en-US/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "LobeChat offers you the best ChatGPT, OLLaMA, Gemini, Claude WebUI user experience",
"title": "LobeChat: Personal LLM Productivity Tool, Give Yourself a Smarter Brain"
},
"market": {
"description": "Content creation, copywriting, Q&A, image generation, video generation, voice generation, smart agents, automation workflows, customize your own AI / GPTs / OLLaMA intelligent agent",
"title": "Agent Market"
},
"plugins": {
"description": "Search, chart generation, academic, image generation, video generation, voice generation, automation workflows, customize ChatGPT / OLLaMA exclusive ToolCall plugin capabilities",
"title": "Plugin Market"
},
"welcome": {
"description": "LobeChat offers you the best ChatGPT, OLLaMA, Gemini, Claude WebUI user experience",
"title": "Welcome to LobeChat: Personal LLM Productivity Tool, Give Yourself a Smarter Brain"
}
}
11 changes: 5 additions & 6 deletions locales/en-US/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "Function Call",
"off": "Turn off debug",
"on": "View plugin invocation information",
"response": "Response"
"payload": "plugin payload",
"response": "Response",
"tool_call": "tool call request"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "Plugin is running..."
},
"pluginList": "Plugin List",
"plugins": {
"loading": "Detecting plugins...",
"unknown": "Unknown Plugin"
},
"setting": "Plugin Settings",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "Installed"
},
"title": "Plugin Store"
}
},
"unknownPlugin": "Unknown plugin"
}
3 changes: 2 additions & 1 deletion locales/en-US/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"downloading": "The image links generated by DALL·E3 are only valid for 1 hour, caching the images locally...",
"generate": "Generate",
"generating": "Generating...",
"images": "Images:"
"images": "Images:",
"prompt": "提示词"
}
}
1 change: 1 addition & 0 deletions locales/es-ES/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"title": "Importar datos"
},
"installPWA": "Instalar la aplicación del navegador",
"lang": {
"ar": "árabe",
"bg-BG": "búlgaro",
Expand Down
18 changes: 18 additions & 0 deletions locales/es-ES/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "LobeChat ofrece la mejor experiencia de uso de ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "LobeChat: Herramienta personal de productividad LLM para tener un cerebro más inteligente"
},
"market": {
"description": "Creación de contenido, redacción, preguntas y respuestas, generación de imágenes, generación de videos, generación de voz, agente inteligente, flujo de trabajo automatizado, personaliza tu asistente inteligente AI / GPTs / OLLaMA exclusivo",
"title": "Mercado de asistentes"
},
"plugins": {
"description": "Búsqueda, generación de gráficos, académico, generación de imágenes, generación de videos, generación de voz, flujo de trabajo automatizado, personaliza las capacidades de los complementos ToolCall exclusivos de ChatGPT / OLLaMA",
"title": "Mercado de complementos"
},
"welcome": {
"description": "LobeChat ofrece la mejor experiencia de uso de ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "¡Bienvenido a LobeChat: Herramienta personal de productividad LLM para tener un cerebro más inteligente!"
}
}
11 changes: 5 additions & 6 deletions locales/es-ES/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "Llamada a función",
"off": "Desactivado",
"on": "Ver información de llamada de complemento",
"response": "Respuesta"
"payload": "carga del complemento",
"response": "Respuesta",
"tool_call": "solicitud de llamada de herramienta"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "Ejecutando complemento..."
},
"pluginList": "Lista de complementos",
"plugins": {
"loading": "Comprobando complementos...",
"unknown": "Complemento desconocido"
},
"setting": "Configuración de complementos",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "Instalados"
},
"title": "Tienda de complementos"
}
},
"unknownPlugin": "Plugin desconocido"
}
3 changes: 2 additions & 1 deletion locales/es-ES/tool.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"downloading": "El enlace de la imagen generada por DALL·E 3 solo es válido durante 1 hora, descargando la imagen al dispositivo local...",
"generate": "Generar",
"generating": "Generando...",
"images": "Imágenes:"
"images": "Imágenes:",
"prompt": "Palabra de aviso"
}
}
1 change: 1 addition & 0 deletions locales/fr-FR/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@
},
"title": "Importer des données"
},
"installPWA": "Installer l'application du navigateur",
"lang": {
"ar": "arabe",
"bg-BG": "Bulgare",
Expand Down
18 changes: 18 additions & 0 deletions locales/fr-FR/metadata.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"chat": {
"description": "LobeChat offre la meilleure expérience d'utilisation de ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "LobeChat: Outil de productivité personnel LLM, pour un cerveau plus intelligent"
},
"market": {
"description": "Création de contenu, rédaction, questions-réponses, génération d'images, génération de vidéos, génération vocale, agent intelligent, flux de travail automatisé, personnalisez votre agent intelligent AI / GPTs / OLLaMA",
"title": "Marché des agents"
},
"plugins": {
"description": "Recherche, génération de graphiques, académique, génération d'images, génération de vidéos, génération vocale, flux de travail automatisé, personnalisez les capacités des plugins ToolCall exclusifs de ChatGPT / OLLaMA",
"title": "Marché des plugins"
},
"welcome": {
"description": "LobeChat offre la meilleure expérience d'utilisation de ChatGPT, OLLaMA, Gemini, Claude WebUI",
"title": "Bienvenue sur LobeChat: Outil de productivité personnel LLM, pour un cerveau plus intelligent"
}
}
11 changes: 5 additions & 6 deletions locales/fr-FR/plugin.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"function_call": "Appel de fonction",
"off": "Désactivé",
"on": "Activer le débogage",
"response": "Réponse"
"payload": "charge du plugin",
"response": "Réponse",
"tool_call": "demande d'appel d'outil"
},
"detailModal": {
"info": {
Expand Down Expand Up @@ -128,10 +130,6 @@
"plugin": "Exécution du plugin en cours..."
},
"pluginList": "Liste des plugins",
"plugins": {
"loading": "Vérification des plugins en cours...",
"unknown": "Plugin inconnu"
},
"setting": "Paramètres des plugins",
"settings": {
"indexUrl": {
Expand Down Expand Up @@ -162,5 +160,6 @@
"installed": "Installés"
},
"title": "Boutique de plugins"
}
},
"unknownPlugin": "Plugin inconnu"
}

0 comments on commit 6e9c69a

Please sign in to comment.