Skip to content

Commit 03b62ee

Browse files
authored
New Crowdin updates (#109)
* New translations assemblyscript-api.mdx (Spanish) * New translations graphql-api.mdx (Spanish) * New translations distributed-systems.mdx (Vietnamese) * New translations graphql-api.mdx (Chinese Simplified) * New translations graphql-api.mdx (Korean) * New translations graphql-api.mdx (Japanese) * New translations graphql-api.mdx (Arabic) * New translations create-subgraph-hosted.mdx (Spanish) * New translations create-subgraph-hosted.mdx (Vietnamese) * New translations assemblyscript-api.mdx (Vietnamese) * New translations create-subgraph-hosted.mdx (Chinese Simplified) * New translations assemblyscript-api.mdx (Chinese Simplified) * New translations create-subgraph-hosted.mdx (Korean) * New translations assemblyscript-api.mdx (Korean) * New translations create-subgraph-hosted.mdx (Japanese) * New translations assemblyscript-api.mdx (Japanese) * New translations create-subgraph-hosted.mdx (Arabic) * New translations assemblyscript-api.mdx (Arabic) * New translations graphql-api.mdx (Vietnamese) * New translations matchstick.mdx (Spanish) * New translations delegating.mdx (Spanish) * New translations curating.mdx (Spanish) * New translations indexing.mdx (Spanish) * New translations assemblyscript-migration-guide.mdx (Spanish) * New translations matchstick.mdx (Chinese Simplified) * New translations indexing.mdx (Korean) * New translations matchstick.mdx (Korean) * New translations indexing.mdx (Japanese) * New translations matchstick.mdx (Japanese) * New translations indexing.mdx (Arabic) * New translations matchstick.mdx (Arabic) * New translations indexing.mdx (Chinese Simplified) * New translations assemblyscript-migration-guide.mdx (Arabic) * New translations assemblyscript-migration-guide.mdx (Japanese) * New translations assemblyscript-migration-guide.mdx (Korean) * New translations matchstick.mdx (Vietnamese) * New translations indexing.mdx (Vietnamese) * New translations assemblyscript-migration-guide.mdx (Vietnamese) * New translations assemblyscript-migration-guide.mdx (Chinese Simplified) * New translations billing.mdx (Spanish) * New translations migrating-subgraph.mdx (Spanish) * New translations deploy-subgraph-hosted.mdx (Spanish) * New translations explorer.mdx (Spanish) * New translations subgraph-studio.mdx (Arabic) * New translations migrating-subgraph.mdx (Arabic) * New translations billing.mdx (Arabic) * New translations deploy-subgraph-studio.mdx (Arabic) * New translations subgraph-debug-forking.mdx (Arabic) * New translations near.mdx (Arabic) * New translations explorer.mdx (Arabic) * New translations transferring-subgraph-ownership.mdx (Arabic) * New translations querying-best-practices.mdx (Arabic) * New translations curating.mdx (Japanese) * New translations deploy-subgraph-hosted.mdx (Arabic) * New translations transferring-subgraph-ownership.mdx (Spanish) * New translations subgraph-studio.mdx (Spanish) * New translations subgraph-debug-forking.mdx (Spanish) * New translations querying-best-practices.mdx (Spanish) * New translations curating.mdx (Arabic) * New translations delegating.mdx (Arabic) * New translations delegating.mdx (Japanese) * New translations explorer.mdx (Korean) * New translations deploy-subgraph-hosted.mdx (Korean) * New translations migrating-subgraph.mdx (Korean) * New translations delegating.mdx (Korean) * New translations billing.mdx (Korean) * New translations subgraph-studio.mdx (Korean) * New translations subgraph-debug-forking.mdx (Korean) * New translations transferring-subgraph-ownership.mdx (Korean) * New translations curating.mdx (Korean) * New translations billing.mdx (Japanese) * New translations explorer.mdx (Japanese) * New translations deploy-subgraph-hosted.mdx (Japanese) * New translations migrating-subgraph.mdx (Japanese) * New translations studio-faq.mdx (Japanese) * New translations subgraph-studio.mdx (Japanese) * New translations subgraph-debug-forking.mdx (Japanese) * New translations transferring-subgraph-ownership.mdx (Japanese) * New translations querying-best-practices.mdx (Japanese) * New translations querying-best-practices.mdx (Korean) * New translations curating.mdx (Vietnamese) * New translations delegating.mdx (Vietnamese) * New translations explorer.mdx (Vietnamese) * New translations querying-best-practices.mdx (Chinese Simplified) * New translations deploy-subgraph-hosted.mdx (Vietnamese) * New translations migrating-subgraph.mdx (Vietnamese) * New translations billing.mdx (Vietnamese) * New translations subgraph-studio.mdx (Vietnamese) * New translations transferring-subgraph-ownership.mdx (Chinese Simplified) * New translations deploy-subgraph-hosted.mdx (Chinese Simplified) * New translations curating.mdx (Chinese Simplified) * New translations delegating.mdx (Chinese Simplified) * New translations explorer.mdx (Chinese Simplified) * New translations migrating-subgraph.mdx (Chinese Simplified) * New translations subgraph-debug-forking.mdx (Chinese Simplified) * New translations what-is-hosted-service.mdx (Chinese Simplified) * New translations billing.mdx (Chinese Simplified) * New translations multisig.mdx (Chinese Simplified) * New translations subgraph-studio.mdx (Chinese Simplified) * New translations near.mdx (Chinese Simplified) * New translations subgraph-debug-forking.mdx (Vietnamese) * New translations transferring-subgraph-ownership.mdx (Vietnamese) * New translations querying-best-practices.mdx (Vietnamese) * New translations delegating.mdx (Spanish) * New translations delegating.mdx (Arabic) * New translations delegating.mdx (Japanese) * New translations delegating.mdx (Korean) * New translations delegating.mdx (Chinese Simplified) * New translations delegating.mdx (Vietnamese) * New translations create-subgraph-hosted.mdx (Spanish) * New translations create-subgraph-hosted.mdx (Arabic) * New translations create-subgraph-hosted.mdx (Japanese) * New translations create-subgraph-hosted.mdx (Korean) * New translations create-subgraph-hosted.mdx (Chinese Simplified) * New translations create-subgraph-hosted.mdx (Vietnamese) * Run Prettier
1 parent 9d8c3fa commit 03b62ee

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+4412
-261
lines changed

navigation/navigation.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,8 @@ export const navigation: (locale: AppLocale) => NavItemDefinition[] = (locale) =
9797
slug: 'studio-faq',
9898
},
9999
{
100-
slug: 'transferring-subgraph-ownership'
101-
}
100+
slug: 'transferring-subgraph-ownership',
101+
},
102102
],
103103
},
104104
{

pages/ar/delegating.mdx

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,9 +79,17 @@ title: المفوض(Delegator)
7979

8080
لذلك يجب على المفوض دائما أن يأخذ في الاعتبار سعة التفويض (Delegation Capacity) للمفهرس ، وأن يأخذها في الاعتبار عند اتخاذ القرار.
8181

82-
## فيديو لواجهة مستخدم الشبكة
82+
## Delegator FAQs and Bugs
8383

84-
يوفر هذا الدليل مراجعة كاملة لهذا المستند ، وكيفية مراعاة كل شيء في هذا المستند أثناء التفاعل مع واجهة المستخدم.
84+
### MetaMask "Pending Transaction" Bug
85+
86+
**When I try to delegate my transaction in MetaMask appears as "Pending" or "Queued" for longer than expected. What should I do?**
87+
88+
At times, attempts to delegate to indexers via MetaMask can fail and result in prolonged periods of "Pending" or "Queued" transaction attempts. For example, a user may attempt to delegate with an insufficient gas fee relative to the current prices, resulting in the transaction attempt displaying as "Pending" in their MetaMask wallet for 15+ minutes. When this occurs, subsequent transactions can be attempted by a user, but these will not be processed until the initial transaction is mined, as transactions for an address must be processed in order. In such cases, these transactions can be cancelled in MetaMask, but the transactions attempts will accrue gas fees without any guarantee that subsequent attempts will be successful. A simpler resolution to this bug is restarting the browsesr (e.g., using "abort:restart" in the address bar), which will cancel all previous attempts without gas being subtracted from the wallet. Several users that have encountered this issue and have reported successful transactions after restarting their browser and attempting to delegate.
89+
90+
## Video guide for the network UI
91+
92+
This guide provides a full review of this document, and how to consider everything in this document while interacting with the UI.
8593

8694
<figure className="video-container">
8795
<iframe

pages/ar/developer/assemblyscript-api.mdx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ When the type of a value is certain, it can be converted to a [built-in type](#b
685685
| Bytes | JSON | json.fromBytes(s) |
686686
| int8 | i32 | لا يوجد |
687687
| int32 | i32 | لا يوجد |
688-
| int32 | BigInt | Bigint.fromI32(s) |
688+
| int32 | BigInt | BigInt.fromI32(s) |
689689
| uint24 | i32 | لا يوجد |
690690
| int64 - int256 | BigInt | لا يوجد |
691691
| uint32 - uint256 | BigInt | لا يوجد |
@@ -698,6 +698,7 @@ When the type of a value is certain, it can be converted to a [built-in type](#b
698698
| JSON | Array | s.toArray() |
699699
| JSON | Object | s.toObject() |
700700
| String | العنوان (Address) | Address.fromString(s) |
701+
| String | BigInt | BigInt.fromString(s) |
701702
| String | BigDecimal | BigDecimal.fromString(s) |
702703
| String (hexadecimal) | Bytes | ByteArray.fromHexString(s) |
703704
| String (UTF-8) | Bytes | ByteArray.fromUTF8(s) |

pages/ar/developer/create-subgraph-hosted.mdx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,8 @@ dataSources:
111111
- function: createGravatar(string,string)
112112
handler: handleCreateGravatar
113113
blockHandlers:
114-
- function: handleBlock
115-
- function: handleBlockWithCall
114+
- handler: handleBlock
115+
- handler: handleBlockWithCall
116116
filter:
117117
kind: call
118118
file: ./src/mapping.ts
@@ -334,7 +334,7 @@ A more performant way to store this relationship is through a mapping table that
334334
type Organization @entity {
335335
id: Bytes!
336336
name: String!
337-
members: [UserOrganization]! @derivedFrom(field: "organization")
337+
members: [UserOrganization!]! @derivedFrom(field: "organization")
338338
}
339339
340340
type User @entity {
@@ -506,7 +506,7 @@ We provide the [Graph Typescript Library](https://github.com/graphprotocol/graph
506506

507507
## توليد الكود(Code Generation)
508508

509-
In order to make working smart contracts, events and entities easy and type-safe, the Graph CLI can generate AssemblyScript types from the subgraph's GraphQL schema and the contract ABIs included in the data sources.
509+
In order to make it easy and type-safe to work with smart contracts, events and entities, the Graph CLI can generate AssemblyScript types from the subgraph's GraphQL schema and the contract ABIs included in the data sources.
510510

511511
This is done with
512512

@@ -863,7 +863,7 @@ Enabling non-fatal errors requires setting the following feature flag on the sub
863863
specVersion: 0.0.4
864864
description: Gravatar for Ethereum
865865
features:
866-
- fullTextSearch
866+
- nonFatalErrors
867867
...
868868
```
869869

pages/ar/developer/graphql-api.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ title: GraphQL API
9191

9292
```graphql
9393
query manyTokens($lastID: String) {
94-
tokens(first: 1000, where: { id_gt: $lastID }) {
94+
tokens(first: 1000, where: { id_gt: $lastID }) {
9595
id
9696
owner
9797
}

0 commit comments

Comments
 (0)