Merge pull request #4435 from mempool/simon/more-i18n-fixes3
More i18n fixes (3)
This commit is contained in:
		
						commit
						da5adc3e4e
					
				| @ -51,7 +51,7 @@ | ||||
|                   In-band fees | ||||
|                 </td> | ||||
|                 <td style="text-align: end;"> | ||||
|                   {{ estimate.txSummary.effectiveFee | number : '1.0-0' }} <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                   {{ estimate.txSummary.effectiveFee | number : '1.0-0' }} <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                 </td> | ||||
|               </tr> | ||||
|               <tr class="info group-last"> | ||||
| @ -76,7 +76,7 @@ | ||||
|               <div class="d-flex mb-0"> | ||||
|                 <ng-container *ngFor="let option of maxRateOptions"> | ||||
|                   <button type="button" class="btn btn-primary flex-grow-1 btn-border btn-sm feerate" [class]="{active: selectFeeRateIndex === option.index}" (click)="setUserBid(option)"> | ||||
|                     <span class="fee">{{ option.fee + estimate.mempoolBaseFee + estimate.vsizeFee | number }} <span class="symbol" i18n="shared.sats|sats">sats</span></span> | ||||
|                     <span class="fee">{{ option.fee + estimate.mempoolBaseFee + estimate.vsizeFee | number }} <span class="symbol" i18n="shared.sats">sats</span></span> | ||||
|                     <span class="rate">~<app-fee-rate [fee]="option.rate" rounding="1.0-0"></app-fee-rate></span> | ||||
|                   </button> | ||||
|                 </ng-container> | ||||
| @ -110,7 +110,7 @@ | ||||
|                     {{ math.max(0, estimate.nextBlockFee - estimate.txSummary.effectiveFee) | number }} | ||||
|                   </td> | ||||
|                   <td class="units"> | ||||
|                     <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                     <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                     <span class="fiat ml-1"><app-fiat [value]="math.max(0, estimate.nextBlockFee - estimate.txSummary.effectiveFee)"></app-fiat></span> | ||||
|                   </td> | ||||
|                 </tr> | ||||
| @ -130,7 +130,7 @@ | ||||
|                   +{{ estimate.mempoolBaseFee | number }} | ||||
|                 </td> | ||||
|                 <td class="units"> | ||||
|                   <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                   <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                   <span class="fiat ml-1"><app-fiat [value]="estimate.mempoolBaseFee"></app-fiat></span> | ||||
|                 </td> | ||||
|               </tr> | ||||
| @ -142,7 +142,7 @@ | ||||
|                   +{{ estimate.vsizeFee | number }} | ||||
|                 </td> | ||||
|                 <td class="units"> | ||||
|                   <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                   <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                   <span class="fiat ml-1"><app-fiat [value]="estimate.vsizeFee"></app-fiat></span> | ||||
|                 </td> | ||||
|               </tr> | ||||
| @ -159,7 +159,7 @@ | ||||
|                     </span> | ||||
|                   </td> | ||||
|                   <td class="units"> | ||||
|                     <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                     <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                     <span class="fiat ml-1"><app-fiat [value]="estimate.cost + estimate.mempoolBaseFee + estimate.vsizeFee"></app-fiat></span> | ||||
|                   </td> | ||||
|                 </tr> | ||||
| @ -182,7 +182,7 @@ | ||||
|                     </span> | ||||
|                   </td> | ||||
|                   <td class="units"> | ||||
|                     <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                     <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                     <span class="fiat ml-1"> | ||||
|                       <app-fiat [value]="maxCost" [colorClass]="estimate.userBalance < maxCost ? 'red-color' : 'green-color'"></app-fiat> | ||||
|                     </span> | ||||
| @ -205,7 +205,7 @@ | ||||
|                     {{ estimate.userBalance | number }} | ||||
|                   </td> | ||||
|                   <td class="units"> | ||||
|                     <span class="symbol" i18n="shared.sats|sats">sats</span> | ||||
|                     <span class="symbol" i18n="shared.sats">sats</span> | ||||
|                     <span class="fiat ml-1"> | ||||
|                       <app-fiat [value]="estimate.userBalance" [colorClass]="estimate.userBalance < maxCost ? 'red-color' : 'green-color'"></app-fiat> | ||||
|                     </span> | ||||
|  | ||||
| @ -262,7 +262,7 @@ | ||||
|               <tbody> | ||||
|                 <tr> | ||||
|                   <td class="td-width" i18n="transaction.version">Version</td> | ||||
|                   <td>{{ block.version | decimal2hex }} <span *ngIf="displayTaprootStatus() && hasTaproot(block.version)" class="badge badge-success ml-1" >Taproot</span></td> | ||||
|                   <td>{{ block.version | decimal2hex }} <span *ngIf="displayTaprootStatus() && hasTaproot(block.version)" class="badge badge-success ml-1" i18n="tx-features.tag.taproot|Taproot">Taproot</span></td> | ||||
|                 </tr> | ||||
|                 <tr *ngIf="network !== 'liquid' && network !== 'liquidtestnet'"> | ||||
|                   <td i18n="block.bits">Bits</td> | ||||
|  | ||||
| @ -26,7 +26,7 @@ | ||||
| 
 | ||||
|         <div class="input-group input-group-lg mb-1"> | ||||
|           <div class="input-group-prepend"> | ||||
|             <span class="input-group-text">sats</span> | ||||
|             <span class="input-group-text" i18n="shared.sats">sats</span> | ||||
|           </div> | ||||
|           <input type="text" class="form-control" formControlName="satoshis" (input)="transformInput('satoshis')" (click)="selectAll($event)"> | ||||
|           <app-clipboard [button]="true" [text]="form.get('satoshis').value" [class]="'btn btn-lg btn-secondary ml-1'"></app-clipboard> | ||||
| @ -41,7 +41,7 @@ | ||||
|       <div class="bitcoin-satoshis-text"> | ||||
|         ₿ | ||||
|          <span [innerHTML]="form.get('bitcoin').value | bitcoinsatoshis"></span>  | ||||
|         <span class="sats"> sats</span> | ||||
|         <span class="sats" i18n="shared.sats">sats</span> | ||||
|       </div> | ||||
|     </div> | ||||
| 
 | ||||
|  | ||||
| @ -62,12 +62,10 @@ export class DocsComponent implements OnInit { | ||||
|       } else { | ||||
|         this.seoService.setDescription($localize`:@@meta.description.docs.websocket-bitcoin:Documentation for the mempool.space WebSocket API service: get real-time info on blocks, mempools, transactions, addresses, and more.`); | ||||
|       } | ||||
|     /* | ||||
|     } else { | ||||
|       this.activeTab = 3; | ||||
|       this.seoService.setTitle($localize`:@@meta.title.docs.electrum:Electrum RPC`); | ||||
|       this.seoService.setDescription($localize`:@@meta.description.docs.electrumrpc:Documentation for our Electrum RPC interface: get instant, convenient, and reliable access to an Esplora instance.`); | ||||
|     */ | ||||
|     } | ||||
|   } | ||||
| 
 | ||||
|  | ||||
| @ -49,7 +49,7 @@ | ||||
|           <tr *ngIf="!node.city && !node.country"> | ||||
|             <td i18n="lightning.location">Location</td> | ||||
|             <td> | ||||
|               <span>unknown</span> | ||||
|               <span i18n="unknown">Unknown</span> | ||||
|             </td> | ||||
|           </tr> | ||||
|         </tbody> | ||||
|  | ||||
| @ -1506,7 +1506,7 @@ | ||||
|         <note priority="1" from="description">sat</note> | ||||
|         <note priority="1" from="meaning">shared.sat</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="0df32c0261b0de1a2601ba61b6f621db35d344a4" datatype="html"> | ||||
|       <trans-unit id="e4b2d9e6a2ab9e6ca34027ec03beaac42b7badd4" datatype="html"> | ||||
|         <source>sats</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/accelerate-preview/accelerate-preview.component.html</context> | ||||
| @ -1540,8 +1540,67 @@ | ||||
|           <context context-type="sourcefile">src/app/components/accelerate-preview/accelerate-preview.component.html</context> | ||||
|           <context context-type="linenumber">208</context> | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">sats</note> | ||||
|         <note priority="1" from="meaning">shared.sats</note> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/calculator/calculator.component.html</context> | ||||
|           <context context-type="linenumber">29</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/calculator/calculator.component.html</context> | ||||
|           <context context-type="linenumber">44</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-list/channels-list.component.html</context> | ||||
|           <context context-type="linenumber">63</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-list/channels-list.component.html</context> | ||||
|           <context context-type="linenumber">87</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-statistics/channels-statistics.component.html</context> | ||||
|           <context context-type="linenumber">17</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-statistics/channels-statistics.component.html</context> | ||||
|           <context context-type="linenumber">63</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group-preview.component.html</context> | ||||
|           <context context-type="linenumber">34</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group.component.html</context> | ||||
|           <context context-type="linenumber">32</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group.component.html</context> | ||||
|           <context context-type="linenumber">83</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/justice-list/justice-list.component.html</context> | ||||
|           <context context-type="linenumber">28</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html</context> | ||||
|           <context context-type="linenumber">50</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country/nodes-per-country.component.html</context> | ||||
|           <context context-type="linenumber">22</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country/nodes-per-country.component.html</context> | ||||
|           <context context-type="linenumber">82</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-isp/nodes-per-isp.component.html</context> | ||||
|           <context context-type="linenumber">23</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-isp/nodes-per-isp.component.html</context> | ||||
|           <context context-type="linenumber">79</context> | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">shared.sats</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="d2eb45d1cd8cd146b7cb0223ab97a4b03b614060" datatype="html"> | ||||
|         <source>sat/vB</source> | ||||
| @ -2754,6 +2813,10 @@ | ||||
|           <context context-type="sourcefile">src/app/lightning/channel/closing-type/closing-type.component.ts</context> | ||||
|           <context context-type="linenumber">32</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/node/node-preview.component.html</context> | ||||
|           <context context-type="linenumber">52</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/node/node.component.html</context> | ||||
|           <context context-type="linenumber">58</context> | ||||
| @ -2869,6 +2932,35 @@ | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">block.actual-block</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="65d5167c4947e3ad81758d238a7ac7e893c261f0" datatype="html"> | ||||
|         <source>Taproot</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/block/block.component.html</context> | ||||
|           <context context-type="linenumber">265</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">12</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">14</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">16</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">18</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">21</context> | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">Taproot</note> | ||||
|         <note priority="1" from="meaning">tx-features.tag.taproot</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="fd04710d1a54d46cd1b81a13fc98e3d561b92141" datatype="html"> | ||||
|         <source>Bits</source> | ||||
|         <context-group purpose="location"> | ||||
| @ -5321,31 +5413,6 @@ | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">Tooltip about fees saved with taproot</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="65d5167c4947e3ad81758d238a7ac7e893c261f0" datatype="html"> | ||||
|         <source>Taproot</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">12</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">14</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">16</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">18</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/components/tx-features/tx-features.component.html</context> | ||||
|           <context context-type="linenumber">21</context> | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">Taproot</note> | ||||
|         <note priority="1" from="meaning">tx-features.tag.taproot</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="47b821c7df420c96de0b22844a88c04d52628540" datatype="html"> | ||||
|         <source>This transaction uses Taproot and already saved at least <x id="INTERPOLATION" equiv-text="{{ segwitGains.realizedTaprootGains * 100 | number: '1.0-0' }}"/>% on fees, but could save an additional <x id="INTERPOLATION_1" equiv-text="{{ segwitGains.potentialTaprootGains * 100 | number: '1.0-0' }}"/>% by fully using Taproot</source> | ||||
|         <context-group purpose="location"> | ||||
| @ -5682,6 +5749,20 @@ | ||||
|           <context context-type="linenumber">63</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="meta.title.docs.electrum" datatype="html"> | ||||
|         <source>Electrum RPC</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/docs/docs/docs.component.ts</context> | ||||
|           <context context-type="linenumber">67</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="meta.description.docs.electrumrpc" datatype="html"> | ||||
|         <source>Documentation for our Electrum RPC interface: get instant, convenient, and reliable access to an Esplora instance.</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/docs/docs/docs.component.ts</context> | ||||
|           <context context-type="linenumber">68</context> | ||||
|         </context-group> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="4ca458fe3274d1c79640b052d57cf3b900b650b6" datatype="html"> | ||||
|         <source>Base fee</source> | ||||
|         <context-group purpose="location"> | ||||
| @ -6159,62 +6240,6 @@ | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">channels.id</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="e4b2d9e6a2ab9e6ca34027ec03beaac42b7badd4" datatype="html"> | ||||
|         <source>sats</source> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-list/channels-list.component.html</context> | ||||
|           <context context-type="linenumber">63</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-list/channels-list.component.html</context> | ||||
|           <context context-type="linenumber">87</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-statistics/channels-statistics.component.html</context> | ||||
|           <context context-type="linenumber">17</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/channels-statistics/channels-statistics.component.html</context> | ||||
|           <context context-type="linenumber">63</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group-preview.component.html</context> | ||||
|           <context context-type="linenumber">34</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group.component.html</context> | ||||
|           <context context-type="linenumber">32</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/group/group.component.html</context> | ||||
|           <context context-type="linenumber">83</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/justice-list/justice-list.component.html</context> | ||||
|           <context context-type="linenumber">28</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country-chart/nodes-per-country-chart.component.html</context> | ||||
|           <context context-type="linenumber">50</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country/nodes-per-country.component.html</context> | ||||
|           <context context-type="linenumber">22</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-country/nodes-per-country.component.html</context> | ||||
|           <context context-type="linenumber">82</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-isp/nodes-per-isp.component.html</context> | ||||
|           <context context-type="linenumber">23</context> | ||||
|         </context-group> | ||||
|         <context-group purpose="location"> | ||||
|           <context context-type="sourcefile">src/app/lightning/nodes-per-isp/nodes-per-isp.component.html</context> | ||||
|           <context context-type="linenumber">79</context> | ||||
|         </context-group> | ||||
|         <note priority="1" from="description">shared.sats</note> | ||||
|       </trans-unit> | ||||
|       <trans-unit id="cfcc7201138b0ef9901e9604c35f550e91629295" datatype="html"> | ||||
|         <source>avg</source> | ||||
|         <context-group purpose="location"> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user