Port testing\core\text\i18n

This commit is contained in:
Jeroen van Rijn
2024-06-02 14:47:08 -04:00
committed by Feoramund
parent 39fd73fe17
commit d7bfbe0552
4 changed files with 75 additions and 112 deletions
-2
View File
@@ -162,8 +162,6 @@ parse_qt_linguist_file :: proc(filename: string, options := DEFAULT_PARSE_OPTION
context.allocator = allocator
data, data_ok := os.read_entire_file(filename)
defer delete(data)
if !data_ok { return {}, .File_Error }
return parse_qt_linguist_from_bytes(data, options, pluralizer, allocator)