-
Notifications
You must be signed in to change notification settings - Fork 11
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
Add i18n #27
Add i18n #27
Changes from 5 commits
dc20691
82be74e
3dd1a4f
ae39d50
298731e
f124155
283a49a
3e8e81d
7364f00
ecda678
a12cc60
4188d98
8d4f93b
8b81663
6a96c26
54e1dc9
b631075
80c58ae
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
{ | ||
"@metadata": { | ||
"authors": [ | ||
"Niharika Kohli", | ||
"MusikAnimal", | ||
"Ryan Kaldari" | ||
] | ||
}, | ||
"name": "CopyPatrol", | ||
"documentation": "Documentation", | ||
"feedback": "Feedback", | ||
"leaderboard": "Leaderboard", | ||
"login": "Login", | ||
"logout": "Logout", | ||
"header-loggedin": "You are logged in as: $1", | ||
"form-all": "All cases", | ||
"form-open": "Open cases", | ||
"form-reviewed": "Reviewed cases", | ||
"form-mine": "My reviews", | ||
"form-drafts": "Drafts only", | ||
"wikiprojects": "Wikiprojects", | ||
"form-wikiprojects-placeholder": "Type Wikiproject names...", | ||
"submit": "Submit", | ||
"page": "Page", | ||
"diff": "Diff", | ||
"editor": "Editor", | ||
"review": "Review", | ||
"review-fixed": "Page fixed", | ||
"review-fixed-tooltip": "The edit was a copyright violation and has been reverted", | ||
"review-false": "No action needed", | ||
"review-false-tooltip": "The edit is a false positive, nothing needs to be done", | ||
"review-by": "Reviewed by:", | ||
"history": "History", | ||
"talk": "Talk", | ||
"contribs": "Contributions", | ||
"record-editcount": "Edit count:", | ||
"compare": "Compare", | ||
"record-ithenticate": "iThenticate report", | ||
"record-url-text": "$1 of edit ($2 words)", | ||
"record-noeditor": "No editor found", | ||
"record-noeditor-tooltip": "The revision may have been deleted or the data is not yet available in Labs database.", | ||
"record-ores": "ORES score: $1", | ||
"article": "Article", | ||
"compare-article-loading": "Loading article revision...", | ||
"compare-source-loading": "Loading possible copyvio source...", | ||
"footer-loadmore": "Load More", | ||
"footer-nomore": "No more records!", | ||
"footer-broughtby": "Brought to you by $1", | ||
"footer-commtech": "Community Tech", | ||
"footer-poweredby": "Powered by $1 and $2", | ||
"source": "Source", | ||
"phabricator": "Phabricator", | ||
"footer-imageattr": "Image attribution", | ||
"lboard-title": "Leaderboard", | ||
"lboard-week": "Cases closed in the<br/> last 7 days", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Hardcoded linebreaks don't really work for translation, since the translators won't know where to put the linebreaks to make sure things wrap correctly. Danny originally wanted this done so that all the columns lined up right, but we can probably figure out a better way to do this in a future commit. For now, let's just remove the line breaks and let the lines wrap naturally (even if they don't all line up perfectly). |
||
"lboard-month": "Cases closed in the<br/> last 30 days", | ||
"lboard-alltime": "All time<br/> cases closed", | ||
"lboard-back": "Back to CopyPatrol", | ||
"close": "Close", | ||
"imageattr-title": "Image attribution", | ||
"imageattr-logo": "CopyPatrol logo", | ||
"public-domain": "public domain", | ||
"open-font-license": "Open Font License", | ||
"imageattr-paragraph1": "$1 available to the $2 courtesy of $3 and the $4", | ||
"imageattr-paragraph2": "$1 released under the $2 courtesy of $3", | ||
"alert-testing": "This is a staging environment. Please do not use this tool to record your reviews. For the actual CopyPatrol tool, please use $1.", | ||
"js-unauthorized": "You need to be logged in to be able to review.", | ||
"js-dberror": "There was an error in connecting to database.", | ||
"js-undo-own-only": "You can only undo your own reviews.", | ||
"js-unknown-error": "An unknown error occurred when loading results. Please try again." | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The only thing is I would avoid including links and markup in the messages. E.g. you get rid of And for There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also it should be There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. I also fixed some links in Image attribution modal. I didn't break it up into 12 messages but 8 instead. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Also, simpleI18n doesn't support the sort of markup you were suggesting above so I resorted to break out the text. |
||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"WikiProject" is always camelcase.