Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 46 additions & 1 deletion i18n/i18n.schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -263,18 +263,63 @@
"$ref": "#/$defs/Group",
"additionalProperties": false,
"properties": {
"add_criterion.label": { "$ref": "#/$defs/Value" },
"add_criterion.title": { "$ref": "#/$defs/Value" },
"add_group.label": { "$ref": "#/$defs/Value" },
"add_group.title": { "$ref": "#/$defs/Value" },
"add_selected.label": { "$ref": "#/$defs/Value" },
"add_selected.title": { "$ref": "#/$defs/Value" },
"apply_criteria.label": { "$ref": "#/$defs/Value" },
"apply_criteria.title": { "$ref": "#/$defs/Value" },
"cancel_criteria.label": { "$ref": "#/$defs/Value" },
"cancel_criteria.title": { "$ref": "#/$defs/Value" },
"clear_criteria.label": { "$ref": "#/$defs/Value" },
"clear_criteria.title": { "$ref": "#/$defs/Value" },
"criteria_all_of_add.label": { "$ref": "#/$defs/Value" },
"criteria_all_of_add.title": { "$ref": "#/$defs/Value" },
"criteria_all_of_joiner": { "$ref": "#/$defs/Value" },
"criteria_any_of_add.label": { "$ref": "#/$defs/Value" },
"criteria_any_of_add.title": { "$ref": "#/$defs/Value" },
"criteria_any_of_joiner": { "$ref": "#/$defs/Value" },
"criteria_from_values": { "$ref": "#/$defs/Value" },
"criteria_from_values.any-entity": { "$ref": "#/$defs/Value" },
"criteria_from_values.many-entities": { "$ref": "#/$defs/Value" },
"criteria_from_values.header": { "$ref": "#/$defs/Value" },
"criteria_from_values.joiner": { "$ref": "#/$defs/Value" },
"criteria_from_values.label": { "$ref": "#/$defs/Value" },
"criteria_has_property": { "$ref": "#/$defs/Value" },
"criteria_has_property.any-property": { "$ref": "#/$defs/Value" },
"criteria_has_property.header": { "$ref": "#/$defs/Value" },
"criteria_has_property.label": { "$ref": "#/$defs/Value" },
"criteria_has_type": { "$ref": "#/$defs/Value" },
"criteria_has_type.any_type": { "$ref": "#/$defs/Value" },
"criteria_has_type.header": { "$ref": "#/$defs/Value" },
"criteria_has_type.label": { "$ref": "#/$defs/Value" },
"criteria_connected": { "$ref": "#/$defs/Value" },
"criteria_connected_via": { "$ref": "#/$defs/Value" },
"criteria_connected.any-link": { "$ref": "#/$defs/Value" },
"criteria_connected.direction_any.title": { "$ref": "#/$defs/Value" },
"criteria_connected.direction_in.title": { "$ref": "#/$defs/Value" },
"criteria_connected.direction_out.title": { "$ref": "#/$defs/Value" },
"criteria_connected.header": { "$ref": "#/$defs/Value" },
"criteria_connected.label": { "$ref": "#/$defs/Value" },
"criteria_connected.other-part": { "$ref": "#/$defs/Value" },
"criteria_connected_to_source": { "$ref": "#/$defs/Value" },
"criteria_connected_to_target": { "$ref": "#/$defs/Value" },
"criteria_connected_via": { "$ref": "#/$defs/Value" },
"criteria_placeholder_any": { "$ref": "#/$defs/Value" },
"criteria_placeholder_unknown": { "$ref": "#/$defs/Value" },
"criteria_where_caption": { "$ref": "#/$defs/Value" },
"edit_criteria.label": { "$ref": "#/$defs/Value" },
"edit_criteria.title": { "$ref": "#/$defs/Value" },
"error.required_at_least_one_pattern": { "$ref": "#/$defs/Value" },
"error.required_element_type": { "$ref": "#/$defs/Value" },
"error.required_property_type": { "$ref": "#/$defs/Value" },
"input.placeholder": { "$ref": "#/$defs/Value" },
"place_elements.command": { "$ref": "#/$defs/Value" },
"query_progress.title": { "$ref": "#/$defs/Value" },
"remove_criterion.title": { "$ref": "#/$defs/Value" },
"search_by.label": { "$ref": "#/$defs/Value" },
"search_by.title": { "$ref": "#/$defs/Value" },
"show_more_results.label": { "$ref": "#/$defs/Value" },
"show_more_results.title": { "$ref": "#/$defs/Value" }
}
Expand Down
51 changes: 48 additions & 3 deletions i18n/translations/en.reactodia-translation.json
Original file line number Diff line number Diff line change
Expand Up @@ -180,18 +180,63 @@
"show_only_creatable": "Show only constructible"
},
"search_entities": {
"add_criterion.label": "add",
"add_criterion.title": "Add search condition",
"add_group.label": "Add as group",
"add_group.title": "Place selected entities on the canvas as a group",
"add_selected.label": "Add selected",
"add_selected.title": "Place selected entities on the canvas",
"apply_criteria.label": "apply",
"apply_criteria.title": "Apply search conditions",
"cancel_criteria.label": "cancel",
"cancel_criteria.title": "Cancel editing search conditions",
"clear_criteria.label": "clear",
"clear_criteria.title": "Clear search conditions",
"criteria_all_of_add.label": "and",
"criteria_all_of_add.title": "Add \"and\" search condition",
"criteria_all_of_joiner": "and",
"criteria_any_of_add.label": "or",
"criteria_any_of_add.title": "Add \"or\" search condition",
"criteria_any_of_joiner": "or",
"criteria_from_values": "One of {{values}}",
"criteria_from_values.any-entity": "any entity",
"criteria_from_values.many-entities": "one of {{count}} entities",
"criteria_from_values.header": "One of entities",
"criteria_from_values.joiner": " or ",
"criteria_from_values.label": "one of entities",
"criteria_has_property": "Has {{propertyType}} property values",
"criteria_has_property.any-property": "any",
"criteria_has_property.header": "Has property",
"criteria_has_property.label": "has property",
"criteria_has_type": "Has type {{entityType}}",
"criteria_has_type.any_type": "any",
"criteria_has_type.header": "Has type",
"criteria_has_type.label": "has type",
"criteria_connected": "Connected to {{entity}}",
"criteria_connected_via": "Connected to {{entity}} through {{relationType}}",
"criteria_connected_to_source": "Connected to {{entity}} through {{relationType}} as {{sourceIcon}}\u00A0source",
"criteria_connected_to_target": "Connected to {{entity}} through {{relationType}} as {{targetIcon}}\u00A0target",
"criteria_connected.any-link": "any link",
"criteria_connected.direction_any.title": "Connected to source or target",
"criteria_connected.direction_in.title": "Connected to target",
"criteria_connected.direction_out.title": "Connected to source",
"criteria_connected.header": "Connected to {{entity}} by",
"criteria_connected.label": "connected to",
"criteria_connected.other-part": "entity",
"criteria_connected_to_source": "Connected by {{relationType}} to {{entity}} {{sourceIcon}}\u00A0target",
"criteria_connected_to_target": "Connected by {{relationType}} to {{entity}} {{targetIcon}}\u00A0source",
"criteria_connected_via": "Connected by {{relationType}} to {{entity}}",
"criteria_placeholder_any": "any entity",
"criteria_placeholder_unknown": "Unknown pattern type",
"criteria_where_caption": "where\u00A0{{part}}:",
"edit_criteria.label": "edit",
"edit_criteria.title": "Edit search conditions",
"error.required_at_least_one_pattern": "Should have at least one sub-pattern",
"error.required_element_type": "Element type is required",
"error.required_property_type": "Property type is required",
"input.placeholder": null,
"place_elements.command": "Add selected elements",
"query_progress.title": "Querying for entities",
"remove_criterion.title": "Remove condition",
"search_by.label": "search by",
"search_by.title": null,
"show_more_results.label": "Show more",
"show_more_results.title": "Load more results"
},
Expand Down
92 changes: 77 additions & 15 deletions package-lock.json

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

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
"clean": "rimraf dist"
},
"dependencies": {
"@floating-ui/react-dom": "^2.1.9",
"@reactodia/hashmap": "^0.2.1",
"@reactodia/worker-proxy": "^0.1.0",
"clsx": "^2.1.1",
"d3-color": "^3.1.0",
"file-saver": "^2.0.5",
"n3": "^1.26.0"
"n3": "^2.13.10"
},
"peerDependencies": {
"react": "^17.0.2 || ^18 || ^19",
Expand All @@ -56,7 +57,7 @@
"@rdfjs/types": "^2.0.1",
"@types/d3-color": "^3.1.3",
"@types/file-saver": "^2.0.7",
"@types/n3": "^1.26.1",
"@types/n3": "^1.26.4",
"@types/react": "^18.3.27",
"@types/react-dom": "^18.3.7",
"@types/use-sync-external-store": "^1.5.0",
Expand Down
Loading
Loading