Skip to content

Commit 99b4da8

Browse files
author
Stanislas Rolland
committed
[TASK] Update showitem in TCA
The syntax "--palette--;;1;;" is not up to date. Resolves: TYPO3-extensions#10
1 parent 0b8c963 commit 99b4da8

File tree

7 files changed

+37
-32
lines changed

7 files changed

+37
-32
lines changed

Configuration/TCA/static_countries.php

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -292,33 +292,33 @@
292292
],
293293
'types' => [
294294
'1' => [
295-
'showitem' => 'cn_short_local,cn_official_name_local,cn_official_name_en,--palette--;;1;;,--palette--;;5;;,--palette--;;2;;,--palette--;;3;;,--palette--;;6;;,--palette--;;4;;,cn_short_en,cn_country_zones',
296-
],
295+
'showitem' => 'cn_short_local,cn_official_name_local,cn_official_name_en,--palette--;;1,--palette--;;5,--palette--;;2,--palette--;;3,--palette--;;6,--palette--;;4,cn_short_en,cn_country_zones'
296+
]
297297
],
298298
'palettes' => [
299299
'1' => [
300300
'showitem' => 'cn_iso_nr,cn_iso_2,cn_iso_3',
301-
'canNotCollapse' => '1',
301+
'canNotCollapse' => '1'
302302
],
303303
'2' => [
304304
'showitem' => 'cn_currency_uid,cn_currency_iso_nr,cn_currency_iso_3',
305-
'canNotCollapse' => '1',
305+
'canNotCollapse' => '1'
306306
],
307307
'3' => [
308308
'showitem' => 'cn_capital,cn_uno_member,cn_eu_member',
309-
'canNotCollapse' => '1',
309+
'canNotCollapse' => '1'
310310
],
311311
'4' => [
312312
'showitem' => 'cn_address_format,cn_zone_flag',
313-
'canNotCollapse' => '1',
313+
'canNotCollapse' => '1'
314314
],
315315
'5' => [
316316
'showitem' => 'cn_parent_territory_uid,cn_parent_tr_iso_nr',
317-
'canNotCollapse' => '1',
317+
'canNotCollapse' => '1'
318318
],
319319
'6' => [
320320
'showitem' => 'cn_phone,cn_tldomain',
321-
'canNotCollapse' => '1',
322-
],
323-
],
321+
'canNotCollapse' => '1'
322+
]
323+
]
324324
];

Configuration/TCA/static_country_zones.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -89,13 +89,13 @@
8989
],
9090
'types' => [
9191
'1' => [
92-
'showitem' => 'zn_name_local,zn_code,--palette--;;1;;,zn_name_en',
93-
],
92+
'showitem' => 'zn_name_local,zn_code,--palette--;;1,zn_name_en'
93+
]
9494
],
9595
'palettes' => [
9696
'1' => [
9797
'showitem' => 'zn_country_uid,zn_country_iso_nr,zn_country_iso_2,zn_country_iso_3',
98-
'canNotCollapse' => '1',
99-
],
100-
],
98+
'canNotCollapse' => '1'
99+
]
100+
]
101101
];

Configuration/TCA/static_currencies.php

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,21 @@
168168
],
169169
'types' => [
170170
'1' => [
171-
'showitem' => 'cu_name_en,--palette--;;1;;,--palette--;;2;;,cu_sub_name_en,--palette--;;3;;',
172-
],
171+
'showitem' => 'cu_name_en,--palette--;;1,--palette--;;2,cu_sub_name_en,--palette--;;3'
172+
]
173173
],
174174
'palettes' => [
175175
'1' => [
176176
'showitem' => 'cu_iso_nr,cu_iso_3',
177-
'canNotCollapse' => '1',
177+
'canNotCollapse' => '1'
178178
],
179179
'2' => [
180180
'showitem' => 'cu_symbol_left,cu_symbol_right,cu_thousands_point,cu_decimal_point',
181-
'canNotCollapse' => '1',
181+
'canNotCollapse' => '1'
182182
],
183183
'3' => [
184184
'showitem' => 'cu_sub_symbol_left,cu_sub_symbol_right,cu_decimal_digits,cu_sub_divisor',
185-
'canNotCollapse' => '1',
186-
],
187-
],
185+
'canNotCollapse' => '1'
186+
]
187+
]
188188
];

Configuration/TCA/static_languages.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@
114114
],
115115
'types' => [
116116
'1' => [
117-
'showitem' => 'lg_name_local,lg_name_en,lg_iso_2,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed',
118-
],
119-
],
117+
'showitem' => 'lg_name_local,lg_name_en,lg_iso_2,lg_typo3,lg_country_iso_2,lg_collate_locale,lg_sacred,lg_constructed'
118+
]
119+
]
120120
];

Configuration/TCA/static_territories.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -75,13 +75,13 @@
7575
],
7676
'types' => [
7777
'1' => [
78-
'showitem' => 'tr_iso_nr,tr_name_en,fk_billing_country,--palette--;;1;;',
79-
],
78+
'showitem' => 'tr_iso_nr,tr_name_en,fk_billing_country,--palette--;;1'
79+
]
8080
],
8181
'palettes' => [
8282
'1' => [
8383
'showitem' => 'tr_parent_territory_uid,tr_parent_iso_nr',
84-
'canNotCollapse' => '1',
85-
],
86-
],
87-
];
84+
'canNotCollapse' => '1'
85+
]
86+
]
87+
];

Resources/Private/LanguagePackTemplate/composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
"role": "Developer"
1010
}
1111
],
12+
"keywords": [
13+
"TYPO3",
14+
"Static Info Tables"
15+
],
1216
"replace": {
1317
"###VENDOR_NAME###/static-info-tables-###LANG_ISO_LOWER###": "self.version",
1418
"typo3-ter/static-info-tables-###LANG_ISO_LOWER###": "self.version"

composer.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
}
1616
],
1717
"keywords": [
18-
"TYPO3"
18+
"TYPO3",
19+
"Static Info Tables"
1920
],
2021
"homepage": "https://codeberg.org/sjbr/static-info-tables",
2122
"support": {

0 commit comments

Comments
 (0)