Skip to content

luxe: string/po


import "luxe: string/po" for PO

no docs found

PO.parse_header(lines : List) : Result

no docs found

PO.parse_elements(lines : List) : List

converts the lines into chunks separated by lines

PO.parse(asset_id : String, bytes : String) : Result

no docs found

import "luxe: string/po" for POData

no docs found

POData.language : String

no docs found

POData.headers : Map

no docs found

POData.elements : Map

no docs found

POData.new(asset_id : String, language : String, headers : Map) : POData

no docs found

POData.to_string() : unknown

no docs found

import "luxe: string/po" for POElement

An element inside the PO file

POElement.id : String

no docs found

POElement.key : String

no docs found

POElement.file_index : Num

no docs found

POElement.plural_id : String

no docs found

POElement.comments : String

no docs found

POElement.is_plural : Bool

no docs found

POElement.strings : List

no docs found

POElement.new(file_index : Num, key : String, plural_id : String, id : String, strings : List, comments : List) : POElement

no docs found

POElement.update_id(id : String) : unknown

no docs found

POElement.update_comments(comments : List) : unknown

no docs found

import "luxe: string/po" for POHeader

a single header line

POHeader.key : String

no docs found

POHeader.value : String

no docs found

POHeader.file_index : Num

no docs found

POHeader.new(file_index : Num, key : String, value : String) : POHeader

no docs found

POHeader.update_value(value : String) : unknown

no docs found

import "luxe: string/po" for POString

a single msgstr, with an optional [index]

POString.value : String

no docs found

POString.index : Num

no docs found

POString.new(value : String, index : Num) : POString

no docs found