Skip to content

Commit

Permalink
Replace British spelling and fix various typos
Browse files Browse the repository at this point in the history
  • Loading branch information
YuriSizov committed Apr 27, 2020
1 parent e4237e2 commit 135b33b
Show file tree
Hide file tree
Showing 25 changed files with 45 additions and 45 deletions.
2 changes: 1 addition & 1 deletion about/introduction.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ attribution to "Juan Linietsky, Ariel Manzur and the Godot Engine community".
Organization of the documentation
---------------------------------

This documentation is organised in five sections with an impressively
This documentation is organized in five sections with an impressively
unbalanced distribution of contents – but the way it is split up should be
relatively intuitive:

Expand Down
2 changes: 1 addition & 1 deletion community/channels.rst
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Social networks
- `Facebook group <https://www.facebook.com/groups/godotengine/>`_
- `Twitter (also, #godotengine) <https://twitter.com/godotengine>`_
- `Reddit <https://www.reddit.com/r/godot>`_
- `Youtube <https://www.youtube.com/c/GodotEngineOfficial>`_
- `YouTube <https://www.youtube.com/c/GodotEngineOfficial>`_
- `Steam <https://steamcommunity.com/app/404790>`_

Forum
Expand Down
14 changes: 7 additions & 7 deletions community/contributing/code_style_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -34,16 +34,16 @@ not introducing trailing whitespace or space-based indentation, you should be
fine. If you plan to contribute regularly however, we strongly advise that you
setup clang-format locally to check and automatically fix all your commits.

.. warning:: Godot's code style should *not* be applied to thirdparty code,
.. warning:: Godot's code style should *not* be applied to third-party code,
i.e. that is included in Godot's source tree but was not written
specifically for our project. Such code usually come from
different upstream projects with their own style guides (or lack
thereof), and don't want to introduce differences that would make
syncing with upstream repositories harder.

Thirdparty code is usually included in the ``thirdparty/`` folder
Third-party code is usually included in the ``thirdparty/`` folder
and can thus easily be excluded from formatting scripts. For the
rare cases where a thirdparty code snippet needs to be included
rare cases where a third-party code snippet needs to be included
directly within a Godot file, you can use
``/* clang-format off */`` and ``/* clang-format on */`` to tell
clang-format to ignore a chunk of code.
Expand Down Expand Up @@ -139,11 +139,11 @@ ones, the following rules should be followed:
includes should be done with quotes, e.g. ``#include "core/object.h"``. The
block of Godot header includes should then be followed by an empty line for
separation.
- Finally, thirdparty headers (either from ``thirdparty`` or from the system's
- Finally, third-party headers (either from ``thirdparty`` or from the system's
include paths) come next and should be included with the < and > symbols, e.g.
``#include <png.h>``. The block of thirdparty headers should also be followed
``#include <png.h>``. The block of third-party headers should also be followed
by an empty line for separation.
- Godot and thirdparty headers should be included in the file that requires
- Godot and third-party headers should be included in the file that requires
them, i.e. in the `.h` header if used in the declarative code or in the `.cpp`
if used only in the imperative code.

Expand Down Expand Up @@ -240,7 +240,7 @@ Java
Godot's Java code (mostly in ``platform/android``) is also enforced via
``clang-format``, so see the instructions above to set it up. Keep in mind that
this style guide only applies to code written and maintained by Godot, not
thirdparty code such as the ``java/src/com/google`` subfolder.
third-party code such as the ``java/src/com/google`` subfolder.

Python
------
Expand Down
2 changes: 1 addition & 1 deletion community/contributing/documentation_guidelines.rst
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ reading as follows:

3. Complete all the edits you want to make for that page.

4. Summarise the changes you made in the form at the bottom of the page and
4. Summarize the changes you made in the form at the bottom of the page and
click the button labelled **Propose file change** when done.

5. On the following screens, click the **Create pull request** button until you
Expand Down
4 changes: 2 additions & 2 deletions community/contributing/pr_workflow.rst
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ the *master* branch).

We will go together through an example to show the typical workflow and
associated Git commands. But first, let's have a quick look at the
organisation of Godot's Git repository.
organization of Godot's Git repository.

Git source repository
---------------------
Expand Down Expand Up @@ -442,7 +442,7 @@ will raise an error:
hint: Updates were rejected because the tip of your current branch is behind
hint: its remote counterpart.

This is a sane behaviour, Git will not let you push changes that would
This is a sane behavior, Git will not let you push changes that would
override remote content. But that's actually what we want to do here, so we
will have to *force* it:

Expand Down
4 changes: 2 additions & 2 deletions community/contributing/updating_the_class_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ You can check the list of all remote servers with:

git remote -v

You should have two: ``origin``, your fork on github, that git adds by default, and ``upstream``, that you just added:
You should have two: ``origin``, your fork on GitHub, that git adds by default, and ``upstream``, that you just added:


::
Expand Down Expand Up @@ -162,7 +162,7 @@ How to edit class XML

Edit the file for your chosen class in ``doc/classes/`` to update the class reference. The folder contains an XML file for each class. The XML lists the constants and methods you'll find in the class reference. Godot generates and updates the XML automatically.

Edit it using your favourite text editor. If you use a code editor, make sure that it doesn't change the indent style: tabs for the XML, and 4 spaces inside BBcode-style blocks. More on that below.
Edit it using your favorite text editor. If you use a code editor, make sure that it doesn't change the indent style: tabs for the XML, and 4 spaces inside BBcode-style blocks. More on that below.

If you need to check that the modifications you've made are correct in the generated documentation, build Godot as described :ref:`here <toc-devel-compiling>`, run the editor and open the help for the page you modified.

Expand Down
2 changes: 1 addition & 1 deletion community/contributing/ways_to_contribute.rst
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ positive to the engine, regardless of their skill set:
user donations for many things. Apart from usual expenses such as hosting
costs or promotional material on events, we also use donation money to
acquire hardware when necessary (e.g. we used donation money to buy a
Macbook Pro to implement Retina/HiDPI support and various other
MacBook Pro to implement Retina/HiDPI support and various other
macOS-related features).
Most importantly, we also used donation money to hire core developers so they
can work full-time on the engine. Even with a low
Expand Down
12 changes: 6 additions & 6 deletions getting_started/editor/unity_to_godot.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ and aims to help you migrate your existing Unity experience into the world of Go

.. note::

This article talks about older versions of Unity. Nestable prefabs ('Nested prefabs') were added to Unity 2018.3. Nestable prefabs are analogous to Godot's scenes, and allow a more Godot-like approach to scene organisation.
This article talks about older versions of Unity. Nestable prefabs ('Nested prefabs') were added to Unity 2018.3. Nestable prefabs are analogous to Godot's scenes, and allow a more Godot-like approach to scene organization.

Differences
-----------
Expand All @@ -28,7 +28,7 @@ Differences
| | * **Mobile:** Android, iOS, Windows Phone, Tizen | * **Mobile:** Android, iOS |
| | * **Web:** WebAssembly or asm.js | * **Web:** WebAssembly |
| | * **Consoles:** PS4, PS Vita, Xbox One, Xbox 360, Wii U, Nintendo 3DS | * **Console:** See :ref:`doc_consoles` |
| | * **VR:** Oculus Rift, SteamVR, Google Cardboard, Playstation VR, Gear VR, HoloLens| * **VR:** Oculus Rift, SteamVR |
| | * **VR:** Oculus Rift, SteamVR, Google Cardboard, PlayStation VR, Gear VR, HoloLens| * **VR:** Oculus Rift, SteamVR |
| | * **TV:** Android TV, Samsung SMART TV, tvOS | |
+-------------------+------------------------------------------------------------------------------------+----------------------------------------------------------------------------------------------------------------+
| Scene system | * Component/Scene (GameObject > Component) | :ref:`Scene tree and nodes <doc_scenes_and_nodes>`, allowing scenes to be nested and/or inherit other scenes |
Expand Down Expand Up @@ -87,7 +87,7 @@ and debugging/live editing on it after the game is exported.
The scene system
----------------

This is the most important difference between Unity and Godot and the favourite feature of most Godot users.
This is the most important difference between Unity and Godot and the favorite feature of most Godot users.

Working on a 'level' in Unity usually means embedding all the required assets in a scene
and linking them together with components and scripts.
Expand Down Expand Up @@ -116,14 +116,14 @@ Consider the player as an element we'd like to use in different parent scenes (f
2. **A scene for the Enemy.**

An enemy is also an element we'd like to use in several scenes. It's almost the same
as the Player node. The only differences are the script (it needs 'AI' routines to generate the enemy's behaviour)
as the Player node. The only differences are the script (it needs 'AI' routines to generate the enemy's behavior)
and the sprite textures used by the AnimatedSprite node.

3. **A Level scene.**

A Level scene is composed of Bricks (for platforms), Coins (for the player to collect) and a
number of instances of the Enemy scene. Each instance is a node in the Level scene tree. These instances are separate enemies,
which initially have shared behaviour and appearance as defined in the Enemy scene. You can set different properties for each Enemy node (to change its color, for example).
which initially have shared behavior and appearance as defined in the Enemy scene. You can set different properties for each Enemy node (to change its color, for example).

4. **A Main scene.**
The Main scene would be composed of one root node with 2 children: a Player instance node, and a Level instance node.
Expand Down Expand Up @@ -202,7 +202,7 @@ please read the :ref:`doc_gdscript` and :ref:`doc_faq` pages. GDScript is strong
and doesn't take long to learn: Between one evening for an experienced programmer and a week for a complete beginner.

Unity allows you to attach as many scripts as you want to a GameObject.
Each script adds a behaviour to the GameObject: For example, you can attach a script so that it reacts to the player's controls,
Each script adds a behavior to the GameObject: For example, you can attach a script so that it reacts to the player's controls,
and another that controls its specific game logic.

In Godot, you can only attach one script per node. You can use either an external GDScript file
Expand Down
2 changes: 1 addition & 1 deletion getting_started/scripting/c_sharp/c_sharp_basics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ page in the Mono documentation.
Setting up C# for Godot
-----------------------

Windows (Visaul Studio)
Windows (Visual Studio)
~~~~~~~~~~~~~~~~~~~~~~~

Download and install the latest version of
Expand Down
2 changes: 1 addition & 1 deletion getting_started/step_by_step/ui_code_a_life_bar.rst
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ scene:

.. note::

The project uses a simple organisation that works for game jams and tiny games.
The project uses a simple organization that works for game jams and tiny games.

At the root of the project, in the `res://` folder, you will find the `LevelMockup`. That's the main game scene and the one we will work with. All the components that make up the game are in the `scenes/` folder. The `assets/` folder contains the game sprites and the font for the HP counter. In the `scripts/` folder you will find the enemy, the player, and the GUI controller scripts.

Expand Down
2 changes: 1 addition & 1 deletion getting_started/step_by_step/ui_game_user_interface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ Download the project files: :download:`ui_gui_design.zip <files/ui_gui_design.zi

.. note::

You can watch this tutorial as a `video on Youtube <https://www.youtube.com/watch?v=y1E_y9AIqow>`_.
You can watch this tutorial as a `video on YouTube <https://www.youtube.com/watch?v=y1E_y9AIqow>`_.

Breaking down the UI
--------------------
Expand Down
4 changes: 2 additions & 2 deletions getting_started/step_by_step/ui_main_menu.rst
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ containers split the area into two: a left and a right side or a top and
a bottom side. They also allow the user to resize the left and right
areas using an interactive bar. On the other hand, ``HBoxContainer``
just splits itself into as many columns as it has children. Although you
can deactivate the split container's resize behaviour, I recommend to
favour box containers.
can deactivate the split container's resize behavior, I recommend to
favor box containers.

Select the ``MarginContainer`` and add an ``HBoxContainer``. Then, we
need two containers as children of our ``HBoxContainer``: a
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ are placed in just one AnimationPlayer in the scene root.

**Mode 'Animation as Action with Squash'**

This mode has very similar behaviour of mode 'Animation as Action', but it
This mode has very similar behavior of mode 'Animation as Action', but it
can generate fewer AnimationPlayers; objects in parent-children relationship would
share their AnimationPlayer. It is useful when you have several rigs, and each
Skeleton and Mesh has actions; then one rig would have just one AnimationPlayer.
4 changes: 2 additions & 2 deletions getting_started/workflow/export/exporting_for_web.rst
Original file line number Diff line number Diff line change
Expand Up @@ -116,10 +116,10 @@ The following functionality is currently unavailable on the HTML5 platform:
- Threads
- GDNative
- C#
- Clipboard synchronisation between engine and operating system
- Clipboard synchronization between engine and operating system
- Networking other than :ref:`class_HTTPClient` and :ref:`class_WebSocketClient`

.. tip:: Check the `list of open HTML5 issues on Github
.. tip:: Check the `list of open HTML5 issues on GitHub
<https://github.com/godotengine/godot/issues?q=is:open+is:issue+label:platform:html5>`__
to see if the functionality you're interested in has an issue yet. If
not, open one to communicate your interest.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/2d/2d_lights_and_shadows.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ to make a scene like the demo step by step.
.. image:: img/light_shadow_main.png

All the resources for this tutorial can be found in the `official demo repository <https://github.com/godotengine/godot-demo-projects>`_
on github. I suggest you download it before starting. Alternatively,
on GitHub. I suggest you download it before starting. Alternatively,
it can be downloaded from the Project Manager. Launch Godot and in the top
bar select "Templates" and search for "2D Lights and Shadows Demo".

Expand Down
4 changes: 2 additions & 2 deletions tutorials/3d/fps_tutorial/part_four.rst
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ If there is a joypad connected, we then get its left stick axes for right/left a
Because a wired Xbox 360 controller has different joystick axis mapping based on OS, we will use different axes based on
the OS.

.. warning:: This tutorial assumes you are using a XBox 360 or a Playstation wired controller.
.. warning:: This tutorial assumes you are using a XBox 360 or a PlayStation wired controller.
Also, I do not (currently) have access to a Mac computer, so the joystick axes may need changing.
If they do, please open a GitHub issue on the Godot documentation repository! Thanks!

Expand Down Expand Up @@ -178,7 +178,7 @@ Make a new function called ``process_view_input`` and add the following:
rotation_helper.rotation_degrees = camera_rot
# ----------------------------------

.. code-tab:: gdscript Playstation Controller
.. code-tab:: gdscript PlayStation Controller

func process_view_input(delta):

Expand Down
4 changes: 2 additions & 2 deletions tutorials/3d/fps_tutorial/part_six.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1014,9 +1014,9 @@ At this point, you have a good base to build more complicated FPS games.
Other than that, the source is exactly the same, just with helpful comments explaining what
each part does.

.. tip:: The finished project source is hosted on Github as well: https://github.com/TwistedTwigleg/Godot_FPS_Tutorial
.. tip:: The finished project source is hosted on GitHub as well: https://github.com/TwistedTwigleg/Godot_FPS_Tutorial

**Please note that the code in Github may or may not be in sync with the tutorial in the documentation**.
**Please note that the code in GitHub may or may not be in sync with the tutorial in the documentation**.

The code in the documentation is likely better managed and/or more up to date.
If you are unsure of which to use, use the project(s) provided in the documentation, as they are maintained by the Godot community.
Expand Down
2 changes: 1 addition & 1 deletion tutorials/animation/animation_tree.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ Check the "Parameters" section of the ``AnimationTree`` node to see all the para
.. image:: img/animtree16.png

This is handy because it makes it possible to animate them from an ``AnimationPlayer``, or even the ``AnimationTree`` itself,
allowing the realisation of very complex animation logic.
allowing the realization of very complex animation logic.

To modify these values from code, the property path must be obtained. This is done easily by hovering the mouse over any of the parameters:

Expand Down
2 changes: 1 addition & 1 deletion tutorials/animation/introduction_2d.rst
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ the end.
Animation loop

If you set the animation length to 4 seconds now, the animation moves
back and forth. You can change this behaviour if you change the track's
back and forth. You can change this behavior if you change the track's
loop mode. This is covered in the next chapter.

Track settings
Expand Down
6 changes: 3 additions & 3 deletions tutorials/inputs/inputevent.rst
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ specific Controls, only direct ancestors of the targeted Control node receive th
In accordance with Godot's node-based design, this enables
specialized child nodes to handle and consume particular events, while
their ancestors, and ultimately the scene root, can provide more
generalized behaviour if needed.
generalized behavior if needed.

Anatomy of an InputEvent
------------------------
Expand All @@ -124,14 +124,14 @@ Anatomy of an InputEvent
anything and only contains some basic information, such as event ID
(which is increased for each event), device index, etc.

There are several specialised types of InputEvent, described in the table below:
There are several specialized types of InputEvent, described in the table below:

+-------------------------------------------------------------------+--------------------+-----------------------------------------+
| Event | Type Index | Description |
+-------------------------------------------------------------------+--------------------+-----------------------------------------+
| :ref:`InputEvent <class_InputEvent>` | NONE | Empty Input Event. |
+-------------------------------------------------------------------+--------------------+-----------------------------------------+
| :ref:`InputEventKey <class_InputEventKey>` | KEY | Contains a scancode and unicode value, |
| :ref:`InputEventKey <class_InputEventKey>` | KEY | Contains a scancode and Unicode value, |
| | | as well as modifiers. |
+-------------------------------------------------------------------+--------------------+-----------------------------------------+
| :ref:`InputEventMouseButton <class_InputEventMouseButton>` | MOUSE_BUTTON | Contains click information, such as |
Expand Down

0 comments on commit 135b33b

Please sign in to comment.