forked from shaansundar/proton-market-template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
localization.ts
90 lines (82 loc) · 2.06 KB
/
localization.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
const localizationJson: LocalizationText = {
en: {
header: {
highlightText: 'E X C L U S I V E',
headerLine1: 'CRYPTO CADETS',
headerLine2: 'COLLECTIBLE NFTS',
description:
'These exclusive crypto cadets were created to help showcase the Proton Market.',
buttonText: 'LABEL',
},
navbar: {
navLinks: ['BIO', 'BUSINESS', 'AUCTIONS', 'MY ITEMS'],
balanceText: 'Balance',
loginText: 'Connect Wallet',
},
detailPage: {
priceLabelText: 'PRICE',
editionLabelText: 'EDITION SIZE',
placeholderPriceText: 'NOT FOR SALE',
placeholderDropdownText: 'NO ASSETS',
buyButtonText: 'BUY NOW',
viewButtonText: 'VIEW ON PROTON MARKET',
sellButtonText: 'SELL ON PROTON MARKET',
cancelSaleButtonText: 'CANCEL SALE ON PROTON MARKET',
},
nftCard: {
nftsLeft: 'LEFT',
nftsOwnedForSale: 'FOR SALE',
soldOut: 'SOLD OUT',
},
featuredSection: {
heading: 'BREAKING NOW', // optional
},
myItemsPage: {
header: 'MY ITEMS',
},
},
};
export interface HeaderTextProps {
highlightText: string;
headerLine1: string;
headerLine2: string;
description: string;
buttonText: string;
}
export interface NftCardTextProps {
nftsLeft: string;
nftsOwnedForSale: string;
soldOut: string;
}
export interface NavbarTextProps {
navLinks: string[];
balanceText: string;
loginText: string;
}
export interface FeaturedSectionTextProps {
heading: string;
}
export interface DetailPageTextProps {
priceLabelText: string;
editionLabelText: string;
placeholderPriceText: string;
placeholderDropdownText: string;
buyButtonText: string;
viewButtonText: string;
sellButtonText: string;
cancelSaleButtonText: string;
}
export interface Text {
header: HeaderTextProps;
navbar: NavbarTextProps;
detailPage: DetailPageTextProps;
nftCard: NftCardTextProps;
featuredSection: FeaturedSectionTextProps;
myItemsPage: {
header: string;
};
}
interface LocalizationText {
[language: string]: Text;
}
export default localizationJson;