mirror of
https://github.com/mempool/mempool.git
synced 2025-01-07 22:19:21 +01:00
f9e8dfb079
* master: (42 commits) i18n: Added missing Bisq translations. Minor missing space and character fixes. add missing 'sat/vb' string for i18n i18n: Removed CR from "In X minutes" translation i18n: Updated strings for "x confirmations", "x transactions", "x blocks" and "block ETA". Peg-out, and bisq headers. Update translation strings from Transifex Enable 'ka' locale for Georgian Update translation strings from Transifex Disable Vietnamese locale 'vi' until translations are completed Update translation strings from Transifex add 'sat' string for i18n Update translation strings from Transifex Update translation strings from Transifex i18n update Remove extra garbage characters from OP_RETURN tooltip. fixes #254 Fix for changing locale on other networks than mainnet. fixes #253 i18n: Asset search box Update translation strings from Transifex i18n: Added X of X transaction. Flipped collapse/expand i18n: Added "miner identification" and updated "navigate to sponsor" Update translations from Transifex ... # Conflicts: # frontend/src/app/components/app/app.component.ts # frontend/src/app/components/mempool-block/mempool-block.component.ts
130 lines
5.6 KiB
TypeScript
130 lines
5.6 KiB
TypeScript
import { BrowserModule, BrowserTransferStateModule } from '@angular/platform-browser';
|
|
import { NgModule } from '@angular/core';
|
|
import { HttpClientModule, HTTP_INTERCEPTORS } from '@angular/common/http';
|
|
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
|
|
import { InfiniteScrollModule } from 'ngx-infinite-scroll';
|
|
|
|
import { AppRoutingModule } from './app-routing.module';
|
|
import { AppComponent } from './components/app/app.component';
|
|
|
|
import { StartComponent } from './components/start/start.component';
|
|
import { ElectrsApiService } from './services/electrs-api.service';
|
|
import { TransactionComponent } from './components/transaction/transaction.component';
|
|
import { TransactionsListComponent } from './components/transactions-list/transactions-list.component';
|
|
import { AmountComponent } from './components/amount/amount.component';
|
|
import { StateService } from './services/state.service';
|
|
import { BlockComponent } from './components/block/block.component';
|
|
import { AddressComponent } from './components/address/address.component';
|
|
import { SearchFormComponent } from './components/search-form/search-form.component';
|
|
import { LatestBlocksComponent } from './components/latest-blocks/latest-blocks.component';
|
|
import { WebsocketService } from './services/websocket.service';
|
|
import { AddressLabelsComponent } from './components/address-labels/address-labels.component';
|
|
import { MempoolBlocksComponent } from './components/mempool-blocks/mempool-blocks.component';
|
|
import { MasterPageComponent } from './components/master-page/master-page.component';
|
|
import { AboutComponent } from './components/about/about.component';
|
|
import { TelevisionComponent } from './components/television/television.component';
|
|
import { StatisticsComponent } from './components/statistics/statistics.component';
|
|
import { ChartistComponent } from './components/statistics/chartist.component';
|
|
import { BlockchainBlocksComponent } from './components/blockchain-blocks/blockchain-blocks.component';
|
|
import { BlockchainComponent } from './components/blockchain/blockchain.component';
|
|
import { FooterComponent } from './components/footer/footer.component';
|
|
import { AudioService } from './services/audio.service';
|
|
import { MempoolBlockComponent } from './components/mempool-block/mempool-block.component';
|
|
import { FeeDistributionGraphComponent } from './components/fee-distribution-graph/fee-distribution-graph.component';
|
|
import { TimespanComponent } from './components/timespan/timespan.component';
|
|
import { SeoService } from './services/seo.service';
|
|
import { MempoolGraphComponent } from './components/mempool-graph/mempool-graph.component';
|
|
import { AssetComponent } from './components/asset/asset.component';
|
|
import { AssetsComponent } from './assets/assets.component';
|
|
import { StatusViewComponent } from './components/status-view/status-view.component';
|
|
import { MinerComponent } from './components/miner/miner.component';
|
|
import { SharedModule } from './shared/shared.module';
|
|
import { NgbTypeaheadModule } from '@ng-bootstrap/ng-bootstrap';
|
|
import { FeesBoxComponent } from './components/fees-box/fees-box.component';
|
|
import { DashboardComponent } from './dashboard/dashboard.component';
|
|
import { FontAwesomeModule, FaIconLibrary } from '@fortawesome/angular-fontawesome';
|
|
import { faAngleDown, faAngleUp, faBolt, faChartArea, faCogs, faCubes, faDatabase, faExchangeAlt, faInfoCircle,
|
|
faLink, faList, faSearch, faTachometerAlt, faThList, faTint, faTv } from '@fortawesome/free-solid-svg-icons';
|
|
import { ApiDocsComponent } from './components/api-docs/api-docs.component';
|
|
import { TermsOfServiceComponent } from './components/terms-of-service/terms-of-service.component';
|
|
import { StorageService } from './services/storage.service';
|
|
import { HttpCacheInterceptor } from './services/http-cache.interceptor';
|
|
|
|
@NgModule({
|
|
declarations: [
|
|
AppComponent,
|
|
AboutComponent,
|
|
MasterPageComponent,
|
|
TelevisionComponent,
|
|
BlockchainComponent,
|
|
StartComponent,
|
|
BlockchainBlocksComponent,
|
|
StatisticsComponent,
|
|
TransactionComponent,
|
|
BlockComponent,
|
|
TransactionsListComponent,
|
|
AddressComponent,
|
|
AmountComponent,
|
|
LatestBlocksComponent,
|
|
SearchFormComponent,
|
|
TimespanComponent,
|
|
AddressLabelsComponent,
|
|
MempoolBlocksComponent,
|
|
ChartistComponent,
|
|
FooterComponent,
|
|
MempoolBlockComponent,
|
|
FeeDistributionGraphComponent,
|
|
MempoolGraphComponent,
|
|
AssetComponent,
|
|
AssetsComponent,
|
|
MinerComponent,
|
|
StatusViewComponent,
|
|
FeesBoxComponent,
|
|
DashboardComponent,
|
|
ApiDocsComponent,
|
|
TermsOfServiceComponent,
|
|
],
|
|
imports: [
|
|
BrowserModule.withServerTransition({ appId: 'serverApp' }),
|
|
BrowserTransferStateModule,
|
|
AppRoutingModule,
|
|
HttpClientModule,
|
|
BrowserAnimationsModule,
|
|
InfiniteScrollModule,
|
|
NgbTypeaheadModule,
|
|
FontAwesomeModule,
|
|
SharedModule,
|
|
],
|
|
providers: [
|
|
ElectrsApiService,
|
|
StateService,
|
|
WebsocketService,
|
|
AudioService,
|
|
SeoService,
|
|
StorageService,
|
|
{ provide: HTTP_INTERCEPTORS, useClass: HttpCacheInterceptor, multi: true }
|
|
],
|
|
bootstrap: [AppComponent]
|
|
})
|
|
export class AppModule {
|
|
constructor(library: FaIconLibrary) {
|
|
library.addIcons(faInfoCircle);
|
|
library.addIcons(faChartArea);
|
|
library.addIcons(faTv);
|
|
library.addIcons(faTachometerAlt);
|
|
library.addIcons(faCubes);
|
|
library.addIcons(faCogs);
|
|
library.addIcons(faThList);
|
|
library.addIcons(faList);
|
|
library.addIcons(faTachometerAlt);
|
|
library.addIcons(faDatabase);
|
|
library.addIcons(faSearch);
|
|
library.addIcons(faLink);
|
|
library.addIcons(faBolt);
|
|
library.addIcons(faTint);
|
|
library.addIcons(faAngleDown);
|
|
library.addIcons(faAngleUp);
|
|
library.addIcons(faExchangeAlt);
|
|
}
|
|
}
|