QtFileDumper example

'sources' => [
                'src/file_1',
                'src/file_2:50',
            ],
        ], 'resources');
        $catalogue->setMetadata('bar_foo', [
            'comments' => 'Comment',
            'flags' => 'fuzzy',
            'sources' => 'src/file_1',
        ], 'resources');

        $dumper = new QtFileDumper();

        $this->assertStringEqualsFile(__DIR__.'/../fixtures/resources.ts', $dumper->formatCatalogue($catalogue, 'resources'));
    }
}
Home | Imprint | This part of the site doesn't use cookies.