From 8f36c4e79380be9e8106fa7e06839b1aee7e4bc1 Mon Sep 17 00:00:00 2001 From: SuYao Date: Fri, 12 Sep 2025 13:31:18 +0800 Subject: [PATCH] fix: referer (#10124) * fix: referer * fix(i18n): Auto update translations for PR #10124 --------- Co-authored-by: GitHub Action --- packages/shared/utils.ts | 1 - src/renderer/src/i18n/translate/el-gr.json | 18 +++++++++--------- src/renderer/src/i18n/translate/es-es.json | 18 +++++++++--------- src/renderer/src/i18n/translate/fr-fr.json | 18 +++++++++--------- src/renderer/src/i18n/translate/ja-jp.json | 18 +++++++++--------- src/renderer/src/i18n/translate/pt-pt.json | 18 +++++++++--------- src/renderer/src/i18n/translate/ru-ru.json | 18 +++++++++--------- 7 files changed, 54 insertions(+), 55 deletions(-) diff --git a/packages/shared/utils.ts b/packages/shared/utils.ts index 4101a65c06..e87e2f2bef 100644 --- a/packages/shared/utils.ts +++ b/packages/shared/utils.ts @@ -1,7 +1,6 @@ export const defaultAppHeaders = () => { return { 'HTTP-Referer': 'https://cherry-ai.com', - Referer: 'https://cherry-ai.com', 'X-Title': 'Cherry Studio' } } diff --git a/src/renderer/src/i18n/translate/el-gr.json b/src/renderer/src/i18n/translate/el-gr.json index 8734c28d1e..8f1c235ece 100644 --- a/src/renderer/src/i18n/translate/el-gr.json +++ b/src/renderer/src/i18n/translate/el-gr.json @@ -539,8 +539,8 @@ "title": "Εκτέλεση Κώδικα" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "Μπλοκ κώδικα με στυλ", + "tip": "Χρησιμοποιήστε πιο όμορφο στιλ μπλοκ κώδικα, για παράδειγμα κάρτες HTML" }, "code_image_tools": { "label": "Ενεργοποίηση εργαλείου προεπισκόπησης", @@ -1745,15 +1745,15 @@ "compress_content": "μείωση πλάτους στήλης", "compress_content_description": "Ενεργοποιώντας το, θα περιορίζεται ο αριθμός των χαρακτήρων ανά γραμμή, μειώνοντας την οθόνη που εμφανίζεται", "default_font": "προεπιλεγμένη γραμματοσειρά", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "μέγεθος γραμματοσειράς", + "font_size_description": "Ρυθμίστε το μέγεθος της γραμματοσειράς για καλύτερη εμπειρία ανάγνωσης (10-30px)", + "font_size_large": "Μεγάλος", + "font_size_medium": "中", + "font_size_small": "μικρό", "font_title": "ρυθμίσεις γραμματοσειράς", "serif_font": "σειρά γραμματοσειρών", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "Εμφάνιση περιεχομένων καταλόγου", + "show_table_of_contents_description": "Εμφάνιση πλευρικής στήλης περιεχομένων για εύκολη πλοήγηση στο έγγραφο", "title": "ρυθμίσεις εμφάνισης" }, "editor": { diff --git a/src/renderer/src/i18n/translate/es-es.json b/src/renderer/src/i18n/translate/es-es.json index a9d9174e17..905e720b8e 100644 --- a/src/renderer/src/i18n/translate/es-es.json +++ b/src/renderer/src/i18n/translate/es-es.json @@ -539,8 +539,8 @@ "title": "Ejecución de Código" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "Bloque de código con estilo", + "tip": "Utiliza un estilo de bloque de código más atractivo, como una tarjeta HTML" }, "code_image_tools": { "label": "Habilitar herramienta de vista previa", @@ -1745,15 +1745,15 @@ "compress_content": "reducir el ancho de la columna", "compress_content_description": "Al activarlo, se limitará el número de caracteres por línea, reduciendo el contenido mostrado en pantalla.", "default_font": "fuente predeterminada", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "Tamaño de fuente", + "font_size_description": "Ajusta el tamaño de la fuente para una mejor experiencia de lectura (10-30px)", + "font_size_large": "Grande", + "font_size_medium": "中", + "font_size_small": "pequeño", "font_title": "Configuración de fuente", "serif_font": "fuente serif", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "Mostrar esquema del directorio", + "show_table_of_contents_description": "Mostrar la barra lateral del índice para facilitar la navegación dentro del documento", "title": "configuración de visualización" }, "editor": { diff --git a/src/renderer/src/i18n/translate/fr-fr.json b/src/renderer/src/i18n/translate/fr-fr.json index db0e259708..5c2a0d2a5d 100644 --- a/src/renderer/src/i18n/translate/fr-fr.json +++ b/src/renderer/src/i18n/translate/fr-fr.json @@ -539,8 +539,8 @@ "title": "Exécution de code" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "bloc de code fantaisie", + "tip": "Utiliser un style de bloc de code plus esthétique, comme une carte HTML" }, "code_image_tools": { "label": "Activer l'outil d'aperçu", @@ -1745,15 +1745,15 @@ "compress_content": "réduire la largeur des colonnes", "compress_content_description": "L'activation limitera le nombre de caractères par ligne, réduisant ainsi le contenu affiché à l'écran.", "default_font": "police par défaut", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "Taille de police", + "font_size_description": "Ajuster la taille de la police pour une meilleure expérience de lecture (10-30px)", + "font_size_large": "Grand", + "font_size_medium": "中", + "font_size_small": "petit", "font_title": "paramétrage des polices", "serif_font": "police à empattements", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "Afficher le plan du sommaire", + "show_table_of_contents_description": "Afficher la barre latérale de la table des matières pour faciliter la navigation dans le document", "title": "Paramètres d'affichage" }, "editor": { diff --git a/src/renderer/src/i18n/translate/ja-jp.json b/src/renderer/src/i18n/translate/ja-jp.json index 6b17d41b0e..391cbec4e3 100644 --- a/src/renderer/src/i18n/translate/ja-jp.json +++ b/src/renderer/src/i18n/translate/ja-jp.json @@ -539,8 +539,8 @@ "title": "コード実行" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "\n装飾的なコードブロック\n", + "tip": "より見栄えの良いコードブロックスタイルを使用する、例えばHTMLカード" }, "code_image_tools": { "label": "プレビューツールを有効にする", @@ -1745,15 +1745,15 @@ "compress_content": "バーの幅を減らします", "compress_content_description": "有効にすると、1行あたりの単語数が制限され、画面に表示されるコンテンツが減少します。", "default_font": "デフォルトフォント", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "フォントサイズ", + "font_size_description": "フォントサイズを調整して読書体験を向上させる(10-30px)", + "font_size_large": "大", + "font_size_medium": "中", + "font_size_small": "小", "font_title": "フォント設定", "serif_font": "セリフフォント", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "目次アウトラインを表示", + "show_table_of_contents_description": "目次アウトラインサイドバーを表示し、文書内のナビゲーションを容易にする", "title": "見せる" }, "editor": { diff --git a/src/renderer/src/i18n/translate/pt-pt.json b/src/renderer/src/i18n/translate/pt-pt.json index b285ae92ed..4d1edba05d 100644 --- a/src/renderer/src/i18n/translate/pt-pt.json +++ b/src/renderer/src/i18n/translate/pt-pt.json @@ -539,8 +539,8 @@ "title": "Execução de Código" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "Bloco de código estilizado", + "tip": "Use um estilo de bloco de código mais agradável, como cartões HTML" }, "code_image_tools": { "label": "Habilitar ferramenta de visualização", @@ -1745,15 +1745,15 @@ "compress_content": "reduzir a largura da coluna", "compress_content_description": "Ativando isso limitará o número de caracteres por linha, reduzindo o conteúdo exibido na tela.", "default_font": "fonte padrão", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "tamanho da fonte", + "font_size_description": "Ajuste o tamanho da fonte para uma melhor experiência de leitura (10-30px)", + "font_size_large": "Grande", + "font_size_medium": "中", + "font_size_small": "pequeno", "font_title": "configuração de fonte", "serif_font": "fonte com serifa", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "Mostrar esboço do diretório", + "show_table_of_contents_description": "Mostrar barra lateral do índice, facilitando a navegação dentro do documento", "title": "configurações de exibição" }, "editor": { diff --git a/src/renderer/src/i18n/translate/ru-ru.json b/src/renderer/src/i18n/translate/ru-ru.json index dba8501c68..493a565508 100644 --- a/src/renderer/src/i18n/translate/ru-ru.json +++ b/src/renderer/src/i18n/translate/ru-ru.json @@ -539,8 +539,8 @@ "title": "Выполнение кода" }, "code_fancy_block": { - "label": "[to be translated]:花式代码块", - "tip": "[to be translated]:使用更美观的代码块样式,例如 HTML 卡片" + "label": "Форматированные блоки кода", + "tip": "Используйте более эстетичный стиль блоков кода, например, HTML-карточки" }, "code_image_tools": { "label": "Включить инструменты предпросмотра", @@ -1745,15 +1745,15 @@ "compress_content": "Уменьшить ширину стержня", "compress_content_description": "При включении он ограничит количество слов на строку, уменьшая содержимое, отображаемое на экране.", "default_font": "По умолчанию шрифт", - "font_size": "[to be translated]:字体大小", - "font_size_description": "[to be translated]:调整字体大小以获得更好的阅读体验 (10-30px)", - "font_size_large": "[to be translated]:大", - "font_size_medium": "[to be translated]:中", - "font_size_small": "[to be translated]:小", + "font_size": "Размер шрифта", + "font_size_description": "Отрегулируйте размер шрифта для лучшего чтения (10–30 пикселей)", + "font_size_large": "Большой", + "font_size_medium": "中", + "font_size_small": "\nмаленький\n", "font_title": "Настройки шрифта", "serif_font": "Serif Font", - "show_table_of_contents": "[to be translated]:显示目录大纲", - "show_table_of_contents_description": "[to be translated]:显示目录大纲侧边栏,方便文档内导航", + "show_table_of_contents": "Показать оглавление", + "show_table_of_contents_description": "显示目录大纲侧边栏,方便文档内导航", "title": "показывать" }, "editor": {