Skip to content

Commit

Permalink
chore: sync locales dev from CIDgravity version v5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
CIDgravity localization committed Sep 1, 2023
1 parent e0c15a5 commit 475a534
Show file tree
Hide file tree
Showing 35 changed files with 402 additions and 3 deletions.
4 changes: 4 additions & 0 deletions cidgravity/locales/dev/ClientContainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,10 @@
"pricingModel": {
"title": "Pricing Model"
},
"storageAcceptanceLogic": {
"title": "Storage acceptance logic",
"default": "Default applied"
},
"currentStorageRateLimit": {
"title": "Current storage rate limits",
"tooltip": "Storage deal rate / limit for ACCEPTED deals"
Expand Down
19 changes: 19 additions & 0 deletions cidgravity/locales/dev/ConfirmDeleteAcceptanceLogic.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"unableToRemove": {
"header": "Unable to remove storage acceptance logic {{acceptanceLogicName}}",
"body": {
"needToUpdateClientsAcceptanceLogic": "Before removing, you need to change the storage acceptance logic of all clients currently attached to it. <br /><br /> List of clients using this logic:<br />"
}
},
"removeConfirmation": {
"header": "Remove pricing model {{acceptanceLogicName}}",
"body": {
"willRemoveThisAcceptanceLogic": "Do you really want to remove this storage acceptance logic, this action cannot be undone!"
}
},
"button": {
"cancel": "Cancel",
"close": "Close",
"confirm": "Confirm"
}
}
4 changes: 4 additions & 0 deletions cidgravity/locales/dev/CreateClientForm.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,10 @@
"description": "Minimum start epoch buffer to give time for sealing of sector with deal, any deals below that time, will be rejected. Value expressed in HOURS.",
"switchLabel": "Override global settings"
},
"storageAcceptanceLogic": {
"title": "Storage acceptance logic",
"description": "Select a specific storage acceptance logic for this client. If none is selected, the default will be applied"
},
"storageDealRates": {
"title": "Storage deal rates",
"description": "Define deal rates limit allowed per hour (0 = unlimited)",
Expand Down
159 changes: 159 additions & 0 deletions cidgravity/locales/dev/CreateStorageAcceptanceLogicContainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,159 @@
{
"title": {
"newDefault": "Create your default acceptance logic",
"new": "Create a new acceptance logic",
"edit": "Edit an acceptance logic",
"requirements": "Applies only if for ONLINE DEALS, and if you use a BOOST node with a version higher than 2.1.0"
},
"queryBuilder": {
"valueLabel": "value",
"valuePlaceholder": "value",
"fieldLabel": "Variable",
"operatorLabel": "Operator",
"funcLabel": "Advanced operations",
"fieldPlaceholder": "Select variable",
"funcPlaceholder": "Select advanced operation",
"operatorPlaceholder": "Select operator",
"addGroupLabel": "Create group",
"addRuleLabel": "Create rule",
"addSubRuleLabel": "Create sub rule",
"notLabel": "Not",
"fieldSourcesPopupTitle": "Select source",
"valueSourcesPopupTitle": "Select value source",
"advancedOperationSecondArgLabel": "Select number, variable or advanced operation",
"operators": {
"between": {
"label": "Between",
"from": "from",
"to": "to"
}
},
"types": {
"boolean": {
"is": "is"
}
},
"functions": {
"sum": {
"label": "Sum"
},
"minus": {
"label": "Substraction"
},
"multiply": {
"label": "Multiply"
},
"divide": {
"label": "Divide"
}
},
"fields": {
"sectorStates": {
"title": "Sealing pipeline - sector states",
"tooltip": "Sealing pipeline - sector states",
"values": {
"WaitDeals": "WaitDeals",
"Packing": "Packing",
"AddPiece": "AP",
"AddPieceFailed": "AddPieceFailed",
"GetTicket": "GetTicket",
"PreCommit1": "PC1",
"PreCommit2": "PC2",
"PreCommitting": "PreCommitting",
"PreCommitWait": "PreCommitWait",
"SubmitPreCommitBatch": "SubmitPreCommitBatch",
"PreCommitBatchWait": "PreCommitBatchWait",
"WaitSeed": "WaitSeed",
"Committing": "Committing",
"CommitFinalize": "CommitFinalize",
"CommitFinalizeFailed": "CommitFinalizeFailed",
"SubmitCommit": "SubmitCommit",
"CommitWait": "CommitWait",
"SubmitCommitAggregate": "SubmitCommitAggregate",
"CommitAggregateWait": "CommitAggregateWait",
"FinalizeSector": "FinalizeSector",
"Proving": "Proving",
"Available": "Available",
"FailedUnrecoverable": "FailedUnrecoverable",
"SealPreCommit1Failed": "SealPreCommit1Failed",
"SealPreCommit2Failed": "SealPreCommit2Failed",
"PreCommitFailed": "PreCommitFailed",
"ComputeProofFailed": "ComputeProofFailed",
"RemoteCommitFailed": "RemoteCommitFailed",
"CommitFailed": "CommitFailed",
"PackingFailed": "PackingFailed",
"FinalizeFailed": "FinalizeFailed",
"DealsExpired": "DealsExpired",
"RecoverDealIDs": "RecoverDealIDs",
"Faulty": "Faulty",
"FaultReported": "FaultReported",
"FaultedFinal": "FaultedFinal",
"Terminating": "Terminating",
"TerminateWait": "TerminateWait",
"TerminateFinality": "TerminateFinality",
"TerminateFailed": "TerminateFailed",
"Removing": "Removing",
"RemoveFailed": "RemoveFailed",
"Removed": "Removed",
"SnapDealsWaitDeals": "SnapDealsWaitDeals",
"SnapDealsAddPiece": "SnapDealsAddPiece",
"SnapDealsPacking": "SnapDealsPacking",
"UpdateReplica": "UpdateReplica",
"ProveReplicaUpdate": "ProveReplicaUpdate",
"SubmitReplicaUpdate": "SubmitReplicaUpdate",
"WaitMutable": "WaitMutable",
"ReplicaUpdateWait": "ReplicaUpdateWait",
"UpdateActivating": "UpdateActivating",
"ReleaseSectorKey": "ReleaseSectorKey",
"FinalizeReplicaUpdate": "FinalizeReplicaUpdate",
"SnapDealsAddPieceFailed": "SnapDealsAddPieceFailed",
"SnapDealsDealsExpired": "SnapDealsDealsExpired",
"SnapDealsRecoverDealIDs": "SnapDealsRecoverDealIDs",
"ReplicaUpdateFailed": "ReplicaUpdateFailed",
"ReleaseSectorKeyFailed": "ReleaseSectorKeyFailed",
"FinalizeReplicaUpdateFailed": "FinalizeReplicaUpdateFailed",
"AbortUpgrade": "AbortUpgrade",
"ReceiveSector": "ReceiveSector"
}
},
"additionalFields": {
"title": "Other fields",
"tooltip": "Additional fields",
"values": {
"BaseFee": "BaseFee",
"ReceivedOn": "Received on (time)",
"FilPriceInUsd": "Fil price (USD)",
"ChainEpochReceivedOn": "Received on (chain epoch)"
}
}
}
},
"error": {
"isAcceptanceLogicNotExistingOrNotAllowed": "The storage acceptance logic you ask doesn't exist or you are not allowed to perform this operation"
},
"button": {
"backToAcceptanceLogicList": "Go back to storage acceptance logic list"
},
"validation": {
"name": {
"required": "Acceptance logic name is mandatory",
"matches": "Can only contain letters, numbers and underscore",
"alreadyUsed": "Acceptance logic name already used, it must be unique for all your logics"
},
"builder": {
"empty": "The acceptance logic can't be empty"
},
"onCreateAcceptanceLogic": "Unable to create the acceptance logic. Try later or reach out to CIDgravity team",
"onUpdateAcceptanceLogic": "Unable to update the acceptance logic. Try later or reach out to CIDgravity team"
},
"notification": {
"success": {
"onCreateDefaultAcceptanceLogic": "Default acceptance logic successfully created",
"onCreateAcceptanceLogic": "Acceptance logic successfully created",
"onUpdateAcceptanceLogic": "Acceptance logic successfully updated"
},
"error": {
"generic": "Unable to create/update the acceptance logic. Try later or reach out to CIDgravity team"
}
}
}
18 changes: 18 additions & 0 deletions cidgravity/locales/dev/CreateStorageAcceptanceLogicForm.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"general": {
"title": "General informations",
"subtitle": "Fill main informations on the acceptance logic",
"name": {
"label": "Acceptance logic name *"
}
},
"rule": {
"title": "Manage rules",
"subtitle": "Set advanced rules based on your sealing pipeline state or other available values",
"enableSimplifiedView": "Enable simplified view"
},
"button": {
"update": "Update",
"create": "Create"
}
}
9 changes: 9 additions & 0 deletions cidgravity/locales/dev/CustomSizeInput.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"placeholder": "Value",
"unit": {
"B": "B",
"KiB": "KiB",
"MiB": "MiB",
"GiB": "GiB"
}
}
4 changes: 3 additions & 1 deletion cidgravity/locales/dev/PlaygroundContainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,9 @@
},
"rejected": {
"title": "Proposal rejected",
"matchedPricing": "Rejected by {{pricingModel}} / Rule {{rule}}"
"matchedPricing": "Rejected by {{pricingModel}} / Rule {{rule}}",
"storageAcceptanceLogicNotPassed": "Deal proposal values not matched the storage acceptance logic defined",
"storageLogicUsedExplanation": "Below, you can find the logic evaluated by our deal filter (variables replaced by values)"
},
"loading": {
"title": "Wait for a result",
Expand Down
20 changes: 20 additions & 0 deletions cidgravity/locales/dev/PlaygroundForm.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
{
"dealProposal": {
"title": "Deal proposal",
"subtitle": "Fill the form to create a dummy deal proposal and test your pricing models"
},
"storageAcceptanceLogic": {
"title": "Storage acceptance logic",
"subtitle": "Simulate values for sealing pipeline to test your storage acceptance logic"
},
"button": {
"isSendingTest": "Sending ...",
"addSealingPipelineValue": "Add new value",
"sendATest": "Send a test"
},
"fromAddress": {
Expand Down Expand Up @@ -38,6 +47,17 @@
"label": "Price *",
"placeholder": "FIL / GiB / Epoch"
},
"sealingpipeline": {
"value": {
"placeholder": "Value",
"tooltips": {
"valueMustBeNanoFil": "Value must be in nano Fil",
"valueMustBeAttoFil": "Value must be in attoFil",
"mustBeInUSDollars": "Price must be specified in US $",
"decimalNumberWillBeTruncated": "Must be whole number, decimal will be truncated"
}
}
},
"validation": {
"isPriceInvalidValue": "Invalid value (use dots not commas)",
"isPriceMandatoryField": "Deal price is mandatory"
Expand Down
3 changes: 2 additions & 1 deletion cidgravity/locales/dev/SideNavBar.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"integration": "Integrations",
"history": "History",
"playground": "Playground",
"blacklist": "Blacklist"
"blacklist": "Blacklist",
"acceptanceLogic": "Acceptance logic"
},
"retrieval": {
"title": "Retrieval",
Expand Down
53 changes: 53 additions & 0 deletions cidgravity/locales/dev/StorageAcceptanceLogicContainer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"title": "Storage acceptance logic management",
"subtitle": "Acceptance logic can be attached to one or multiple clients.",
"requirements": "Applies only for ONLINE DEALS, and if you use a BOOST node with a version higher than 2.1.0",
"table": {
"name": {
"title": "Name"
},
"client": {
"title": "Clients",
"noContent": "N/A",
"defaultContent": "Default acceptance logic",
"content_zero": "N/A",
"content_one": "{{count}} client associated",
"content_two": "{{count}} clients associated",
"content_few": "{{count}} clients associated",
"content_many": "{{count}} clients associated",
"content_other": "{{count}} clients associated"
},
"edit": {
"tooltip": "Edit the acceptance logic"
},
"delete": {
"tooltip": "Delete this acceptance logic"
},
"setToDefault": {
"tooltip": "Set this acceptance logic as default"
},
"defaultBadge": "DEFAULT"
},
"notification": {
"success": {
"onUpdateDefaultAcceptanceLogic": "Default storage acceptance logic updated",
"onDeleteAcceptanceLogic": "Acceptance logic successfully deleted"
},
"error": {
"onUpdateDefaultAcceptanceLogic": "Unable to update default acceptance logic. Try later or reach out to CIDgravity team.",
"onDeleteAcceptanceLogic": "Unable to delete acceptance logic. Try later or reach out to CIDgravity team"
}
},
"empty": {
"title": "There are no storage acceptance logic under your account. A default storage acceptance logic must be created to use CIDgravity."
},
"error": {
"generic": "Unable to load storage acceptance logics. Try later or reach out to CIDgravity team."
},
"button": {
"new": "Create new acceptance logic",
"empty": {
"new": "Create default acceptance logic"
}
}
}
Loading

0 comments on commit 475a534

Please sign in to comment.