Преглед изворни кода

Update gdscript_format_string.rst

corrigentia пре 6 година
родитељ
комит
674d24192b
1 измењених фајлова са 2 додато и 2 уклоњено
  1. 2 2
      getting_started/scripting/gdscript/gdscript_format_string.rst

+ 2 - 2
getting_started/scripting/gdscript/gdscript_format_string.rst

@@ -3,7 +3,7 @@
 GDScript format strings
 GDScript format strings
 =======================
 =======================
 
 
-GDScript offers a feature called *format strings* which allows reusing text
+GDScript offers a feature called *format strings*, which allows reusing text
 templates to succinctly create different but similar strings.
 templates to succinctly create different but similar strings.
 
 
 Format strings are just like normal strings, except they contain certain
 Format strings are just like normal strings, except they contain certain
@@ -270,7 +270,7 @@ examples of that functionality.
 | Prefix          | ``"Hi, %0 v%1".format(["Godette", "3.0"], "%_")``    | Hi, Godette v3.0 |
 | Prefix          | ``"Hi, %0 v%1".format(["Godette", "3.0"], "%_")``    | Hi, Godette v3.0 |
 +-----------------+------------------------------------------------------+------------------+
 +-----------------+------------------------------------------------------+------------------+
 
 
-Combining both the ``String.format`` method and the ``%`` operator could be useful as
+Combining both the ``String.format`` method and the ``%`` operator could be useful, as
 ``String.format`` does not have a way to manipulate the representation of numbers.
 ``String.format`` does not have a way to manipulate the representation of numbers.
 
 
 +---------------------------------------------------------------------------+-------------------+
 +---------------------------------------------------------------------------+-------------------+