Skip to content
This repository was archived by the owner on May 28, 2026. It is now read-only.

Commit f883d88

Browse files
authored
Add link to TranslateWiki.net in the footer
To make it easier for people to know they can help translate the UI.
1 parent f0f9667 commit f883d88

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

i18n/en.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
"report-issue": "Report an issue",
3333
"language": "Language:",
3434
"language-switch": "Switch language",
35+
"help-translate": "Help translate this tool",
3536
"langs-placeholder": "Leave blank for automatic language detection.",
3637
"langs-param-error": "The following {{PLURAL:$1|language is|languages are}} not supported by the OCR engine: $2",
3738
"loading-message": "Performing transcription...",

i18n/qqq.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
"report-issue": "Link text in the footer for the issue-reporting link.",
4040
"language": "Label for the language-switching dropdown.",
4141
"language-switch": "Button text for the language-switching dropdown.",
42+
"help-translate": "Link text for a link to the tool's translation page on TranslateWiki.net.",
4243
"langs-placeholder": "Placeholder text for the language input field.",
4344
"langs-param-error": "Error message displayed when invalid language(s) are submitted.\n\nParameters:\n* $1 – number of invalid languages\n* $2 - the list of invalid languages\n\nOCR is a common abbreviation in English for \"Optical Characters Recognition\".",
4445
"loading-message": "Loading message displayed when the transcription is being performed",

templates/base.html.twig

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@
8787
{% endfor %}
8888
</select>
8989
<input type="submit" value="{{msg('language-switch')}}" class="btn btn-default">
90+
<a href="https://translatewiki.net/wiki/Special:Translate?group=wikimedia-ocr&language={{ lang() }}" target="_blank">{{ msg('help-translate') }}</a>
9091
</div>
9192
</form>
9293
</footer>

0 commit comments

Comments
 (0)