Skip to content

Commit

Permalink
New Crowdin updates (#566)
Browse files Browse the repository at this point in the history
* New translations l2-transfer-tools-guide.mdx (Italian)

* New translations l2-transfer-tools-guide.mdx (Japanese)

* New translations l2-transfer-tools-guide.mdx (Korean)

* New translations l2-transfer-tools-guide.mdx (Dutch)

* New translations l2-transfer-tools-guide.mdx (Polish)

* New translations l2-transfer-tools-guide.mdx (Portuguese)

* New translations l2-transfer-tools-guide.mdx (Russian)

* New translations l2-transfer-tools-guide.mdx (Swedish)

* New translations l2-transfer-tools-guide.mdx (Turkish)

* New translations l2-transfer-tools-guide.mdx (Ukrainian)

* New translations l2-transfer-tools-guide.mdx (Chinese Simplified)

* New translations l2-transfer-tools-guide.mdx (Urdu (Pakistan))

* New translations l2-transfer-tools-guide.mdx (Vietnamese)

* New translations l2-transfer-tools-guide.mdx (Marathi)

* New translations l2-transfer-tools-guide.mdx (Hindi)

* New translations l2-transfer-tools-guide.mdx (Hausa)

* New translations l2-transfer-tools-guide.mdx (Yoruba)

* New translations substreams-powered-subgraphs.mdx (French)

* New translations substreams-powered-subgraphs.mdx (German)

* New translations substreams-powered-subgraphs.mdx (Japanese)

* New translations substreams-powered-subgraphs.mdx (Russian)

* New translations substreams-powered-subgraphs.mdx (Swedish)

* New translations substreams-powered-subgraphs.mdx (Turkish)

* New translations substreams-powered-subgraphs.mdx (Chinese Simplified)

* New translations substreams-powered-subgraphs.mdx (Urdu (Pakistan))

* New translations substreams-powered-subgraphs.mdx (Marathi)

* New translations substreams-powered-subgraphs.mdx (Hindi)

* New translations substreams-powered-subgraphs-faq.mdx (Romanian)

* New translations substreams-powered-subgraphs-faq.mdx (French)

* New translations substreams-powered-subgraphs-faq.mdx (Spanish)

* New translations substreams-powered-subgraphs-faq.mdx (Arabic)

* New translations substreams-powered-subgraphs-faq.mdx (Czech)

* New translations substreams-powered-subgraphs-faq.mdx (German)

* New translations substreams-powered-subgraphs-faq.mdx (Italian)

* New translations substreams-powered-subgraphs-faq.mdx (Japanese)

* New translations substreams-powered-subgraphs-faq.mdx (Korean)

* New translations substreams-powered-subgraphs-faq.mdx (Dutch)

* New translations substreams-powered-subgraphs-faq.mdx (Polish)

* New translations substreams-powered-subgraphs-faq.mdx (Portuguese)

* New translations substreams-powered-subgraphs-faq.mdx (Russian)

* New translations substreams-powered-subgraphs-faq.mdx (Swedish)

* New translations substreams-powered-subgraphs-faq.mdx (Turkish)

* New translations substreams-powered-subgraphs-faq.mdx (Ukrainian)

* New translations substreams-powered-subgraphs-faq.mdx (Chinese Simplified)

* New translations substreams-powered-subgraphs-faq.mdx (Urdu (Pakistan))

* New translations substreams-powered-subgraphs-faq.mdx (Vietnamese)

* New translations substreams-powered-subgraphs-faq.mdx (Marathi)

* New translations substreams-powered-subgraphs-faq.mdx (Hindi)

* New translations substreams-powered-subgraphs-faq.mdx (Hausa)

* New translations substreams-powered-subgraphs-faq.mdx (Yoruba)

* New translations upgrading-a-subgraph.mdx (Romanian)

* New translations upgrading-a-subgraph.mdx (French)

* New translations upgrading-a-subgraph.mdx (Spanish)

* New translations upgrading-a-subgraph.mdx (Arabic)

* New translations upgrading-a-subgraph.mdx (Czech)

* New translations upgrading-a-subgraph.mdx (German)

* New translations upgrading-a-subgraph.mdx (Italian)

* New translations upgrading-a-subgraph.mdx (Japanese)

* New translations upgrading-a-subgraph.mdx (Korean)

* New translations upgrading-a-subgraph.mdx (Dutch)

* New translations upgrading-a-subgraph.mdx (Polish)

* New translations upgrading-a-subgraph.mdx (Portuguese)

* New translations upgrading-a-subgraph.mdx (Russian)

* New translations upgrading-a-subgraph.mdx (Swedish)

* New translations upgrading-a-subgraph.mdx (Turkish)

* New translations upgrading-a-subgraph.mdx (Ukrainian)

* New translations upgrading-a-subgraph.mdx (Chinese Simplified)

* New translations upgrading-a-subgraph.mdx (Urdu (Pakistan))

* New translations upgrading-a-subgraph.mdx (Vietnamese)

* New translations upgrading-a-subgraph.mdx (Marathi)

* New translations upgrading-a-subgraph.mdx (Hindi)

* New translations upgrading-a-subgraph.mdx (Hausa)

* New translations upgrading-a-subgraph.mdx (Yoruba)

* New translations new-chain-integration.mdx (Romanian)

* New translations new-chain-integration.mdx (French)

* New translations new-chain-integration.mdx (Spanish)

* New translations new-chain-integration.mdx (Arabic)

* New translations new-chain-integration.mdx (Czech)

* New translations new-chain-integration.mdx (German)

* New translations new-chain-integration.mdx (Italian)

* New translations new-chain-integration.mdx (Japanese)

* New translations new-chain-integration.mdx (Korean)

* New translations new-chain-integration.mdx (Dutch)

* New translations new-chain-integration.mdx (Polish)

* New translations new-chain-integration.mdx (Portuguese)

* New translations new-chain-integration.mdx (Russian)

* New translations new-chain-integration.mdx (Swedish)

* New translations new-chain-integration.mdx (Turkish)

* New translations new-chain-integration.mdx (Ukrainian)

* New translations new-chain-integration.mdx (Chinese Simplified)

* New translations new-chain-integration.mdx (Urdu (Pakistan))

* New translations new-chain-integration.mdx (Vietnamese)

* New translations new-chain-integration.mdx (Marathi)

* New translations new-chain-integration.mdx (Hindi)

* New translations new-chain-integration.mdx (Hausa)

* New translations new-chain-integration.mdx (Yoruba)

* New translations chain-integration-overview.mdx (Romanian)

* New translations chain-integration-overview.mdx (French)

* New translations chain-integration-overview.mdx (Spanish)

* New translations chain-integration-overview.mdx (Arabic)

* New translations chain-integration-overview.mdx (Czech)

* New translations chain-integration-overview.mdx (German)

* New translations chain-integration-overview.mdx (Italian)

* New translations chain-integration-overview.mdx (Japanese)

* New translations chain-integration-overview.mdx (Korean)

* New translations chain-integration-overview.mdx (Dutch)

* New translations chain-integration-overview.mdx (Polish)

* New translations chain-integration-overview.mdx (Portuguese)

* New translations chain-integration-overview.mdx (Russian)

* New translations chain-integration-overview.mdx (Swedish)

* New translations chain-integration-overview.mdx (Turkish)

* New translations chain-integration-overview.mdx (Ukrainian)

* New translations chain-integration-overview.mdx (Chinese Simplified)

* New translations chain-integration-overview.mdx (Urdu (Pakistan))

* New translations chain-integration-overview.mdx (Vietnamese)

* New translations chain-integration-overview.mdx (Marathi)

* New translations chain-integration-overview.mdx (Hindi)

* New translations chain-integration-overview.mdx (Hausa)

* New translations chain-integration-overview.mdx (Yoruba)

* New translations quick-start.mdx (Romanian)

* New translations quick-start.mdx (French)

* New translations quick-start.mdx (Spanish)

* New translations quick-start.mdx (Arabic)

* New translations quick-start.mdx (Czech)

* New translations quick-start.mdx (German)

* New translations quick-start.mdx (Italian)

* New translations quick-start.mdx (Japanese)

* New translations quick-start.mdx (Korean)

* New translations quick-start.mdx (Dutch)

* New translations quick-start.mdx (Polish)

* New translations quick-start.mdx (Portuguese)

* New translations quick-start.mdx (Russian)

* New translations quick-start.mdx (Swedish)

* New translations quick-start.mdx (Turkish)

* New translations quick-start.mdx (Ukrainian)

* New translations quick-start.mdx (Chinese Simplified)

* New translations quick-start.mdx (Urdu (Pakistan))

* New translations quick-start.mdx (Vietnamese)

* New translations quick-start.mdx (Marathi)

* New translations quick-start.mdx (Hindi)

* New translations quick-start.mdx (Hausa)

* New translations quick-start.mdx (Yoruba)

* New translations sunrise.mdx (Romanian)

* New translations sunrise.mdx (French)

* New translations sunrise.mdx (Spanish)

* New translations sunrise.mdx (Arabic)

* New translations sunrise.mdx (Czech)

* New translations sunrise.mdx (German)

* New translations sunrise.mdx (Italian)

* New translations sunrise.mdx (Japanese)

* New translations sunrise.mdx (Korean)

* New translations sunrise.mdx (Dutch)

* New translations sunrise.mdx (Polish)

* New translations sunrise.mdx (Portuguese)

* New translations sunrise.mdx (Russian)

* New translations sunrise.mdx (Swedish)

* New translations sunrise.mdx (Turkish)

* New translations sunrise.mdx (Ukrainian)

* New translations sunrise.mdx (Chinese Simplified)

* New translations sunrise.mdx (Urdu (Pakistan))

* New translations sunrise.mdx (Vietnamese)

* New translations sunrise.mdx (Marathi)

* New translations sunrise.mdx (Hindi)

* New translations sunrise.mdx (Hausa)

* New translations sunrise.mdx (Yoruba)

* New translations querying-with-python.mdx (Romanian)

* New translations querying-with-python.mdx (French)

* New translations querying-with-python.mdx (Spanish)

* New translations querying-with-python.mdx (Arabic)

* New translations querying-with-python.mdx (Czech)

* New translations querying-with-python.mdx (German)

* New translations querying-with-python.mdx (Italian)

* New translations querying-with-python.mdx (Japanese)

* New translations querying-with-python.mdx (Korean)

* New translations querying-with-python.mdx (Dutch)

* New translations querying-with-python.mdx (Polish)

* New translations querying-with-python.mdx (Portuguese)

* New translations querying-with-python.mdx (Russian)

* New translations querying-with-python.mdx (Swedish)

* New translations querying-with-python.mdx (Turkish)

* New translations querying-with-python.mdx (Ukrainian)

* New translations querying-with-python.mdx (Chinese Simplified)

* New translations querying-with-python.mdx (Urdu (Pakistan))

* New translations querying-with-python.mdx (Vietnamese)

* New translations querying-with-python.mdx (Marathi)

* New translations querying-with-python.mdx (Hindi)

* New translations querying-with-python.mdx (Hausa)

* New translations querying-with-python.mdx (Yoruba)

* New translations common-issues.mdx (Romanian)

* New translations common-issues.mdx (French)

* New translations common-issues.mdx (Spanish)

* New translations common-issues.mdx (Arabic)

* New translations common-issues.mdx (Czech)

* New translations common-issues.mdx (German)

* New translations common-issues.mdx (Italian)

* New translations common-issues.mdx (Japanese)

* New translations common-issues.mdx (Korean)

* New translations common-issues.mdx (Dutch)

* New translations common-issues.mdx (Polish)

* New translations common-issues.mdx (Portuguese)

* New translations common-issues.mdx (Russian)

* New translations common-issues.mdx (Swedish)

* New translations common-issues.mdx (Turkish)

* New translations common-issues.mdx (Ukrainian)

* New translations common-issues.mdx (Chinese Simplified)

* New translations common-issues.mdx (Urdu (Pakistan))

* New translations common-issues.mdx (Vietnamese)

* New translations common-issues.mdx (Marathi)

* New translations common-issues.mdx (Hindi)

* New translations common-issues.mdx (Hausa)

* New translations common-issues.mdx (Yoruba)

* New translations api.mdx (Romanian)

* New translations api.mdx (French)

* New translations api.mdx (Spanish)

* New translations api.mdx (Arabic)

* New translations api.mdx (Czech)

* New translations api.mdx (German)

* New translations api.mdx (Italian)

* New translations api.mdx (Japanese)

* New translations api.mdx (Korean)

* New translations api.mdx (Dutch)

* New translations api.mdx (Polish)

* New translations api.mdx (Portuguese)

* New translations api.mdx (Russian)

* New translations api.mdx (Swedish)

* New translations api.mdx (Turkish)

* New translations api.mdx (Ukrainian)

* New translations api.mdx (Chinese Simplified)

* New translations api.mdx (Urdu (Pakistan))

* New translations api.mdx (Vietnamese)

* New translations api.mdx (Marathi)

* New translations api.mdx (Hindi)

* New translations api.mdx (Hausa)

* New translations api.mdx (Yoruba)

* New translations supported-networks.json (French)

* New translations supported-networks.json (Spanish)

* New translations supported-networks.json (Italian)

* New translations supported-networks.json (Japanese)

* New translations supported-networks.json (Portuguese)

* New translations supported-networks.json (Russian)

* New translations supported-networks.json (Swedish)

* New translations supported-networks.json (Turkish)

* New translations supported-networks.json (Chinese Simplified)

* New translations supported-networks.json (Urdu (Pakistan))

* New translations supported-networks.json (Vietnamese)

* New translations supported-networks.json (Hindi)

* Run Prettier

* Fix build

* Update locales from GDS + enable Swedish and Turkish languages

* Better `AppTranslations` type
  • Loading branch information
benface authored Dec 21, 2023
1 parent 386283e commit f717229
Show file tree
Hide file tree
Showing 984 changed files with 55,150 additions and 20,183 deletions.
8 changes: 4 additions & 4 deletions packages/nextra-theme/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
"typecheck": "tsc --noEmit"
},
"peerDependencies": {
"@edgeandnode/gds": "3.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/go": "4.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/gds": "3.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@edgeandnode/go": "4.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@emotion/react": "^11.11",
"next": "^13",
"next-seo": "^6",
Expand All @@ -43,8 +43,8 @@
"react-use": "^17.4.2"
},
"devDependencies": {
"@edgeandnode/gds": "3.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/go": "4.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/gds": "3.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@edgeandnode/go": "4.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@emotion/react": "^11.11.1",
"@types/lodash": "^4.14.202",
"@types/react": "^18.2.45",
Expand Down
38 changes: 19 additions & 19 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

38 changes: 25 additions & 13 deletions website/i18n.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import { Locale, NestedStrings, Translations, useI18n as _useI18n } from '@edgeandnode/gds'

import ar from '@/pages/ar/translations'
import cs from '@/pages/cs/translations'
import de from '@/pages/de/translations'
import en from '@/pages/en/translations'
import es from '@/pages/es/translations'
import fr from '@/pages/fr/translations'
import ha from '@/pages/ha/translations'
import hi from '@/pages/hi/translations'
import it from '@/pages/it/translations'
import ja from '@/pages/ja/translations'
Expand All @@ -13,20 +15,24 @@ import mr from '@/pages/mr/translations'
import nl from '@/pages/nl/translations'
import pl from '@/pages/pl/translations'
import pt from '@/pages/pt/translations'
import ro from '@/pages/ro/translations'
import ru from '@/pages/ru/translations'
import sv from '@/pages/sv/translations'
import tr from '@/pages/tr/translations'
import uk from '@/pages/uk/translations'
import ur from '@/pages/ur/translations'
import vi from '@/pages/vi/translations'
import yo from '@/pages/yo/translations'
import zh from '@/pages/zh/translations'

const appLocales = [
Locale.ARABIC,
// Locale.CZECH,
// Locale.GERMAN,
Locale.ENGLISH,
Locale.SPANISH,
// Locale.FRENCH,
// Locale.HAUSA,
Locale.HINDI,
// Locale.ITALIAN,
Locale.JAPANESE,
Expand All @@ -35,12 +41,14 @@ const appLocales = [
// Locale.DUTCH,
// Locale.POLISH,
Locale.PORTUGUESE,
// Locale.ROMANIAN,
Locale.RUSSIAN,
// Locale.SWEDISH,
// Locale.TURKISH,
Locale.SWEDISH,
Locale.TURKISH,
// Locale.UKRAINIAN,
Locale.URDU,
// Locale.VIETNAMESE,
// Locale.YORUBA,
Locale.CHINESE,
] as const

Expand All @@ -52,21 +60,14 @@ export const supportedLocales = appLocales as Mutable<typeof appLocales>

export type AppLocale = (typeof supportedLocales)[number]

export type AppTranslations = Translations & {
[key in AppLocale]: {
global: NestedStrings
index: NestedStrings
docsearch: NestedStrings
supportedNetworks: NestedStrings
}
}

export const translations = {
ar,
cs,
de,
en,
es,
fr,
ha,
hi,
it,
ja,
Expand All @@ -75,13 +76,24 @@ export const translations = {
nl,
pl,
pt,
ro,
ru,
sv,
tr,
uk,
ur,
vi,
yo,
zh,
} satisfies AppTranslations
} satisfies Translations & {
[key in AppLocale]: {
global: NestedStrings
index: NestedStrings
docsearch: NestedStrings
supportedNetworks: NestedStrings
}
}

export type AppTranslations = typeof translations

export const useI18n = () => _useI18n<typeof translations>()
export const useI18n = () => _useI18n<AppTranslations>()
4 changes: 2 additions & 2 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"dependencies": {
"@edgeandnode/common": "^5.29.1",
"@edgeandnode/gds": "3.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/go": "4.0.0-global-header-1703167287784-4d7f05b34403f749b2baf2c11af2882b2acb4b11",
"@edgeandnode/gds": "3.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@edgeandnode/go": "4.0.0-global-header-1703180036960-6b16dd059ed284aceacf266e91ef74c6e7a1ee3b",
"@emotion/react": "^11.11.1",
"@graphprotocol/nextra-theme": "workspace:*",
"mixpanel-browser": "^2.48.1",
Expand Down
4 changes: 2 additions & 2 deletions website/pages/ar/arbitrum/arbitrum-faq.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ Click [here](#billing-on-arbitrum-faqs) if you would like to skip to the Arbitru

## لماذا يقوم The Graph بتطبيق حل L2؟

من خلال توسيع نطاق TheGrraph في L2، يمكن للمشاركين في الشبكة توقع ما يلي:
By scaling The Graph on L2, network participants can expect:

- Upwards of 26x savings on gas fees

Expand All @@ -31,7 +31,7 @@ The Graph community decided to move forward with Arbitrum last year after the ou

![Dropdown switcher to toggle Arbitrum](/img/arbitrum-screenshot-toggle.png)

## بصفتي مطور subgraph ، أو مستهلك بيانات ، أو مفهرس ، أو مسنق ، أو مفوض ، ماذا علي أن أفعل الآن؟
## As a subgraph developer, data consumer, Indexer, Curator, or Delegator, what do I need to do now?

There is no immediate action required, however, network participants are encouraged to begin moving to Arbitrum to take advantage of the benefits of L2.

Expand Down
Loading

0 comments on commit f717229

Please sign in to comment.