Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: i18n #970

Draft
wants to merge 18 commits into
base: dev
Choose a base branch
from
Draft

feat: i18n #970

wants to merge 18 commits into from

Conversation

olegshilov
Copy link
Member

@olegshilov olegshilov commented Oct 28, 2024

This is a major PR for the complete shell internationalisation feature.
We have merged all the smaller decomposed requests into this branch.

closes: WEB-604

viktoriabakun and others added 17 commits November 7, 2024 02:02
Signed-off-by: viktoriabakun <[email protected]>
Signed-off-by: viktoriabakun <[email protected]>
* feat(tolgee-keys): revoke-button

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): granter-table

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-table and some corrections

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-card

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-grants-actions

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-page

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): select options

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
* feat: setup namespaces

Signed-off-by: viktoriabakun <[email protected]>

* feat: leave single translation file by lang with namespaces as keys in it

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): use tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): remove empty vals from json files

Signed-off-by: viktoriabakun <[email protected]>

* chore: get rid of `any` in localisation components

* feat(authz): use tolgee keys (#974)

* feat(tolgee-keys): revoke-button

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): granter-table

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-table and some corrections

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-card

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-grants-actions

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-page

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): select options

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>

* feat: setup tolgee-cli

Signed-off-by: viktoriabakun <[email protected]>

* chore: move tolgee config to apps, add tolgee scripts

Signed-off-by: viktoriabakun <[email protected]>

* chore: add @tolgee/cli to devDep

Signed-off-by: viktoriabakun <[email protected]>

* chore: pnpm lock

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
Co-authored-by: Oleg Shilov <[email protected]>
* feat: setup namespaces

Signed-off-by: viktoriabakun <[email protected]>

* feat: leave single translation file by lang with namespaces as keys in it

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): use tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): remove empty vals from json files

Signed-off-by: viktoriabakun <[email protected]>

* chore: get rid of `any` in localisation components

* feat(authz): use tolgee keys (#974)

* feat(tolgee-keys): revoke-button

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): granter-table

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-table and some corrections

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-card

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-grants-actions

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-page

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): select options

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): main

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): do not translate errors

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
Co-authored-by: Oleg Shilov <[email protected]>
* feat: setup namespaces

Signed-off-by: viktoriabakun <[email protected]>

* feat: leave single translation file by lang with namespaces as keys in it

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): use tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* feat(utils): remove empty vals from json files

Signed-off-by: viktoriabakun <[email protected]>

* chore: get rid of `any` in localisation components

* feat(authz): use tolgee keys (#974)

* feat(tolgee-keys): revoke-button

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): granter-table

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-table and some corrections

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): grantee-card

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-grants-actions

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): authz-page

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): select options

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): stacking/stride, stacking validator page

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): finish stacking

Signed-off-by: viktoriabakun <[email protected]>

* fix(tolgee-keys): plurals

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
Co-authored-by: Oleg Shilov <[email protected]>
* feat: setup namespaces

Signed-off-by: viktoriabakun <[email protected]>

* feat: leave single translation file by lang with namespaces as keys in it

Signed-off-by: viktoriabakun <[email protected]>

* feat(uc-dao): use tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* refactor: add namespace to hook args

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): uc-dao token-count plural

Signed-off-by: viktoriabakun <[email protected]>

* fix: rename stacking to staking

Signed-off-by: viktoriabakun <[email protected]>

* chore: remove i18n/uc-dao folder

Signed-off-by: viktoriabakun <[email protected]>

* refactor: t usage

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
* feat(tolgee-keys): governance

Signed-off-by: viktoriabakun <[email protected]>

* feat(tolgee-keys): governance

Signed-off-by: viktoriabakun <[email protected]>

* fix(governance): simplify your-balance params

Signed-off-by: viktoriabakun <[email protected]>

* feat(governance): extract tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* chore: fix build

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
#988)

* fix: auth to authz

Signed-off-by: viktoriabakun <[email protected]>

* refactor: join translation strings

Signed-off-by: viktoriabakun <[email protected]>

* feat: sync translation keys

Signed-off-by: viktoriabakun <[email protected]>

* fix: lowercase 'show inactive' checkbox

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
* feat: add  faucet namespace

Signed-off-by: viktoriabakun <[email protected]>

* feat(faucet): use tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

* feat(faucet): extract tolgee keys

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
* feat(common): use tolgee for translation

Signed-off-by: viktoriabakun <[email protected]>

* feat: remove sth-went-wrong key reduction

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): use single braces for vars in translation files

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): click-to-copy join translation string

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): sync all keys

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'staked' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'rewards' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'unbonding' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'undelegate' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'memo' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'add-your-memo' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'available' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'balance' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'claim-all-rewards' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'click-to-copy-value' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'copied' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'delegate' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'grant-access' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'min-amount-to-claim-rewards' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'my-account' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'redelegate' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'add-memo' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'amount-error-min' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'confirm-delegation' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'amount-error-more-than-have' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'deposit' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'description' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'fetching-proposals' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'info' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'my-balance' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'fee' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'my-delegations' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'name' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'status' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'voting-power' duplicates

Signed-off-by: viktoriabakun <[email protected]>

* refactor(i18n): remove 'address' duplicates

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
translations was updated in tolgee webapp
* refactor(i18n): move not common keys to their namespaces

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): add more keys p.1

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): add more keys p.2, mostly ui-kit

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): sync keys

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): add more keys p.3

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): add more keys p.4

Signed-off-by: viktoriabakun <[email protected]>

* feat(i18n): sync keys

Signed-off-by: viktoriabakun <[email protected]>

---------

Signed-off-by: viktoriabakun <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants