Replace hard coded “ChainID” with Localizable string “Chain ID” and %i string formatting in ServerImageViewModel.

pull/4648/head
Jerome Chan 2 years ago
parent cfb370b96d
commit d05278cfed
  1. 1
      AlphaWallet/Localization/en.lproj/Localizable.strings
  2. 1
      AlphaWallet/Localization/es.lproj/Localizable.strings
  3. 1
      AlphaWallet/Localization/fi.lproj/Localizable.strings
  4. 1
      AlphaWallet/Localization/ja.lproj/Localizable.strings
  5. 1
      AlphaWallet/Localization/ko.lproj/Localizable.strings
  6. 1
      AlphaWallet/Localization/zh-Hans.lproj/Localizable.strings
  7. 2
      AlphaWallet/Settings/ViewModels/ServerViewModel.swift

@ -416,6 +416,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "Failed to export private key";
"accounts.delete.error.failedToExportSeed" = "Failed to export wallet seed. If you have migrated to a new phone or restored your device, you need to import your wallet again";
"Chain ID" = "Chain ID";
"Chain ID with prefix" = "Chain ID: %i";
"Endpoint" = "Endpoint";
"settings.preferences.button.title" = "Show Tokens on Launch";
"settings.preferences.title" = "Preferences";

@ -416,6 +416,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "Error al exportar la clave privada";
"accounts.delete.error.failedToExportSeed" = "Error al exportar la semilla del monedero. Si has migrado a un teléfono nuevo o has restaurado el dispositivo, tienes que volver a importar el monedero";
"Chain ID" = "ID de cadena";
"Chain ID with prefix" = "Chain ID: %i";
"Endpoint" = "Punto final";
"settings.preferences.button.title" = "Mostrar tokens al iniciar";
"settings.preferences.title" = "Preferencias";

@ -416,6 +416,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "Salaisen avaimen vienti epäonnistui";
"accounts.delete.error.failedToExportSeed" = "Lompakon siemenluvun vienti epäonnistui. Jos olet vaihtanut puhelintasi tai palauttanut puhelimen asetukset varmuuskopiolta, lompakko pitää palauttaa tuomalla se erilliseltä varmuuskopiolta";
"Chain ID" = "Ketjun tunniste (Chain ID)";
"Chain ID with prefix" = "Chain ID: %i";
"Endpoint" = "Päätepiste (Endpoint)";
"settings.preferences.button.title" = "Näytä rahakkeet käynnistyksen aikana";
"settings.preferences.title" = "Asetukset";

@ -414,6 +414,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "秘密鍵をエクスポートできませんでした";
"accounts.delete.error.failedToExportSeed" = "Failed to export wallet seed. If you have migrated to a new phone or restored your device, you need to import your wallet again";
"Chain ID" = "チェーン ID";
"Chain ID with prefix" = "Chain ID: %i";
"Endpoint" = "エンドポイント";
"settings.preferences.button.title" = "起動時にトークンを表示";
"settings.preferences.title" = "基本設定";

@ -413,6 +413,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "개인 키를 내보내지 못했습니다";
"accounts.delete.error.failedToExportSeed" = "Failed to export wallet seed. If you have migrated to a new phone or restored your device, you need to import your wallet again";
"Chain ID" = "체인 ID";
"Chain ID with prefix" = "Chain ID: %i";
"Endpoint" = "엔드포인트";
"settings.preferences.button.title" = "시작 시 토큰 표시";
"settings.preferences.title" = "환경 설정";

@ -416,6 +416,7 @@
"accounts.delete.error.failedToExportPrivateKey" = "导出私钥失败";
"accounts.delete.error.failedToExportSeed" = "导出钱包种子失败。如果您已迁移到新手机或者重置了设备,则需再次导入钱包";
"Chain ID" = "链 ID";
"Chain ID with prefix" = "链 ID: %i";
"Endpoint" = "端点";
"settings.preferences.button.title" = "启动时显示通证";
"settings.preferences.title" = "偏好设置";

@ -90,7 +90,7 @@ struct ServerImageViewModel: ServerImageTableViewCellViewModelType {
case .auto:
return ""
case .server(let rpcServer):
return "ChainID: \(rpcServer.chainID)"
return R.string.localizable.chainIDWithPrefix(rpcServer.chainID);
}
}

Loading…
Cancel
Save