From bbb297597a7335f17bf060db56ca4788a2aea7f0 Mon Sep 17 00:00:00 2001 From: Pete Haughie Date: Thu, 16 Oct 2025 00:41:40 +0200 Subject: [PATCH 1/4] Add description for 'none' parameter in random function Random was missing an implicit return type description --- content/references/translations/en/processing/random_.json | 1 + 1 file changed, 1 insertion(+) diff --git a/content/references/translations/en/processing/random_.json b/content/references/translations/en/processing/random_.json index 5e9bfe87..b24d22a8 100644 --- a/content/references/translations/en/processing/random_.json +++ b/content/references/translations/en/processing/random_.json @@ -9,6 +9,7 @@ "category": "math", "subcategory": "random", "parameters": [ + { "name": "none", "description": "If no parameters are given, returns a float from 0 (inclusive) to 1 (exclusive)"} { "name": "low", "description": "lower limit", "type": ["float"] }, { "name": "high", "description": "upper limit", "type": ["float"] } ] From 98d19e178b04e9fea80402f86e5e77e094581251 Mon Sep 17 00:00:00 2001 From: Pete Haughie Date: Thu, 16 Oct 2025 02:11:57 +0200 Subject: [PATCH 2/4] Fix JSON formatting by adding a comma Apologies - a simple syntax error --- content/references/translations/en/processing/random_.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/references/translations/en/processing/random_.json b/content/references/translations/en/processing/random_.json index b24d22a8..82f4764b 100644 --- a/content/references/translations/en/processing/random_.json +++ b/content/references/translations/en/processing/random_.json @@ -9,7 +9,7 @@ "category": "math", "subcategory": "random", "parameters": [ - { "name": "none", "description": "If no parameters are given, returns a float from 0 (inclusive) to 1 (exclusive)"} + { "name": "none", "description": "If no parameters are given, returns a float from 0 (inclusive) to 1 (exclusive)"}, { "name": "low", "description": "lower limit", "type": ["float"] }, { "name": "high", "description": "upper limit", "type": ["float"] } ] From a073d0d7a6adfeb5db7fcd16b47fd045835c2f92 Mon Sep 17 00:00:00 2001 From: Pete Haughie Date: Thu, 16 Oct 2025 16:54:51 +0200 Subject: [PATCH 3/4] Remove duplicate x and y components from PVector_set_ Removed duplicate x and y components from PVector_set_ JSON. --- .../translations/en/processing/PVector_set_.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/content/references/translations/en/processing/PVector_set_.json b/content/references/translations/en/processing/PVector_set_.json index c860d19f..e619cfe5 100644 --- a/content/references/translations/en/processing/PVector_set_.json +++ b/content/references/translations/en/processing/PVector_set_.json @@ -25,16 +25,6 @@ "description": "the z component of the vector", "type": ["float"] }, - { - "name": "x", - "description": "the x component of the vector", - "type": ["float"] - }, - { - "name": "y", - "description": "the y component of the vector", - "type": ["float"] - }, { "name": "v", "description": "any variable of type PVector", From cc04607dce046d798c465a0b9358f8a30fe900db Mon Sep 17 00:00:00 2001 From: Pete Haughie Date: Thu, 16 Oct 2025 16:56:38 +0200 Subject: [PATCH 4/4] Remove duplicate x and y component definitions from translation Removed duplicate x and y component definitions from PVector_set_ translation. --- .../translations/es/processing/PVector_set_.es.json | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/content/references/translations/es/processing/PVector_set_.es.json b/content/references/translations/es/processing/PVector_set_.es.json index c860d19f..e619cfe5 100644 --- a/content/references/translations/es/processing/PVector_set_.es.json +++ b/content/references/translations/es/processing/PVector_set_.es.json @@ -25,16 +25,6 @@ "description": "the z component of the vector", "type": ["float"] }, - { - "name": "x", - "description": "the x component of the vector", - "type": ["float"] - }, - { - "name": "y", - "description": "the y component of the vector", - "type": ["float"] - }, { "name": "v", "description": "any variable of type PVector",