From cc8c8d9f7bb3f714e50b77ad7c5002e5e7f70e08 Mon Sep 17 00:00:00 2001 From: Keshav Anand Date: Sat, 13 Jun 2026 13:16:02 -0400 Subject: [PATCH] added error messages section to fix issues --- pyproject.toml | 2 +- src/foreignthon_te/te.json | 22 ++++++++++++++++++++++ 2 files changed, 23 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 9baf5ea..fd6127b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "hatchling.build" [project] name = "foreignthon-te" -version = "0.1.0" +version = "0.1.1" description = "Telugu language pack for ForeignThon." license = { text = "GPL v3" } requires-python = ">=3.9" diff --git a/src/foreignthon_te/te.json b/src/foreignthon_te/te.json index a65d1e2..d2d69df 100644 --- a/src/foreignthon_te/te.json +++ b/src/foreignthon_te/te.json @@ -99,6 +99,28 @@ "కీబోర్డు_అంతరాయం": "KeyboardInterrupt" }, + "error_messages": { + "SyntaxError": "వ్యాకరణ లోపం", + "ValueError": "విలువ లోపం", + "TypeError": "రకం లోపం", + "KeyError": "కీ లోపం", + "IndexError": "సూచిక లోపం", + "AttributeError": "లక్షణ లోపం", + "NameError": "పేరు లోపం", + "ImportError": "దిగుమతి లోపం", + "FileNotFoundError": "దస్త్రం కనబడలేదు", + "ZeroDivisionError": "సున్నాతో భాగహారం లోపం", + "RecursionError": "పునరావృతి పరిమితి లోపం", + "RuntimeError": "నిర్వహణ లోపం", + "MemoryError": "జ్ఞాపక లోపం", + "OverflowError": "మితిమీరిన విలువ లోపం", + "AssertionError": "నిర్ధారణ లోపం", + "PermissionError": "అనుమతి నిరాకరించబడింది", + "TimeoutError": "సమయం ముగిసింది", + "KeyboardInterrupt": "కీబోర్డు అంతరాయం" + }, + + "stdlib": { "గణితం": "math", "వ్యవస్థ": "sys",