The Battle for Wesnoth  1.17.0-dev
Classes | Public Member Functions | Public Attributes | Private Member Functions | List of all members
spirit_po::catalog_metadata Struct Reference

#include <catalog_metadata.hpp>


struct  content_type_grammar
struct  num_plurals_grammar

Public Member Functions

 catalog_metadata ()
std::string parse_header (const std::string &header)
std::string check_compatibility (const catalog_metadata &other) const

Public Attributes

std::string project_id
std::string language
std::string language_team
std::string last_translator
uint num_plural_forms
std::string plural_forms_function_string
std::string charset

Private Member Functions

std::string find_header_line (const std::string &header, const std::string &label)

Detailed Description

Definition at line 26 of file catalog_metadata.hpp.

Constructor & Destructor Documentation

◆ catalog_metadata()

spirit_po::catalog_metadata::catalog_metadata ( )

Definition at line 37 of file catalog_metadata.hpp.

Member Function Documentation

◆ check_compatibility()

std::string spirit_po::catalog_metadata::check_compatibility ( const catalog_metadata other) const

◆ find_header_line()

std::string spirit_po::catalog_metadata::find_header_line ( const std::string &  header,
const std::string &  label 

Definition at line 47 of file catalog_metadata.hpp.

References e.

Referenced by parse_header().

◆ parse_header()

std::string spirit_po::catalog_metadata::parse_header ( const std::string &  header)

Member Data Documentation

◆ charset

std::string spirit_po::catalog_metadata::charset

Definition at line 35 of file catalog_metadata.hpp.

◆ language

std::string spirit_po::catalog_metadata::language

Definition at line 28 of file catalog_metadata.hpp.

◆ language_team

std::string spirit_po::catalog_metadata::language_team

Definition at line 29 of file catalog_metadata.hpp.

◆ last_translator

std::string spirit_po::catalog_metadata::last_translator

Definition at line 30 of file catalog_metadata.hpp.

◆ num_plural_forms

uint spirit_po::catalog_metadata::num_plural_forms

◆ plural_forms_function_string

std::string spirit_po::catalog_metadata::plural_forms_function_string

◆ project_id

std::string spirit_po::catalog_metadata::project_id

Definition at line 27 of file catalog_metadata.hpp.

The documentation for this struct was generated from the following file: