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

From OWASP
Jump to: navigation, search
(added technical (en, de))
(Improved error message, if a 'text' has not been found)
(2 intermediate revisions by the same user not shown)
Line 163: Line 163:
 
         <!-- BEGIN of SubSubsectionExternalReferencesTemplate -->  </noinclude>
 
         <!-- BEGIN of SubSubsectionExternalReferencesTemplate -->  </noinclude>
 
         | myUnused =                      FEHLER im 'Language File' (Aufruf des unbenutzten Objekts)
 
         | myUnused =                      FEHLER im 'Language File' (Aufruf des unbenutzten Objekts)
         | #default =                      FEHLER im 'Language File' (Aufruf des unbekannten Objekts)
+
         | #default =                      FEHLER im '<u>[[:Template:Top_10:LanguageFile|Language File]]</u>' (Aufruf des unbekannten Objekts '{{{text}}}')
 
     }} <!-- End of German -->
 
     }} <!-- End of German -->
 
<noinclude>
 
<noinclude>
Line 286: Line 286:
 
         | appSpecific =                  App Specific
 
         | appSpecific =                  App Specific
 
         | applicationBusinessSpecific =  Application / Business Specific   
 
         | applicationBusinessSpecific =  Application / Business Specific   
         | appBusinessSpecific =          App / Business Specific      
+
         | appBusinessSpecific =          App / Business Specific
 +
        | businessQuestionmark =          Business ?   
 
         | exploitability =                Exploitability
 
         | exploitability =                Exploitability
 
         | easy =                          EASY
 
         | easy =                          EASY
Line 311: Line 312:
 
         | technical =                    Technical
 
         | technical =                    Technical
 
         | businessImpacts =              Business Impacts
 
         | businessImpacts =              Business Impacts
 +
        | business =                      Business
 
         | score =                        Score
 
         | score =                        Score
 
         | threatAgentsImage =            Image:Top 10 threatAgents.png
 
         | threatAgentsImage =            Image:Top 10 threatAgents.png
Line 340: Line 342:
 
         <!-- BEGIN of SubSubsectionExternalReferencesTemplate --> </noinclude>
 
         <!-- BEGIN of SubSubsectionExternalReferencesTemplate --> </noinclude>
 
         | myUnused =                      ERROR in the 'Language File' (Use of the unused Object)
 
         | myUnused =                      ERROR in the 'Language File' (Use of the unused Object)
         | #default =                      ERROR in the 'Language File' (Use of an unknown Object)
+
         | #default =                      ERROR in the '<u>[[:Template:Top_10:LanguageFile|Language File]]</u>' (Use of unknown Object '{{{text}}}')
 
     }} <!-- End of English -->
 
     }} <!-- End of English -->
 
}}</onlyinclude>
 
}}</onlyinclude>

Revision as of 12:58, 1 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}}}')