diff --git a/i18n/en.json b/i18n/en.json index 2ae1467..6406af9 100644 --- a/i18n/en.json +++ b/i18n/en.json @@ -14,6 +14,21 @@ "stats-summary": "$1 {{PLURAL:$2|person|people}} {{PLURAL:$2|has|have}} taken part in $3 {{PLURAL:$4|contest|contests}}.", + "home-description": "This is a tool for running Wikisouce proofreading contests (especially the annual Wikisource Anniversary Proofreading Contest, WAPC).", + "home-instructions": "During a contest people can help proofread and validate book pages on Wikisouces. For each page either proofread or validated the participant gain points. At the end of the contest, a prize is awarded to the Wikisourceror with the most points. Second and third-place prize are awarded with a random drawing from all the remaining contestants: each point that you gained during the contest is like a lottery ticket, so the more points you have gained during the contest (that is, the more pages you have proofread or validated), the more chances you have to win.", + "home-score-components": "There are three components to the score: 1) the total Points; 2) the total number of Validations performed; and 3) the total number of constructive Contributions of all sorts.", + "scoring-system": "Scoring system", + "action-taken": "Action taken", + "home-table-row-proofread": "From any status to Proofread:", + "home-table-row-validated": "From Proofread to Validated:", + "home-table-row-validated-demoted": "If a Validated page is demoted:", + "home-table-row-proofread-demoted": "If a Proofread page is demoted:", + + "full-url-to-index-pages": "Full URLs to Index pages, one per line.", + "edit": "Edit", + "admins": "Admins", + "404-not-found": "404 Not Found", + "requested-page-does-not-exist": "The requested page does not exist.", "all-contests": "All contests", "your-contests": "Your contests", "recently-ended-contests": "Recently ended contests", @@ -59,6 +74,7 @@ "validations": "Validations", "index-page": "Index page", "index-pages": "Index pages", + "index-pages-label": "Index pages:", "user-results": "User results", "revision": "Revision", "date": "Date", diff --git a/i18n/qqq.json b/i18n/qqq.json index 507af2a..08c54bb 100644 --- a/i18n/qqq.json +++ b/i18n/qqq.json @@ -10,6 +10,20 @@ "app-title": "Title of the tool.", "homepage": "Link text to navigate to the home page.", "contests": "Link text to navigate to the contest-list page.", + "home-description": "Description of the tool on the home page. Explains that the tool is used for Wikisource proofreading contests.", + "home-instructions": "Explains what participants do during contests and links to Wikisource guides.", + "home-score-components": "Introductory text about the scoring system components.", + "scoring-system": "Table Caption displayed on top of scoring system table on home page", + "action-taken": "Table Header text of 'action taken' on scoring system table", + "home-table-row-proofread": "Table Row text of 'From any status to Proofread:' on scoring system table", + "home-table-row-validated": "Table Row text of 'From Proofread to Validated:' on scoring system table", + "home-table-row-validated-demoted": "Table Row text of 'If a Validated page is demoted:' on scoring system table", + "home-table-row-proofread-demoted": "Table Row text of 'If a Proofread page is demoted:' on scoring system table", + "404-not-found": "Heading Text displaying the page was not found", + "requested-page-does-not-exist": "Text stating that the requested page does not exist.", + "full-url-to-index-pages": "Text Label stating 'Full URLs to Index pages, one per line.'", + "admins": "Text Label for Admins", + "edit": "Text Label for Edit", "login": "Link to log in.", "logged-in-as": "Informative sentence about the currently logged-in user. $1 is the username.", "logout": "Link to log out.", @@ -56,6 +70,7 @@ "validations": "Table header of the user details' table.", "index-page": "Table header of the user details' table.", "index-pages": "Section header for the list of index pages.", + "index-pages-label": "Label for the list of index pages.", "user-results": "Breadcrumb text for the user results page.", "revision": "Table header of the user details' table.", "date": "Table header of the user details' table.\n{{Identical|Date}}", diff --git a/templates/bundles/TwigBundle/Exception/error404.html.twig b/templates/bundles/TwigBundle/Exception/error404.html.twig index 3128129..e68a1f3 100644 --- a/templates/bundles/TwigBundle/Exception/error404.html.twig +++ b/templates/bundles/TwigBundle/Exception/error404.html.twig @@ -2,7 +2,7 @@ {% block main %}
-

404 Not Found

-

The requested page does not exist.

+

{{ msg('404-not-found') }}

+

{{ msg('requested-page-does-not-exist') }}

{% endblock %} diff --git a/templates/contests_edit.html.twig b/templates/contests_edit.html.twig index e652c80..43ca6bf 100644 --- a/templates/contests_edit.html.twig +++ b/templates/contests_edit.html.twig @@ -41,12 +41,12 @@

- + - Full URLs to Index pages, one per line. + {{ msg('full-url-index-pages') }}

- + {{ msg('one-username-per-line') }}

diff --git a/templates/contests_view.html.twig b/templates/contests_view.html.twig index c67b15a..b023aec 100644 --- a/templates/contests_view.html.twig +++ b/templates/contests_view.html.twig @@ -38,7 +38,7 @@

{{ msg('wikitext-scores') }} - Edit + {{ msg('edit') }}

{{ msg('index-pages') }}

diff --git a/templates/home.html.twig b/templates/home.html.twig index 126e5cf..2a21a59 100644 --- a/templates/home.html.twig +++ b/templates/home.html.twig @@ -6,36 +6,19 @@ {{ msg('stats-summary', [ people|number_format, people, contests|number_format, contests ] ) }}

-

- This is a tool for running Wikisouce proofreading contests - (especially the annual Wikisource Anniversary Proofreading Contest, WAPC). -

+

{{ msg('home-description') }}

-

- During a contest people can help proofread - and validate book pages on Wikisouces. - For each page either proofread or validated the participant gain points. - At the end of the contest, a prize is awarded to the Wikisourceror with the most points. - Second and third-place prize are awarded with a random drawing from all the remaining contestants: - each point that you gained during the contest is like a lottery ticket, - so the more points you have gained during the contest (that is, the more pages you have proofread or validated), - the more chances you have to win. -

+

{{ msg('home-instructions') }}

-

- There are three components to the score: - 1) the total Points; - 2) the total number of Validations performed; and - 3) the total number of constructive Contributions of all sorts. -

+

{{ msg('home-score-components') }}

- - - - - - + + + + + +
Scoring system
Action takenPointsValidationsContributions
From any status to Proofread: 3 0 1
From Proofread to Validated: 1 1 1
If a Validated page is demoted:-1-1-1
If a Proofread page is demoted:-3 0-1
{{ msg('scoring-system') }}
{{ msg('action-taken') }}{{ msg('points') }}{{ msg('validations') }}{{ msg('contributions') }}
{{ msg('home-table-row-proofread') }} 3 0 1
{{ msg('home-table-row-validated') }} 1 1 1
{{ msg('home-table-row-validated-demoted') }}-1-1-1
{{ msg('home-table-row-proofread-demoted') }}-3 0-1
{% endblock %}