Skip to content

Commit

Permalink
app: extract locales
Browse files Browse the repository at this point in the history
  • Loading branch information
biwano committed Nov 22, 2023
1 parent a6beb7f commit b56b97d
Show file tree
Hide file tree
Showing 9 changed files with 146 additions and 56 deletions.
22 changes: 16 additions & 6 deletions app/locale/de/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
22 changes: 16 additions & 6 deletions app/locale/en-pseudo/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
26 changes: 18 additions & 8 deletions app/locale/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr "Login"

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr "Offset"

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr "Buy & Redeem Carbon"

Expand Down Expand Up @@ -659,14 +659,14 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr "KLIMA/USDC Sushiswap Liquidity"

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
msgstr "KlimaDAO's digital carbon liquidity pools are common resources available for driving environmental impact. Visit our <0> documentation </0> to find the LP contract addresses, or visit <1> Carbonmark </1> to acquire carbon via a simple user interface."
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr "KlimaDAO's digital carbon liquidity pools are common resources available for driving environmental impact."

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
msgstr "KlimaDAO's retirement aggregator is an open-source tool that enables the retirement of digital carbon credits. Visit our <0> documentation </0> to build it into your application, or visit <1> Carbonmark </1> to use a live implementation."
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr "KlimaDAO's retirement aggregator is an open-source tool that enables the retirement of digital carbon credits."

#. js-lingui-explicit-id
#: components/views/Stake/index.tsx:237
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr "Vesting term end"
msgid "offset.view_retirements"
msgstr "View Retirements"

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr "Visit our <0> documentation </0> to build it into your application, or visit <1> Carbonmark </1> to use a live implementation."

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr "Visit our <0>documentation </0> to find the LP contract addresses, or visit <1> Carbonmark </1> to acquire carbon via a simple user interface."

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
22 changes: 16 additions & 6 deletions app/locale/es/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
22 changes: 16 additions & 6 deletions app/locale/fr/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
22 changes: 16 additions & 6 deletions app/locale/hi/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
22 changes: 16 additions & 6 deletions app/locale/ko/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -150,12 +150,12 @@ msgid "Login"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:26
#: components/views/Offset/index.tsx:27
msgid "Offset"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:23
#: components/views/Redeem/index.tsx:24
msgid "Buy & Redeem Carbon"
msgstr ""

Expand Down Expand Up @@ -659,13 +659,13 @@ msgid "choose_bond.klima_usdc_lp.klima_usdc_sushiswap_liquidity"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:26
msgid "redeem.cta"
#: components/views/Redeem/index.tsx:27
msgid "redeem.cta_1"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:29
msgid "offset.cta"
#: components/views/Offset/index.tsx:30
msgid "offset.cta_1"
msgstr ""

#. js-lingui-explicit-id
Expand Down Expand Up @@ -1080,6 +1080,16 @@ msgstr ""
msgid "offset.view_retirements"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Offset/index.tsx:36
msgid "offset.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: components/views/Redeem/index.tsx:33
msgid "redeem.cta_2"
msgstr ""

#. js-lingui-explicit-id
#: lib/constants.ts:32
msgid "connect_modal.error_message_default"
Expand Down
Loading

0 comments on commit b56b97d

Please sign in to comment.