Manjaro Difference between revisions of "User:Megavolt"

Difference between revisions of "User:Megavolt"

278 edits
m (transclude regex)
m
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
== Pages ==
{{Special:PrefixIndex/User:Megavolt/}}
<br />
<br />


Line 65: Line 69:
</table>
</table>


== notes ==
== [[User:Megavolt/regex|regex]] ==
{{User:Megavolt/regex}}


=== regex ===
== [[User:Megavolt/cheatsheet|cheatsheet]] ==
{{User:Megavolt/regex}}
{{User:Megavolt/cheatsheet}}

Latest revision as of 04:41, 12 September 2022


Pages


Deutsch

English

Wer bin ich?

Who am I?

https://forum.manjaro.org/u/megavolt

https://gitlab.manjaro.org/megavolt

https://forum.manjaro.org/u/megavolt

https://gitlab.manjaro.org/megavolt

Was ist mein Ziel hier?

What is my goal here?

  • Übersetzungen von Englisch nach Deutsch
  • Diese Wiki zur ersten Anlaufstelle für Manjaro Nutzer zu machen, wenn Probleme auftreten.
  • Einfache und selbst erklärende Anleitungen zu schreiben und diese aktuell halten.
  • Translations from English to German
  • To make this wiki the first point of contact for Manjaro users when problems arise.
  • To write simple and self-explanatory tutorials and keep them up to date.

Ich hoffe für die Zukunft, dass wir einverstanden sein werden, dass wir nicht immer einverstanden sein werden, aber dennoch respektvoll miteinander umgehen.

Auf eine gute Zusammenarbeit!

I hope for the future that we will agree, that we will not always agree, but still be respectful to each other.

To a good cooperation!

regex

Here i will add a list of regex commands for daily usage for remembering.

Description Search Replace
Add "Special:MyLanguage" to internal links (?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\]\] [[Special:MyLanguage/$5|<translate>$5</translate>]]
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+)\]\] [[Special:MyLanguage/$5|<translate>$6</translate>]]
links within <translate> tags \[(http(s|):\/\/[A-Za-z./-_]+) ([A-Za-z0-9 ()'+-_#]+)\] [<tvar|link>$1</> $3]
\[(http(s|):\/\/[A-Za-z./-_]+)] [<tvar|link>$1</>]
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+)\]\] [[<tvar|link>Special:MyLanguage/$5</>|$6]]
(?!\[\[(C|c)ategory:|\[\[(F|f)ile:|\[\[(I|i)mage:|\[\[(S|s)pecial:MyLanguage/)\[\[([A-Za-z0-9 ()'+-_#]+)\]\] [[<tvar|link>Special:MyLanguage/$5</>|$5]]
Remove misc tags of the translate extension <!--T:\d+-->
<(/|)translate>
prepare categories \[\[((C|c)ategory:([A-Za-z0-9 ()'+-_#]+))\]\] [[$1{{#translation:}}]]
\[\[(:(C|c)ategory:([A-Za-z0-9 ()'+-_#]+))\]\] [[$3{{#translation:}}|<translate>$3</translate>]]
\[\[(:(C|c)ategory:([A-Za-z0-9 ()'+-_#]+)\|([A-Za-z0-9 ()'+-_#]+))\]\] [[$3{{#translation:}}|<translate>$4</translate>]]
prepare lists (?!(\* |\* )(''|''')(\[\[|\[)|(\* |\* )<translate>)(\* |\* )([A-Za-z0-9 ()'+-_#,.()]+) * <translate>$4</translate>

cheatsheet

Translate Extension
Purpose Usage Example
Initiate page for translation / Produces language selector <languages /> <languages />
Some text
Extract text for translation <translate>Some text</translate>
NOT WORKING:
<translate>Some more text<translate>Some text</translate> Some more text<translate>
<translate>Some text</translate>
[[internal link|<translate>text</translate>]]
[external link <translate>text</translate>]
Division of the translation sections. Written by the extension. Don't delete them, otherwise the translations have to be redone. <!--T:N--> <!--T:323-->
Used to point tp language links. If the article is available at your language, then it will be displayed, if not, then it uses the original article. [[Special:MyLanguage/internal_link_name]] [[Special:MyLanguage/internal_link_name]]
[[Special:MyLanguage/internal_link_name|<translate>text</translate>]]
Add the language code which was taken by the Unversal Language Selector. Commenly used for Categories. [[Category:Text{{#translation:}}]] [[Category:Text{{#translation:}}]]

[[Category:Text{{#translation:}}|<translate>Text</translate>]]

Variables can be used to hide specific content from them translator, so he/she might not change it by accident. <translate>[[<tvar|myvar>hidden internal link</>| Some text]]</translate> And this will be visible for the translator:
[[$myvar|Some text]]

Further information: https://www.mediawiki.org/wiki/Help:Extension:Translate/Page_translation_administration

Cookies help us deliver our services. By using our services, you agree to our use of cookies.