mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-19 01:32:19 +00:00
fix(i18n): build the status piece shapes once and cover one site in view
statusPatternText runs on every row render; join the shape lists at module scope instead of on each call. Restore the singular in-view case to the installation feedback locale test.
This commit is contained in:
1 parent
4515c5146a
commit
e2651bb094
2 files changed
+9
-4
No files matched your search
@@ -34,6 +34,11 @@ const cases = [
|
||||
'No mapped sites in view',
|
||||
() => t('No mapped sites in view'),
|
||||
],
|
||||
[
|
||||
{ status: 'ready', lastUpdate: 1, records: [{ kind: 'installation' }] },
|
||||
'1 mapped site in view',
|
||||
() => tn(1, '{count} mapped site in view', '{count} mapped sites in view'),
|
||||
],
|
||||
[
|
||||
{
|
||||
status: 'ready',
|
||||
|
||||
Reference in new issue
Block a user