Template:LanguageBar/preload/step2: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<includeonly>{{subst:subst}}#if:{{subst:!}}{{subst:!}}{{subst:!}}<div style="display:none">
<includeonly>{{subst:subst}}#if:{{subst:!}}{{subst:!}}{{subst:!}}<div style="display:none">


STEP 2. Replace links  
*STEP 2. Replace links  
(see https://developer.valvesoftware.com/wiki/Template:LAuto for more detailed steps, search/replace below is for copy/paste convenience)
(see https://developer.valvesoftware.com/wiki/Template:LAuto for more detailed steps, search/replace below is for copy/paste convenience)


Search for:  
*Search for:  
\[\[(?!#{{subst:!}}File(?:[ _]talk)?:{{subst:!}}Image(?:[ _]talk)?:{{subst:!}}Media:{{subst:!}}Template(?:[ _]talk)?:{{subst:!}}MediaWiki(?:[ _]talk)?:{{subst:!}}Talk:{{subst:!}}Category[ _]talk:{{subst:!}}Project[ _]talk:{{subst:!}}Valve[ _]Developer[ _]Community[ _]talk:{{subst:!}}Help[ _]talk:{{subst:!}}User(?:[ _]talk)?:{{subst:!}}c:{{subst:!}}commons:{{subst:!}}Dictionary:{{subst:!}}Google:{{subst:!}}GoogleGroups:{{subst:!}}IMDB:{{subst:!}}M:{{subst:!}}Meta:{{subst:!}}Metawikipedia:{{subst:!}}MW:{{subst:!}}SdkBug:{{subst:!}}SourceForge:{{subst:!}}Steampowered:{{subst:!}}W:{{subst:!}}Wiki:{{subst:!}}WikiBooks:{{subst:!}}Wikipedia:{{subst:!}}Wikiquote:{{subst:!}}Wiktionary:{{subst:!}}WP:)(:?(?:Category{{subst:!}}Category{{subst:!}}Help{{subst:!}}Project{{subst:!}}Valve[ _]Developer[ _]Community{{subst:!}}Special{{subst:!}})(?:[^\{{subst:!}}\]]+))\({{subst:!}}?.*?)\]\]
\[\[(?!#{{subst:!}}File(?:[ _]talk)?:{{subst:!}}Image(?:[ _]talk)?:{{subst:!}}Media:{{subst:!}}Template(?:[ _]talk)?:{{subst:!}}MediaWiki(?:[ _]talk)?:{{subst:!}}Talk:{{subst:!}}Category[ _]talk:{{subst:!}}Project[ _]talk:{{subst:!}}Valve[ _]Developer[ _]Community[ _]talk:{{subst:!}}Help[ _]talk:{{subst:!}}User(?:[ _]talk)?:{{subst:!}}c:{{subst:!}}commons:{{subst:!}}Dictionary:{{subst:!}}Google:{{subst:!}}GoogleGroups:{{subst:!}}IMDB:{{subst:!}}M:{{subst:!}}Meta:{{subst:!}}Metawikipedia:{{subst:!}}MW:{{subst:!}}SdkBug:{{subst:!}}SourceForge:{{subst:!}}Steampowered:{{subst:!}}W:{{subst:!}}Wiki:{{subst:!}}WikiBooks:{{subst:!}}Wikipedia:{{subst:!}}Wikiquote:{{subst:!}}Wiktionary:{{subst:!}}WP:)(:?(?:Category{{subst:!}}Category{{subst:!}}Help{{subst:!}}Project{{subst:!}}Valve[ _]Developer[ _]Community{{subst:!}}Special{{subst:!}})(?:[^\{{subst:!}}\]]+))\({{subst:!}}?.*?)\]\]


Replace with:
*Replace with:
{{subst:subst}}LAuto{{subst:!}}$1$2}}
{{subst:subst}}LAuto{{subst:!}}$1$2}}


STEP 3. After 'Replace all' do 'Show changes' and quickly check if links were properly replaced. After that when you save this notice will also disappear.
*STEP 3. After 'Replace all' do 'Show changes' and quickly check if links were properly replaced. After that when you save this notice will also disappear.
STEP 4. You can get to translating
*STEP 4. You can get to translating


</div>}}</includeonly>
</div>}}</includeonly>

Revision as of 10:51, 15 September 2024