View Source Expo.Translation.Singular (expo v0.1.0-beta.2)

Struct for non-plural translations

Link to this section Summary

Link to this section Types

@type t() :: %Expo.Translation.Singular{
  comments: [String.t()],
  extracted_comments: [String.t()],
  flags: [[String.t()]],
  msgctxt: Expo.Translation.msgctxt() | nil,
  msgid: Expo.Translation.msgid(),
  msgstr: Expo.Translation.msgstr(),
  obsolete: boolean(),
  previous_msgids: [[String.t()]],
  references: [
    [file :: String.t() | {file :: String.t(), line :: pos_integer()}]
  ]
}

Link to this section Functions

@spec key(t()) :: {String.t() | nil, String.t()}