Skip to content

Commit

Permalink
Merge pull request #268 from Vizzuality/SKY30-375-support-language-tr…
Browse files Browse the repository at this point in the history
…anslation-for-english-french-spanish

[SKY30-375] Minimum code for i18n
  • Loading branch information
SARodrigues authored Jun 20, 2024
2 parents 7edeb66 + 10fb790 commit 1fe6ae9
Show file tree
Hide file tree
Showing 108 changed files with 2,772 additions and 1,380 deletions.
277 changes: 204 additions & 73 deletions cms/config/sync/admin-role.strapi-author.json

Large diffs are not rendered by default.

193 changes: 178 additions & 15 deletions cms/config/sync/admin-role.strapi-editor.json
Original file line number Diff line number Diff line change
Expand Up @@ -311,6 +311,7 @@
"description",
"site",
"languages",
"data_tool_resource_types",
"geography",
"data_tool_ecosystems"
]
Expand Down Expand Up @@ -341,6 +342,7 @@
"description",
"site",
"languages",
"data_tool_resource_types",
"geography",
"data_tool_ecosystems"
]
Expand All @@ -357,12 +359,63 @@
"description",
"site",
"languages",
"data_tool_resource_types",
"geography",
"data_tool_ecosystems"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
"subject": "api::dataset.dataset",
"properties": {
"fields": [
"name",
"layers"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.delete",
"actionParameters": {},
"subject": "api::dataset.dataset",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.publish",
"actionParameters": {},
"subject": "api::dataset.dataset",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.read",
"actionParameters": {},
"subject": "api::dataset.dataset",
"properties": {
"fields": [
"name",
"layers"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.update",
"actionParameters": {},
"subject": "api::dataset.dataset",
"properties": {
"fields": [
"name",
"layers"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
Expand Down Expand Up @@ -553,6 +606,89 @@
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
"subject": "api::layer.layer",
"properties": {
"fields": [
"title",
"type",
"config",
"params_config",
"legend_config",
"interaction_config",
"metadata.description",
"metadata.citation",
"metadata.source",
"metadata.resolution",
"metadata.content_date",
"metadata.license",
"dataset"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.delete",
"actionParameters": {},
"subject": "api::layer.layer",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.publish",
"actionParameters": {},
"subject": "api::layer.layer",
"properties": {},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.read",
"actionParameters": {},
"subject": "api::layer.layer",
"properties": {
"fields": [
"title",
"type",
"config",
"params_config",
"legend_config",
"interaction_config",
"metadata.description",
"metadata.citation",
"metadata.source",
"metadata.resolution",
"metadata.content_date",
"metadata.license",
"dataset"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.update",
"actionParameters": {},
"subject": "api::layer.layer",
"properties": {
"fields": [
"title",
"type",
"config",
"params_config",
"legend_config",
"interaction_config",
"metadata.description",
"metadata.citation",
"metadata.source",
"metadata.resolution",
"metadata.content_date",
"metadata.license",
"dataset"
]
},
"conditions": []
},
{
"action": "plugin::content-manager.explorer.create",
"actionParameters": {},
Expand All @@ -564,7 +700,11 @@
"totalMarineArea",
"type",
"groups",
"members"
"members",
"fishing_protection_level_stats",
"mpaa_protection_level_stats",
"protection_coverage_stats",
"bounds"
]
},
"conditions": []
Expand All @@ -587,7 +727,11 @@
"totalMarineArea",
"type",
"groups",
"members"
"members",
"fishing_protection_level_stats",
"mpaa_protection_level_stats",
"protection_coverage_stats",
"bounds"
]
},
"conditions": []
Expand All @@ -603,7 +747,11 @@
"totalMarineArea",
"type",
"groups",
"members"
"members",
"fishing_protection_level_stats",
"mpaa_protection_level_stats",
"protection_coverage_stats",
"bounds"
]
},
"conditions": []
Expand All @@ -618,7 +766,8 @@
"fishing_protection_level",
"mpaa_protection_level",
"location",
"area"
"area",
"mpaa_establishment_stage"
]
},
"conditions": []
Expand All @@ -640,7 +789,8 @@
"fishing_protection_level",
"mpaa_protection_level",
"location",
"area"
"area",
"mpaa_establishment_stage"
]
},
"conditions": []
Expand All @@ -655,7 +805,8 @@
"fishing_protection_level",
"mpaa_protection_level",
"location",
"area"
"area",
"mpaa_establishment_stage"
]
},
"conditions": []
Expand All @@ -666,9 +817,12 @@
"subject": "api::mpa.mpa",
"properties": {
"fields": [
"wdpaid",
"name",
"area"
"area",
"year",
"protection_status",
"mpa_protection_coverage_stats",
"wdpaid"
]
},
"conditions": []
Expand All @@ -686,9 +840,12 @@
"subject": "api::mpa.mpa",
"properties": {
"fields": [
"wdpaid",
"name",
"area"
"area",
"year",
"protection_status",
"mpa_protection_coverage_stats",
"wdpaid"
]
},
"conditions": []
Expand All @@ -699,9 +856,12 @@
"subject": "api::mpa.mpa",
"properties": {
"fields": [
"wdpaid",
"name",
"area"
"area",
"year",
"protection_status",
"mpa_protection_coverage_stats",
"wdpaid"
]
},
"conditions": []
Expand Down Expand Up @@ -766,7 +926,8 @@
"fields": [
"slug",
"name",
"info"
"info",
"mpa_protection_coverage_stats"
]
},
"conditions": []
Expand All @@ -786,7 +947,8 @@
"fields": [
"slug",
"name",
"info"
"info",
"mpa_protection_coverage_stats"
]
},
"conditions": []
Expand All @@ -799,7 +961,8 @@
"fields": [
"slug",
"name",
"info"
"info",
"mpa_protection_coverage_stats"
]
},
"conditions": []
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@
"id",
"slug",
"content",
"createdAt"
"data_sources"
],
"edit": [
[
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -209,6 +209,10 @@
}
],
[
{
"name": "data_tool_resource_types",
"size": 6
},
{
"name": "geography",
"size": 6
Expand All @@ -218,10 +222,6 @@
{
"name": "data_tool_ecosystems",
"size": 6
},
{
"name": "data_tool_resource_types",
"size": 6
}
]
]
Expand Down
Loading

0 comments on commit 1fe6ae9

Please sign in to comment.