Skip to content

Fix typo in C# string interpolation in TYPE_STRING doc#119133

Merged
Repiteo merged 1 commit intogodotengine:masterfrom
poohcom1:fix/doc_csharp_typestring_typo
May 1, 2026
Merged

Fix typo in C# string interpolation in TYPE_STRING doc#119133
Repiteo merged 1 commit intogodotengine:masterfrom
poohcom1:fix/doc_csharp_typestring_typo

Conversation

@poohcom1
Copy link
Copy Markdown
Contributor

@poohcom1 poohcom1 commented May 1, 2026

Noticed this minor typo in the docs when writing custom property hints for arrays in C#. One of the interpolated values is missing the format specifier after the colon. Likely a basic typo, as every other elemType is correctly formatted.

image

(Context for those unfamiliar with C#, a colon after an interped value specifies a format, and D represents decimals or int values. See https://learn.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings)


But just to be sure, here's what it looks like if we use the current line without the fix:

image

After:

image

@poohcom1 poohcom1 requested review from a team as code owners May 1, 2026 05:00
Copy link
Copy Markdown
Member

@raulsntos raulsntos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this typo, the change looks great.

The .po files in the doc/translations/ folder are auto-generated when syncing translations from Weblate, and should not be manually changed.

@poohcom1 poohcom1 force-pushed the fix/doc_csharp_typestring_typo branch from 6cb1ba9 to 79f450f Compare May 1, 2026 10:04
@poohcom1
Copy link
Copy Markdown
Contributor Author

poohcom1 commented May 1, 2026

The .po files in the doc/translations/ folder are auto-generated when syncing translations from Weblate, and should not be manually changed.

@raulsntos fixed!

@raulsntos raulsntos added this to the 4.7 milestone May 1, 2026
@akien-mga akien-mga changed the title fix: typo in C# string interp in TYPE_STRING doc Fix typo in C# string interpolation in TYPE_STRING doc May 1, 2026
@Repiteo Repiteo merged commit d18a244 into godotengine:master May 1, 2026
7 checks passed
@Repiteo
Copy link
Copy Markdown
Contributor

Repiteo commented May 1, 2026

Thanks!

@poohcom1 poohcom1 deleted the fix/doc_csharp_typestring_typo branch May 1, 2026 18:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants