Difference between revisions of "Template:Top 10:LanguageFile"

From OWASP
Jump to: navigation, search
(Improved error message, if a 'text' has not been found)
m (vulnComponents (en): changed short version to 'Vulnerable Components' (according Top10-2017))
Line 267: Line 267:
 
         | csrfShort =                    CSRF
 
         | csrfShort =                    CSRF
 
         | usingVulnerableComponents =    Using Components with Known Vulnerabilities
 
         | usingVulnerableComponents =    Using Components with Known Vulnerabilities
         | vulnComponents =                vuln. Components
+
         | vulnComponents =                Vulnerable Components
 
         | unvalidatedRedirectsForwards =  Unvalidated Redirects and Forwards
 
         | unvalidatedRedirectsForwards =  Unvalidated Redirects and Forwards
 
         | unvalRedirects =                unval. Redirects
 
         | unvalRedirects =                unval. Redirects

Revision as of 10:08, 7 January 2018

Usage:

This File contains all the text that is used by OWASP Top 10 Templates
Please leave a message to Torsten Gigler @ if you liked to add a new localization
If you use an undefined language you will get English output (default language).

{{Top_10:LanguageFile

|text=<parameter> <!-- take one of the defined parmeters, e.g. tableOfContents -->
|language=<your language> <!-- actually only English (=en) and German (=de) are valid parameters) -->
|year=<year> <!-- optional for some texts -->

}}

Example:

{{Top_10:LanguageFile|text=tableOfContents|language=de}} => Inhaltsverzeichnis


Healthcheck

tbd.
In the meantime, please check:


If you use an unknown parameter you will get the following Error message in your wiki page:
ERROR in the 'Language File' (Use of unknown Object '{{{text}}}')