Template:TranslationMark/page: Difference between revisions
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 2: | Line 2: | ||
{{back|{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}}} | {{back|{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}}} | ||
This page contains {{ParserFunction|switch}} that determines which translations of page [[:{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}]] should add either {{T|Updatetranslation}}, {{T|Finishtranslation}} or {{T| | This page contains {{ParserFunction|switch}} that determines which translations of page [[:{{#if:{{{1}}}|{{{1}}}:}}{{{2}}}]] should add either {{T|Updatetranslation}}, {{T|Finishtranslation}}, {{T|Translate}} or {{T|Machinetranslation}} and have their flag in {{T|LanguageBar}} highlighted with orange | ||
* Following languages are marked as either needing translation update, translation or | * Following languages are marked as either needing translation update, translation, finishing a translation or is a machine translation (the flags are also cache purge links to the respective pages): | ||
{{LanguageBar/foreach|TranslationMark/flagline|| }} | marked with {{T|updatetranslation}}: | ||
{{LanguageBar/foreach|TranslationMark/flagline|U| }} | |||
marked with {{T|finishtranslation}}: | |||
{{LanguageBar/foreach|TranslationMark/flagline|F| }} | |||
marked with {{T|translate}}: | |||
{{LanguageBar/foreach|TranslationMark/flagline|T| }} | |||
marked with {{T|machinetranslation}}: | |||
{{LanguageBar/foreach|TranslationMark/flagline|M| }} | |||
Line 23: | Line 33: | ||
| tr | uk = F | | tr | uk = F | ||
| fi = T | | fi = T | ||
| zh = M | |||
}} | }} | ||
</pre> | </pre> | ||
In this case {{code|ru}} page shows {{T|Updatetranslation}}, {{code|tr}} and {{code|uk}} page shows {{T|Finishtranslation}} | In this case {{code|ru}} page shows {{T|Updatetranslation}}, {{code|tr}} and {{code|uk}} page shows {{T|Finishtranslation}}, {{code|fi}} page shows {{T|Translate}} and {{code|zh}} page shows {{T|Machinetranslation}} | ||
Latest revision as of 12:02, 7 April 2025
This page contains {{#switch}} that determines which translations of page [[:{{{1}}}:{{{2}}}]] should add either {{Updatetranslation}}, {{Finishtranslation}}, {{Translate}} or {{Machinetranslation}} and have their flag in {{LanguageBar}} highlighted with orange
- Following languages are marked as either needing translation update, translation, finishing a translation or is a machine translation (the flags are also cache purge links to the respective pages):
marked with {{updatetranslation}}:
marked with {{finishtranslation}}:
marked with {{translate}}:
marked with {{machinetranslation}}:
After you click edit you can see a #switch
that looks something like this
{{#switch: {{{1}}} | ru | tr | uk = U }}
Switch like that means that ru, tr and uk translated pages will show {{Updatetranslation}} at the top.
There are more options. Example:
{{#switch: {{{1}}} | ru = U | tr | uk = F | fi = T | zh = M }}
In this case ru page shows {{Updatetranslation}}, tr and uk page shows {{Finishtranslation}}, fi page shows {{Translate}} and zh page shows {{Machinetranslation}}
Pages like this can be quickly created using {{LanguageBar}}'s TranslationMark button which is shown after clicking
(on the top right of a page).
This page was generated using {{subst:TranslationMark|namespace={{{1}}}|base={{{2}}}}}