refactor: Rename constants.string into tr.

This commit is contained in:
Terry Geng
2020-07-11 10:26:42 +08:00
parent 4e541a7622
commit e84607b8e8
7 changed files with 226 additions and 220 deletions

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: