Template:TranslationMark/page: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{#if:{{LanguageBar/foreach|TranslationMark/anycheck|separator=}}||{{delete|Nothing marked as needing update}}}}</includeonly>
<includeonly>{{#if:{{LanguageBar/foreach|TranslationMark/anycheck|separator=}}||{{delete|Nothing marked as needing update}}}}</includeonly>


This page contains #switch that determines which translations of [{{fullurl:{{{1}}}:{{{2}}}}} {{{1}}}:{{{2}}}] should add {{T|Updatetranslation}} and have their flag in LanguageBar highlighted with orange
This page contains #switch that determines which translations of [{{fullurl:{{{1}}}:{{{2}}}}} {{{1}}}:{{{2}}}] should add either {{T|Updatetranslation}}, {{T|Finishtranslation}} or {{T|Translate}} and have their flag in LanguageBar highlighted with orange


Pages like this can be generated using substition only template {{T|TranslationMark}}.
Pages like this can be generated using substition only template {{T|TranslationMark}}.
Line 9: Line 9:
* Following languages are marked as needing update (the flags are also cache purge links to the respective pages):  
* Following languages are marked as needing update (the flags are also cache purge links to the respective pages):  
&nbsp;{{LanguageBar/foreach|TranslationMark/flagline|| }}
&nbsp;{{LanguageBar/foreach|TranslationMark/flagline|| }}
After you click '''edit''' you can see a #switch that looks something like this
<pre>
{{#switch: {{{1}}}
| ru | tr | uk = U
}}
</pre>
Switch like that means that ru, tr and uk translated pages will show {{T|Updatetranslation}} at the top.
There are more options. Example:
<pre>
{{#switch: {{{1}}}
| ru = U
| tr | uk = F
| fi = T
}}
</pre>
In this case ru page shows {{T|Updatetranslation}}, tr and uk page shows {{T|Finishtranslation}} and fi page shows {{T|Translate}}


[[Category:LanguageBar translation mark settings]]
[[Category:LanguageBar translation mark settings]]

Revision as of 07:04, 22 August 2024


This page contains #switch that determines which translations of [{{fullurl:{{{1}}}:{{{2}}}}} {{{1}}}:{{{2}}}] should add either {{Updatetranslation}}, {{Finishtranslation}} or {{Translate}} and have their flag in LanguageBar highlighted with orange

Pages like this can be generated using substition only template {{TranslationMark}}.

This page was generated using {{subst:TranslationMark|namespace={{{1}}}|base={{{2}}}}}

  • Following languages are marked as needing update (the flags are also cache purge links to the respective pages):

 


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
}}

In this case ru page shows {{Updatetranslation}}, tr and uk page shows {{Finishtranslation}} and fi page shows {{Translate}}