Bilingual as-of line: FR card/stamp showed English 'October 2026 (CPP 2026, OAS/GIS Oct-Dec 2026, tax 2026)'. Added asOfFr (octobre 2026, RPC/SV/SRG, impôts) in canada.js + generator; render sites pick by getLang(). Smoke 90->92 with a localization guard.
This commit is contained in:
1 parent
3d54d64dee
commit
57ba63c57f
4 files changed
+5
-2
No files matched your search
@@ -198,6 +198,7 @@ function runPs(lang, M, done) {
|
||||
ok('PS card table uses non-colliding class ps-tbl (grid-on-table would blank the card)',
|
||||
/<table class="ps-tbl">/.test(h) && (h.match(/<tr>/g) || []).length >= 7,
|
||||
'rows=' + (h.match(/<tr>/g) || []).length);
|
||||
ok('as-of line localized (' + lang + ')', lang === 'fr' ? (!/October|Oct-Dec/.test(h) && /octobre 2026/.test(h)) : /October 2026/.test(h));
|
||||
ok('PS series in G2 chart', M.psSeries.test(N(q('#g2')._html)), N(q('#g2')._html).slice(0, 40));
|
||||
ok('PS insight in live panel', M.psInsight.test(N(q('#panel-insight')._html)), N(q('#panel-insight')._html).slice(0, 70));
|
||||
done();
|
||||
|
||||
Reference in new issue
Block a user