Jump to content

Module talk:Template translation/testcases

Add topic
From mediawiki.org

All tests passed.

test_checkLanguage:

Text Expected Actual
Yes en en en
Yes en-us en-us en-us
Yes sr-cyrl sr-cyrl sr-cyrl
Yes fr-brai-ca fr-brai-ca fr-brai-ca
Yes de-ch de-ch de-ch
Yes a en en
Yes en--gb fr fr
Yes én es es
Yes en> nil nil

test_getFrameLanguageSubpage:

Text Expected Actual
Yes MediaWiki
Yes MediaWiki/fr fr fr
Yes MediaWiki/de_ de de

test_getLanguageSubpage:

Text Expected Actual
Yes subpage

test_getTranslatedTemplate:

Text Expected Actual
Yes Extension Template:Extension/en Template:Extension/en
Yes Extension/de Template:Extension/de Template:Extension/de
Yes Extension/de-ch Template:Extension/en Template:Extension/en
Yes Extension123 Extension123 Extension123

Start a discussion about Module:Template translation/testcases

Start a discussion