Skip to content

Make doc text wording reflect the currently selected programming language (GdScript, C#) #12430

Open

Description

@Dante3085

Your Godot version: Stable documentation

Issue description: It seems to be the case that the wording inside all documentation's text is relative to GDScript. It would be nice to adapt that to the programming language currently selected in the code listings. See the following example created based on the documentation page linked below:

In the first image, the text below the code listing fits perfectly.
Image

In the second image the code listing is switched to C#. Now the description doesn't fit perfectly anymore. It is still easy to understand whats happening, but that might not be the case for more compicated examples. A more fitting description here might be:

The second line uses string interpolation to place the value of _score directly into the string. When using this feature, C# automatically converts values to string text, which is convenient when outputting text in labels.

Image

Realted Issue: #12428.

URL to the documentation page (if already existing): https://docs.godotengine.org/en/stable/getting_started/first_3d_game/08.score_and_replay.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    content:websiteIssues related to adding website features and fixing bugs, whether on the front or back-enddiscussionenhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions