短通知bug;安卓更新中文补全
This commit is contained in:
1 parent
7476af7701
commit
a625db3ebe
5 files changed
+11
-8
No files matched your search
@@ -23,8 +23,8 @@ public class AndroidUpdate : PFUIPanel
|
||||
JObject data { get; set; }
|
||||
public void StartDownload(JObject jo)
|
||||
{
|
||||
transform.Find("Panel/CurrentVersion").GetComponent<Text>().text = $"Current Version: {App.AppVersion}";
|
||||
transform.Find("Panel/LastestVersion").GetComponent<Text>().text = $"Latest Version: {jo.Value<string>("Version")}";
|
||||
transform.Find("Panel/CurrentVersion").GetComponent<Text>().text = $"{App.GetLocalString("Current Version:")} {App.AppVersion}";
|
||||
transform.Find("Panel/LastestVersion").GetComponent<Text>().text = $"{App.GetLocalString("Latest Version:")} {jo.Value<string>("Version")}";
|
||||
data = jo;
|
||||
var path = Application.temporaryCachePath + "/PowerFun.apk";
|
||||
StartCoroutine(DownLoadExe(data.Value<string>("Url"), path, (p, isComplete) =>
|
||||
|
||||
@@ -52,7 +52,7 @@ public class LongMessageScript : MonoBehaviour
|
||||
this.textWidth = width;
|
||||
}
|
||||
//do
|
||||
if (textWidth.HasValue && textWidth > maxWidth)
|
||||
if (textWidth.HasValue)
|
||||
{
|
||||
var offset = textWidth.Value;
|
||||
var game = transform.Find("TextContainer/Content");
|
||||
|
||||
@@ -314,7 +314,9 @@
|
||||
"WAIT": "稍后",
|
||||
"RIDERS": "骑行人数",
|
||||
"Current ride distance too short to save.": "当前骑行距离过短无法保存",
|
||||
"NO RIDERS": "暂无用户"
|
||||
"NO RIDERS": "暂无用户",
|
||||
"Current Version:": "当前版本:",
|
||||
"Latest Version:": "最新版本:"
|
||||
},
|
||||
"en": {
|
||||
"HOT ROUTES": "HOT ROUTES",
|
||||
@@ -623,6 +625,8 @@
|
||||
"WAIT": "WAIT",
|
||||
"RIDERS": "RIDERS",
|
||||
"Current ride distance too short to save.": "Current ride distance too short to save.",
|
||||
"NO RIDERS": "NO RIDERS"
|
||||
"NO RIDERS": "NO RIDERS",
|
||||
"Current Version:": "Current Version:",
|
||||
"Latest Version:": "Latest Version:"
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user