fix(i18n): add missing data-i18n attributes to form pages
Fixes incomplete translations where page descriptions, submit help text, and privacy notes remained in English when switching languages. **Fixed Elements:** - Page descriptions (case-submission and media-inquiry) - Submit button help text - Privacy policy notes All text now properly translates when language is changed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
b21cda335d
commit
b56b6a68a0
2 changed files with 6 additions and 6 deletions
|
|
@ -87,7 +87,7 @@
|
|||
<!-- Header -->
|
||||
<div class="mb-8">
|
||||
<h1 data-i18n="page.heading" class="text-3xl font-bold text-gray-900 mb-3">Submit Case Study</h1>
|
||||
<p class="text-lg text-gray-600 mb-4">
|
||||
<p data-i18n="page.description" class="text-lg text-gray-600 mb-4">
|
||||
Share real-world examples of AI safety failures that could have been prevented by the Tractatus Framework.
|
||||
</p>
|
||||
<div class="bg-sky-50 border-l-4 p-4 rounded" class="border-l-tractatus">
|
||||
|
|
@ -198,7 +198,7 @@
|
|||
<button type="submit" id="submit-button" class="w-full bg-blue-600 text-white px-6 py-3 rounded-lg font-semibold transition-all duration-200 hover:bg-blue-700 hover:shadow-lg hover:-translate-y-0.5">
|
||||
<span data-i18n="form.submit_button">Submit Case Study</span>
|
||||
</button>
|
||||
<p class="form-help mt-3 text-center">
|
||||
<p data-i18n="form.submit_help" class="form-help mt-3 text-center">
|
||||
We review all submissions. High-quality case studies are published with attribution (if consented).
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -208,7 +208,7 @@
|
|||
|
||||
<!-- Privacy Note -->
|
||||
<div class="mt-6 text-sm text-gray-600 text-center">
|
||||
<p>
|
||||
<p data-i18n="privacy_note">
|
||||
Your submission is handled according to our
|
||||
<a href="/about/values.html" class="hover:underline transition-colors" class="text-tractatus-link">privacy principles</a>.
|
||||
All case studies undergo human review before publication.
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
<!-- Header -->
|
||||
<div class="mb-8">
|
||||
<h1 data-i18n="page.heading" class="text-3xl font-bold text-gray-900 mb-3">Media Inquiry</h1>
|
||||
<p class="text-lg text-gray-600">
|
||||
<p data-i18n="page.description" class="text-lg text-gray-600">
|
||||
Press and media inquiries about the Tractatus Framework. We review all inquiries and respond promptly.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -152,7 +152,7 @@
|
|||
<button type="submit" id="submit-button" class="w-full text-white px-6 py-3 rounded-lg font-semibold transition-all duration-200 hover:shadow-lg hover:-translate-y-0.5 bg-gradient-cyan-blue">
|
||||
<span data-i18n="form.submit_button">Submit Inquiry</span>
|
||||
</button>
|
||||
<p class="form-help mt-3 text-center">
|
||||
<p data-i18n="form.submit_help" class="form-help mt-3 text-center">
|
||||
We review all media inquiries and typically respond within 24-48 hours.
|
||||
</p>
|
||||
</div>
|
||||
|
|
@ -162,7 +162,7 @@
|
|||
|
||||
<!-- Privacy Note -->
|
||||
<div class="mt-6 text-sm text-gray-600 text-center">
|
||||
<p>
|
||||
<p data-i18n="privacy_note">
|
||||
Your contact information is handled according to our
|
||||
<a href="/about/values.html" class="hover:underline transition-colors text-tractatus-link">privacy principles</a>.
|
||||
We never share media inquiries with third parties.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue