Correct null and boolean values being capitalised by the str command

This commit is contained in:
Balloonpopper
2021-08-25 16:37:40 +10:00
parent bb0122c933
commit 4fae7ae9dc
30 changed files with 93 additions and 82 deletions

View File

@@ -9933,7 +9933,7 @@ msgid ""
"Cast a [String] value to a boolean value, this method will return "
"[code]false[/code] if [code]\"\"[/code] is passed in, and [code]true[/code] "
"for all non-empty strings.\n"
"Examples: [code]bool(\"False\")[/code] returns [code]true[/code], "
"Examples: [code]bool(\"false\")[/code] returns [code]true[/code], "
"[code]bool(\"\")[/code] returns [code]false[/code]."
msgstr ""
@@ -33084,8 +33084,8 @@ msgid ""
"code]:\n"
"[codeblock]\n"
"var n = Node2D.new()\n"
"print(\"position\" in n) # Prints \"True\".\n"
"print(\"other_property\" in n) # Prints \"False\".\n"
"print(\"position\" in n) # Prints \"true\".\n"
"print(\"other_property\" in n) # Prints \"false\".\n"
"[/codeblock]\n"
"The [code]in[/code] operator will evaluate to [code]true[/code] as long as "
"the key exists, even if the value is [code]null[/code].\n"