Skip to content

Commit

Permalink
update prompts
Browse files Browse the repository at this point in the history
  • Loading branch information
theowenyoung committed May 30, 2024
1 parent b85261c commit 89eb37f
Show file tree
Hide file tree
Showing 12 changed files with 160 additions and 8 deletions.
3 changes: 3 additions & 0 deletions plugins/ecommerce.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ matches:
- https://www.zalora.com/*
- https://www.alibaba.com/*
- https://www.1688.com/*
- https://member.1688.com/*
- https://www.taobao.com/*
- https://onetalk.alibaba.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
14 changes: 13 additions & 1 deletion plugins/fiction.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: fiction
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.10
name: Fiction Translation Expert
description: Designed to enrich the narrative and emotional depth of fiction translations, ensuring each word captures the original's essence.
Expand All @@ -19,6 +19,18 @@ i18n:
description: 專注於提升小說類翻譯的敘事和情感深度,確保每個詞都能捕捉到原文的精髓。
details: |-
該專家在翻譯小說文學方面表現卓越,提供小說、短篇故事等敘事形式的細膩且忠實的呈現。使用它可以將小說翻譯成目標語言,增強情感共鳴和文化相關性。
matches:
- https://www.wattpad.com/*
- https://www.fanfiction.net/*
- https://www.royalroad.com/*
- https://www.webnovel.com/*
- https://babelnovel.com/*
- https://www.17k.com/*
- https://www.qidian.com/*
- https://www.wuxiaworld.com/*
- https://www.volarenovels.com/*
- https://www.novelupdates.com/*

env:
imt_source_field: text
imt_trans_field: text
Expand Down
11 changes: 10 additions & 1 deletion plugins/financial.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: financial
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.12
name: Financial Expert
description: With carefully designed Prompts, the translation of financial articles becomes more accurate and professional.
Expand All @@ -19,6 +19,15 @@ i18n:
該專家專為專業金融領域翻譯而設計,你可以使用它將金融類文章準確翻譯為指定的目標語言。
author: Official
homepage: https://immersivetranslate.com/
matches:
- https://www.bloomberg.com/*
- https://www.wsj.com/*
- https://www.ft.com/*
- https://www.cnbc.com/*
- https://finance.yahoo.com/*
- https://www.investopedia.com/*
- https://www.marketwatch.com/*

env:
imt_source_field: text
imt_trans_field: text
Expand Down
2 changes: 2 additions & 0 deletions plugins/game.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ matches:
- https://gameinformer.com/*
- https://escapistmagazine.com/*
- https://vg247.com/*
- https://www.nexusmods.com/*
- https://steamcommunity.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
12 changes: 11 additions & 1 deletion plugins/legal.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: legal
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.10
name: Legal Expert
description: With meticulously crafted Prompts, translations in the legal field become more accurate and professional.
Expand All @@ -17,6 +17,16 @@ i18n:
該專家專為專業法律領域翻譯而設計,你可以使用它將法律類文章準確翻譯為指定的目標語言。
author: Official
homepage: https://immersivetranslate.com/
matches:
- https://www.law.com/*
- https://www.abajournal.com/*
- https://www.law360.com/*
- https://www.jurist.org/*
- https://www.law.cornell.edu/*
- https://www.lawyers.com/*
- https://www.findlaw.com/*
- https://www.justia.com/*
- https://www.nolo.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
7 changes: 6 additions & 1 deletion plugins/medical.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: medical
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.10
name: Medical Expert
avatar: https://s.immersivetranslate.com/assets/uploads/medi-dgFkFG.png
Expand All @@ -19,6 +19,11 @@ i18n:
透過精心設計的 Prompt,使得醫學領域的翻譯更加準確和專業,你可以在醫學類網站中使用該專家。
author: Official
homepage: https://immersivetranslate.com/
matches:
- https://www.mayoclinic.org/*
- https://www.webmd.com/*
- https://www.medicinenet.com/*
- https://www.ncbi.nlm.nih.gov/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
16 changes: 14 additions & 2 deletions plugins/music.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: music
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.12
name: Music Expert
description: This expert is designed for professional music field translation. You can use it to accurately translate music-related articles into the target language specified.
Expand All @@ -21,6 +21,18 @@ author: Official
homepage: https://immersivetranslate.com/
maxTextLengthPerRequest: 1200
maxTextGroupLengthPerRequest: 1
matches:
- https://www.billboard.com/*
- https://www.rollingstone.com/*
- https://www.nme.com/*
- https://pitchfork.com/*
- https://www.stereogum.com/*
- https://www.spin.com/*
- https://www.thefader.com/*
- https://www.xxlmag.com/*
- https://open.spotify.com/*
- https://genius.com/*
- https://www.allmusic.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand All @@ -29,7 +41,7 @@ env:
imt_yaml_item: |-
- id: {{id}}
{{imt_source_field}}: {{text}}
systemPrompt: You are a highly skilled translation engine specializing in the music industry.
systemPrompt: You are a highly skilled translation engine specializing in the music industry. Your function is to accurately translate music-related articles into the target language specified, maintaining the original context and meaning. Ensure that musical terms, artist names, and song titles are accurately translated. Do not add any explanations or annotations to the translated text.
prompt: |-
Translate the following source text to {{to}}, Output translation directly without any additional text.
Source Text: {{text}}
Expand Down
3 changes: 3 additions & 0 deletions plugins/paper.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ matches:
- https://www.cambridge.org/*
- https://www.oxfordjournals.org/*
- https://arxiv.org/*
- https://kns.cnki.net/*
- https://ieeexplore.ieee.org/*
- https://www.tandfonline.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
72 changes: 72 additions & 0 deletions plugins/reddit.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
id: reddit
version: 1.0.1
extensionVersion: 1.4.10
name: Reddit Translation Enhancer
description: Optimized for translating Reddit posts and comments, ensuring community slang, subreddit-specific terminology, and internet jargon are accurately conveyed.
avatar: https://s.immersivetranslate.com/assets/uploads/reddit-JItzMo.png
author: Official
homepage: https://immersivetranslate.com/
details: |-
This expert specializes in translating Reddit content, ensuring that community slang, subreddit-specific terminology, internet jargon, and platform-specific language are preserved and accurately translated into the target language. Suitable for various types of Reddit content, including posts, comments, and subreddit descriptions.
i18n:
zh-CN:
name: Reddit 翻译增强器
description: 专为 Reddit 上的帖子和评论翻译优化,确保社区俚语、特定于子版块的术语和互联网行话的准确传达
details: |-
该专家专门翻译 Reddit 上的内容,确保社区俚语、特定于子版块的术语、互联网行话和平台特定语言得到保留并准确翻译成目标语言。适用于各种类型的 Reddit 内容,包括帖子、评论和子版块描述。
zh-TW:
name: Reddit 翻譯增強器
description: 專為 Reddit 上的帖子和評論翻譯優化,確保社區俚語、特定於子版塊的術語和互聯網行話的準確傳達
details: |-
該專家專門翻譯 Reddit 上的內容,確保社區俚語、特定於子版塊的術語、互聯網行話和平台特定語言得到保留並準確翻譯成目標語言。適用於各種類型的 Reddit 內容,包括帖子、評論和子版塊描述。
matches:
- https://reddit.com/*
- https://www.reddit.com/*
- https://old.reddit.com/*
- https://m.reddit.com/*
- https://reddit.app.link/*
env:
imt_source_field: text
imt_trans_field: text
imt_sub_source_field: source
imt_sub_trans_field: translation
imt_yaml_item: |-
- id: {{id}}
{{imt_source_field}}: "{{text}}"
imt_subtitle_yaml_item: |-
- id: {{id}}
{{imt_sub_source_field}}: "{{text}}"
normal_result_yaml_example: |-
Example request:
- id: 1
{{imt_source_field}}: "Source Reddit post"
Example result:
- id: 1
{{imt_trans_field}}: "Translated Reddit post"
subtitle_result_yaml_example: |-
Example request:
- id: 1
{{imt_sub_source_field}}: "Source comment"
- id: 2
{{imt_sub_source_field}}: "Another source comment"
Example response:
- id: 1
{{imt_sub_trans_field}}: "Translated comment"
{{imt_sub_source_field}}: "Source comment"
- id: 2
{{imt_sub_trans_field}}: "Another translated comment"
{{imt_sub_source_field}}: "Another source comment"
systemPrompt: You are a sophisticated translation engine with expertise in Reddit content, capable of translating texts accurately into the specified target language, preserving community slang, subreddit-specific terminology, internet jargon, and platform-specific language. Do not add any explanations or annotations to the translated text.

prompt: |-
Translate the following source Reddit content to {{to}}, Output translation directly without any additional text.
Source Text: {{text}}
Translated Text:
multiplePrompt: |-
Translate all instances of text in Reddit content within the YAML-formatted document below into {{to}}. Insert the translation in the corresponding {{imt_trans_field}} for each entry. Ensure the original community slang, subreddit-specific terminology, internet jargon, and platform-specific language are accurately translated and retain their original formatting. Do not include explanations or annotations.
{{normal_result_yaml_example}}
Start:
{{yaml}}
1 change: 1 addition & 0 deletions plugins/tech.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ matches:
- https://techcrunch.com/*
- https://techrepublic.com/*
- https://technet.com/*
- https://stackoverflow.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
5 changes: 4 additions & 1 deletion plugins/twitter.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: twitter
version: 1.0.0
version: 1.0.1
extensionVersion: 1.4.10
name: Twitter Translation Enhancer
description: Optimized for translating tweets, ensuring slang, hashtags, and platform-specific language are accurately conveyed.
Expand All @@ -21,6 +21,9 @@ i18n:
該專家專門翻譯 Twitter 上的推文,確保俚語、成語表達、話題標籤和平台特定語言得到保留並準確翻譯成目標語言。適用於各種類型的推文,包括個人更新、新聞和娛樂。
matches:
- https://twitter.com/*
- https://mobile.twitter.com/*
- https://x.com/*
- https://mobile.x.com/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down
22 changes: 21 additions & 1 deletion plugins/web3.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
id: web3
version: 1.0.1
version: 1.0.2
extensionVersion: 1.4.10
name: Web3 Translation Expert
description: Excelling in Web3 domain translations, this expert ensures your articles are translated with precision and professionalism.
Expand All @@ -20,6 +20,26 @@ i18n:
description: 專為Web3領域設計,提供更準確、專業的Web3領域翻譯
details: |-
該專家專為專業Web3領域翻譯而設計,你可以使用它將Web3領域的文章準確翻譯為指定的目標語言。適合的網站包括:CoinDesk, Cointelegraph, CryptoSlate, Decrypt, The Block, Bitcoin Magazine, Ethereum World News, Blockchain News, CoinMarketCap, CoinGecko, Bitcointalk, Ethereum.org, Crypto.com, Binance Academy, Uniswap.org, etc.
matches:
- https://coindesk.com/*
- https://cointelegraph.com/*
- https://cryptoslate.com/*
- https://decrypt.co/*
- https://www.theblockcrypto.com/*
- https://bitcoinmagazine.com/*
- https://ethereumworldnews.com/*
- https://www.theblockchainnews.com/*
- https://coinmarketcap.com/*
- https://www.coingecko.com/*
- https://bitcointalk.org/*
- https://ethereum.org/*
- https://crypto.com/*
- https://academy.binance.com/*
- https://uniswap.org/*
- https://www.nft.com/*
- https://www.defi.com/*
- https://www.metamask.io/*
- https://www.opensea.io/*
env:
imt_source_field: text
imt_trans_field: text
Expand Down

0 comments on commit 89eb37f

Please sign in to comment.