Skip to content

Commit cbff250

Browse files
committed
Merge pull request godotengine#97638 from mhilbrunner/fix-duplicate-words
Docs: remove duplicate words
2 parents dec83d5 + a6997d3 commit cbff250

File tree

8 files changed

+8
-8
lines changed

8 files changed

+8
-8
lines changed

doc/classes/@GlobalScope.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1209,7 +1209,7 @@
12091209
<return type="int" />
12101210
<param index="0" name="x" type="int" />
12111211
<description>
1212-
Returns [code]-1[/code] if [param x] is negative, [code]1[/code] if [param x] is positive, and [code]0[/code] if if [param x] is zero.
1212+
Returns [code]-1[/code] if [param x] is negative, [code]1[/code] if [param x] is positive, and [code]0[/code] if [param x] is zero.
12131213
[codeblock]
12141214
signi(-6) # Returns -1
12151215
signi(0) # Returns 0

doc/classes/CameraAttributesPhysical.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
The maximum luminance (in EV100) used when calculating auto exposure. When calculating scene average luminance, color values will be clamped to at least this value. This limits the auto-exposure from exposing below a certain brightness, resulting in a cut off point where the scene will remain bright.
2626
</member>
2727
<member name="auto_exposure_min_exposure_value" type="float" setter="set_auto_exposure_min_exposure_value" getter="get_auto_exposure_min_exposure_value" default="-8.0">
28-
The minimum luminance luminance (in EV100) used when calculating auto exposure. When calculating scene average luminance, color values will be clamped to at least this value. This limits the auto-exposure from exposing above a certain brightness, resulting in a cut off point where the scene will remain dark.
28+
The minimum luminance (in EV100) used when calculating auto exposure. When calculating scene average luminance, color values will be clamped to at least this value. This limits the auto-exposure from exposing above a certain brightness, resulting in a cut off point where the scene will remain dark.
2929
</member>
3030
<member name="exposure_aperture" type="float" setter="set_aperture" getter="get_aperture" default="16.0">
3131
Size of the aperture of the camera, measured in f-stops. An f-stop is a unitless ratio between the focal length of the camera and the diameter of the aperture. A high aperture setting will result in a smaller aperture which leads to a dimmer image and sharper focus. A low aperture results in a wide aperture which lets in more light resulting in a brighter, less-focused image. Default is appropriate for outdoors at daytime (i.e. for use with a default [DirectionalLight3D]), for indoor lighting, a value between 2 and 4 is more appropriate.

doc/classes/PopupMenu.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -776,7 +776,7 @@
776776
[StyleBox] for the right side of labeled separator. See [method add_separator].
777777
</theme_item>
778778
<theme_item name="panel" data_type="style" type="StyleBox">
779-
[StyleBox] for the the background panel.
779+
[StyleBox] for the background panel.
780780
</theme_item>
781781
<theme_item name="separator" data_type="style" type="StyleBox">
782782
[StyleBox] used for the separators. See [method add_separator].

doc/classes/PopupPanel.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</tutorials>
1111
<theme_items>
1212
<theme_item name="panel" data_type="style" type="StyleBox">
13-
[StyleBox] for the the background panel.
13+
[StyleBox] for the background panel.
1414
</theme_item>
1515
</theme_items>
1616
</class>

doc/classes/ProjectSettings.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1369,7 +1369,7 @@
13691369
macOS specific override for the shortcut to select the word currently under the caret.
13701370
</member>
13711371
<member name="input/ui_text_skip_selection_for_next_occurrence" type="Dictionary" setter="" getter="">
1372-
If no selection is currently active with the last caret in text fields, searches for the next occurrence of the the word currently under the caret and moves the caret to the next occurrence. The action can be performed sequentially for other occurrences of the word under the last caret.
1372+
If no selection is currently active with the last caret in text fields, searches for the next occurrence of the word currently under the caret and moves the caret to the next occurrence. The action can be performed sequentially for other occurrences of the word under the last caret.
13731373
If a selection is currently active with the last caret in text fields, searches for the next occurrence of the selection, adds a caret, selects the next occurrence then deselects the previous selection and its associated caret. The action can be performed sequentially for other occurrences of the selection of the last caret.
13741374
The viewport is adjusted to the latest newly added caret.
13751375
[b]Note:[/b] Default [code]ui_*[/code] actions cannot be removed as they are necessary for the internal logic of several [Control]s. The events assigned to the action can however be modified.

doc/classes/RenderingServer.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -913,7 +913,7 @@
913913
<param index="1" name="transform" type="Transform2D" />
914914
<description>
915915
Transforms both the current and previous stored transform for a canvas light.
916-
This allows transforming a light without creating a "glitch" in the interpolation, which is is particularly useful for large worlds utilizing a shifting origin.
916+
This allows transforming a light without creating a "glitch" in the interpolation, which is particularly useful for large worlds utilizing a shifting origin.
917917
</description>
918918
</method>
919919
<method name="canvas_occluder_polygon_create">

doc/classes/Vector4i.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@
216216
<return type="Vector4i" />
217217
<param index="0" name="right" type="int" />
218218
<description>
219-
Gets the remainder of each component of the [Vector4i] with the the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers.
219+
Gets the remainder of each component of the [Vector4i] with the given [int]. This operation uses truncated division, which is often not desired as it does not work well with negative numbers. Consider using [method @GlobalScope.posmod] instead if you want to handle negative numbers.
220220
[codeblock]
221221
print(Vector4i(10, -20, 30, -40) % 7) # Prints "(3, -6, 2, -5)"
222222
[/codeblock]

modules/webxr/doc_classes/WebXRInterface.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@
283283
</signals>
284284
<constants>
285285
<constant name="TARGET_RAY_MODE_UNKNOWN" value="0" enum="TargetRayMode">
286-
We don't know the the target ray mode.
286+
We don't know the target ray mode.
287287
</constant>
288288
<constant name="TARGET_RAY_MODE_GAZE" value="1" enum="TargetRayMode">
289289
Target ray originates at the viewer's eyes and points in the direction they are looking.

0 commit comments

Comments
 (0)