refactor: Rename constants.string into tr.

This commit is contained in:
Terry Geng
2020-07-12 11:45:51 +08:00
parent 4e541a7622
commit e84607b8e8
7 changed files with 226 additions and 220 deletions
+1 -1
View File
@@ -1,7 +1,7 @@
import variables as var
def strings(option, *argv, **kwargs):
def tr(option, *argv, **kwargs):
try:
string = var.config.get("strings", option)
except KeyError: