boxblinkracer / phpunuhi

PHPUnuhi - The easy composable framework to validate and manage translations
MIT License
72 stars 5 forks source link

Handle nested array list structures. #53

Closed kleinmann closed 1 month ago

kleinmann commented 1 month ago

Previously, nested structures like list.0.my_key and list.0.another_key were transformed to:

[
  "list" => [
    ['my_key' => '...'],
    ['another_key' => '...']
  ]
]

After this change, they are transformed to:

[
  "list" => [
    [
      'my_key' => '...'
      'another_key' => '...'
    ]
  ]
]
boxblinkracer commented 1 month ago

mega,, danke @kleinmann :) freut mich