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
+2
-2
@@ -694,7 +694,7 @@
|
||||
notes.push(t('ps.card.nPartTime'));
|
||||
notes.push(t('ps.card.nSplit'));
|
||||
h += '<p class="cap">' + notes.join(' ') + '</p>';
|
||||
var asOf = C.asOf, dPspc = '2025-08-15';
|
||||
var asOf = (getLang() === 'fr' ? C.asOfFr : C.asOf), dPspc = '2025-08-15';
|
||||
h += '<p class="cap">' + t('ps.card.sources') + ' ' +
|
||||
'<a href="' + (ps.group === 1 ? S.g1En : S.g2En) + '" rel="noopener" target="_blank">' + t('ps.card.srcPspc', { d: dPspc }) + '</a> · ' +
|
||||
'<a href="' + S.atAGlanceEn + '" rel="noopener" target="_blank">' + t('ps.card.srcGlance') + '</a> · ' +
|
||||
@@ -757,7 +757,7 @@
|
||||
var m2 = fmtMoney2;
|
||||
$('#stamp').textContent = t('r.stamp', {
|
||||
cpp: m2(C.cppMax65Monthly.value), oas: m2(C.oasMax6574Monthly.value),
|
||||
gis: m2(C.gisMaxSingleMonthly.value), asOf: C.asOf
|
||||
gis: m2(C.gisMaxSingleMonthly.value), asOf: getLang() === 'fr' ? C.asOfFr : C.asOf
|
||||
});
|
||||
|
||||
var a = state.a;
|
||||
|
||||
Reference in new issue
Block a user