changed ch to zh
This commit is contained in:
@@ -1 +0,0 @@
|
||||
# foreignthon-ch
|
||||
1
packages/langs/zh/README.md
Normal file
1
packages/langs/zh/README.md
Normal file
@@ -0,0 +1 @@
|
||||
# foreignthon-zh
|
||||
@@ -3,9 +3,9 @@ requires = ["hatchling"]
|
||||
build-backend = "hatchling.build"
|
||||
|
||||
[project]
|
||||
name = "foreignthon-ch"
|
||||
name = "foreignthon-zh"
|
||||
version = "0.1.0"
|
||||
description = "Mandarin Chinese language pack for ForeignThon."
|
||||
description = "Chinese language pack for ForeignThon."
|
||||
license = { text = "GPL v3" }
|
||||
requires-python = ">=3.9"
|
||||
authors = [
|
||||
@@ -16,7 +16,7 @@ keywords = ["foreignthon", "chinese", "中文", "mandarin"]
|
||||
dependencies = ["foreignthon>=0.4.1"]
|
||||
|
||||
[project.entry-points."foreignthon.langs"]
|
||||
es = "foreignthon_es"
|
||||
zh = "foreignthon_zh"
|
||||
|
||||
[tool.hatch.build.targets.wheel]
|
||||
packages = ["src/foreignthon_ch"]
|
||||
packages = ["src/foreignthon_zh"]
|
||||
@@ -2,4 +2,4 @@ from importlib.resources import files
|
||||
|
||||
|
||||
def get_pack_path():
|
||||
return files(__name__) / "ch.json"
|
||||
return files(__name__) / "zh.json"
|
||||
@@ -2,16 +2,16 @@
|
||||
"meta": {
|
||||
"name": "Chinese",
|
||||
"native_name": "中文",
|
||||
"code": "ch",
|
||||
"code": "zh",
|
||||
"version": "0.1.0",
|
||||
"authors": []
|
||||
},
|
||||
"keywords": {
|
||||
"si": "if",
|
||||
"如果": "if",
|
||||
"sino": "else",
|
||||
"osi": "elif",
|
||||
"para": "for",
|
||||
"mientras": "while",
|
||||
"的时候": "while",
|
||||
"def": "def",
|
||||
"clase": "class",
|
||||
"importar": "import",
|
||||
@@ -27,10 +27,10 @@
|
||||
"lanzar": "raise",
|
||||
"con": "with",
|
||||
"en": "in",
|
||||
"es": "is",
|
||||
"y": "and",
|
||||
"o": "or",
|
||||
"no": "not",
|
||||
"是": "is",
|
||||
"和": "and",
|
||||
"或": "or",
|
||||
"不": "not",
|
||||
"elim": "del",
|
||||
"global": "global",
|
||||
"nolocal": "nonlocal",
|
||||
@@ -44,7 +44,7 @@
|
||||
"Nada": "None"
|
||||
},
|
||||
"builtins": {
|
||||
"escribir": "print",
|
||||
"写": "print",
|
||||
"imprimir": "print",
|
||||
"entrada": "input",
|
||||
"lon": "len",
|
||||
Reference in New Issue
Block a user