Module talk:Template translation/testcases

From Northumberland Climbing
Jump to navigation Jump to search

5 tests failed.

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
N MediaWiki en
Yes MediaWiki/fr fr fr
Yes MediaWiki/de_ de de

test_getLanguageSubpage:

Text Expected Actual
N subpage en

test_getTranslatedTemplate:

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