Multi lingual options for commit id search section

This commit is contained in:
shunmugam 2019-09-12 15:15:57 +05:30
parent 79de720d2a
commit 0b84758980
3 changed files with 35 additions and 15 deletions

View File

@ -102,5 +102,15 @@
"getblockheight" : "Nimmt einen Hash-Parameter und gibt die entsprechende Blockhöhe zurück.", "getblockheight" : "Nimmt einen Hash-Parameter und gibt die entsprechende Blockhöhe zurück.",
"getblocktime" : "Nimmt einen Höhenparameter und gibt die unixtime des Blocks zurück.", "getblocktime" : "Nimmt einen Höhenparameter und gibt die unixtime des Blocks zurück.",
"takes":"nimmt ein" "takes":"nimmt ein"
},
"commit-id-view": {
"output-commit":"Output Commit",
"created-at-block":"Erstellt am Block",
"created-at":"Hergestellt in",
"output-type" : "Ausgabetyp",
"proof" : "Beweis",
"proof-hash" : "Beweis-Hash",
"merkle-proof" : "Merkle Beweis",
"mmr-index" : "MMR Index"
} }
} }

View File

@ -102,5 +102,15 @@
"getblockheight" : " parameter and returns corresponding block height.", "getblockheight" : " parameter and returns corresponding block height.",
"getblocktime" : " parameter and returns unixtime of the block.", "getblocktime" : " parameter and returns unixtime of the block.",
"takes" : "takes a" "takes" : "takes a"
},
"commit-id-view": {
"output-commit":"Output Commit",
"created-at-block":"Created at block",
"created-at":"Created At",
"output-type" : "Output Type",
"proof" : "Proof",
"proof-hash" : "Proof hash",
"merkle-proof" : "Merkle Proof",
"mmr-index" : "MMR Index"
} }
} }

View File

@ -291,50 +291,50 @@
<div *ngIf="hashdata.viewType == 'Commit'" > <div *ngIf="hashdata.viewType == 'Commit'" >
<div class="container"> <div class="container">
<h3>&nbsp; Output Commit <span style="font-size:15px"></span></h3> <h3>&nbsp; {{'commit-id-view.output-commit' | translate}} <span style="font-size:15px"></span></h3>
<table class="table table-horizontal-bordered table-hover hashdata_table"> <table class="table table-horizontal-bordered table-hover hashdata_table">
<tbody> <tbody>
<tr> <tr>
<td class="d-none d-md-table-cell">Created at block </td> <td class="d-none d-md-table-cell">{{'commit-id-view.created-at-block' | translate}} </td>
<td> <td>
<p class="d-md-none">Created at block</p> <p class="d-md-none">{{'commit-id-view.created-at-block' | translate}}</p>
{{ hashdata.BlockchainBlockFetchQuery.Height }}</td> {{ hashdata.BlockchainBlockFetchQuery.Height }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">Created At </td> <td class="d-none d-md-table-cell">{{'commit-id-view.created-at' | translate}} </td>
<td> <td>
<p class="d-md-none">Created At</p> <p class="d-md-none">{{'commit-id-view.created-at' | translate}}</p>
{{ hashdata.BlockchainBlockFetchQuery.Timestamp }}</td> {{ hashdata.BlockchainBlockFetchQuery.Timestamp }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">Output Type</td> <td class="d-none d-md-table-cell">{{'commit-id-view.output-type' | translate}}</td>
<td> <td>
<p class="d-md-none">Output Type</p> <p class="d-md-none">{{'commit-id-view.output-type' | translate}}</p>
{{ hashdata.BlockchainBlockOutputFetchQuery[0].OutputType }}</td> {{ hashdata.BlockchainBlockOutputFetchQuery[0].OutputType }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">Proof</td> <td class="d-none d-md-table-cell">{{'commit-id-view.proof' | translate}}</td>
<td> <td>
<p class="d-md-none">Proof</p> <p class="d-md-none">{{'commit-id-view.proof' | translate}}</p>
{{ hashdata.BlockchainBlockOutputFetchQuery[0].Proof }}</td> {{ hashdata.BlockchainBlockOutputFetchQuery[0].Proof }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">Proof hash</td> <td class="d-none d-md-table-cell">{{'commit-id-view.proof-hash' | translate}}</td>
<td> <td>
<p class="d-md-none">Proof hash</p> <p class="d-md-none">{{'commit-id-view.proof-hash' | translate}}</p>
{{ hashdata.BlockchainBlockOutputFetchQuery[0].ProofHash }}</td> {{ hashdata.BlockchainBlockOutputFetchQuery[0].ProofHash }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">Merkle Proof</td> <td class="d-none d-md-table-cell">{{'commit-id-view.merkle-proof' | translate}}</td>
<td class="text_break"> <td class="text_break">
<p class="d-md-none">Merkle Proof</p> <p class="d-md-none">{{'commit-id-view.merkle-proof' | translate}}</p>
{{ hashdata.BlockchainBlockOutputFetchQuery[0].MerkleProof }}</td> {{ hashdata.BlockchainBlockOutputFetchQuery[0].MerkleProof }}</td>
</tr> </tr>
<tr> <tr>
<td class="d-none d-md-table-cell">MMR Index</td> <td class="d-none d-md-table-cell">{{'commit-id-view.mmr-index' | translate}}</td>
<td> <td>
<p class="d-md-none">MMR Index</p> <p class="d-md-none">{{'commit-id-view.mmr-index' | translate}}</p>
{{ hashdata.BlockchainBlockOutputFetchQuery[0].MmrIndex }}</td> {{ hashdata.BlockchainBlockOutputFetchQuery[0].MmrIndex }}</td>
</tr> </tr>
</tbody> </tbody>