Skip to content

Commit 2697efd

Browse files
authored
enhance launch defaults
enhance launch defaults
2 parents 6ad247b + 03d4e00 commit 2697efd

6 files changed

Lines changed: 469 additions & 575 deletions

File tree

src/ExplorerGrid.tsx

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ export const ExplorerGrid = ({
132132
disabled={isLoading || isTransitioning}
133133
>
134134
<CoinsIcon className="w-4 h-4 mr-1" />
135-
LIQUIDITY
135+
{t("common.liquidity").toUpperCase()}
136136
</button>
137137

138138
<button
@@ -146,7 +146,7 @@ export const ExplorerGrid = ({
146146
disabled={isLoading || isTransitioning}
147147
>
148148
<ArrowDownAZ className="w-4 h-4 mr-1" />
149-
NEW
149+
{t("explore.new").toUpperCase()}
150150
</button>
151151

152152
<button
@@ -158,7 +158,7 @@ export const ExplorerGrid = ({
158158
disabled={isLoading || isTransitioning}
159159
>
160160
<ThumbsUp className="w-4 h-4 mr-1" />
161-
VOTES
161+
{t("common.votes").toUpperCase()}
162162
</button>
163163
</div>
164164
)}
@@ -172,15 +172,15 @@ export const ExplorerGrid = ({
172172
title={
173173
sortType === "recency"
174174
? sortOrder === "asc"
175-
? "Currently: Oldest first"
176-
: "Currently: Newest first"
175+
? t("explore.sort_order_oldest_first")
176+
: t("explore.sort_order_newest_first")
177177
: sortType === "votes"
178178
? sortOrder === "asc"
179-
? "Currently: Lowest votes first"
180-
: "Currently: Highest votes first"
179+
? t("explore.sort_order_lowest_votes_first")
180+
: t("explore.sort_order_highest_votes_first")
181181
: sortOrder === "asc"
182-
? "Currently: Lowest liquidity first"
183-
: "Currently: Highest liquidity first"
182+
? t("explore.sort_order_lowest_liquidity_first")
183+
: t("explore.sort_order_highest_liquidity_first")
184184
}
185185
disabled={isLoading || isTransitioning}
186186
>
@@ -191,15 +191,15 @@ export const ExplorerGrid = ({
191191
)}
192192
{sortType === "recency"
193193
? sortOrder === "asc"
194-
? "OLDEST"
195-
: "NEWEST"
194+
? t("explore.oldest").toUpperCase()
195+
: t("explore.newest").toUpperCase()
196196
: sortType === "votes"
197197
? sortOrder === "asc"
198-
? "LOWEST"
199-
: "HIGHEST"
198+
? t("explore.lowest").toUpperCase()
199+
: t("explore.highest").toUpperCase()
200200
: sortOrder === "asc"
201-
? "LOWEST"
202-
: "HIGHEST"}
201+
? t("explore.lowest").toUpperCase()
202+
: t("explore.highest").toUpperCase()}
203203
</button>
204204
)}
205205
</div>

0 commit comments

Comments
 (0)