summaryrefslogtreecommitdiff
path: root/editor/translations
diff options
context:
space:
mode:
authorDanil Alexeev <danil@alexeev.xyz>2022-08-30 12:36:24 +0300
committerDanil Alexeev <danil@alexeev.xyz>2022-08-30 12:36:24 +0300
commitd4555ef5fbf706c43faccf5fdb3f023696197727 (patch)
treeefc5600ae84f8827b800ca7bfd42333ecf38b542 /editor/translations
parent432b25d3649319517827dbf7bc275e81e0a2b92e (diff)
Add `String.to_{camel,pascal,snake}_case` methods
Diffstat (limited to 'editor/translations')
-rwxr-xr-xeditor/translations/extract.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/translations/extract.py b/editor/translations/extract.py
index 7f3da400e7..07026baee2 100755
--- a/editor/translations/extract.py
+++ b/editor/translations/extract.py
@@ -139,7 +139,7 @@ theme_property_patterns = {
}
-# See String::camelcase_to_underscore().
+# See String::_camelcase_to_underscore().
capitalize_re = re.compile(r"(?<=\D)(?=\d)|(?<=\d)(?=\D([a-z]|\d))")