/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- */ /* * This file is part of the LibreOffice project. * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
PoEntry based on GenPoEntry class which stores attributes of general po entry(see po.cxx). It makes easy to get/set all information needed to localize one english(US) string. It contains some basic checkings and some string transformations between po string and string used by localization tools.
*/ class PoEntry
{ private:
OString const & getSourceFile() const; ///< Get name of file from which entry is extracted
OString getGroupId() const;
OString getLocalId() const;
OString getResourceType() const; ///< Get the type of component from which entry is extracted
TYPE getType() const; ///< Get the type of entry
OString const & getMsgCtxt() const;
OString const & getMsgId() const;
OString const & getMsgStr() const; bool isFuzzy() const;
/// Check whether po-s belong to the same localization component staticbool IsInSameComp(const PoEntry& rPo1,const PoEntry& rPo2); static OString genKeyId(const OString& rGenerator);
};
/** Interface to work with header of po/pot files
This class stores information which is in header of a po file. It's main function to generate header to template po files(pot).
*/ class PoHeader
{ private:
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.