docs: translate all code comments to English (language policy)
Translate every Italian /// XML doc comment, <!-- --> XAML comment, and // inline comment to English across all source files (Core, App, tests). Add the language policy to CLAUDE.md (conversation Italian; all code and docs English). Update one test assertion that checked an Italian exception message that was also translated.
This commit is contained in:
@@ -21,7 +21,7 @@ public class ChainProfileTests
|
||||
Assert.Equal(50002, p.DefaultSslPort);
|
||||
Assert.Equal(746, p.Bip44CoinType);
|
||||
Assert.Equal("palladium", p.UriScheme);
|
||||
Assert.True(p.SkipPowValidation); // obbligatorio: la catena usa LWMA (§3)
|
||||
Assert.True(p.SkipPowValidation); // mandatory: the chain uses LWMA (§3)
|
||||
Assert.Equal(120, p.BlockTimeSeconds);
|
||||
}
|
||||
|
||||
@@ -105,8 +105,8 @@ public class ChainProfileTests
|
||||
Assert.Equal(1, ChainProfiles.Testnet.Bip44CoinType);
|
||||
}
|
||||
|
||||
// Serializza header (4 byte BE) + payload BIP32 di 74 byte e codifica Base58Check:
|
||||
// il prefisso testuale risultante dipende solo dall'header.
|
||||
// Serialize header (4-byte BE) + 74-byte BIP32 payload and encode Base58Check:
|
||||
// the resulting textual prefix depends only on the header.
|
||||
private static string EncodeWithHeader(uint header)
|
||||
{
|
||||
var data = new byte[78];
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace PalladiumWallet.Tests.Chain;
|
||||
|
||||
public class PalladiumNetworksTests
|
||||
{
|
||||
// Chiave privata fissa per test deterministici (solo test, mai usarla davvero).
|
||||
// Fixed private key for deterministic tests (test-only, never use it for real).
|
||||
private static Key TestKey => new(Convert.FromHexString(
|
||||
"0000000000000000000000000000000000000000000000000000000000000001"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user