diff --git a/gui/config_tab.py b/gui/config_tab.py index deb5e2e..e0d42f1 100644 --- a/gui/config_tab.py +++ b/gui/config_tab.py @@ -341,7 +341,7 @@ class ConfigTab(QWidget): # Load formatting settings self.width_spin.setValue(int(os.getenv("width", "60"))) self.list_width_spin.setValue(int(os.getenv("listWidth", "100"))) - self.note_width_spin.setValue(int(os.getenv("noteWidth", "75"))) + self.note_width_spin.setValue(int(os.getenv("noteWidth", "80"))) # Load custom API settings self.input_cost_spin.setValue(float(os.getenv("input_cost", "0.002"))) diff --git a/util/translation.py b/util/translation.py index 3ddbe13..067cbe3 100644 --- a/util/translation.py +++ b/util/translation.py @@ -174,7 +174,7 @@ def createContext(config, fullPromptFlag, subbedText, formatType, history=None): matchedVocabText = buildMatchedVocabText(vocabPairs, subbedText, history) if fullPromptFlag: - system = config.prompt + matchedVocabText + system = config.prompt.replace("English", config.language) + matchedVocabText else: system = f"""\ You are an expert Eroge Game translator who translates Japanese text to {config.language}. @@ -184,7 +184,6 @@ Output ONLY the {config.language} translation in the following format: `Translat - All text in your response must be in {config.language} even if it is hard to translate. - Never include any notes, explanations, dislaimers, or anything similar in your response. - Maintain any spacing in the translation. -- Maintain any code text in brackets if given. (e.g `[Color_0]`, `[Ascii_0]`, `[FCode_1`], etc) - `...` can be a part of the dialogue. Translate it as it is. {matchedVocabText} """ diff --git a/vocab.txt b/vocab.txt index ccb62dd..1d65432 100644 --- a/vocab.txt +++ b/vocab.txt @@ -1,7 +1,16 @@ Here are some vocabulary and terms so that you know the proper spelling and translation. -``` + # Game Characters -イルヴィナ (Illvina) +イルヴィナ (Ilvina) - Female +ゾフィー (Zophie) - Female +クリュエル (Cruel) - Male +アンナ (Anna) - Female +エララ (Elala) - Female +フェイス (Faith) - Male +リシテア (Rithea) - Female +マホ (Maho) - Female +オリヴィア (Olivia) - Female +プリンシア (Princia) - Female # Lewd Terms マンコ (pussy) @@ -156,59 +165,67 @@ ME 音量 (ME Volume) 人間 (Human) # Other -w ((lol)) +w (lol) 2万 (20,000) 『 (『) 』 (』) # Game Specific -尾道プロ (Onomichi Pro) -アルターガンズ (Alter Guns) -尾道プロダクション (Onomichi Production) -宇堂の部屋 (Udo's Room) -音々の部屋 (Nene's Room) -マネの部屋 (Mane's Room) -コレクションルーム (Collection Room) -モニタールーム (Monitor Room) -テレビ局 (TV Station) -ラブホテル (Love Hotel) -回想ルーム (Recollection Room) -別館 (Annex) -浴場施設 (Bath Facility) -大部屋 (Large Room) -小部屋 (Small Room) -乱交フロア (Orgy Floor) -蝋人形の部屋 (Wax Doll Room) -食堂 (Dining Hall) -倉庫 (Storage) -館内守衛所 (Security Office) -衣裳部屋 (Dressing Room) -脱衣場 (Changing Room) -大浴場 (Large Bath) -テラス (Terrace) -寝室/ベッドルーム (Bedroom) -泉の間 (Fountain Room) -書庫 (Library) -隠し部屋 (Hidden Room) -隠し通路 (Hidden Passage) -牢獄の間 (Prison Room) -対称の間 (Symmetry Room) -本館 (Main Building) -西館 (West Wing) -東館 (East Wing) -洋館 (Mansion) -自室 (My Room) -小屋 (Shed) -控室 (Waiting Room) -レッスンルーム (Lesson Room) -グラビア撮影会 (Gravure Photo Shoot) -青姦日和 (Perfect Day for Outdoor Sex) -ポールオナニー (Pole Masturbation) -サワフェラ (Sawa Blowjob) -モモセックス (Momo Sex) -キノセックス (Kino Sex) -開拓 (Pioneering) -初夜 (First Night) -誓いと冒涜 (Oath and Blasphemy) -衆恥肉輪 (Public Shame Meat Orgy) -救世主 (Savior) \ No newline at end of file +テンプレ置き場 (Template Storage) +王都城下町 (Royal Capital Castle Town) +ベルトルド (Berthold) +ベルトルドの家 (Berthold's House) +休養街 (Rest District) +洞窟 (Cave) +トロヴァート邸 (Trovato Manor) +アートAtelier (Art Atelier) +アポステリオリ原型 (Aposteriori Prototype) +アポステリオリ崩壊後 (After Aposteriori Collapse) +城 (Castle) +牢屋 (Jail) +図書館 (Library) +スラム街 (Slums) +スラム要塞 (Slum Fortress) +スラム宿屋 (Slum Inn) +シャトーセルヴ (Chateau Selve) +シャトーセルヴギルド (Chateau Selve Guild) +シャトーセルヴ海岸 (Chateau Selve Coast) +シャトーセルヴ夜 (Chateau Selve Night) +シャトーセルヴ海岸夜 (Chateau Selve Coast Night) +シャトーの酒場 (Chateau Tavern) +トレジャーショップ (Treasure Shop) +シノーペ (Sinope) +マッサージ屋 (Massage Parlor) +スライムドレス (Slime Dress) +ナンパ師の家 (Pick-up Artist's House) +貴族街 (Noble District) +貴族街酒場 (Noble District Tavern) +寺子屋 (Terakoya) +写真屋 (Photo Studio) +写真屋地下 (Photo Studio Basement) +写真館 (Photo Studio) +シャワールーム (Shower Room) +温泉小屋 (Hot Spring Hut) +鉱山都市 (Mining City) +貿易都市 (Trade City) +雪の町 (Snow Town) +古代遺跡 (Ancient Ruins) +海底神殿 (Undersea Temple) +空中都市 (Sky City) +アズモデ別邸 (Asmodeus Villa) +遺跡 (Ruins) +遺跡終点 (Ruins Terminus) +海辺の迷宮終点 (Seaside Labyrinth Terminus) +海の宿 (Seaside Inn) +溶岩の洞窟 (Lava Cave) +魔王城 (Demon Lord's Castle) +魔王城1F (Demon Lord's Castle 1F) +サムライ (Samurai) +プリンセス (Princess) +オリヴィア水着 (Olivia Swimsuit) +オリヴィアの水着 (Olivia's Swimsuit) +新システム (New System) +エッチ水着 (Lewd Swimsuit) +エッチな水着 (Lewd Swimsuit) +服屋内 (Clothing Shop Interior) +衣装保管 (Costume Storage) \ No newline at end of file