Malayalam translation: functions — native-speaker calibration review - #2
Malayalam translation: functions — native-speaker calibration review#2mmcky wants to merge 1 commit into
Conversation
Translated by claude-sonnet-5 via action-translation@main (register rules + glossary v0.2.0 from the reviewer packet). Source: QuantEcon/lecture-python-programming@5816589. Deterministic gates at translation time: 0 transliterations, 0 native software verbs, headings byte-identical. Part of Phase 2 of QuantEcon/action-translation#189. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
There was a problem hiding this comment.
Pull request overview
This PR adds the Malayalam translation of the “functions” lecture, intended for native-speaker calibration review, landing the translated content directly into the site materials.
Changes:
- Introduces a new translated lecture file
lectures/functions.mdwith Malayalam prose for the Functions chapter. - Preserves notebook/frontmatter structure and code cells while translating explanatory text and exercises.
Suppressed comments (4)
lectures/functions.md:70
- The phrase “as is” is left in English here; translating it improves readability and consistency with surrounding Malayalam text.
പല functions-ഉം ഇതിനകം exist ചെയ്യുന്നുണ്ട്, നമുക്ക് അവ as is ഉപയോഗിക്കാം.
lectures/functions.md:127
- This line leaves common verbs like “expect”/“check” in English. Translating those improves flow while keeping technical terms (function/call) intact.
നമ്മൾ ഈ function define ചെയ്തതിനുശേഷം, നമുക്ക് ഇത് *call* ചെയ്ത് നമ്മൾ expect ചെയ്യുന്നത് പോലെ ചെയ്യുന്നുണ്ടോ എന്ന് check ചെയ്യാം:
lectures/functions.md:169
- “return hit ചെയ്യുമ്പോൾ terminate” is an awkward English-heavy construction. Consider a more natural Malayalam phrasing for program flow.
Function-ന്റെ execution ആദ്യത്തെ return hit ചെയ്യുമ്പോൾ terminate ആകും, ഇത് ഇനി പറയുന്ന example പോലുള്ള code അനുവദിക്കുന്നു
lectures/functions.md:178
- The English verb “discourage” is used here; using a Malayalam equivalent improves consistency. (The rest of the sentence already reads naturally in Malayalam.)
(Multiple return statements ഉള്ള functions എഴുതുന്നത് സാധാരണയായി discourage ചെയ്യുന്നു, കാരണം ഇത് logic follow ചെയ്യാൻ ബുദ്ധിമുട്ടാക്കും.)
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
A note on the automated comments above — they are not from our translation tool, and none of them needs your attention. GitHub Copilot reviews every pull request in this organisation automatically. It is a general-purpose code reviewer with no knowledge of this edition's translation policy, so on a Malayalam lecture it mostly argues against the policy — repeatedly suggesting that technical terms kept in English should be rendered in Malayalam. That is exactly the over-translation this edition is designed to avoid, and in one case it proposed replacing We have checked every one of its comments against the English source and replied to each on its own thread, then marked them resolved so they collapse out of your view. The breakdown for this lecture:
None of its comments identified a translation defect. What we are asking you for is unchanged: comment on any line you would change — English that should be Malayalam, Malayalam that should be English, a wrong case-suffix, awkward phrasing, or the same term handled differently in two places. Yours is the review that counts here; please disregard the collapsed automated threads entirely. |
|
📖 HTML build - view preview (a9473ae) Translated pages in this PR: |
Machine translation of
functionsfor native-speaker review — Phase 2 of QuantEcon/action-translation#189. Merging this PR lands the translation including any fixes committed during review, so review comments here improve the real site directly.For the reviewer: please comment on any line you would change — English that should be Malayalam, Malayalam that should be English, a wrong case-suffix, awkward phrasing, or the same term handled differently in two places. Headings, code cells and transliteration are already machine-verified (all headings byte-identical, code untouched, zero transliterations) — no need to proofread those. Every comment resolves to exactly one of: a glossary entry, a rule change in the translation tool, or accepted-as-is with our reasoning replied on the thread.
Provenance: source QuantEcon/lecture-python-programming@5816589 · model
claude-sonnet-5· action-translation@main with the register rules + glossary v0.2.0 derived from the reviewer packet · produced by harness run https://github.com/QuantEcon/test-translation-sync/actions/runs/30783378871 and adopted here byte-exact.🤖 Generated with Claude Code