浏览器:所有地址都显示缩写地址和名称(Poinbase、混币器、平台、兑换处、商家)
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
c3bc42b57a
commit
876a8c4daa
9 files changed
+19
-6
No files matched your search
@@ -949,3 +949,4 @@ black.sale.Sold,"verkauft, Auszahlung an Tag {0} in {1}"
|
|||||||
explorer.col.day,Tag
|
explorer.col.day,Tag
|
||||||
explorer.day,Tag {0}
|
explorer.day,Tag {0}
|
||||||
explorer.pool,RatDigg-Pool
|
explorer.pool,RatDigg-Pool
|
||||||
|
explorer.desk,Ponero-Wechselstube
|
||||||
|
@@ -949,3 +949,4 @@ black.sale.Sold,"sold, payout day {0} in {1}"
|
|||||||
explorer.col.day,Day
|
explorer.col.day,Day
|
||||||
explorer.day,Day {0}
|
explorer.day,Day {0}
|
||||||
explorer.pool,RatDigg pool
|
explorer.pool,RatDigg pool
|
||||||
|
explorer.desk,Ponero desk
|
||||||
|
@@ -949,3 +949,4 @@ black.sale.Sold,"vendido, pago el día {0} en {1}"
|
|||||||
explorer.col.day,Día
|
explorer.col.day,Día
|
||||||
explorer.day,Día {0}
|
explorer.day,Día {0}
|
||||||
explorer.pool,pool de RatDigg
|
explorer.pool,pool de RatDigg
|
||||||
|
explorer.desk,mesa Ponero
|
||||||
|
@@ -949,3 +949,4 @@ black.sale.Sold,"vendu, paiement au jour {0} en {1}"
|
|||||||
explorer.col.day,Jour
|
explorer.col.day,Jour
|
||||||
explorer.day,Jour {0}
|
explorer.day,Jour {0}
|
||||||
explorer.pool,pool RatDigg
|
explorer.pool,pool RatDigg
|
||||||
|
explorer.desk,bureau Ponero
|
||||||
|
@@ -949,3 +949,4 @@ black.sale.Sold,成約済、{0}日目に{1}で入金
|
|||||||
explorer.col.day,日
|
explorer.col.day,日
|
||||||
explorer.day,{0}日目
|
explorer.day,{0}日目
|
||||||
explorer.pool,RatDiggプール
|
explorer.pool,RatDiggプール
|
||||||
|
explorer.desk,Ponero両替所
|
||||||
|
Can't render this file because it contains an unexpected character in line 488 and column 24.
|
@@ -949,3 +949,4 @@ black.sale.Sold,"sprzedane, wypłata w dniu {0} w {1}"
|
|||||||
explorer.col.day,Dzień
|
explorer.col.day,Dzień
|
||||||
explorer.day,Dzień {0}
|
explorer.day,Dzień {0}
|
||||||
explorer.pool,pula RatDigg
|
explorer.pool,pula RatDigg
|
||||||
|
explorer.desk,kantor Ponero
|
||||||
|
@@ -949,3 +949,4 @@ black.sale.Sold,"продано, выплата на день {0} в {1}"
|
|||||||
explorer.col.day,День
|
explorer.col.day,День
|
||||||
explorer.day,День {0}
|
explorer.day,День {0}
|
||||||
explorer.pool,пул RatDigg
|
explorer.pool,пул RatDigg
|
||||||
|
explorer.desk,обменник Ponero
|
||||||
|
@@ -948,3 +948,4 @@ black.sale.Sold,已成交,第 {0} 天以 {1} 放款
|
|||||||
explorer.col.day,天
|
explorer.col.day,天
|
||||||
explorer.day,第 {0} 天
|
explorer.day,第 {0} 天
|
||||||
explorer.pool,RatDigg 矿池
|
explorer.pool,RatDigg 矿池
|
||||||
|
explorer.desk,Ponero 兑换处
|
||||||
|
@@ -1404,7 +1404,7 @@ namespace Decentralized
|
|||||||
}
|
}
|
||||||
|
|
||||||
private static string _explorerQuery = "";
|
private static string _explorerQuery = "";
|
||||||
private static readonly float[] ExplWBase = new[] { 76f, 62f, 290f, 150f };
|
private static readonly float[] ExplWBase = new[] { 70f, 60f, 390f, 130f };
|
||||||
private static float[] ExplW => Sc(ExplWBase);
|
private static float[] ExplW => Sc(ExplWBase);
|
||||||
private static readonly TextAnchor[] ExplAligns = { TextAnchor.MiddleLeft, TextAnchor.MiddleLeft, TextAnchor.MiddleLeft, TextAnchor.MiddleRight };
|
private static readonly TextAnchor[] ExplAligns = { TextAnchor.MiddleLeft, TextAnchor.MiddleLeft, TextAnchor.MiddleLeft, TextAnchor.MiddleRight };
|
||||||
|
|
||||||
@@ -1413,12 +1413,17 @@ namespace Decentralized
|
|||||||
{
|
{
|
||||||
var d = Session.Data;
|
var d = Session.Data;
|
||||||
if (string.IsNullOrEmpty(a)) return "—";
|
if (string.IsNullOrEmpty(a)) return "—";
|
||||||
if (a == "network" || ChainAddress.Same(a, d.Address("pool"))) return ChainAddress.Short(d.Address("pool")) + " (" + L.T("explorer.pool") + ")";
|
if (a == "network") a = d.Address("pool");
|
||||||
|
string name = null;
|
||||||
var own = d.Own(a);
|
var own = d.Own(a);
|
||||||
if (own != null) return WalletWindow.NameOf(own);
|
if (own != null) name = WalletWindow.NameOf(own);
|
||||||
if (ChainAddress.Same(a, d.Address("poinbase"))) return "Poinbase";
|
else if (ChainAddress.Same(a, d.Address("pool"))) name = L.T("explorer.pool");
|
||||||
if (d.Addresses.TryGetValue("mixer", out var mx) && ChainAddress.Same(a, mx)) return L.T("explorer.mixer");
|
else if (ChainAddress.Same(a, d.Address("poinbase"))) name = "Poinbase";
|
||||||
return ChainAddress.Short(a);
|
else if (d.Addresses.TryGetValue("mixer", out var mx) && ChainAddress.Same(a, mx)) name = L.T("explorer.mixer");
|
||||||
|
else if (d.Addresses.TryGetValue("platform", out var pf) && ChainAddress.Same(a, pf)) name = L.T("merchant.Platform");
|
||||||
|
else if (d.Addresses.TryGetValue("desk", out var dk) && ChainAddress.Same(a, dk)) name = L.T("explorer.desk");
|
||||||
|
else { var sl = d.Black.Sellers.FirstOrDefault(x => ChainAddress.Same(x.Name, a)); if (sl != null) name = L.T("merchant." + sl.Type); }
|
||||||
|
return ChainAddress.Short(a) + (name != null ? " (" + name + ")" : "");
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>浏览器:公共数据,不需要连接钱包。查任意地址的转账,只显示真实发生的。</summary>
|
/// <summary>浏览器:公共数据,不需要连接钱包。查任意地址的转账,只显示真实发生的。</summary>
|
||||||
|
|||||||
Reference in new issue
Block a user