中文调整

This commit is contained in:
CaiYanPeng 2021-11-23 14:25:36 +08:00
parent 265430053a
commit 23e5ae6ebd
13 changed files with 1865 additions and 1534 deletions

View File

@ -11,6 +11,7 @@ GameObject:
- component: {fileID: 8306171861788952873}
- component: {fileID: 3566600873913421943}
- component: {fileID: 7204820797918493515}
- component: {fileID: 3933748842939903915}
m_Layer: 5
m_Name: Placeholder
m_TagString: Untagged
@ -78,6 +79,19 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Enter text...
--- !u!114 &3933748842939903915
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 92744388873403988}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e47f6ee11b78f3247a0b474b6c36e2cd, type: 3}
m_Name:
m_EditorClassIdentifier:
key:
--- !u!1 &1827088261433348456
GameObject:
m_ObjectHideFlags: 0
@ -89,6 +103,7 @@ GameObject:
- component: {fileID: 8098460543711191387}
- component: {fileID: 2612167359391694885}
- component: {fileID: 7511924356665468489}
- component: {fileID: 8119156731135992212}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@ -156,6 +171,19 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text:
--- !u!114 &8119156731135992212
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 1827088261433348456}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e47f6ee11b78f3247a0b474b6c36e2cd, type: 3}
m_Name:
m_EditorClassIdentifier:
key:
--- !u!1 &4589186191166513557
GameObject:
m_ObjectHideFlags: 0

View File

@ -179,7 +179,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 4
m_Alignment: 3
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
@ -1364,7 +1364,7 @@ MonoBehaviour:
m_BestFit: 0
m_MinSize: 1
m_MaxSize: 40
m_Alignment: 0
m_Alignment: 1
m_AlignByGeometry: 0
m_RichText: 1
m_HorizontalOverflow: 0
@ -3597,6 +3597,7 @@ GameObject:
- component: {fileID: 5377764333629162855}
- component: {fileID: 5377764333629162853}
- component: {fileID: 5377764333629162852}
- component: {fileID: 6788729204167551342}
m_Layer: 5
m_Name: Text
m_TagString: Untagged
@ -3664,6 +3665,19 @@ MonoBehaviour:
m_VerticalOverflow: 0
m_LineSpacing: 1
m_Text: Nickname
--- !u!114 &6788729204167551342
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 5377764333629162854}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: e47f6ee11b78f3247a0b474b6c36e2cd, type: 3}
m_Name:
m_EditorClassIdentifier:
key:
--- !u!1 &5377764333894728495
GameObject:
m_ObjectHideFlags: 0

View File

@ -1451,6 +1451,11 @@ PrefabInstance:
propertyPath: m_AnchoredPosition.y
value: -500
objectReference: {fileID: 0}
- target: {fileID: 5922912691081905187, guid: 652cdefe0475dfd429e5a7e92bc3fa31,
type: 3}
propertyPath: key
value: More
objectReference: {fileID: 0}
- target: {fileID: 7275502706204060242, guid: 652cdefe0475dfd429e5a7e92bc3fa31,
type: 3}
propertyPath: m_Pivot.y

View File

@ -1,6 +1,5 @@
{
"zh":
{
"zh": {
"HOT ROUTES": "热门线路",
"Ride Now": "开始",
"Back": "返回",
@ -39,224 +38,228 @@
"Warning": "警告",
"Please Connect Device": "请连接设备",
"OK": "好的",
"Total Climbed":"累计爬升",
"Other Account":"切换账号",
"Ranking":"排名",
"Time Limit:":"倒计时:",
"RANK":"排名",
"NAME":"昵称",
"TIME":"时间",
"TIMER":"骑行时间",
"GAP":"GAP",
"WATT":"功率",
"W/KG":"功体比",
"HR":"心率",
"SOURCE":"设备",
"My Time":"骑行时间",
"RANKING":"排名",
"Join":"报名",
"Detail":"查看详情",
"Get Ready":"比赛开始倒计时:",
"Get Ready!":"比赛开始倒计时:",
"Sponsor":"主办方",
"more...":"更多...",
"Description":"描述",
"Contestants":"参与者",
"Time":"时间",
"Viewers":"观众",
"Join Now":"报名",
"ROUTES":"线路",
"MATCH":"赛事",
"Found Nothing":"wushuju",
"Toast":"Toast",
"Riders":"骑手",
"Altitude":"海拔",
"Power":"功率",
"Cadence":"踏频",
"Heart Rate":"心率",
"Speed":"速度",
"Name/ID":"名称",
"No":"否",
"Yes":"是",
"Enter":"进入",
"Cancel Apply":"取消报名",
"Cancel Reserve":"取消报名",
"Smart Trainer":"骑行台",
"CONNECT":"连接",
"CLOSE":"关闭",
"PAIR":"配对",
"Searching...":"搜索中...",
"CHANGE":"更换设备",
"HOT":"热门",
"INFO":"信息",
"RIDE NOW":"开始骑行",
"ROUTED":"线路",
"TRAINING":"训练",
"Search Route":"搜索线路",
"ANT+ Connected":"ANT+已连接",
"SEARCH":"搜索",
"UPDATE":"自动更新",
"Start":"开始",
"Establishing connection, please wait...":"正在连接,请稍等...",
"POWERFUN WORKOUTS":"POWERFUN WORKOUTS",
"Install Now":"立即安装",
"Click Start to download and install PowerFun Workouts,Start the course training experience.":"点击开始按钮开始下载安装PowerFun Workouts,体验课程训练",
"Country":"国家",
"Province":"省",
"Total Routes":"总线路数",
"Recommended Routes":"推荐线路",
"Total Riders":"总骑行人数",
"Total":"总计",
"Change Avatar":"更换头像",
"Linked account":"关联账号",
"ID Number":"编号",
"Nickname":"昵称",
"Please enter your nickname":"请输入您的昵称",
"Day":"日",
"Month":"月",
"Year":"年",
"Gender":"性别",
"Units":"单位",
"FTP":"FTP",
"Please enter your FTP":"请输入您的FTP",
"Weight":"体重",
"Please enter your weight":"请输入您的体重",
"Height":"身高",
"Please enter your height":"请输入您的身高",
"Max heart rate":"最大心率",
"Max Heart Rate":"最大心率",
"Please enter your MHR":"请输入您的最大心率",
"Bike weight":"车重",
"Bike Weight":"车重",
"Please enter your BW":"请输入您的车重",
"Wheel diameter":"轮径",
"Wheel Diameter":"轮径",
"Please enter your WD":"请输入您的轮径",
"DELIVERY INFO":"收货信息",
"Please enter your name":"请输入您的收货信息",
"Phone number":"手机号",
"Please enter your phone number":"请输入您的手机号",
"Address":"地址",
"Please enter your address":"请输入您的地址",
"All merchandise prizes will be sent to this address by default":"所有官方奖励将邮寄到你填写的收获地址",
"Change Password":"更改密码",
"FEEDBACK":"意见反馈",
"Email / Phone Number":"邮箱 / 手机号",
"ID":"编号",
"Version":"版本",
"Comments and suggestions":"评论和意见",
"We sincerely look forward to receiving your suggestions......":"我们真诚的希望收到您的建议......",
"Submit":"提交",
"RACE":"赛事",
"WEIGHT":"体重",
"FTP/KG":"功体比",
"Total Calories Burned":"累计消耗",
"Phone/E-mail":"手机号/邮箱",
"Password":"密码",
"Login":"登录",
"Forget password?":"忘记密码?",
"or you can join with":"或者使用如下账号登录",
"Difficulty":"难度",
"FLAT":"平路",
"Favorite":"收藏",
"Route Name":"线路名称",
"SETTING":"设置",
"NOTIFICATION":"通知",
"GO!":"开始!",
"Go":"开始",
"Stay":"忽略",
"ALL RACE":"所有赛事",
"Status":"状态",
"All":"所有",
"Not started":"未开始",
"In play":"进行中",
"Done":"结束",
"Join In":"报名",
"Race Name":"赛事名称",
"Total Rides":"总计骑行次数",
"Total Riding Time":"总计骑行时间",
"times":"次",
"hours":"h",
"KCAL":"KCAL",
"M":"M",
"KM":"KM",
"TRAINING DIARY":"骑行记录",
"Downloaded":"下载进度",
"Update Now":"立即更新",
"Total Distance":"总里程",
"Sign In":"登录",
"Sign Up":"注册",
"Remember me":"记住密码",
"Its your first login":"这是你第一次登录",
"Fill in the information":"填写信息",
"Next":"下一步",
"SIGN UP":"注册",
"Verification Code":"验证码",
"Verify":"获取验证码",
"Repeat Password":"重复输入密码",
"LOGIN":"登录",
"Forgot password?":"忘记密码?",
"Previous":"上一步",
"Power Meter":"功率计",
"Cadence Sensor":"踏频",
"Speed Meter":"速度计",
"Heart Rate Monitor":"心率带",
"NO DEVICE":"无可用设备",
"Edit":"编辑",
"Record":"骑行记录",
"More":"更多",
"Remaining Time":"比赛结束倒计时:",
"Time Limit":"关门时间:",
"Start Time":"比赛开始时间:",
"Start for Registration":"报名开始时间",
"Deadline for Registration":"报名截止时间",
"WATTS":"功率",
"Choose Your Account":"选择一个账号",
"Are you a new to Powerfun?":"新用户?",
"Account Infomation":"账号信息",
"You're almost done.":"马上完成",
"Just a little more info to set up your account.":"设置一些额外的账号信息",
"Already a member?":"老用户?",
"Or you can continue with":"或者使用如下账号登录",
"Not a member?":"还未注册?",
"RESET PASSWORD":"重置密码",
"Create Race":"创建赛事",
"RETURN":"返回",
"CHANGE ACCOUNT":"切换账号",
"DEVICE":"设备",
"Total Climbed": "累计爬升",
"Other Account": "切换账号",
"Ranking": "排名",
"Time Limit:": "倒计时:",
"RANK": "排名",
"NAME": "昵称",
"TIME": "时间",
"TIMER": "骑行时间",
"GAP": "GAP",
"WATT": "功率",
"W/KG": "功体比",
"HR": "心率",
"SOURCE": "设备",
"My Time": "骑行时间",
"RANKING": "排名",
"Join": "报名",
"Detail": "查看详情",
"Get Ready": "比赛开始倒计时:",
"Get Ready!": "比赛开始倒计时:",
"Sponsor": "主办方",
"more...": "更多...",
"Description": "描述",
"Contestants": "参与者",
"Time": "时间",
"Viewers": "观众",
"Join Now": "报名",
"ROUTES": "线路",
"MATCH": "赛事",
"Found Nothing": "wushuju",
"Toast": "Toast",
"Riders": "骑手",
"Altitude": "海拔",
"Power": "功率",
"Cadence": "踏频",
"Heart Rate": "心率",
"Speed": "速度",
"Name/ID": "名称",
"No": "否",
"Yes": "是",
"Enter": "进入",
"Cancel Apply": "取消报名",
"Cancel Reserve": "取消报名",
"Smart Trainer": "骑行台",
"CONNECT": "连接",
"CLOSE": "关闭",
"PAIR": "配对",
"Searching...": "搜索中...",
"CHANGE": "更换设备",
"HOT": "热门",
"INFO": "信息",
"RIDE NOW": "开始骑行",
"ROUTED": "线路",
"TRAINING": "训练",
"Search Route": "搜索线路",
"ANT+ Connected": "ANT+已连接",
"SEARCH": "搜索",
"UPDATE": "自动更新",
"Start": "开始",
"Establishing connection, please wait...": "正在连接,请稍等...",
"POWERFUN WORKOUTS": "POWERFUN WORKOUTS",
"Install Now": "立即安装",
"Click Start to download and install PowerFun Workouts,Start the course training experience.": "点击开始按钮开始下载安装PowerFun Workouts,体验课程训练",
"Country": "国家",
"Province": "省",
"Total Routes": "总线路数",
"Recommended Routes": "推荐线路",
"Total Riders": "总骑行人数",
"Total": "总计",
"Change Avatar": "更换头像",
"Linked account": "关联账号",
"ID Number": "编号",
"Nickname": "昵称",
"Please enter your nickname": "请输入您的昵称",
"Day": "日",
"Month": "月",
"Year": "年",
"Gender": "性别",
"Units": "单位",
"FTP": "FTP",
"Please enter your FTP": "请输入您的FTP",
"Weight": "体重",
"Please enter your weight": "请输入您的体重",
"Height": "身高",
"Please enter your height": "请输入您的身高",
"Max heart rate": "最大心率",
"Max Heart Rate": "最大心率",
"Please enter your MHR": "请输入您的最大心率",
"Bike weight": "车重",
"Bike Weight": "车重",
"Please enter your BW": "请输入您的车重",
"Wheel diameter": "轮径",
"Wheel Diameter": "轮径",
"Please enter your WD": "请输入您的轮径",
"DELIVERY INFO": "收货信息",
"Please enter your name": "请输入您的收货信息",
"Phone number": "手机号",
"Please enter your phone number": "请输入您的手机号",
"Address": "地址",
"Please enter your address": "请输入您的地址",
"All merchandise prizes will be sent to this address by default": "所有官方奖励将邮寄到你填写的收获地址",
"Change Password": "更改密码",
"FEEDBACK": "意见反馈",
"Email / Phone Number": "邮箱 / 手机号",
"ID": "编号",
"Version": "版本",
"Comments and suggestions": "评论和意见",
"We sincerely look forward to receiving your suggestions......": "我们真诚的希望收到您的建议......",
"Submit": "提交",
"RACE": "赛事",
"WEIGHT": "体重",
"FTP/KG": "功体比",
"Total Calories Burned": "累计消耗",
"Phone/E-mail": "手机号/邮箱",
"Password": "密码",
"Login": "登录",
"Logout": "注销",
"Do you want to log out and change accounts?": "您要注销并更改帐户吗?",
"Forget password?": "忘记密码?",
"or you can join with": "或者使用如下账号登录",
"Difficulty": "难度",
"FLAT": "平路",
"Favorite": "收藏",
"Route Name": "线路名称",
"SETTING": "设置",
"NOTIFICATION": "通知",
"GO!": "开始!",
"Go": "开始",
"Stay": "忽略",
"ALL RACE": "所有赛事",
"Status": "状态",
"All": "所有",
"Not started": "未开始",
"In play": "进行中",
"Done": "结束",
"Join In": "报名",
"Race Name": "赛事名称",
"Total Rides": "总计骑行次数",
"Total Riding Time": "总计骑行时间",
"times": "次",
"hours": "h",
"KCAL": "KCAL",
"M": "M",
"KM": "KM",
"TRAINING DIARY": "骑行记录",
"Downloaded": "下载进度",
"Update Now": "立即更新",
"Total Distance": "总里程",
"Sign In": "登录",
"Sign Up": "注册",
"Remember me": "记住密码",
"Its your first login": "这是你第一次登录",
"Fill in the information": "填写信息",
"Next": "下一步",
"SIGN UP": "注册",
"Verification Code": "验证码",
"Verify": "获取验证码",
"Repeat Password": "重复输入密码",
"LOGIN": "登录",
"Forgot password?": "忘记密码?",
"Previous": "上一步",
"Power Meter": "功率计",
"Cadence Sensor": "踏频",
"Speed Meter": "速度计",
"Heart Rate Monitor": "心率带",
"NO DEVICE": "无可用设备",
"Edit": "编辑",
"Record": "骑行记录",
"More": "更多",
"Remaining Time": "比赛结束倒计时:",
"Time Limit": "关门时间:",
"Start Time": "比赛开始时间:",
"Start for Registration": "报名开始时间",
"Deadline for Registration": "报名截止时间",
"WATTS": "功率",
"Choose Your Account": "选择一个账号",
"Are you a new to Powerfun?": "新用户?",
"Account Infomation": "账号信息",
"You're almost done.": "马上完成",
"Just a little more info to set up your account.": "设置一些额外的账号信息",
"Already a member?": "老用户?",
"Or you can continue with": "或者使用如下账号登录",
"Not a member?": "还未注册?",
"RESET PASSWORD": "重置密码",
"Create Race": "创建赛事",
"RETURN": "返回",
"CHANGE ACCOUNT": "切换账号",
"DEVICE": "设备",
"QUIT": "退出",
"Continue":"继续骑行",
"Ride Again":"重新骑行",
"Delete":"删除",
"Ride Route":"骑行线路",
"Continue riding?":"继续骑行?",
"Ride again?":"重新骑行该线路?",
"ReRide":"重新骑行",
"Delete this record?":"删除这条记录?",
"Ride":"骑行",
"Ride this route?":"在这条线路上骑行?",
"HOME":"首页",
"MAP MODE":"地球模式",
"Average Slope":"平均坡度",
"VIEW":"切换视图",
"SIMPLE":"极简模式",
"PAUSE":"暂停",
"Male":"男",
"Female":"女",
"Metric":"米",
"Imperial":"英寸",
"Again":"重新获取",
"Get":"获取验证码",
"Display Units":"单位",
"Distance":"里程",
"Near":"附近",
"Trend":"热门",
"Go to the official website to download?":"去powerfun.com下载Powerfun Workouts",
"Workouts not installed":"Powerfun Workouts 未安装",
"DISCONNECT":"断开连接",
"Continue": "继续骑行",
"Ride Again": "重新骑行",
"Delete": "删除",
"Ride Route": "骑行线路",
"Continue riding?": "继续骑行?",
"Ride again?": "重新骑行该线路?",
"ReRide": "重新骑行",
"Delete this record?": "删除这条记录?",
"Ride": "骑行",
"Ride this route?": "在这条线路上骑行?",
"HOME": "首页",
"MAP MODE": "地球模式",
"Average Slope": "平均坡度",
"VIEW": "切换视图",
"SIMPLE": "极简模式",
"PAUSE": "暂停",
"Male": "男",
"Female": "女",
"Metric": "米",
"Imperial": "英寸",
"Again": "重新获取",
"Get": "获取验证码",
"Display Units": "单位",
"Distance": "里程",
"Near": "附近",
"Trend": "热门",
"Go to the official website to download?": "去powerfun.com下载Powerfun Workouts",
"Workouts not installed": "Powerfun Workouts 未安装",
"DISCONNECT": "断开连接",
"Switch to PowerFun Workouts?": "切换到运动地球 Workouts",
"We will close the Powerfun and start PowerFun Workouts.": "即将关闭运动地球并启动Workouts。",
"Do you want to quit PowerFun?": "您要退出 运动地球 吗?"
},
"en":
{
"en": {
"HOT ROUTES": "HOT ROUTES",
"Ride Now": "Ride Now",
"Back": "Back",
@ -282,7 +285,7 @@
"Route Mileage": "Route Mileage",
"Riding Time": "Riding Time",
"Riding Distance": "Riding Distance",
"Total Distance":"Total Distance",
"Total Distance": "Total Distance",
"Average Cadence": "Average Cadence",
"Average Heart Rate": "Average Heart Rate",
"Max Power": "Max Power",
@ -295,211 +298,216 @@
"Warning": "Warning",
"Please Connect Device": "Please Connect Device",
"OK": "OK",
"Total Climbed":"Total Climbed",
"Other Account":"Other Account",
"Ranking":"Ranking",
"Time Limit:":"Time Limit:",
"RANK":"RANK",
"NAME":"NAME",
"TIME":"TIME",
"GAP":"GAP",
"WATT":"WATT",
"W/KG":"W/KG",
"HR":"HR",
"SOURCE":"SOURCE",
"Final Score":"Final Score",
"My Time":"My Time",
"RANKING":"RANKING",
"Join":"Join",
"Detail":"Detail",
"Get Ready":"Get Ready",
"Sponsor":"Sponsor",
"more...":"more...",
"Description":"Description",
"Contestants":"Contestants",
"Time":"Time",
"Viewers":"Viewers",
"Join Now":"Join Now",
"ROUTES":"ROUTES",
"MATCH":"MATCH",
"Found Nothing":"Found Nothing",
"Toast":"Toast",
"Riders":"Riders",
"Altitude":"Altitude",
"Power":"Power",
"Cadence":"Cadence",
"Heart Rate":"Heart Rate",
"Speed":"Speed",
"Name/ID":"Name/ID",
"No":"No",
"Yes":"Yes",
"Enter":"Enter",
"Cancel Apply":"Cancel Apply",
"Cancel Reserve":"Cancel Reserve",
"Smart Trainer":"Smart Trainer",
"NO DEVICE":"NO DEVICE",
"CONNECT":"CONNECT",
"CLOSE":"CLOSE",
"PAIR":"PAIR",
"Searching...":"Searching...",
"CHANGE":"CHANGE",
"HOT":"HOT",
"INFO":"INFO",
"RIDE NOW":"RIDE NOW",
"ROUTED":"ROUTED",
"TRAINING":"TRAINING",
"Search Route":"Search Route",
"ANT+ Connected":"ANT+ Connected",
"SEARCH":"SEARCH",
"UPDATE":"UPDATE",
"Start":"Start",
"Establishing connection, please wait...":"Establishing connection, please wait...",
"POWERFUN WORKOUTS":"POWERFUN WORKOUTS",
"Install Now":"Install Now",
"Click Start to download and install PowerFun Workouts,Start the course training experience.":"Click Start to download and install PowerFun Workouts,Start the course training experience.",
"Country":"Country",
"Province":"Province",
"Total Routes":"Total Routes",
"Recommended Routes":"Recommended Routes",
"Total Riders":"Total Riders",
"Change Avatar":"Change Avatar",
"Linked account":"Linked account",
"ID Number":"ID Number",
"Nickname":"Nickname",
"Please enter your nickname":"Please enter your nickname",
"Day":"Day",
"Month":"Month",
"Year":"Year",
"Gender":"Gender",
"Units":"Units",
"FTP":"Units",
"Please enter your FTP":"Please enter your FTP",
"Weight":"Weight",
"Please enter your weight":"Please enter your weight",
"Height":"Height",
"Please enter your height":"Please enter your height",
"Max heart rate":"Max heart rate",
"Please enter your MHR":"Please enter your MHR",
"Bike weight":"Bike weight",
"Please enter your BW":"Please enter your BW",
"Wheel diameter":"Wheel diameter",
"Please enter your WD":"Please enter your WD",
"DELIVERY INFO":"DELIVERY INFO",
"Please enter your name":"Please enter your name",
"Phone number":"Phone number",
"Please enter your phone number":"Please enter your phone number",
"Address":"Address",
"Please enter your address":"Please enter your address",
"All merchandise prizes will be sent to this address by default":"All merchandise prizes will be sent to this address by default",
"Change Password":"Change Password",
"FEEDBACK":"FEEDBACK",
"Email / Phone Number":"Email / Phone Number",
"ID":"ID",
"Version":"Version",
"Comments and suggestions":"Comments and suggestions",
"We sincerely look forward to receiving your suggestions......":"We sincerely look forward to receiving your suggestions......",
"Submit":"Submit",
"RACE":"RACE",
"WEIGHT":"WEIGHT",
"FTP/KG":"FTP/KG",
"Total Calories Burned":"Total Calories Burned",
"Phone/E-mail":"Phone/E-mail",
"Password":"Password",
"Login":"Login",
"Forget password?":"Forget password?",
"or you can join with":"or you can join with",
"Difficulty":"Difficulty",
"FLAT":"FLAT",
"Favorite":"Favorite",
"Route Name":"Route Name",
"SETTING":"SETTING",
"NOTIFICATION":"NOTIFICATION",
"GO!":"GO!",
"Go":"Go",
"Stay":"Stay",
"ALL RACE":"ALL RACE",
"Status":"Status",
"All":"All",
"Not started":"Not started",
"In play":"In play",
"Done":"Done",
"Join In":"Join In",
"Race Name":"Race Name",
"Total Rides":"Total Rides",
"Total Riding Time":"Total Riding Time",
"times":"times",
"hours":"hours",
"KCAL":"KCAL",
"M":"M",
"KM":"KM",
"TRAINING DIARY":"TRAINING DIARY",
"Downloaded":"Downloaded",
"Update Now":"Update Now",
"Sign In":"Sign In",
"Sign Up":"Sign Up",
"Remember me":"Remember me",
"Its your first login":"Its your first login",
"Fill in the information":"Fill in the information",
"Next":"Next",
"SIGN UP":"SIGN UP",
"Verification Code":"Verification Code",
"Verify":"Verify",
"Repeat Password":"Repeat Password",
"LOGIN":"LOGIN",
"Forgot password?":"Forgot password?",
"Previous":"Previous",
"Power Meter":"Power Meter",
"Cadence Sensor":"Cadence Sensor",
"Speed Meter":"Speed Meter",
"Heart Rate Monitor":"Heart Rate Monitor",
"Edit":"Edit",
"Record":"Record",
"More":"More",
"Remaining Time":"Remaining Time",
"Time Limit":"Time Limit",
"Start Time":"Start Time",
"Start for Registration":"Start for Registration",
"Deadline for Registration":"Deadline for Registration",
"Total":"Total",
"Total Climbed": "Total Climbed",
"Other Account": "Other Account",
"Ranking": "Ranking",
"Time Limit:": "Time Limit:",
"RANK": "RANK",
"NAME": "NAME",
"TIME": "TIME",
"GAP": "GAP",
"WATT": "WATT",
"W/KG": "W/KG",
"HR": "HR",
"SOURCE": "SOURCE",
"Final Score": "Final Score",
"My Time": "My Time",
"RANKING": "RANKING",
"Join": "Join",
"Detail": "Detail",
"Get Ready": "Get Ready",
"Sponsor": "Sponsor",
"more...": "more...",
"Description": "Description",
"Contestants": "Contestants",
"Time": "Time",
"Viewers": "Viewers",
"Join Now": "Join Now",
"ROUTES": "ROUTES",
"MATCH": "MATCH",
"Found Nothing": "Found Nothing",
"Toast": "Toast",
"Riders": "Riders",
"Altitude": "Altitude",
"Power": "Power",
"Cadence": "Cadence",
"Heart Rate": "Heart Rate",
"Speed": "Speed",
"Name/ID": "Name/ID",
"No": "No",
"Yes": "Yes",
"Enter": "Enter",
"Cancel Apply": "Cancel Apply",
"Cancel Reserve": "Cancel Reserve",
"Smart Trainer": "Smart Trainer",
"NO DEVICE": "NO DEVICE",
"CONNECT": "CONNECT",
"CLOSE": "CLOSE",
"PAIR": "PAIR",
"Searching...": "Searching...",
"CHANGE": "CHANGE",
"HOT": "HOT",
"INFO": "INFO",
"RIDE NOW": "RIDE NOW",
"ROUTED": "ROUTED",
"TRAINING": "TRAINING",
"Search Route": "Search Route",
"ANT+ Connected": "ANT+ Connected",
"SEARCH": "SEARCH",
"UPDATE": "UPDATE",
"Start": "Start",
"Establishing connection, please wait...": "Establishing connection, please wait...",
"POWERFUN WORKOUTS": "POWERFUN WORKOUTS",
"Install Now": "Install Now",
"Click Start to download and install PowerFun Workouts,Start the course training experience.": "Click Start to download and install PowerFun Workouts,Start the course training experience.",
"Country": "Country",
"Province": "Province",
"Total Routes": "Total Routes",
"Recommended Routes": "Recommended Routes",
"Total Riders": "Total Riders",
"Change Avatar": "Change Avatar",
"Linked account": "Linked account",
"ID Number": "ID Number",
"Nickname": "Nickname",
"Please enter your nickname": "Please enter your nickname",
"Day": "Day",
"Month": "Month",
"Year": "Year",
"Gender": "Gender",
"Units": "Units",
"FTP": "Units",
"Please enter your FTP": "Please enter your FTP",
"Weight": "Weight",
"Please enter your weight": "Please enter your weight",
"Height": "Height",
"Please enter your height": "Please enter your height",
"Max heart rate": "Max heart rate",
"Please enter your MHR": "Please enter your MHR",
"Bike weight": "Bike weight",
"Please enter your BW": "Please enter your BW",
"Wheel diameter": "Wheel diameter",
"Please enter your WD": "Please enter your WD",
"DELIVERY INFO": "DELIVERY INFO",
"Please enter your name": "Please enter your name",
"Phone number": "Phone number",
"Please enter your phone number": "Please enter your phone number",
"Address": "Address",
"Please enter your address": "Please enter your address",
"All merchandise prizes will be sent to this address by default": "All merchandise prizes will be sent to this address by default",
"Change Password": "Change Password",
"FEEDBACK": "FEEDBACK",
"Email / Phone Number": "Email / Phone Number",
"ID": "ID",
"Version": "Version",
"Comments and suggestions": "Comments and suggestions",
"We sincerely look forward to receiving your suggestions......": "We sincerely look forward to receiving your suggestions......",
"Submit": "Submit",
"RACE": "RACE",
"WEIGHT": "WEIGHT",
"FTP/KG": "FTP/KG",
"Total Calories Burned": "Total Calories Burned",
"Phone/E-mail": "Phone/E-mail",
"Password": "Password",
"Login": "Login",
"Logout": "Logout",
"Do you want to log out and change accounts?": "Do you want to log out and change accounts?",
"Forget password?": "Forget password?",
"or you can join with": "or you can join with",
"Difficulty": "Difficulty",
"FLAT": "FLAT",
"Favorite": "Favorite",
"Route Name": "Route Name",
"SETTING": "SETTING",
"NOTIFICATION": "NOTIFICATION",
"GO!": "GO!",
"Go": "Go",
"Stay": "Stay",
"ALL RACE": "ALL RACE",
"Status": "Status",
"All": "All",
"Not started": "Not started",
"In play": "In play",
"Done": "Done",
"Join In": "Join In",
"Race Name": "Race Name",
"Total Rides": "Total Rides",
"Total Riding Time": "Total Riding Time",
"times": "times",
"hours": "hours",
"KCAL": "KCAL",
"M": "M",
"KM": "KM",
"TRAINING DIARY": "TRAINING DIARY",
"Downloaded": "Downloaded",
"Update Now": "Update Now",
"Sign In": "Sign In",
"Sign Up": "Sign Up",
"Remember me": "Remember me",
"Its your first login": "Its your first login",
"Fill in the information": "Fill in the information",
"Next": "Next",
"SIGN UP": "SIGN UP",
"Verification Code": "Verification Code",
"Verify": "Verify",
"Repeat Password": "Repeat Password",
"LOGIN": "LOGIN",
"Forgot password?": "Forgot password?",
"Previous": "Previous",
"Power Meter": "Power Meter",
"Cadence Sensor": "Cadence Sensor",
"Speed Meter": "Speed Meter",
"Heart Rate Monitor": "Heart Rate Monitor",
"Edit": "Edit",
"Record": "Record",
"More": "More",
"Remaining Time": "Remaining Time",
"Time Limit": "Time Limit",
"Start Time": "Start Time",
"Start for Registration": "Start for Registration",
"Deadline for Registration": "Deadline for Registration",
"Total": "Total",
"Do you want to quit?": "Do you want to quit",
"Get Ready!":"Get Ready!",
"WATTS":"WATTS",
"Choose Your Account":"Choose Your Account",
"Are you a new to Powerfun?":"Are you a new to Powerfun?",
"Account Infomation":"Account Infomation",
"You're almost done.":"You're almost done.",
"Just a little more info to set up your account.":"Just a little more info to set up your account.",
"Already a member?":"Already a member?",
"Or you can continue with":"Or you can continue with",
"Not a member?":"Not a member?",
"RESET PASSWORD":"RESET PASSWORD",
"Create Race":"Create Race",
"CHANGE ACCOUNT":"CHANGE ACCOUNT",
"DEVICE":"DEVICE",
"Get Ready!": "Get Ready!",
"WATTS": "WATTS",
"Choose Your Account": "Choose Your Account",
"Are you a new to Powerfun?": "Are you a new to Powerfun?",
"Account Infomation": "Account Infomation",
"You're almost done.": "You're almost done.",
"Just a little more info to set up your account.": "Just a little more info to set up your account.",
"Already a member?": "Already a member?",
"Or you can continue with": "Or you can continue with",
"Not a member?": "Not a member?",
"RESET PASSWORD": "RESET PASSWORD",
"Create Race": "Create Race",
"CHANGE ACCOUNT": "CHANGE ACCOUNT",
"DEVICE": "DEVICE",
"QUIT": "QUIT",
"Continue":"Continue",
"Ride Again":"Ride Again",
"Delete":"Delete",
"Ride Route":"Ride Route",
"Ride":"Ride",
"Ride this route?":"Ride this route?",
"HOME":"HOME",
"MAP MODE":"MAP MODE",
"VIEW":"VIEW",
"SIMPLE":"SIMPLE",
"PAUSE":"PAUSE",
"Male":"Male",
"Female":"Female",
"Metric":"Metric",
"Imperial":"Imperial",
"Again":"Again",
"Get":"Get",
"Display Units":"Display Units",
"Distance":"Distance",
"Near":"Near",
"Trend":"Trend",
"Go to the official website to download?":"Go to the official website to download?",
"Workouts not installed":"Workouts not installed",
"DISCONNECT":"DISCONNECT",
"Continue": "Continue",
"Ride Again": "Ride Again",
"Delete": "Delete",
"Ride Route": "Ride Route",
"Ride": "Ride",
"Ride this route?": "Ride this route?",
"HOME": "HOME",
"MAP MODE": "MAP MODE",
"VIEW": "VIEW",
"SIMPLE": "SIMPLE",
"PAUSE": "PAUSE",
"Male": "Male",
"Female": "Female",
"Metric": "Metric",
"Imperial": "Imperial",
"Again": "Again",
"Get": "Get",
"Display Units": "Display Units",
"Distance": "Distance",
"Near": "Near",
"Trend": "Trend",
"Go to the official website to download?": "Go to the official website to download?",
"Workouts not installed": "Workouts not installed",
"DISCONNECT": "DISCONNECT",
"Switch to PowerFun Workouts?": "Switch to PowerFun Workouts?",
"We will close the Powerfun and start PowerFun Workouts.": "We will close the Powerfun and start PowerFun Workouts.",
"Do you want to quit PowerFun?": "Do you want to quit PowerFun?"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -103,7 +103,7 @@ namespace Assets.Scripts.Apis
//yield return request.Send();
var client = new HttpClient(httpClientHandler);
client.DefaultRequestHeaders.Add("Language", "en");
//client.DefaultRequestHeaders.Add("Language", "en");
HandleHeaders(client.DefaultRequestHeaders);
var result = await client.GetByteArrayAsync(_url).ConfigureAwait(false);
@ -123,6 +123,8 @@ namespace Assets.Scripts.Apis
defaultRequestHeaders.UserAgent.Add(new ProductInfoHeaderValue("Unity", ConfigHelper.AppVersion));
#endif
defaultRequestHeaders.Add("deviceUniqueIdentifier", SystemInfo.deviceUniqueIdentifier);
defaultRequestHeaders.Remove("Language");
defaultRequestHeaders.Add("Language", App.GetLocalLanguage());
}
protected async Task<byte[]> GetUrlAsync(string url)

View File

@ -1,4 +1,5 @@
using Newtonsoft.Json.Linq;
using Newtonsoft.Json;
using Newtonsoft.Json.Linq;
using System;
using System.Collections.Generic;
using System.Linq;
@ -14,6 +15,10 @@ namespace Assets.Scripts.Apis
//public dynamic data { get; set; }
public string errMsg { get; set; }
public JArray errFieldMsg { get; set; }
public override string ToString()
{
return JsonConvert.SerializeObject(this);
}
}
public class JsonResult<T> : JsonResult

View File

@ -18,7 +18,7 @@ public delegate void ChangeLanguageDelegate();
public static class App
{
public static string Host = "http://192.168.0.102:5082/";
public static string Host = "http://192.168.0.101:5084/";
public static string AppVersion = Application.version;
@ -175,7 +175,7 @@ public static class App
{
App._IsRowerMode = bool.Parse(isRower);
}
//App.ChangeLanguage("en");
Screen.sleepTimeout = SleepTimeout.NeverSleep;
Debug.Log(SystemInfo.deviceUniqueIdentifier);
}
}

View File

@ -631,6 +631,8 @@ public class LoginController : BaseScene
private void AdjustWxQrCode()
{
#if !(UNITY_IOS || UNITY_ANDROID)
if (App.GetLocalLanguage() == "en")
{
wxBrowser.EvalJSCSP(@"
document.getElementsByClassName('qrcode')[0].style.marginTop = 0;
document.getElementsByClassName('title')[0].style.display = 'none';
@ -640,6 +642,20 @@ public class LoginController : BaseScene
document.body.style.transformOrigin = 'top left';
document.body.style.transform = 'scale(0.85106382978)';
document.body.style.padding = '0';").Done();
}
else
{
wxBrowser.EvalJSCSP(@"
document.getElementsByClassName('qrcode')[0].style.marginTop = 0;
document.getElementsByClassName('title')[0].style.display = 'none';
document.getElementById('wx_default_tip').childNodes[1].innerHTML = `使`;
document.body.style.background = '#272732';
document.body.style.overflow = 'hidden';
document.body.style.transformOrigin = 'top left';
document.body.style.transform = 'scale(0.85106382978)';
document.body.style.padding = '0';").Done();
}
#endif
}
//浏览器加载回调

View File

@ -35,10 +35,10 @@ namespace Assets.Scripts.UI.Control
}
protected void Start()
{
Debug.Log(text.text);
//Debug.Log(text.text);
if (App.LanguageManager != null && App.LanguageManager.ContainsKey(key))
{
Debug.Log(text.text);
//Debug.Log(text.text);
text.text = App.LanguageManager[key];
}
App.ChangeLanguageEvent += App_ChangeLanguageEvent;

View File

@ -83,7 +83,7 @@ public class ConnectDeviceModal : PFUIPanel
UIManager.AddEvent(connectBtn.gameObject, EventTriggerType.PointerClick, new UnityEngine.Events.UnityAction<BaseEventData>(e =>
{
if (!connectBtnText.text.Equals("DISCONNECT"))
if (!connectBtnText.text.Equals(App.GetLocalString("DISCONNECT")))
{
foreach (var item in deviceList)
{
@ -208,11 +208,13 @@ public class ConnectDeviceModal : PFUIPanel
var nontrainer = deviceItemObj.DeviceInfo.Sensor != SensorType.Trainer && SensorType != SensorType.Trainer && deviceItemObj.DeviceInfo.State == DeviceState.Connected;
if (trainer || nontrainer)
{
connectBtnText.text = "DISCONNECT";
connectBtnText.text = App.GetLocalString("DISCONNECT");
connectBtnText.GetComponent<PFUIText>().key = "DISCONNECT";
}
else
{
connectBtnText.text = "CONNECT";
connectBtnText.text = App.GetLocalString("CONNECT");
connectBtnText.GetComponent<PFUIText>().key = "CONNECT";
}
foreach (var item in deviceList)
@ -248,10 +250,12 @@ public class ConnectDeviceModal : PFUIPanel
if(trainer || nontrainer)
{
connectBtnText.text = App.GetLocalString("DISCONNECT");
connectBtnText.GetComponent<PFUIText>().key = "DISCONNECT";
}
else
{
connectBtnText.text = App.GetLocalString("CONNECT");
connectBtnText.GetComponent<PFUIText>().key = "CONNECT";
}
//connectBtn.text.text = "DISCOUNECT";
noDevice.text = firstDevice.DeviceInfo.Name;

View File

@ -286,7 +286,7 @@ public class DeviceView : MonoBehaviour
else {
hasDevice = App.MainDeviceAdapter.GetDevices().Any(d => d.Sensor == SensorType);
}
Debug.Log(hasDevice);
//Debug.Log(hasDevice);
if (hasDevice)
{
mSearchButton.SetActive(false);

View File

@ -128,6 +128,7 @@ public class EarthController : PFUIPanel
map.OnCountryEnter += (int countryIndex, int regionIndex) =>
{
map.autoRotationSpeed = 0f;
var country = map.countries[countryIndex];
if (country.name.ToLower().Contains("taiwan"))
{