Skip to content

Commit

Permalink
feat: i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
letehaha committed Feb 7, 2024
1 parent db50616 commit 56b93e3
Show file tree
Hide file tree
Showing 6 changed files with 195 additions and 179 deletions.
64 changes: 32 additions & 32 deletions src/locales/en/messages.po
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ msgstr ""
msgid "Cancel"
msgstr ""

#: src/App.tsx:150
#: src/App.tsx:166
#: src/App.tsx:152
#: src/App.tsx:168
msgid "Cart"
msgstr ""

Expand All @@ -145,11 +145,11 @@ msgstr ""
#~ msgid "Choose a picture"
#~ msgstr ""

#: src/screens/Cart/index.tsx:227
#: src/screens/Cart/index.tsx:239
msgid "Clear all"
msgstr ""

#: src/screens/Profile/index.tsx:286
#: src/screens/Profile/index.tsx:290
msgid "Clear search"
msgstr ""

Expand Down Expand Up @@ -177,15 +177,15 @@ msgstr ""
msgid "Confirm"
msgstr ""

#: src/screens/Cart/index.tsx:381
#: src/screens/Cart/index.tsx:393
msgid "Confirm and pay"
msgstr ""

#: src/screens/Cart/index.tsx:447
#: src/screens/Cart/index.tsx:459
msgid "Confirmation"
msgstr ""

#: src/screens/Cart/index.tsx:409
#: src/screens/Cart/index.tsx:421
msgid "Congrats on purchasing new domains!"
msgstr ""

Expand All @@ -197,12 +197,12 @@ msgstr ""
#~ msgid "Connect your backpack username to your on-chain identity."
#~ msgstr ""

#: src/screens/Cart/index.tsx:315
#: src/screens/Cart/index.tsx:327
msgid "Continue"
msgstr ""

#: src/components/ProfileBlock.tsx:84
#: src/components/ProfileBlock.tsx:96
#: src/components/ProfileBlock.tsx:83
#: src/components/ProfileBlock.tsx:95
#: src/screens/DomainView.tsx:617
msgid "Copied!"
msgstr ""
Expand Down Expand Up @@ -245,7 +245,7 @@ msgstr ""
msgid "Discount"
msgstr ""

#: src/screens/Cart/index.tsx:312
#: src/screens/Cart/index.tsx:324
msgid "Discounts may be applied in the next step"
msgstr ""

Expand All @@ -257,16 +257,16 @@ msgstr ""
msgid "Domain name tokenization (wrapping), involves converting a domain name into an NFT. To reveal the original domain name, the token can be redeemed (unwrapped)."
msgstr ""

#: src/App.tsx:140
#: src/screens/Profile/index.tsx:228
#: src/App.tsx:142
#: src/screens/Profile/index.tsx:232
msgid "Domains"
msgstr ""

#: src/components/DomainSizeModal.tsx:64
msgid "Each additional kb of memory costs around 0.007 SOL (0.001 USDC)"
msgstr ""

#: src/screens/Cart/index.tsx:267
#: src/screens/Cart/index.tsx:279
#: src/screens/DomainView.tsx:571
#: src/screens/DomainView.tsx:691
msgid "Edit"
Expand Down Expand Up @@ -358,7 +358,7 @@ msgid ""
" start building your profile"
msgstr ""

#: src/screens/Cart/index.tsx:422
#: src/screens/Cart/index.tsx:434
msgid "Get started with my profiles"
msgstr ""

Expand Down Expand Up @@ -428,18 +428,18 @@ msgstr ""
msgid "Learn more in our docs"
msgstr ""

#: src/screens/Profile/index.tsx:228
#: src/screens/Profile/index.tsx:232
msgid "My domains"
msgstr ""

#: src/screens/Profile/index.tsx:298
msgid "My sub domains"
msgstr ""

#: src/screens/Profile.tsx:248
#~ msgid "My subdomains"
#~ msgid "My sub domains"
#~ msgstr ""

#: src/screens/Profile/index.tsx:302
msgid "My subdomains"
msgstr ""

#: src/components/TransferModal.tsx:80
msgid "New {domain}.sol owner"
msgstr ""
Expand All @@ -457,7 +457,7 @@ msgid "No changes to save"
msgstr ""

#: src/components/SearchModal.tsx:74
#: src/screens/Profile/index.tsx:276
#: src/screens/Profile/index.tsx:280
msgid "No domain found"
msgstr ""

Expand Down Expand Up @@ -485,11 +485,11 @@ msgstr ""
msgid "Ownership is verified"
msgstr ""

#: src/screens/Cart/index.tsx:325
#: src/screens/Cart/index.tsx:337
msgid "Pay with"
msgstr ""

#: src/screens/Cart/index.tsx:446
#: src/screens/Cart/index.tsx:458
msgid "Payment"
msgstr ""

Expand Down Expand Up @@ -517,15 +517,15 @@ msgstr ""
msgid "Privacy Policy"
msgstr ""

#: src/App.tsx:129
#: src/App.tsx:131
msgid "Profile"
msgstr ""

#: src/screens/Profile.tsx:177
#~ msgid "Profile completed: {percentage}%"
#~ msgstr ""

#: src/screens/Profile/index.tsx:201
#: src/screens/Profile/index.tsx:205
msgid "Profile completion: {percentage}%"
msgstr ""

Expand Down Expand Up @@ -584,7 +584,7 @@ msgid "Search domains"
msgstr ""

#: src/screens/HomeScreen.tsx:95
#: src/screens/Profile/index.tsx:235
#: src/screens/Profile/index.tsx:239
#: src/screens/SearchResult.tsx:77
msgid "Search for a domain"
msgstr ""
Expand Down Expand Up @@ -649,11 +649,11 @@ msgstr ""
msgid "Storage Size"
msgstr ""

#: src/screens/Cart/index.tsx:251
#: src/screens/Cart/index.tsx:263
msgid "Storage:"
msgstr ""

#: src/screens/Profile/index.tsx:298
#: src/screens/Profile/index.tsx:302
msgid "Sub domains"
msgstr ""

Expand Down Expand Up @@ -809,15 +809,15 @@ msgstr ""
msgid "Wrap your domain into an NFT"
msgstr ""

#: src/screens/Cart/index.tsx:414
#: src/screens/Cart/index.tsx:426
msgid "You can enjoy the full benefits of owning a domain now. Get started by filling in the profiles attached to the domains."
msgstr ""

#: src/screens/DomainView.tsx:743
msgid "You can only add subdomains when the domain is unwrapped."
msgstr ""

#: src/screens/Cart/index.tsx:122
#: src/screens/Cart/index.tsx:123
msgid "You do not have enough funds"
msgstr ""

Expand All @@ -829,7 +829,7 @@ msgstr ""
#~ msgid "Your <0>Name</0>. Your <1>Power</1>."
#~ msgstr ""

#: src/screens/Cart/index.tsx:445
#: src/screens/Cart/index.tsx:457
msgid "Your domains"
msgstr ""

Expand Down
Loading

0 comments on commit 56b93e3

Please sign in to comment.