-
-
Notifications
You must be signed in to change notification settings - Fork 141
extract text to translation ready files -- Bill Detail Page #1860
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Mephistic
merged 14 commits into
codeforboston:main
from
jicruz96:bill-detail-translation
Aug 15, 2025
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0e1c4f8
extract text to translation ready files -- Bill Detail Page
jicruz96 52cda15
create components/i18n.ts to prevent SSR build errors
jicruz96 7deb0c4
fix useTranslation-related build error
jicruz96 bf68e08
prettier formatting
jicruz96 d8d796e
adjust date formats
jicruz96 684b4b2
update components/search/bills/BillHit.tsx date formatting
jicruz96 3180694
update lead sponsor terminology in Sponsors component and add transla…
jicruz96 28e46db
add translation keys for court and sponsor details in BillHit component
jicruz96 6cd22eb
reorder translation keys
jicruz96 3f691f6
address bug in billHit sponsor d
jicruz96 5430aac
Merge branch 'main' into bill-detail-translation
jicruz96 b356e1a
Merge branch 'main' into bill-detail-translation
jicruz96 5c71426
use built-in i18next date formatting utils in lieu of wrapper
jicruz96 816c580
Merge branch 'main' into bill-detail-translation
jicruz96 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,26 @@ | |
"about": "About", | ||
"back_to_bills": "back to list of bills", | ||
"bill": { | ||
"and_others_one": "and {{count}} other", | ||
"and_others_other": "and {{count}} others", | ||
"bill_tracker": "Bill Tracker", | ||
"bill_cosponsors": "{{billId}} Cosponsors", | ||
"cosponsor_count_one": "{{count}} Cosponsor", | ||
"cosponsor_count_other": "{{count}} Cosponsors", | ||
"court": "Court", | ||
"history": "History", | ||
"status_and_history": "Status & History", | ||
"status_history": "Status History", | ||
"branch": "Branch", | ||
"lobbying_parties": "Lobbying Parties", | ||
"client_name": "Client Name", | ||
"position": "Position", | ||
"disclosure_date": "Disclosure Date", | ||
"example_name": "Example Name", | ||
"pro": "Pro", | ||
"neutral": "Neutral", | ||
"committee": "Committee", | ||
"hearing_scheduled_for": "Hearing Scheduled for {{date, datetime(year: 'numeric'; month: 'long'; day: 'numeric'; hour: 'numeric'; minute: 'numeric')}}", | ||
"old_session": "this bill is from session {{billCourt}} - not the current session", | ||
"read_more": "Read More", | ||
"download_pdf": "Download PDF", | ||
|
@@ -29,6 +49,7 @@ | |
"technology_and_communications": "Technology and Communications", | ||
"transportation_and_public_works": "Transportation and Public Works" | ||
}, | ||
"seeCosponsors": "See {{count}} Cosponsors", | ||
"smart_tag": "AI Smart Tag", | ||
"smart_summary": "Smart Summary & Tags", | ||
"smart_disclaimer": "This content has been generated using artificial intelligence and may not accurately reflect the details of the legislation. Learn more about <0>how MAPLE uses AI</0>. To report an inaccuracy or to suggest an improvement, please email [email protected]" | ||
|
@@ -42,7 +63,9 @@ | |
}, | ||
"calendar": "Our Calendar", | ||
"hideAns": "Hide Answer", | ||
"date": "{{date, datetime(year: 'numeric'; month: 'long'; day: 'numeric')}}", | ||
"joinTraining": "and join an upcoming training session!", | ||
"leadSponsor": "Lead Sponsor", | ||
"learn": "Learn", | ||
"let_your_voice_be_heard": "Let your voice be heard!", | ||
"loading": { | ||
|
@@ -124,6 +147,8 @@ | |
"bluesky": "BlueSky", | ||
"mastodon": "Mastodon" | ||
}, | ||
"sponsor": "Sponsor", | ||
"sponsors": "Sponsors", | ||
"table": { | ||
"page": "Page {{currentPage}}" | ||
}, | ||
|
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.