All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Translator.h File Reference

This class is designed for dealing with multi-language text translation in TerraLib. More...

#include "Config.h"
#include "terralib_config.h"

Go to the source code of this file.

Macros

Internationalization Defines

Flags for TerraLib code internationalization.

#define TERRALIB_TEXT_DOMAIN   "terralib"
 It contains the name of the text domain used in the translation of messages in TerraLib. More...
 
#define TERRALIB_TEXT_DOMAIN_DIR   "locale"
 It contains the translation catalog directory. More...
 
#define TE_ADD_TEXT_DOMAIN(domain, domaindir, codeset)   ((void)0)
 It adds the given text domain located at domain-dir with the given codeset to the multilingual system. More...
 
#define TE_GENERAL_TR(message, domain)   message
 Try to translate the message according to the given domain. See the TE_TR macro for more infomation on how to create a translation mark for your code. More...
 
#define TE_GENERAL_TR_PLURAL(domain, message1, message2, n)   (n > 1 ? message2 : message1)
 Try to translate the message according to the given domain and plural form. See the TE_TR_PLURAL macro for more infomation on how to create a translation mark for your code. More...
 
#define TE_TR(message)   TE_GENERAL_TR(message, TERRALIB_TEXT_DOMAIN)
 It marks a string in order to get translated. More...
 
#define TE_TR_PLURAL(message1, message2, n)   TE_GENERAL_TR_PLURAL(TERRALIB_TEXT_DOMAIN, message1, message2, n)
 It marks a string in order to get translated according to plural form. More...
 

Detailed Description

This class is designed for dealing with multi-language text translation in TerraLib.

Definition in file Translator.h.

Macro Definition Documentation

#define TE_ADD_TEXT_DOMAIN (   domain,
  domaindir,
  codeset 
)    ((void)0)

It adds the given text domain located at domain-dir with the given codeset to the multilingual system.

Note
This macro will check if the domain already exists before doing anyting.

Definition at line 310 of file Translator.h.

Referenced by te::grib::Platform::initialize(), te::layout::Module::Module(), te::common::Module::Module(), te::qt::plugins::mysql::Plugin::startup(), te::qt::plugins::geofile::Plugin::startup(), te::qt::plugins::sqlite::Plugin::startup(), and te::qt::plugins::layout::Plugin::startup().

#define TE_GENERAL_TR (   message,
  domain 
)    message

Try to translate the message according to the given domain. See the TE_TR macro for more infomation on how to create a translation mark for your code.

Definition at line 321 of file Translator.h.

#define TE_GENERAL_TR_PLURAL (   domain,
  message1,
  message2,
 
)    (n > 1 ? message2 : message1)

Try to translate the message according to the given domain and plural form. See the TE_TR_PLURAL macro for more infomation on how to create a translation mark for your code.

Definition at line 332 of file Translator.h.

#define TE_TR (   message)    TE_GENERAL_TR(message, TERRALIB_TEXT_DOMAIN)

It marks a string in order to get translated.

Example of usage:

std::cout << TE_TR("My message!");
throw Exception(TE_TR("My other message!"));

Definition at line 347 of file Translator.h.

Referenced by te::rst::RasterSynchronizer::acquireBlock(), te::da::DataSourceInfoManager::add(), te::da::DataSourceFactory::add(), te::dt::DataConverterManager::add(), te::qt::widgets::DataSourceTypeManager::add(), te::dt::DataTypeManager::add(), te::map::MarkRendererManager::add(), te::mem::DataSource::add(), te::srs::SpatialReferenceSystemManager::add(), te::da::DataSourceCatalog::add(), te::ogr::Transactor::add(), te::wfs::Transactor::add(), te::wcs::Transactor::add(), te::wms::Transactor::add(), terralib4::Transactor::add(), te::ado::Transactor::add(), te::wfs::Transactor::addCheckConstraint(), te::wcs::Transactor::addCheckConstraint(), te::wms::Transactor::addCheckConstraint(), terralib4::Transactor::addCheckConstraint(), te::ado::Transactor::addCheckConstraint(), te::da::AttributeConverterManager::addConverter(), te::qt::widgets::DataSourceSelectorWidget::addDataSourcePushButtonPressed(), te::graph::DataSourceGraphMetadata::addEdgeProperty(), te::wfs::Transactor::addForeignKey(), te::wcs::Transactor::addForeignKey(), te::wms::Transactor::addForeignKey(), terralib4::Transactor::addForeignKey(), te::wfs::Transactor::addIndex(), te::wcs::Transactor::addIndex(), te::wms::Transactor::addIndex(), terralib4::Transactor::addIndex(), te::pgis::Transactor::addIndex(), te::plugin::DefaultFinder::addPluginsDir(), te::wfs::Transactor::addPrimaryKey(), te::wcs::Transactor::addPrimaryKey(), te::wms::Transactor::addPrimaryKey(), terralib4::Transactor::addPrimaryKey(), te::mem::DataSource::addProperty(), te::ogr::Transactor::addProperty(), te::wfs::Transactor::addProperty(), te::wcs::Transactor::addProperty(), te::wms::Transactor::addProperty(), te::ado::Transactor::addProperty(), terralib4::Transactor::addProperty(), te::da::DataSourceCatalog::addRef(), te::common::Library::addSearchDir(), te::wfs::Transactor::addSequence(), te::wcs::Transactor::addSequence(), te::wms::Transactor::addSequence(), terralib4::Transactor::addSequence(), te::ado::Transactor::addSequence(), te::da::SpatialRestrictionVisitor::addSpatialRestriction(), te::xerces::Writer::addText(), te::wfs::Transactor::addUniqueKey(), te::wcs::Transactor::addUniqueKey(), te::wms::Transactor::addUniqueKey(), terralib4::Transactor::addUniqueKey(), te::qt::plugins::ado::ADOConnectorDialog::ADOConnectorDialog(), te::qt::plugins::ado::ADOCreatorDialog::applyPushButtonPressed(), te::qt::plugins::pgis::PostGISCreatorDialog::applyPushButtonPressed(), te::dt::AssertBoolean(), te::dt::AssertInt32(), te::dt::AssertString(), te::dt::AssertUInt32(), te::sa::SpatialWeightsExchanger::associateGeometry(), te::wcs::Transactor::begin(), te::wms::Transactor::begin(), te::wfs::Transactor::begin(), te::pgis::PreparedQuery::bind(), te::da::PreparedQuery::bind(), te::pgis::BindValue(), te::sa::BoxMap(), te::gm::Geometry::buffer(), te::graph::QueryGraphBuilder::build(), te::graph::LDDGraphBuilder::build(), te::wfs::DataSource::buildLayersInfo(), te::gm::ByteArrayToGeometryConverter(), te::mem::CachedRaster::CachedRaster(), te::wfs::Transactor::cancel(), te::wcs::Transactor::cancel(), te::wms::Transactor::cancel(), te::gdal::DataSetUseCounter::changeAccessType(), te::ogr::Transactor::changePropertyDefinition(), te::common::CharEncodingConv::CharEncodingConv(), te::wfs::Transactor::checkConstraintExists(), te::wcs::Transactor::checkConstraintExists(), te::wms::Transactor::checkConstraintExists(), terralib4::Transactor::checkConstraintExists(), te::da::DataSourceCatalog::checkFKsDependency(), te::attributefill::VectorToVectorMemory::checkGeometries(), te::da::DataSourceCatalog::checkSequenceDependency(), te::cl::KMeans< TTRAIN, TCLASSIFY >::classify(), terralib4::Raster::clone(), te::mem::DataSource::cloneDataSet(), te::gdal::Transactor::cloneDataSet(), te::ogr::Transactor::cloneDataSet(), te::wfs::Transactor::cloneDataSet(), te::wcs::Transactor::cloneDataSet(), te::wms::Transactor::cloneDataSet(), terralib4::Transactor::cloneDataSet(), te::ado::Transactor::cloneDataSet(), te::pgis::Transactor::cloneDataSet(), te::wcs::Transactor::commit(), te::wms::Transactor::commit(), te::wfs::Transactor::commit(), te::qt::plugins::terralib4::TL4ConverterWizard::commit(), te::ado::Connection::Connection(), te::pgis::Connection::Connection(), te::sa::GPMConstructorAdjacencyStrategy::constructStrategy(), te::sa::GPMConstructorDistanceStrategy::constructStrategy(), te::gm::Geometry::contains(), te::common::CharEncodingConv::conv(), te::srs::Converter::convert(), te::common::CharEncodingConv::convert(), te::ado::Convert2Ado(), te::ogr::Convert2OGR(), te::ogr::Convert2OGRProjection(), terralib4::Convert2T5(), te::ado::Convert2Terralib(), te::ogr::Convert2TerraLib(), te::rst::ConvertColorInterpTypeToString(), te::dt::ConvertDataTypeToString(), te::srs::Converter::Converter(), te::rst::ConvertPalleteInterpTypeToString(), te::srs::Converter::convertToGeographic(), te::srs::Converter::convertToProjected(), te::gm::Geometry::convexHull(), te::mem::DataSet::copy(), te::gm::Geometry::coveredBy(), te::gm::Geometry::covers(), te::mem::ExpansibleRasterFactory::create(), te::da::DataSourceCatalogManager::create(), te::mem::Raster::create(), te::wcs::DataSource::create(), te::wms::DataSource::create(), terralib4::DataSource::create(), te::wfs::DataSource::create(), te::graph::BidirectionalGraphFactory::create(), te::graph::DirectedGraphFactory::create(), te::graph::GraphFactory::create(), te::graph::UndirectedGraphFactory::create(), te::gdal::Raster::create(), te::pgis::DataSource::create(), te::gdal::DataSource::create(), te::da::DataSource::create(), te::ogr::DataSource::createDataSet(), te::mem::DataSource::createDataSet(), te::gdal::Transactor::createDataSet(), te::ogr::Transactor::createDataSet(), te::wfs::Transactor::createDataSet(), te::wcs::Transactor::createDataSet(), te::wms::Transactor::createDataSet(), terralib4::Transactor::createDataSet(), te::ado::Transactor::createDataSet(), te::qt::widgets::DataSourceSelectorWidget::createDataSourcePushButtonPressed(), te::graph::DataSourceGraphMetadata::createEdgeAttrTable(), te::graph::DataSourceGraphMetadata::createGraphTableVertexModel(), te::sa::GPMConstructorAbstractStrategy::createVertexObjects(), te::gm::Geometry::crosses(), te::vp::PropertyGroupItem::data(), te::vp::LegendGroupItem::data(), te::map::DataSet2Memory(), te::sa::DataSetAdaptRadiusKernel(), te::sa::DataSetKernelNormalize(), te::sa::DataSetRatioKernel(), te::sa::DataSetStatRadiusKernel(), te::gdal::DataSetUseCounter::DataSetUseCounter(), te::da::DataSourceCatalogManager::detach(), te::da::DataSourceManager::detach(), te::plugin::PluginManager::detach(), te::gm::Geometry::difference(), te::rp::Filter::DilationFilter(), te::color::ColorSchemeCatalogManager::disconnect(), te::gm::Geometry::disjoint(), te::gm::Geometry::distance(), te::map::RasterLayerRenderer::draw(), te::map::DataSetLayerRenderer::draw(), te::wms::WMSLayerRenderer::draw(), te::map::QueryLayerRenderer::draw(), te::map::AbstractLayerRenderer::draw(), te::edit::EditionLayer::draw(), te::wms::WMSLayer::draw(), te::map::DataSetLayer::draw(), te::map::DataSetAdapterLayer::draw(), te::map::QueryLayer::draw(), te::map::RasterLayer::draw(), te::st::ObservationDataSetLayer::draw(), te::st::TimeSeriesDataSetLayer::draw(), te::st::TrajectoryDataSetLayer::draw(), te::map::DrawGeometries(), te::map::DataSetLayerRenderer::drawGrouping(), te::map::QueryLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGeometries(), te::map::AbstractLayerRenderer::drawLayerGrouping(), te::map::QueryLayerRenderer::drawLayerGroupingMem(), te::map::AbstractLayerRenderer::drawLayerGroupingMem(), te::map::QueryLayerRenderer::drawLayerLinkedGroupingMem(), te::wms::WMSLayerRenderer::drawRaster(), te::map::DrawRaster(), te::wcs::DataSource::drop(), te::wms::DataSource::drop(), terralib4::DataSource::drop(), te::ogr::DataSource::drop(), te::wfs::DataSource::drop(), te::ado::DataSource::drop(), te::pgis::DataSource::drop(), te::da::DataSource::drop(), te::wfs::Transactor::dropCheckConstraint(), te::wcs::Transactor::dropCheckConstraint(), te::wms::Transactor::dropCheckConstraint(), terralib4::Transactor::dropCheckConstraint(), te::ado::Transactor::dropCheckConstraint(), te::mem::DataSource::dropDataSet(), te::gdal::Transactor::dropDataSet(), te::ogr::Transactor::dropDataSet(), te::wfs::Transactor::dropDataSet(), te::wcs::Transactor::dropDataSet(), te::wms::Transactor::dropDataSet(), terralib4::Transactor::dropDataSet(), te::da::DataSourceCatalog::dropDependentSequenceEntry(), te::wfs::Transactor::dropForeignKey(), te::wcs::Transactor::dropForeignKey(), te::wms::Transactor::dropForeignKey(), terralib4::Transactor::dropForeignKey(), te::wfs::Transactor::dropIndex(), te::wcs::Transactor::dropIndex(), te::wms::Transactor::dropIndex(), terralib4::Transactor::dropIndex(), te::ado::Transactor::dropIndex(), te::wfs::Transactor::dropPrimaryKey(), te::wcs::Transactor::dropPrimaryKey(), te::wms::Transactor::dropPrimaryKey(), terralib4::Transactor::dropPrimaryKey(), te::ado::Transactor::dropPrimaryKey(), te::mem::DataSource::dropProperty(), te::ogr::Transactor::dropProperty(), te::wfs::Transactor::dropProperty(), te::wcs::Transactor::dropProperty(), te::wms::Transactor::dropProperty(), te::ado::Transactor::dropProperty(), te::wfs::Transactor::dropSequence(), te::wcs::Transactor::dropSequence(), te::wms::Transactor::dropSequence(), terralib4::Transactor::dropSequence(), te::ado::Transactor::dropSequence(), te::wfs::Transactor::dropUniqueKey(), te::wcs::Transactor::dropUniqueKey(), te::wms::Transactor::dropUniqueKey(), terralib4::Transactor::dropUniqueKey(), te::gm::Geometry::dWithin(), te::qt::widgets::DataSourceSelectorWidget::editDataSourcePushButtonPressed(), te::gm::Geometry::equals(), te::md::MetadataManager::erase(), te::rp::Filter::ErosionFilter(), te::wfs::Transactor::escape(), te::wcs::Transactor::escape(), te::wms::Transactor::escape(), terralib4::Transactor::escape(), te::pgis::PreparedQuery::execute(), te::rp::ClassifierDummyStrategy::execute(), te::rp::MixtureModelLinearStrategy::execute(), te::rp::MixtureModelPCAStrategy::execute(), te::pgis::Connection::execute(), te::ado::Connection::execute(), te::rp::ClassifierKMeansStrategy::execute(), te::wfs::Transactor::execute(), te::rp::ClassifierEMStrategy::execute(), te::wcs::Transactor::execute(), te::wms::Transactor::execute(), terralib4::Transactor::execute(), te::rp::Filter::execute(), te::rp::ClassifierISOSegStrategy::execute(), te::pgis::DataSource::exists(), te::da::DataSource::exists(), te::mem::ExpansibleRaster::ExpansibleRaster(), te::sa::SpatialWeightsExchanger::exportToGAL(), te::sa::SpatialWeightsExchanger::exportToGWT(), te::vp::LayerTreeModel::fetchMore(), te::qt::widgets::LayerTreeModel::fetchMore(), te::pgis::ConnectionPool::finalize(), te::attributefill::Module::finalize(), te::graph::Module::finalize(), te::layout::Module::finalize(), te::vp::Module::finalize(), te::da::Module::finalize(), te::map::Module::finalize(), te::mem::Module::finalize(), te::xml::Module::finalize(), te::cellspace::Module::finalize(), te::md::Module::finalize(), te::dt::Module::finalize(), te::addressgeocoding::Module::finalize(), te::edit::Module::finalize(), te::plugin::Module::finalize(), te::cl::Module::finalize(), te::fe::Module::finalize(), te::rst::Module::finalize(), te::sa::Module::finalize(), te::at::Module::finalize(), te::se::Module::finalize(), te::color::Module::finalize(), te::gm::Module::finalize(), te::gml::Module::finalize(), te::stat::Module::finalize(), te::qt::widgets::Module::finalize(), te::stmem::Module::finalize(), te::srs::Module::finalize(), te::st::Module::finalize(), te::rp::Module::finalize(), te::common::Module::finalize(), te::vp::LayerTreeModel::flags(), te::qt::widgets::LayerTreeModel::flags(), te::wfs::Transactor::foreignKeyExists(), te::wcs::Transactor::foreignKeyExists(), te::wms::Transactor::foreignKeyExists(), terralib4::Transactor::foreignKeyExists(), te::rst::SynchronizedBandBlocksManager::free(), te::da::GenerateOIDSet(), te::sa::SamplePointsGeneratorRandom::generateSamples(), te::sa::SamplePointsGeneratorStratified::generateSamples(), te::gm::GeometryToByteArrayConverter(), te::gm::GeometryToStringConverter(), te::dt::DataConverterManager::get(), te::common::Library::Impl::getAddress(), te::gm::CurvePolygon::getArea(), te::attributefill::VectorToVectorMemory::getArea(), terralib4::RasterDataSet::getArray(), te::ado::DataSet::getArray(), te::pgis::DataSet::getArray(), te::gdal::GetBandProperties(), te::gdal::GetBandProperty(), te::gdal::GetBands(), te::wfs::Transactor::getBatchExecutor(), te::wcs::Transactor::getBatchExecutor(), te::wms::Transactor::getBatchExecutor(), terralib4::Transactor::getBatchExecutor(), te::ado::Transactor::getBatchExecutor(), te::rst::SynchronizedBandBlocksManager::getBlockPointer(), te::mem::ExpansibleBandBlocksManager::getBlockPointer(), terralib4::RasterDataSet::getBool(), te::ogr::DataSet::getBool(), te::gm::Geometry::getBoundary(), terralib4::RasterDataSet::getByteArray(), te::gm::MultiPolygon::getCentroid(), te::gm::CurvePolygon::getCentroid(), terralib4::RasterDataSet::getChar(), te::ogr::DataSet::getChar(), te::wfs::Transactor::getCheckConstraint(), te::wcs::Transactor::getCheckConstraint(), te::wms::Transactor::getCheckConstraint(), terralib4::Transactor::getCheckConstraint(), te::ado::Transactor::getCheckConstraint(), te::wfs::Transactor::getCheckConstraintNames(), te::wcs::Transactor::getCheckConstraintNames(), te::wms::Transactor::getCheckConstraintNames(), terralib4::Transactor::getCheckConstraintNames(), te::pgis::ConnectionPool::getConnection(), te::qt::plugins::gdal::GDALConnectorDialog::getConnectionInfo(), te::qt::plugins::ogr::OGRConnectorDialog::getConnectionInfo(), te::qt::plugins::wcs::WCSConnectorDialog::getConnectionInfo(), te::qt::plugins::wfs::WFSConnectorDialog::getConnectionInfo(), te::qt::plugins::wms::WMSConnectorDialog::getConnectionInfo(), te::common::UnitsOfMeasureManager::getConversion(), te::da::AttributeConverterManager::getConverter(), te::wms::WMSLayer::getData(), te::attributefill::VectorToVectorMemory::getDataBasedOnType(), te::pgis::Transactor::getDatabaseInfo(), te::ogr::Transactor::getDataSet(), te::wcs::Transactor::getDataSet(), te::wms::Transactor::getDataSet(), te::wfs::Transactor::getDataSet(), te::da::SpatialQueryProcessor::getDataSet(), terralib4::Transactor::getDataSet(), te::ado::Transactor::getDataSet(), te::mem::DataSource::getDataSet(), te::pgis::Transactor::getDataSet(), te::pgis::Transactor::getDataSetId(), te::pgis::Transactor::getDataSetName(), te::ado::DataSet::getDatasetNameOfProperty(), te::pgis::DataSet::getDatasetNameOfProperty(), te::ado::Transactor::getDataSetNames(), te::mem::DataSource::getDataSetType(), te::wfs::Transactor::getDataSetType(), te::wcs::Transactor::getDataSetType(), te::wms::Transactor::getDataSetType(), te::da::GetDataSource(), te::gdal::DataSource::getDataSourceNames(), te::da::DataSource::getDataSourceNames(), terralib4::RasterDataSet::getDateTime(), te::pgis::DataSet::getDateTime(), te::ado::GetDateTime(), te::qt::plugins::ado::ADOType::getDescription(), te::qt::plugins::gdal::GDALType::getDescription(), te::qt::plugins::pgis::PostGISType::getDescription(), te::qt::plugins::wfs::WFSType::getDescription(), te::qt::plugins::ogr::OGRType::getDescription(), te::qt::plugins::wcs::WCSType::getDescription(), te::qt::plugins::wms::WMSType::getDescription(), terralib4::RasterDataSet::getDouble(), te::graph::AbstractIterator::getEdgeInteratorCount(), te::da::DataSource::getEncodings(), te::da::GetExtent(), te::ado::DataSet::getExtent(), te::pgis::DataSet::getExtent(), te::ogr::Transactor::getExtent(), te::wfs::Transactor::getExtent(), terralib4::Transactor::getExtent(), te::ado::Transactor::getExtent(), te::pgis::Transactor::getExtent(), te::graph::SequenceIterator::getFirstEdge(), te::graph::QueryIterator::getFirstEdge(), te::graph::BoxIterator::getFirstEdge(), te::graph::SequenceIterator::getFirstVertex(), te::graph::QueryIterator::getFirstVertex(), te::graph::BoxIterator::getFirstVertex(), terralib4::RasterDataSet::getFloat(), te::ogr::DataSet::getFloat(), te::wfs::Transactor::getForeignKey(), te::wcs::Transactor::getForeignKey(), te::wms::Transactor::getForeignKey(), terralib4::Transactor::getForeignKey(), te::ado::Transactor::getForeignKey(), te::wfs::Transactor::getForeignKeyNames(), te::wcs::Transactor::getForeignKeyNames(), te::wms::Transactor::getForeignKeyNames(), terralib4::Transactor::getForeignKeyNames(), te::gdal::GetGDALConnectionInfo(), te::gdal::GetGDALRessamplingMethod(), terralib4::GeomReader::getGeometry(), te::gm::WKBReader::getGeometry(), terralib4::RasterDataSet::getGeometry(), te::gm::WKBReader::getGeometryCollection(), te::srs::SpatialReferenceSystemManager::getIdFromName(), te::srs::SpatialReferenceSystemManager::getIdFromP4Txt(), te::srs::SpatialReferenceSystemManager::getIdFromWkt(), te::wfs::Transactor::getIndex(), te::wcs::Transactor::getIndex(), te::wms::Transactor::getIndex(), terralib4::Transactor::getIndex(), te::ado::Transactor::getIndex(), te::wfs::Transactor::getIndexNames(), te::wcs::Transactor::getIndexNames(), te::wms::Transactor::getIndexNames(), terralib4::Transactor::getIndexNames(), te::plugin::GetInstalledPlugin(), terralib4::RasterDataSet::getInt16(), te::ogr::DataSet::getInt16(), terralib4::RasterDataSet::getInt32(), terralib4::RasterDataSet::getInt64(), te::ogr::DataSet::getInt64(), te::wfs::Transactor::getLastGeneratedId(), te::wcs::Transactor::getLastGeneratedId(), te::wms::Transactor::getLastGeneratedId(), terralib4::Transactor::getLastGeneratedId(), te::ado::Transactor::getLastGeneratedId(), te::pgis::Transactor::getLastGeneratedId(), te::qt::plugins::edit::ToolBar::getLayer(), te::wms::WMSLayerSelector::getLayers(), te::qt::widgets::HiddenDataSetLayerSelector::getLayers(), te::qt::widgets::DataSetLayerSelector::getLayers(), te::gm::Curve::getLength(), te::gm::WKBReader::getLinearRing(), te::gm::WKBReader::getLineString(), te::qt::widgets::ParameterTableWidget::getMap(), te::common::ProgressTimer::getMessage(), te::graph::AbstractIterator::getNextEdge(), te::graph::AbstractIterator::getNextVertex(), te::mem::DataSource::getNumberOfItems(), te::wfs::Transactor::getNumberOfItems(), terralib4::Transactor::getNumberOfItems(), terralib4::RasterDataSet::getNumeric(), te::ado::DataSet::getNumeric(), te::ogr::GetOGRConnectionInfo(), te::gm::Surface::getPerimeter(), te::gm::CurvePolygon::getPerimeter(), te::plugin::DefaultFinder::getPlugins(), te::gm::WKBReader::getPolygon(), te::gm::WKBReader::getPolyhedralSurface(), te::wfs::Transactor::getPrepared(), te::wcs::Transactor::getPrepared(), te::wms::Transactor::getPrepared(), terralib4::Transactor::getPrepared(), te::ado::Transactor::getPrepared(), te::graph::AbstractIterator::getPreviousEdge(), te::graph::AbstractIterator::getPreviousVertex(), te::wfs::Transactor::getPrimaryKey(), te::wcs::Transactor::getPrimaryKey(), te::wms::Transactor::getPrimaryKey(), te::mem::DataSource::getProperty(), te::wfs::Transactor::getProperty(), te::wcs::Transactor::getProperty(), te::wms::Transactor::getProperty(), te::ado::Transactor::getProperty(), terralib4::Transactor::getProperty(), te::pgis::Transactor::getPropertyId(), te::mem::DataSource::getPropertyNames(), te::wfs::Transactor::getPropertyNames(), te::map::GetRaster(), te::ado::DataSet::getRaster(), te::ogr::DataSet::getRaster(), te::pgis::Transactor::getRasterInfo(), te::map::GetRasterProperty(), GetRowPosition(), te::edit::Snap::getSearchEnvelope(), te::common::Library::getSearchPath(), te::qt::widgets::DataSourceSelectorWidget::getSelecteds(), te::wfs::Transactor::getSequence(), te::wcs::Transactor::getSequence(), te::wms::Transactor::getSequence(), terralib4::Transactor::getSequence(), te::ado::Transactor::getSequence(), te::wfs::Transactor::getSequenceNames(), te::wcs::Transactor::getSequenceNames(), te::wms::Transactor::getSequenceNames(), terralib4::Transactor::getSequenceNames(), te::ado::Transactor::getSequenceNames(), te::pgis::Transactor::getSequences(), te::srs::SpatialReferenceSystemManager::getSpatialReferenceSystem(), te::pgis::GetSQLValue(), te::stat::GetStatSummaryFullName(), te::stat::GetStatSummaryShortName(), terralib4::RasterDataSet::getString(), te::qt::plugins::gdal::GDALType::getTitle(), te::qt::plugins::ado::ADOType::getTitle(), te::qt::plugins::pgis::PostGISType::getTitle(), te::qt::plugins::ogr::OGRType::getTitle(), te::qt::plugins::wfs::WFSType::getTitle(), te::qt::plugins::wcs::WCSType::getTitle(), te::qt::plugins::wms::WMSType::getTitle(), te::wcs::DataSource::getTransactor(), te::wms::DataSource::getTransactor(), te::wfs::DataSource::getTransactor(), te::gdal::DataSource::getTransactor(), terralib4::RasterDataSet::getUChar(), te::ogr::DataSet::getUChar(), te::wfs::Transactor::getUniqueKey(), te::wcs::Transactor::getUniqueKey(), te::wms::Transactor::getUniqueKey(), terralib4::Transactor::getUniqueKey(), te::ado::Transactor::getUniqueKey(), te::wfs::Transactor::getUniqueKeyNames(), te::wcs::Transactor::getUniqueKeyNames(), te::wms::Transactor::getUniqueKeyNames(), terralib4::Transactor::getUniqueKeyNames(), te::graph::AbstractIterator::getVertexInteratorCount(), te::qt::af::GetWindowTitle(), te::sa::GlobalMoranSignificance(), te::sa::GridAdaptRadiusKernel(), te::sa::GridKernelNormalize(), te::sa::GridRatioKernel(), te::sa::GridStatRadiusKernel(), te::sa::GStatistics(), te::vp::LayerTreeModel::hasChildren(), te::qt::widgets::LayerTreeModel::hasChildren(), terralib4::Transactor::hasDataSets(), te::vp::LayerTreeModel::headerData(), te::layout::Utils::imageToChar(), te::sa::SpatialWeightsExchanger::importFromGAL(), te::sa::SpatialWeightsExchanger::importFromGWT(), te::vp::LayerTreeModel::index(), te::qt::widgets::LayerTreeModel::index(), te::wfs::Transactor::indexExists(), te::wcs::Transactor::indexExists(), te::wms::Transactor::indexExists(), terralib4::Transactor::indexExists(), te::da::DataSourceCatalog::indexSequenceDependency(), te::color::ColorSchemeCatalogManager::init(), te::srs::SpatialReferenceSystemManager::init(), te::common::UnitsOfMeasureManager::init(), te::pgis::ConnectionPool::initialize(), te::addressgeocoding::Module::initialize(), te::layout::Module::initialize(), te::vp::Module::initialize(), te::da::Module::initialize(), te::sa::Module::initialize(), te::cellspace::Module::initialize(), te::attributefill::Module::initialize(), te::mem::Module::initialize(), te::dt::Module::initialize(), te::gm::Module::initialize(), te::xml::Module::initialize(), te::map::Module::initialize(), te::md::Module::initialize(), te::fe::Module::initialize(), te::edit::Module::initialize(), te::at::Module::initialize(), te::plugin::Module::initialize(), te::cl::Module::initialize(), te::rst::Module::initialize(), te::color::Module::initialize(), te::se::Module::initialize(), te::gml::Module::initialize(), te::stat::Module::initialize(), te::graph::Module::initialize(), te::qt::widgets::Module::initialize(), te::stmem::Module::initialize(), te::srs::Module::initialize(), te::st::Module::initialize(), te::rp::Module::initialize(), te::rp::ClassifierDummyStrategy::initialize(), te::common::Module::initialize(), te::cl::Dummy< TTRAIN, TCLASSIFY >::initialize(), te::rp::ClassifierKMeansStrategy::initialize(), te::rp::ClassifierEMStrategy::initialize(), te::cl::KMeans< TTRAIN, TCLASSIFY >::initialize(), te::rp::Filter::initialize(), te::md::MetadataManager::insert(), te::qt::widgets::SymbolLibrary::insert(), te::qt::widgets::SymbolLibraryManager::insert(), te::da::FunctionCatalogManager::insert(), te::da::SQLDialect::insert(), te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::insert(), te::color::ColorSchemeCatalogManager::insert(), te::da::DataSourceCatalogManager::insert(), te::da::DataSourceManager::insert(), te::gm::Geometry::intersection(), te::gm::Geometry::intersects(), te::srs::Converter::invert(), te::graph::BidirectionalGraphFactory::iOpen(), te::graph::DirectedGraphFactory::iOpen(), te::graph::UndirectedGraphFactory::iOpen(), te::graph::GraphFactory::iOpen(), te::wfs::Transactor::isDataSetNameValid(), te::wcs::Transactor::isDataSetNameValid(), te::wms::Transactor::isDataSetNameValid(), terralib4::Transactor::isDataSetNameValid(), te::graph::AbstractIterator::isEdgeIteratorAfterEnd(), te::gm::Geometry::isEmpty(), te::wcs::Transactor::isInTransaction(), te::wms::Transactor::isInTransaction(), te::wfs::Transactor::isInTransaction(), te::wfs::Transactor::isPropertyNameValid(), te::wcs::Transactor::isPropertyNameValid(), te::wms::Transactor::isPropertyNameValid(), terralib4::Transactor::isPropertyNameValid(), te::gm::Geometry::isSimple(), te::gm::Geometry::isValid(), te::graph::AbstractIterator::isVertexIteratorAfterEnd(), te::sa::LISAMap(), te::sa::LisaStatisticalSignificance(), te::plugin::CppPluginEngine::load(), te::common::Library::Impl::load(), te::graph::DataSourceGraphMetadata::load(), te::plugin::PluginManager::load(), te::graph::SequenceLoaderStrategy::loadDataByEdgeId(), te::graph::BoxLoaderStrategy::loadDataByEdgeId(), te::graph::SequenceLoaderStrategy::loadDataByVertexId(), te::graph::BoxLoaderStrategy::loadDataByVertexId(), te::graph::AbstractGraphLoaderStrategy::loadEdgeAttrs(), te::layout::JSON::loadFromPath(), te::graph::AbstractGraphLoaderStrategy::loadVertex(), te::sa::LocalMean(), te::da::DataSourceFactory::make(), te::graph::AbstractGraphLoaderStrategyFactory::make(), te::da::DataSourceManager::make(), te::common::ParameterizedAbstractFactory< TPRODUCT, TFACTORYKEY, TPARAM, TKEYCOMPARE >::make(), te::common::AbstractFactory< TPRODUCT, TFACTORYKEY, TKEYCOMPARE >::make(), te::graph::AbstractGraphFactory::make(), te::rst::RasterFactory::make(), te::qt::widgets::Promoter::map2Row(), te::rp::Filter::MeanFilter(), te::rp::Filter::MedianFilter(), te::rp::Filter::ModeFilter(), te::sa::MoranIndex(), te::sa::MoranMap(), te::xerces::Reader::next(), te::qt::af::BaseApplication::onAddDataSetLayerTriggered(), te::qt::af::BaseApplication::onAddQueryLayerTriggered(), te::qt::af::BaseApplication::onAddTabularLayerTriggered(), te::qt::widgets::ListWidget::onAddToolButtonPressed(), te::qt::widgets::ListWidget::onEditToolButtonPressed(), te::qt::af::BaseApplication::onLayerFitOnMapDisplayTriggered(), te::qt::af::BaseApplication::onLinkTriggered(), te::vp::IntersectionDialog::onOkPushButtonClicked(), te::qt::af::BaseApplication::onUpdateLayerDataSourceTriggered(), terralib4::Raster::open(), te::mem::Raster::open(), terralib4::DataSource::open(), te::wcs::DataSource::open(), te::wms::DataSource::open(), te::ogr::DataSource::open(), te::wfs::DataSource::open(), te::gdal::DataSource::open(), te::gdal::Raster::open(), te::da::DataSourceManager::open(), te::graph::AbstractGraphFactory::open(), te::rst::RasterFactory::open(), te::qt::af::BaseApplication::openProject(), te::qt::plugins::ogr::OGRConnectorDialog::openPushButtonPressed(), te::qt::plugins::gdal::GDALConnectorDialog::openPushButtonPressed(), te::qt::plugins::wcs::WCSConnectorDialog::openPushButtonPressed(), te::qt::plugins::wms::WMSConnectorDialog::openPushButtonPressed(), te::qt::plugins::pgis::PostGISConnectorDialog::openPushButtonPressed(), te::qt::plugins::wfs::WFSConnectorDialog::openPushButtonPressed(), te::qt::plugins::ado::ADOConnectorDialog::openPushButtonPressed(), te::wms::WMS2Layer::operator()(), te::qt::widgets::DataSet2Layer::operator()(), te::mem::TiledBand::operator=(), te::mem::Band::operator=(), te::da::DataSetType::operator=(), te::wfs::Transactor::optimize(), te::wcs::Transactor::optimize(), te::wms::Transactor::optimize(), terralib4::Transactor::optimize(), te::pgis::Transactor::optimize(), te::gm::Geometry::overlaps(), te::vp::IntersectionMemory::pairwiseIntersection(), te::vp::LayerTreeModel::parent(), te::qt::widgets::LayerTreeModel::parent(), te::rst::PolygonIterator< T >::PolygonIterator(), te::pgis::PreparedQuery::prepare(), te::wfs::Transactor::primaryKeyExists(), te::wcs::Transactor::primaryKeyExists(), te::wms::Transactor::primaryKeyExists(), te::ado::Transactor::propertyExists(), te::rst::ProxyRaster::ProxyRaster(), te::pgis::Connection::query(), te::ogr::Transactor::query(), te::ado::Connection::query(), te::wfs::Transactor::query(), te::wcs::Transactor::query(), te::wms::Transactor::query(), terralib4::Transactor::query(), te::gdal::Transactor::query(), terralib4::Raster::Raster(), te::gdal::Raster::Raster(), te::fe::serialize::Expression::read(), te::srs::WKTReader::read(), te::map::serialize::Layer::read(), te::fe::serialize::AbstractOp::read(), te::gm::WKTReader::read(), te::se::serialize::Symbolizer::read(), te::se::serialize::Style::read(), te::serialize::xml::Read(), te::xerces::Reader::read(), te::gdal::Band::read(), te::serialize::xml::ReadDataSourceInfo(), te::serialize::xml::ReadDialect(), te::serialize::xml::ReadLiteral(), te::qt::af::ReadProject(), te::xsd::serialize::ReadSchema(), te::qt::widgets::ReadSymbolLibrary(), te::xerces::readXML(), te::edit::SnapManager::reg(), te::qt::af::ApplicationController::registerToolBar(), te::gm::Geometry::relate(), te::rst::RasterSynchronizer::releaseBlock(), te::da::DataSourceInfoManager::remove(), te::da::DataSourceFactory::remove(), te::qt::widgets::SymbolLibrary::remove(), te::qt::widgets::SymbolLibraryManager::remove(), te::edit::Repository::remove(), te::common::FactoryDictionary< TFACTORY, TFACTORYKEY, TKEYCOMPARE >::remove(), te::mem::DataSource::remove(), te::da::DataSourceCatalog::remove(), te::mem::DataSet::remove(), te::ogr::Transactor::remove(), te::wfs::Transactor::remove(), te::wcs::Transactor::remove(), te::wms::Transactor::remove(), terralib4::Transactor::remove(), te::pgis::Transactor::remove(), te::da::DataSetType::remove(), te::qt::widgets::DataSourceSelectorWidget::removeDataSourcePushButtonPressed(), te::graph::AbstractGraphLoaderStrategy::removeEdge(), te::da::DataSourceCatalog::removeRef(), te::graph::AbstractGraphLoaderStrategy::removeVertex(), te::da::DataSourceCatalog::rename(), te::mem::DataSource::renameDataSet(), te::gdal::Transactor::renameDataSet(), te::wfs::Transactor::renameDataSet(), te::wcs::Transactor::renameDataSet(), te::wms::Transactor::renameDataSet(), terralib4::Transactor::renameDataSet(), te::mem::DataSource::renameProperty(), te::ogr::Transactor::renameProperty(), te::wfs::Transactor::renameProperty(), te::wcs::Transactor::renameProperty(), te::wms::Transactor::renameProperty(), terralib4::Transactor::renameProperty(), te::map::ChartRendererManager::render(), te::map::ExternalGraphicRendererManager::render(), te::map::MarkRendererManager::render(), te::xerces::Reader::reset(), te::common::Library::resetSearchPath(), te::rp::Filter::RobertsFilter(), te::wcs::Transactor::rollBack(), te::wms::Transactor::rollBack(), te::wfs::Transactor::rollBack(), te::qt::widgets::LayerTreeModel::rowCount(), te::vp::LayerTreeModel::rowCount(), te::vp::LineToPolygonMemory::run(), te::vp::PolygonToLineMemory::run(), te::vp::IntersectionQuery::run(), te::vp::AggregationMemory::run(), te::vp::MultipartToSinglepart::run(), te::vp::IntersectionMemory::run(), te::attributefill::VectorToRaster::run(), te::attributefill::RasterToVector::run(), te::rst::Vectorizer::run(), te::attributefill::VectorToVectorMemory::run(), te::sa::BayesGlobalOperation::runBayesGlobal(), te::sa::BayesLocalOperation::runBayesLocal(), te::gm::SatisfySpatialRelation(), te::graph::DataSourceGraphMetadata::save(), te::serialize::xml::Save(), te::graph::AbstractGraphLoaderStrategy::saveData(), te::graph::AbstractGraphLoaderStrategy::saveEdgeAttributes(), te::graph::AbstractGraphLoaderStrategy::saveGraphVertexList(), te::qt::widgets::DataSourceSelectorDialog::selectPushButtonPressed(), te::wfs::Transactor::sequenceExists(), te::wcs::Transactor::sequenceExists(), te::wms::Transactor::sequenceExists(), terralib4::Transactor::sequenceExists(), te::ado::Transactor::sequenceExists(), te::layout::JSON::serialize(), te::edit::Repository::set(), te::pgis::SetColumnDef(), terralib4::Band::setIValue(), te::srs::Converter::setSourcePJ4txt(), te::srs::Converter::setSourceSRID(), te::srs::Converter::setTargetPJ4txt(), te::srs::Converter::setTargetSRID(), terralib4::Band::setValue(), te::qt::plugins::wms::Plugin::shutdown(), te::qt::plugins::wcs::Plugin::shutdown(), te::qt::plugins::ado::Plugin::shutdown(), te::qt::plugins::pgis::Plugin::shutdown(), te::qt::plugins::wfs::Plugin::shutdown(), te::qt::plugins::layout::Plugin::shutdown(), te::qt::plugins::cellspace::Plugin::shutdown(), te::qt::plugins::edit::Plugin::shutdown(), te::qt::plugins::attributefill::Plugin::shutdown(), te::qt::plugins::gdal::Plugin::shutdown(), te::qt::plugins::terralib4::Plugin::shutdown(), te::qt::plugins::st::Plugin::shutdown(), te::qt::plugins::ogr::Plugin::shutdown(), te::qt::plugins::addressgeocoding::Plugin::shutdown(), te::qt::plugins::vp::Plugin::shutdown(), te::qt::plugins::sa::Plugin::shutdown(), te::xerces::Module::shutdown(), te::qt::plugins::rp::Plugin::shutdown(), te::pgis::Module::shutdown(), te::wms::Module::shutdown(), te::wcs::Module::shutdown(), te::gdal::Module::shutdown(), te::wfs::Module::shutdown(), terralib4::Module::shutdown(), te::ado::Module::shutdown(), te::ogr::Module::shutdown(), te::rp::Filter::SobelFilter(), te::qt::plugins::wcs::Plugin::startup(), te::qt::plugins::wfs::Plugin::startup(), te::qt::plugins::pgis::Plugin::startup(), te::qt::plugins::wms::Plugin::startup(), te::qt::plugins::ado::Plugin::startup(), te::qt::plugins::layout::Plugin::startup(), te::qt::plugins::cellspace::Plugin::startup(), te::qt::plugins::edit::Plugin::startup(), te::qt::plugins::attributefill::Plugin::startup(), te::qt::plugins::st::Plugin::startup(), te::qt::plugins::terralib4::Plugin::startup(), te::qt::plugins::ogr::Plugin::startup(), te::qt::plugins::gdal::Plugin::startup(), te::qt::plugins::addressgeocoding::Plugin::startup(), te::xerces::Module::startup(), te::qt::plugins::vp::Plugin::startup(), te::qt::plugins::sa::Plugin::startup(), te::pgis::Module::startup(), te::qt::plugins::rp::Plugin::startup(), te::wms::Module::startup(), te::wfs::Module::startup(), te::gdal::Module::startup(), te::wcs::Module::startup(), terralib4::Module::startup(), te::ado::Module::startup(), te::ogr::Module::startup(), te::gm::StringToGeometryConverter(), te::gm::Geometry::symDifference(), te::rst::SynchronizedRaster::SynchronizedRaster(), te::qt::plugins::wms::WMSConnectorDialog::testPushButtonPressed(), te::qt::plugins::pgis::PostGISConnectorDialog::testPushButtonPressed(), te::qt::plugins::wfs::WFSConnectorDialog::testPushButtonPressed(), te::qt::plugins::gdal::GDALConnectorDialog::testPushButtonPressed(), te::qt::plugins::ogr::OGRConnectorDialog::testPushButtonPressed(), te::qt::plugins::wcs::WCSConnectorDialog::testPushButtonPressed(), te::qt::plugins::ado::ADOConnectorDialog::testPushButtonPressed(), te::rst::TileIndexer::TileIndexer(), te::gm::Geometry::touches(), te::cl::KMeans< TTRAIN, TCLASSIFY >::train(), te::gdal::Raster::transform(), te::gm::CompoundCurve::transform(), te::gm::GeometryCollection::transform(), te::gm::CircularString::transform(), te::gm::LineString::transform(), te::gm::AbstractPoint::transform(), te::gm::PolyhedralSurface::transform(), te::gm::Envelope::transform(), te::gm::CurvePolygon::transform(), te::gm::Geometry::Union(), te::wfs::Transactor::uniqueKeyExists(), te::wcs::Transactor::uniqueKeyExists(), te::wms::Transactor::uniqueKeyExists(), terralib4::Transactor::uniqueKeyExists(), te::common::Library::Impl::unload(), te::graph::DataSourceGraphMetadata::update(), te::wfs::Transactor::update(), te::ogr::Transactor::update(), te::wcs::Transactor::update(), te::wms::Transactor::update(), terralib4::Transactor::update(), te::pgis::Transactor::update(), te::common::ConsoleProgressViewer::updateMessage(), te::qt::widgets::ProgressViewerDialog::updateMessage(), te::common::ConsoleProgressViewer::updateValue(), te::rp::Filter::UserDefinedFilter(), te::qt::plugins::terralib4::TL4ConverterWizard::validLayerNames(), te::wcs::DataSource::verifyConnectionInfo(), te::wms::DataSource::verifyConnectionInfo(), te::wfs::DataSource::verifyConnectionInfo(), te::da::SQLVisitor::visit(), te::gm::Geometry::within(), terralib4::Band::write(), te::se::serialize::Symbolizer::write(), te::fe::serialize::AbstractOp::write(), te::map::serialize::Layer::write(), te::se::serialize::Style::write(), te::gm::Write2WKB(), te::xerces::Writer::writeAttribute(), te::xerces::Writer::writeElement(), te::xerces::Writer::writeStartElement(), te::xerces::Writer::writeToFile(), te::sa::ZAndWZ(), and te::common::CharEncodingConv::~CharEncodingConv().

#define TE_TR_PLURAL (   message1,
  message2,
 
)    TE_GENERAL_TR_PLURAL(TERRALIB_TEXT_DOMAIN, message1, message2, n)

It marks a string in order to get translated according to plural form.

Example of usage:

int n = f(...);
std::cout << TE_TR_PLURAL("One Message!", "Two Messages", n);
throw Exception(TE_TR_PLURAL("One Message!", "Two Messages", n));

In the above example, the parameter n can be a threshold that helps to choose between the first or the second construction. If your trabslation file is configured with a theashold of 1, indicating that if n > 1 must choose the second construction, the plural versin will be choosed, otherwise, it will choose the singular form (the fisrt one).

Definition at line 370 of file Translator.h.

#define TERRALIB_TEXT_DOMAIN   "terralib"

It contains the name of the text domain used in the translation of messages in TerraLib.

Definition at line 284 of file Translator.h.

Referenced by te::common::Module::Module().

#define TERRALIB_TEXT_DOMAIN_DIR   "locale"

It contains the translation catalog directory.

Definition at line 291 of file Translator.h.

Referenced by te::common::Module::Module().