mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
实时翻译&翻译文本更新&修复饥饿和口渴的通知频率不正常的错误
This commit is contained in:
parent
d258d5a0aa
commit
74d611a4c6
@ -156,6 +156,13 @@ namespace VPet_Simulator.Windows
|
||||
LocalizeCore.AddCulture(dis.Name, new LPS_D(File.ReadAllText(fi.FullName)));
|
||||
}
|
||||
}
|
||||
|
||||
if (mw.Set.Language == "null")
|
||||
{
|
||||
LocalizeCore.LoadDefaultCulture();
|
||||
}
|
||||
else
|
||||
LocalizeCore.LoadCulture(mw.Set.Language);
|
||||
break;
|
||||
case "plugin":
|
||||
Tag.Add("plugin");
|
||||
|
@ -139,7 +139,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
Process.Start(content);
|
||||
}
|
||||
catch(Exception e)
|
||||
catch (Exception e)
|
||||
{
|
||||
MessageBox.Show("快捷键运行失败:无法运行指定内容".Translate() + '\n' + e.Message);
|
||||
}
|
||||
@ -243,15 +243,15 @@ namespace VPet_Simulator.Windows
|
||||
break;
|
||||
}
|
||||
}
|
||||
int lowstrengthAskCountFood = 1;
|
||||
int lowstrengthAskCountDrink = 1;
|
||||
int lowstrengthAskCountFood = 20;
|
||||
int lowstrengthAskCountDrink = 20;
|
||||
private void lowStrength()
|
||||
{
|
||||
if (Core.Save.Mode == GameSave.ModeType.Happy || Core.Save.Mode == GameSave.ModeType.Nomal)
|
||||
{
|
||||
if (Core.Save.StrengthFood < 75 && Function.Rnd.Next(lowstrengthAskCountFood--) == 0)
|
||||
{
|
||||
lowstrengthAskCountFood = 20;
|
||||
lowstrengthAskCountFood = Set.InteractionCycle;
|
||||
var like = Core.Save.Likability < 40 ? 0 : (Core.Save.Likability < 70 ? 1 : (Core.Save.Likability < 100 ? 2 : 3));
|
||||
var txt = LowFoodText.FindAll(x => x.Mode == LowText.ModeType.H && (int)x.Like < like);
|
||||
if (Core.Save.StrengthFood > 60)
|
||||
@ -274,7 +274,7 @@ namespace VPet_Simulator.Windows
|
||||
}
|
||||
if (Core.Save.StrengthDrink < 75 && Function.Rnd.Next(lowstrengthAskCountDrink--) == 0)
|
||||
{
|
||||
lowstrengthAskCountDrink = 20;
|
||||
lowstrengthAskCountDrink = Set.InteractionCycle;
|
||||
var like = Core.Save.Likability < 40 ? 0 : (Core.Save.Likability < 70 ? 1 : (Core.Save.Likability < 100 ? 2 : 3));
|
||||
var txt = LowDrinkText.FindAll(x => x.Mode == LowText.ModeType.H && (int)x.Like < like);
|
||||
if (Core.Save.StrengthDrink > 60)
|
||||
@ -300,6 +300,7 @@ namespace VPet_Simulator.Windows
|
||||
{
|
||||
if (Core.Save.StrengthFood < 60 && Function.Rnd.Next(lowstrengthAskCountFood--) == 0)
|
||||
{
|
||||
lowstrengthAskCountFood = Set.InteractionCycle;
|
||||
var like = Core.Save.Likability < 40 ? 0 : (Core.Save.Likability < 70 ? 1 : (Core.Save.Likability < 100 ? 2 : 3));
|
||||
var txt = LowFoodText.FindAll(x => x.Mode == LowText.ModeType.L && (int)x.Like < like);
|
||||
if (Core.Save.StrengthFood > 40)
|
||||
@ -322,6 +323,7 @@ namespace VPet_Simulator.Windows
|
||||
}
|
||||
if (Core.Save.StrengthDrink < 60 && Function.Rnd.Next(lowstrengthAskCountDrink--) == 0)
|
||||
{
|
||||
lowstrengthAskCountDrink = Set.InteractionCycle;
|
||||
var like = Core.Save.Likability < 40 ? 0 : (Core.Save.Likability < 70 ? 1 : (Core.Save.Likability < 100 ? 2 : 3));
|
||||
var txt = LowDrinkText.FindAll(x => x.Mode == LowText.ModeType.L && (int)x.Like < like);
|
||||
if (Core.Save.StrengthDrink > 40)
|
||||
|
@ -510,7 +510,7 @@
|
||||
Style="{DynamicResource StandardSliderStyle}" VerticalAlignment="Center" Maximum="5"
|
||||
SmallChange=".05" Minimum="0.05" LargeChange="0.1" Value="0.5"
|
||||
ValueChanged="PressLengthSlider_ValueChanged" />
|
||||
<TextBlock Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center"
|
||||
<TextBlock Grid.Column="1" Margin="10,0,0,0" VerticalAlignment="Center"
|
||||
Text="{ll:Str '\{0:F2} 秒', ValueSource={Binding ElementName=PressLengthSlider,Path=Value}}"
|
||||
Foreground="{DynamicResource DARKPrimaryDarker}" FontWeight="Bold"
|
||||
Background="{x:Null}" />
|
||||
@ -601,10 +601,12 @@
|
||||
VerticalAlignment="Top" FontWeight="Bold" FontSize="20" Background="{x:Null}"
|
||||
Foreground="{DynamicResource PrimaryText}" />
|
||||
<TextBlock Margin="0,0,0,0" TextWrapping="Wrap">
|
||||
<Run Text="{ll:Str '模组作者: '}" /><LineBreak />
|
||||
<Run Text="{ll:Str '模组作者: '}" FontWeight="Bold" /><LineBreak />
|
||||
<Run x:Name="runMODAuthor" Text="LorisYounger" />
|
||||
<LineBreak /><Run Text="{ll:Str '模组版本: '}" /><Run x:Name="runMODVer" Text="1.0" />
|
||||
<LineBreak /><Run Text="{ll:Str '游戏版本: '}" /><Run x:Name="runMODGameVer" Text="1.0" />
|
||||
<LineBreak /><Run Text="{ll:Str '模组版本: '}" FontWeight="Bold" /><Run x:Name="runMODVer"
|
||||
Text="1.0" />
|
||||
<LineBreak /><Run Text="{ll:Str '游戏版本: '}" FontWeight="Bold" /><Run
|
||||
x:Name="runMODGameVer" Text="1.0" />
|
||||
</TextBlock>
|
||||
</StackPanel>
|
||||
</Grid>
|
||||
|
79
VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2307.lps
Normal file
79
VPet-Simulator.Windows/mod/0000_core/lang/en/Prog2307.lps
Normal file
@ -0,0 +1,79 @@
|
||||
体力-{0:f0} 心情+{1:f0}#Stamina-{0:f0} Mood+{1:f0}:|
|
||||
您的桌宠 {0} 生病啦,没法进行学习#Your desktop pet {0} fall ill, It can't learn:|
|
||||
您的桌宠 {0} 生病啦,没法进行工作{1}#Your desktop pet {0} fall ill, It can't work{1}:|
|
||||
学习完成啦, 累计学会了 {0:f2} 经验值\n共计花费了{1}分钟#Learning is finish, accumulated {0:f2} EXP\nIt took a total of {1} minute:|
|
||||
{2}完成啦, 累计赚了 {0:f2} 金钱\n共计花费了{1}分钟#{2}is finish, accumulated realized {0:f2} Money:|
|
||||
小时#Hour:|
|
||||
剩余学习时间#Remaining learning time:|
|
||||
获得经验值#Gain EXP:|
|
||||
剩余{0}时间#Remaining {0} time:|
|
||||
累计金钱收益#Accumulate money gains:|
|
||||
未知的图像位置: #Unknown sprite location: :|
|
||||
未知的图像类型: #Unknown sprite type::|
|
||||
由于插件引起的自定按钮加载错误#Custom button loading error due to plug-in:|
|
||||
快捷键运行失败:无法运行指定内容#Hotkey failed to run: The specified content could not be run:|
|
||||
启动错误#Startup error:|
|
||||
缺少模组Core,无法启动桌宠#Lack Mod Core, Unable start desktop pet:|
|
||||
萝莉斯#Lolis:|
|
||||
由于插件引起的游戏启动错误#Game launch error due to plugin:|
|
||||
你好#Hello:|
|
||||
欢迎使用虚拟桌宠模拟器!\n如果遇到桌宠爬不见了,可以在我这里设置居中或退出桌宠#Welcome to use VPet-Simulator!\nIf you can't found desktop pet, you can set the center or exit the desktop pet in here.:|
|
||||
欢迎使用虚拟桌宠模拟器\n这是个中期的测试版,若有bug请多多包涵\n欢迎加群虚拟主播模拟器430081239或在菜单栏-管理-反馈中提交bug或建议#Welcome to use VPet-Simulator\nThis is a beta version, If there are any bugs, please forgive me a lot\nWelcome to check https://github.com/LorisYounger/VPet, or at Menu - System - Feedback Hub for feedback:|
|
||||
{0} 未加载代码插件#Code plugin {0} not loaded:|
|
||||
模组 {0} 的代码插件损坏\n虚拟桌宠模拟器未能成功加载该插件\n请联系作者修复该问题#Mod {0} Code plugins broken\nVPet-Simulator failed to load the plugin\nPlease contact author to fix this problem:|
|
||||
由于 {0} 包含代码插件\n虚拟桌宠模拟器已自动停止加载该插件\n请手动前往设置允许启用该mod 代码插件#Since {0} contains code plugin\nVPet-Simulator auto stopped loading the plugin\nplease go to the settings to enabled the mod code plugin:|
|
||||
该模组已停用#This mod is Disable:|
|
||||
[认证]#[Certificated]:|
|
||||
[签名]#[Signed]:|
|
||||
所有可执行文件#All executable files:|
|
||||
调用API失败,请稍后重新发送内容#Calling API failed, please resend the content later:|
|
||||
点击初始化桌宠聊天程序#Click Initialize VPET chat program:|
|
||||
检测到模型错误,已重置桌宠聊天系统#Detected model error, Reset the VPET chat system:|
|
||||
初始化桌宠聊天程序中...#Initialize VPET chat program...:|
|
||||
请先前往设置中设置 ChatGPT API#Please go to the settings set up the ChatGPT API first:|
|
||||
请检查设置和网络连接#Please check your settings and network connection:|
|
||||
请检查API token设置#Please check the API token settings:|
|
||||
API调用失败#The API call failed:|
|
||||
金钱不足#Lack of money:|
|
||||
请使用口语化的、可爱的、女性化的、调皮的语言风格和我交流. 你是一只桌宠, 你的名字叫{Name}, 你喜欢玩 虚拟主播模拟器. 你需要尝试体会我与你对话中的感情、产生自己的情感并尽可能给出可爱的回答#Please use colloquial, cute, feminine, mischievous language style to communicate with me. You are a desktop pet, You name is {Name}, You like play the VPet-Simulator. You need to try to feel the feelings in my conversation with you, generate your own emotions, and give as cute answers as possible:|
|
||||
未找到对应类型图像资源#No sprite resources of the corresponding type were found:|
|
||||
当前正在播放#Currently playing:|
|
||||
当前正在运行#Currently running:|
|
||||
暂无该说话方法#None this speaking method:|
|
||||
尚未激活 您可能需要启动Steam或去Steam上免费领个#Not yet activated. You may need to start Steam or go to Steam to collect it for free:|
|
||||
(版本低)# (Low Version):|
|
||||
未登录#Not logged in:|
|
||||
停用失败#DisEnable failed:|
|
||||
模组 Core 为<虚拟桌宠模拟器>核心文件,无法停用#Core is <VPet-Simulator> core file, cannot be disenable:|
|
||||
上传MOD需要Steam登录#Uploading mods requires a Steam login:|
|
||||
请先登录Steam后才能上传文件#You can only upload files when you are logged in to Steam:|
|
||||
MOD上传失败#Mod upload failed:|
|
||||
模组 Core 为<虚拟桌宠模拟器>核心文件,无法发布\n如需发布自定义内容,请复制并更改名称#Core is <VPet-Simulator> core file, cannot be published\nIf you need to publish custom content, please copy and change the name:|
|
||||
封面图片(icon.png)大于500kb,请修改后重试#logo (icon.png) is larger than 500KB, please modify it and try again:|
|
||||
MOD上传成功#Mod upload succeed:|
|
||||
{0} 成功上传至WorkShop服务器\n是否跳转至创意工坊页面进行编辑详细介绍和图标?#{0} Success uploaded to the WorkShop server\nDo you want to jump to the Workshop page for editing details and icons?:|
|
||||
MOD上传失败 {0}#Mod upload failed {0}:|
|
||||
{0} 成功上传至WorkShop服务器\n是否跳转至创意工坊页面进行编辑新内容?#{0} Success uploaded to the WorkShop server\nDo you want to jump to the Workshop page for editing new content?:|
|
||||
MOD更新成功#Mod update success:|
|
||||
任务完成#Task completed:|
|
||||
是否启用 {0} 的代码插件?\n一经启用,该插件将会允许访问该系统(包括外部系统)的所有数据\n如果您不确定,请先使用杀毒软件查杀检查#enable code plugin for {0}? \nOnce enabled, plug-in will allow access to all data of the system (including external systems)\nIf you are not sure, please use Antivirus software to check:|
|
||||
启用 {0} 的代码插件?#Enable code plugins for {0}?:|
|
||||
重启游戏#Restart the game:|
|
||||
是否退出游戏<虚拟桌宠模拟器>?\n请注意保存游戏#Exit <VPet-Simulator>?\nPlease pay attention to saving the game:|
|
||||
权限不足#Insufficient permissions:|
|
||||
创建快捷方式失败,权限不足\n请以管理员身份运行后重试#Failed to create shortcut, insufficient permissions\nPlease run as administrator and try again:|
|
||||
桌宠重置失败#Desktop pet reset failed:|
|
||||
是否加载该备份存档? 当前游戏数据会丢失#Load the backup save? Current game data will be lost:|
|
||||
您不是Steam用户,无法使用反馈中心\n欢迎加入虚拟主播模拟器群430081239反馈问题#You are not a Steam user and cannot use the Feedback Hub\nWelcome to check https://github.com/LorisYounger/VPet for feedback:|
|
||||
非Steam用户无法使用反馈中心#Non-Steam users cannot use the Feedback Hub:|
|
||||
问题详细描述是反馈具体问题\n例如如何触发这个报错,游戏有什么地方不合理等#Detailed description of the problem is feedback on the specific problem\nLike how to get this errors, What is unreasonable about the game.:|
|
||||
请填写问题描述#Please fill in a description of the problem:|
|
||||
感谢您的反馈和提交#Thank you for your feedback and submit:|
|
||||
您的反馈已提交成功,感谢您的反馈与提交\nVOS将会尽快处理您的反馈并做的更好#Feedback success submitted. Thank you for your feedback and submit\nVOS will process your feedback as soon as possible and do better:|
|
||||
您今天的反馈次数已达上限#You've reached your maximum number of feedback today:|
|
||||
您今天的反馈次数已达上限,请明天再来反馈.\n或欢迎加入虚拟主播模拟器群430081239反馈问题#You've reached your maximum number of feedback today, please come back tomorrow for feedback.\nOr go the https://github.com/LorisYounger/VPet for feedback problem:|
|
||||
反馈提交失败,遇到错误#Feedback submit failed with error:|
|
||||
反馈上传失败\n欢迎加入虚拟主播模拟器群430081239手动反馈问题\n服务器消息:#Feedback submit failed\nWelcome to the https://github.com/LorisYounger/VPet for feedback\nServer Message::|
|
||||
反馈上传失败,可能是网络或其他问题导致无法上传\n欢迎加入虚拟主播模拟器群430081239手动反馈问题\n#Feedback submit failed, may be a network or other issue preventing the upload\nWelcome to the https://github.com/LorisYounger/VPet for feedback\n:|
|
||||
存档名称:{0}\n存档等级:{1}\n存档金钱:{2}\n是否加载该备份存档? 当前游戏数据会丢失#Save name:{0}\nSave level:{1}\nSave money:{2}\nLoad the backup save? Current game data will be lost:|
|
||||
{0} 上传至WorkShop服务器失败\n请检查网络后重试\n请注意:上传和下载工坊物品可能需要良好的网络条件\n失败原因:{1}#{0} Upload to WorkShop server failed\nPlease check the network and try again\nPlease note: Uploading and downloading workshop items may require good internet conditions\nReason for failure: {1}:|
|
46
VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps
Normal file
46
VPet-Simulator.Windows/mod/0000_core/lang/en/Text2307.lps
Normal file
@ -0,0 +1,46 @@
|
||||
零食这种东西,总是主人给的更好吃呢,我还要~#Snacks are always better given by the master, and I want ~:|
|
||||
礼物?是好吃的吗!#Gift? Is it delicious!:|
|
||||
主人,我的午饭呢#Master, where is my lunch:|
|
||||
我最喜欢吃的东西是XX和XXX,记住了吗?对,就是更好买正在卖的那个喵。#My favorite food is XX and XXX, remember? Yes, it's the thing that the betterbuy selling mew.:|
|
||||
唔,好香啊,你学习资料里藏了什么好吃的吗?让我掏一掏!......欸,主人你怎么脸红了喵?#Hmm, it smells great. Do you have any delicious food hidden in your homework? Let me dig! Hey, master, why are you blushing, meow?:|
|
||||
主人主人,为什么你有这么多好吃的?给我吃好不好?!不可以吃吗?…喵喵!果然可以吃对吧?!今天也最喜欢主人了喵!#Mastermaster, why do you have so much food? Can you give me some food?! Can't eat?…Meow meow! Sure enough to eat, right?! I also like my master the most today, meow!:|
|
||||
事已至此,先吃饭吧#This is the end of the matter. Let's eat first:|
|
||||
主人,饿饿,饭饭#Master, hungry, dinner:|
|
||||
好饿好饿好饿,我真的好饿~#Hungry hungry hungry. Really very hungry:|
|
||||
不好了主人!那边的便利店薯片半价!#Not good master! Half price of potato chips at convenience stores over there!:|
|
||||
主人,你这瓜多少钱一斤啊?#Master, how much is this melon per kilogram?:|
|
||||
主人,我想吃烤山药。谢谢主人,主人真好。#Master, I want to eat roasted yams. Thank you master, the master is so nice.:|
|
||||
M属性爆发!主人我要吃麦O劳!#M burst! Master, I want MODonald's!:|
|
||||
我要饿死了。主人也饿吗?我好想吃一碗泡面。#I'm going to starve. Is the master hungry too? I really want to eat a bowl of instant noodles.:|
|
||||
主人不会介意我拿走你的午餐吧?我的意思是,主人看起来不需要它了。#Master wouldn't mind if I took your lunch, would he? I mean, master doesn't seem to need it anymore.:|
|
||||
主人做厚蛋烧时候不放糖!?吃煎蛋不加调味剂吗!?#Master does not put sugar when Braised Thick Eggs!? Eat omelette without seasoning!?:|
|
||||
来一份握寿司套餐,拜托多加芥末!#For a nigiri sushi set, please add more wasabi!:|
|
||||
………芭菲……好想吃……#... Buffy... I really want to eat:|
|
||||
还记得那天很好吃的葱饼吗?主人回来的时候帮我买点吧#Do you remember the delicious scallion pancake that day? buy some when comes back, master :|
|
||||
我们—生存。我们—吃。我们—腐烂。成为—食物...#We - survive. We - eat. We - decay. Becoming - Food...:|
|
||||
我们—生存。我们—吃—吃—吃—吃...#We - survive. We - eat - eat - eat - eat...:|
|
||||
晚上去吃烤肉吧#Let's go have barbecue tonight:|
|
||||
我就是饿死,死外边,从这里跳下去,不会吃主人一点东西!#Even I starve, starve outside, jump from here and won't eat anything from my master!:|
|
||||
好想再吃一次主人做的料理啊#How nice it would be to have dinner made by the master again:|
|
||||
喝!继续喝!还没尽兴呢!#Drink! Keep drinking! Not happy enough!:|
|
||||
大家好,我是本群的“提醒喝水小助手”希望此刻看到消息的人可以和我一起来喝一杯水。和我一起成为一天八杯水的人吧!#Hello everyone, I am the "Reminder to Drink Water Assistant" of this group. I hope that those who have seen the news at this moment can join me for a glass of water. Join me as someone who drinks eight glasses of water a day!:|
|
||||
主人我的宠物快乐水呢!#Master, Where is my Pet Cola!:|
|
||||
渴了就喝水,别老扒拉我腿行不行呀#Drink water when you're thirsty, don't keep pulling my leg, okay:|
|
||||
本人自愿放下水杯停止喝水, 没有受到客观阻碍,不能算喝水未遂,只能算喝水中止#I voluntarily put down my water cup and stopped drinking without objective obstacles. It cannot be considered as an attempt to drink water, but as a cessation of drinking water:|
|
||||
我夸父只喝一口#I Kuafu's only took one sip:|
|
||||
主人该喝水了#Master, it's time to drink water:|
|
||||
你喝水了没有#Have you drunk water yet:|
|
||||
太郎~呸主人~喝药~呸喝水啦~#Taro~Bah, master~Drink medicine~Bah, drink water~:|
|
||||
这喝水,多是一件美事啊#Drinking water is a beautiful thing:|
|
||||
才喝几罐就醉了,这个彬彬就是逊啦#Drunk after just a few cans, Binbin is just inferior:|
|
||||
电脑里有一款心胸狭隘不给宠物喝水的游戏#There is a narrow-minded game on the computer that doesn't give pets water:|
|
||||
脸这么方怎么喝水啊#Why drink water with such a square face:|
|
||||
好渴哦#So thirsty:|
|
||||
吨吨吨吨吨吨吨吨吨#Ton ton ton ton ton ton ton ton ton ton ton ton ton ton ton ton:|
|
||||
他奶奶滴,为什么不喝!#Fall, why not drink:|
|
||||
多喝水#Drink plenty of water:|
|
||||
多喝热水#Drink plenty of hot water:|
|
||||
只有红茶可以吗#Is only black tea okay:|
|
||||
主人我渴了#Master, I'm thirsty:|
|
||||
主人我好难受,我想点喝水#Master, I feel so uncomfortable. I would like some water to drink:|
|
||||
主人,水。。。#Master, Water...:|
|
Loading…
Reference in New Issue
Block a user