Skip to content

Commit

Permalink
Merge pull request #41 from Adamant-im/feature/tokens_transactions_ne…
Browse files Browse the repository at this point in the history
…w_design

Feature/tokens transactions new design
  • Loading branch information
RealBonus authored Oct 6, 2018
2 parents 0a511bc + 8d45708 commit ff64d11
Show file tree
Hide file tree
Showing 162 changed files with 8,864 additions and 2,367 deletions.
362 changes: 318 additions & 44 deletions Adamant.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

13 changes: 12 additions & 1 deletion Adamant/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,14 @@ struct AdamantResources {
Node(scheme: .https, host: "endless.adamant.im", port: nil),
Node(scheme: .https, host: "clown.adamant.im", port: nil),
Node(scheme: .https, host: "lake.adamant.im", port: nil),
Node(scheme: .http, host: "80.211.177.181", port: nil)
// Node(scheme: .http, host: "80.211.177.181", port: nil), // Bugged one
// Node(scheme: .http, host: "163.172.183.198", port: nil) // Testnet
]

static let ethServers = [
// "https://ethnode1.adamant.im/"
"https://ropsten.infura.io/" // test network
]

// Addresses
static let supportEmail = "[email protected]"
Expand All @@ -61,6 +67,11 @@ struct AdamantResources {

private init() {}
}

// Explorers
static let adamantExplorerAddress = "https://explorer.adamant.im/tx/"
// static let ethereumExplorerAddress = "https://etherscan.io/tx/"
static let ethereumExplorerAddress = "https://ropsten.etherscan.io/tx/" // Testnet

private init() {}
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "adamant_token.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "attachment.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "eth_token.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "wallet_lsk.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Failed.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Pending.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Success.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Updating.png",
"scale" : "1x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "2x"
},
{
"idiom" : "universal",
"filename" : "[email protected]",
"scale" : "3x"
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 16 additions & 0 deletions Adamant/Assets/eth_l18n.strings
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
/*
eth_l18n.strings
Adamant

Created by Anton Boyarkin on 27/06/2018.
Copyright © 2018 Adamant. All rights reserved.
*/

/* TransactionList: 'Transactions not found' message. */
"TransactionListScene.Error.NotFound" = "Transactions not found";

/* TransactionList: 'Transactions not found' localize error message from API. */
"No transactions found" = "Transactions not found";

/* Transaction details: 'Requesting Data' progress message. */
"TransactionDetailsScene.RequestingData" = "Requesting Data..";
41 changes: 34 additions & 7 deletions Adamant/Assets/l18n/de.lproj/Localizable.strings
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@
/* AccountsProvider: Address not valid error, %@ for address */
"AccountsProvider.Error.AddressNotValidFormat" = "Ungültige Adresse: %@";

/* AccountService: Alert title. Changes in version 1.2 */
"AccountService.update.v12.title" = "Version 1.2 update: Cryptowallets";

/* AccountService: Alert message. Changes in version 1.2, notify user that he needs to relogin to initiate eth & lsk wallets */
"AccountService.update.v12.message" = "You need to relogin to initiate Ethereum and Lisk wallets";

/* Login: user typed in invalid passphrase */
"AccountServiceError.InvalidPassphrase" = "Falsche Passphrase";

Expand Down Expand Up @@ -112,6 +118,9 @@
/* Account tab: 'Send tokens' button */
"AccountTab.Row.SendTokens" = "Tokens senden";

/* Account tab: 'Address' row */
"AccountTab.Row.Address" = "Addresse";

/* Account tab: 'Get free tokens' button */
"AccountTab.Row.FreeTokens" = "Kostenlose ADM Tokens";

Expand All @@ -127,11 +136,14 @@
/* Account tab: Application section title */
"AccountTab.Section.Application" = "Application";

/* Account tab: Adamant wallet section */
"AccountTab.Sections.adamant_wallet" = "ADAMANT Wallet";
/* Account tab: Adamant wallet */
"AccountTab.Wallets.adamant_wallet" = "Adamant Wallet";

/* Account tab: Ethereum wallet section */
"AccountTab.Sections.ethereum_wallet" = "Ethereum Wallet";
/* Account tab: Ethereum wallet */
"AccountTab.Wallets.ethereum_wallet" = "Ethereum Wallet";

/* Account tab: Lisk wallet */
"AccountTab.Wallets.lisk_wallet" = "Lisk Wallet";

/* Account page: scene title */
"AccountTab.Title" = "Konto";
Expand All @@ -157,9 +169,6 @@
/* Serious internal error: Error parsing response */
"ApiService.InternalError.ParsingFailed" = "Parsing fehlgeschlagen. Bericht senden";

/* Unknown internal error */
"ApiService.InternalError.UnknownError" = "Unbekannter Fehler. Bericht senden";

/* Eureka forms Cancel button */
"Cancel" = "Abbrechen";

Expand Down Expand Up @@ -310,6 +319,9 @@
/* Shared error: User not logged */
"Error.UserNotLogged" = "Sie sind nicht eingeloggt";

/* Shared unknown error */
"Error.UnknownError" = "Unbekannter Fehler. Bericht senden";

/* Login: Notify user, that he disabled camera in settings, and need to authorize application. */
"LoginScene.Error.AuthorizeCamera" = "Sie müssen die Kamera freigeben, damit ADAMANT die Gerätekamera verwenden kann";

Expand Down Expand Up @@ -553,6 +565,18 @@
/* TransactionList: scene title */
"TransactionListScene.Title" = "Transaktionen";

/* Transaction status: updating in progress */
"TransactionStatus.Updating" = "Updating...";

/* Transaction status: transaction is pending */
"TransactionStatus.Pending" = "Pending";

/* Transaction status: success */
"TransactionStatus.Success" = "Success";

/* Transaction status: transaction failed */
"TransactionStatus.Failed" = "Failed";

/* Transaction details: scene title */
"TransactionDetailsScene.Title" = "Details";

Expand All @@ -562,6 +586,9 @@
/* Transaction details: Block id row. */
"TransactionDetailsScene.Row.Block" = "Block";

/* Transaction details: Transaction delivery status. */
"TransactionDetailsScene.Row.Status" = "Transaction status";

/* Transaction details: confirmations row. */
"TransactionDetailsScene.Row.Confirmations" = "Bestätigungen";

Expand Down
Loading

0 comments on commit ff64d11

Please sign in to comment.