diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-09-18 14:01:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-18 14:01:51 +0200 |
commit | cb244f0b503f321cdb63e78ff2ea82da4192d868 (patch) | |
tree | 1f238a7b8399e43834a73fec91145a7434de7e8d /core | |
parent | b1b56fd04551e20fc05b28e92bfa2b5d2641c8ac (diff) | |
parent | 3e78963bb95dec6c42415749e7e88699208dfba7 (diff) |
Merge pull request #42165 from akien-mga/codespell
Fix typos with codespell
Diffstat (limited to 'core')
-rw-r--r-- | core/register_core_types.cpp | 2 | ||||
-rw-r--r-- | core/translation_po.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/core/register_core_types.cpp b/core/register_core_types.cpp index 4f094dd6c6..a2b3f75bea 100644 --- a/core/register_core_types.cpp +++ b/core/register_core_types.cpp @@ -232,7 +232,7 @@ void register_core_types() { } void register_core_settings() { - //since in register core types, globals may not e present + // Since in register core types, globals may not be present. GLOBAL_DEF("network/limits/tcp/connect_timeout_seconds", (30)); ProjectSettings::get_singleton()->set_custom_property_info("network/limits/tcp/connect_timeout_seconds", PropertyInfo(Variant::INT, "network/limits/tcp/connect_timeout_seconds", PROPERTY_HINT_RANGE, "1,1800,1")); GLOBAL_DEF_RST("network/limits/packet_peer_stream/max_buffer_po2", (16)); diff --git a/core/translation_po.h b/core/translation_po.h index 730635f63d..88830210ef 100644 --- a/core/translation_po.h +++ b/core/translation_po.h @@ -42,7 +42,7 @@ class TranslationPO : public Translation { // TLDR: Maps context to a list of source strings and translated strings. In PO terms, maps msgctxt to a list of msgid and msgstr. // The first key corresponds to context, and the second key (of the contained HashMap) corresponds to source string. // The value Vector<StringName> in the second map stores the translated strings. Index 0, 1, 2 matches msgstr[0], msgstr[1], msgstr[2]... in the case of plurals. - // Otherwise index 0 mathes to msgstr in a singular translation. + // Otherwise index 0 matches to msgstr in a singular translation. // Strings without context have "" as first key. HashMap<StringName, HashMap<StringName, Vector<StringName>>> translation_map; |