File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 99 " spreadsheet" ,
1010 " field"
1111 ],
12- "version" : " 1.1 .0" ,
12+ "version" : " 1.2 .0" ,
1313 "homepage" : " https://distantnative.com/kirby-csv-field/" ,
1414 "authors" : [
1515 {
1818 }
1919 ],
2020 "require" : {
21- "php" : " >=8.1.0 <8.4 .0" ,
22- "getkirby/cms" : " ^4.0" ,
21+ "php" : " >=8.1.0 <8.5 .0" ,
22+ "getkirby/cms" : " ^4.0 || ^5.0 " ,
2323 "getkirby/composer-installer" : " ^1.1"
2424 },
2525 "extra" : {
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ This Panel field is ideal for people who want to preview single CSV files in the
44
55## Requirements
66
7- The CSV field requires Kirby 4.
7+ The CSV field requires Kirby 4 or 5 .
88
99## Install
1010
Original file line number Diff line number Diff line change 77
88foreach (Dir::files (__DIR__ ) as $ file ) {
99 $ locale = basename ($ file , '.json ' );
10+
1011 if ($ content = F::read (__DIR__ . '/ ' . $ file )) {
1112 $ translations [$ locale ] = json_decode ($ content , true );
1213 }
You can’t perform that action at this time.
0 commit comments