#![warn(missing_docs, rustdoc::broken_intra_doc_links)]
pub mod catalog {
pub use ferrocat_po::{
ApiError, CatalogAuditChecks, CatalogAuditDiagnostic, CatalogAuditMessageRef,
CatalogAuditOptions, CatalogAuditReport, CatalogAuditSummary, CatalogCombineInput,
CatalogCombineResult, CatalogCombineSelection, CatalogCombineStats,
CatalogConflictStrategy, CatalogCoverageMessage, CatalogCoverageOptions,
CatalogCoverageReport, CatalogLocaleCoverage, CatalogLocaleReview,
CatalogMachineTranslationMessage, CatalogMachineTranslationReview,
CatalogMachineTranslationStatus, CatalogMessage, CatalogMessageExtra, CatalogMessageKey,
CatalogMessageStatus, CatalogMode, CatalogOrigin, CatalogReviewOptions,
CatalogReviewReport, CatalogReviewSummary, CatalogReviewTranslation, CatalogSemantics,
CatalogSourceChange, CatalogSourceChangeKind, CatalogSourceChangeReport, CatalogStats,
CatalogStorageFormat, CatalogTranslationChange, CatalogTranslationChangeReport,
CatalogUpdateInput, CatalogUpdateResult, CombineCatalogOptions,
CompileCatalogArtifactIcuOptions, CompileCatalogArtifactOptions,
CompileCatalogArtifactReportOptions, CompileCatalogArtifactReportSelection,
CompileCatalogOptions, CompileSelectedCatalogArtifactOptions, CompiledCatalog,
CompiledCatalogArtifact, CompiledCatalogArtifactReport, CompiledCatalogDiagnostic,
CompiledCatalogIdDescription, CompiledCatalogIdIndex, CompiledCatalogMissingMessage,
CompiledCatalogProvenanceReport, CompiledCatalogResolution, CompiledCatalogResolutionKind,
CompiledCatalogTranslationKind, CompiledCatalogUnavailableId, CompiledKeyStrategy,
CompiledMessage, CompiledTranslation, DescribeCompiledIdsReport, Diagnostic,
DiagnosticSeverity, EffectiveTranslation, EffectiveTranslationRef, ExtractedMessage,
ExtractedPluralMessage, ExtractedSingularMessage, IcuFormatterSupportPolicy,
IcuPseudolocalizationOptions, IcuSyntaxPolicy, MachineTranslationMetadata,
NdjsonCatalogReader, NdjsonCatalogReaderOptions, NdjsonCatalogWriter,
NdjsonCatalogWriterOptions, NormalizedParsedCatalog, ObsoleteStrategy, OrderBy,
ParseCatalogOptions, ParsedCatalog, PlaceholderCommentMode, PluralEncoding, PluralSource,
RenderOptions, SourceExtractedMessage, TranslationShape, UpdateCatalogFileOptions,
UpdateCatalogOptions, audit_catalogs, catalog_coverage, catalog_review, combine_catalogs,
compile_catalog_artifact, compile_catalog_artifact_report,
compile_catalog_artifact_selected, compile_catalog_artifact_selected_with_icu_options,
compile_catalog_artifact_with_icu_options, compiled_key, machine_translation_hash,
parse_catalog, pseudolocalize_compiled_catalog_artifact,
pseudolocalize_compiled_catalog_artifact_with_syntax_policy, update_catalog,
update_catalog_file,
};
}
pub mod icu {
pub use ferrocat_icu::has_selectordinal as has_select_ordinal;
pub use ferrocat_icu::{
IcuAnalysis, IcuArgument, IcuArgumentKind, IcuCompatibilityOptions, IcuCompatibilityReport,
IcuDiagnostic, IcuDiagnosticSeverity, IcuErrorKind, IcuFormatter, IcuFormatterSupport,
IcuMessage, IcuNode, IcuOption, IcuParseError, IcuParserOptions, IcuPluralKind,
IcuPluralSummary, IcuPosition, IcuPseudolocalizationOptions, IcuSelectSummary,
IcuStyleKind, IcuTagSummary, MessageArgumentFormatMetadata, MessageArgumentKind,
MessageArgumentMetadata, MessageArgumentMetadataInput, MessageFormatStyleKind,
MessageMetadata, MessageMetadataDiagnostic, MessageMetadataInput,
MessageMetadataValidationReport, MessageOriginMetadata, MessageSelectorKind,
MessageSelectorMetadata, analyze_icu, compare_icu_messages,
derive_message_metadata_from_icu, extract_argument_names, extract_tag_names,
extract_variables, has_plural, has_select, has_tag, normalize_message_metadata, parse_icu,
parse_icu_with_options, pseudolocalize_icu, pseudolocalize_icu_message, stringify_icu,
validate_icu, validate_icu_formatter_support, validate_icu_formatter_support_from_analysis,
validate_message_metadata,
};
}
pub mod po {
pub use ferrocat_po::MergeExtractedMessage as MergeMessageInput;
pub use ferrocat_po::{
BorrowedHeader, BorrowedMsgStr, BorrowedPoFile, BorrowedPoItem, Header, MsgStr, MsgStrIter,
ParseError, PoFile, PoItem, SerializeOptions, escape_string, extract_quoted,
extract_quoted_cow, merge_catalog, parse_po, parse_po_borrowed, stringify_po,
unescape_string,
};
}
#[deprecated(
since = "0.14.0",
note = "use ferrocat::has_select_ordinal or ferrocat::icu::has_select_ordinal"
)]
pub use ferrocat_icu::has_selectordinal;
pub use ferrocat_icu::{
IcuAnalysis, IcuArgument, IcuArgumentKind, IcuCompatibilityOptions, IcuCompatibilityReport,
IcuDiagnostic, IcuDiagnosticSeverity, IcuErrorKind, IcuFormatter, IcuFormatterSupport,
IcuMessage, IcuNode, IcuOption, IcuParseError, IcuParserOptions, IcuPluralKind,
IcuPluralSummary, IcuPosition, IcuPseudolocalizationOptions, IcuSelectSummary, IcuStyleKind,
IcuTagSummary, MessageArgumentFormatMetadata, MessageArgumentKind, MessageArgumentMetadata,
MessageArgumentMetadataInput, MessageFormatStyleKind, MessageMetadata,
MessageMetadataDiagnostic, MessageMetadataInput, MessageMetadataValidationReport,
MessageOriginMetadata, MessageSelectorKind, MessageSelectorMetadata, analyze_icu,
compare_icu_messages, derive_message_metadata_from_icu, extract_argument_names,
extract_tag_names, extract_variables, has_plural, has_select, has_tag,
normalize_message_metadata, parse_icu, parse_icu_with_options, pseudolocalize_icu,
pseudolocalize_icu_message, stringify_icu, validate_icu, validate_icu_formatter_support,
validate_icu_formatter_support_from_analysis, validate_message_metadata,
};
#[cfg(feature = "catalog")]
pub const COMPILED_CATALOG_ARTIFACT_SCHEMA_VERSION: u16 = 1;
#[deprecated(
since = "0.14.0",
note = "use ferrocat::po::MergeMessageInput for the PO merge helper input"
)]
pub use ferrocat_po::MergeExtractedMessage;
#[cfg(feature = "catalog")]
pub use ferrocat_po::{
ApiError, CatalogAuditChecks, CatalogAuditDiagnostic, CatalogAuditMessageRef,
CatalogAuditOptions, CatalogAuditReport, CatalogAuditSummary, CatalogCombineInput,
CatalogCombineResult, CatalogCombineSelection, CatalogCombineStats, CatalogConflictStrategy,
CatalogCoverageMessage, CatalogCoverageOptions, CatalogCoverageReport, CatalogLocaleCoverage,
CatalogLocaleReview, CatalogMachineTranslationMessage, CatalogMachineTranslationReview,
CatalogMachineTranslationStatus, CatalogMessage, CatalogMessageExtra, CatalogMessageKey,
CatalogMessageStatus, CatalogMode, CatalogOrigin, CatalogReviewOptions, CatalogReviewReport,
CatalogReviewSummary, CatalogReviewTranslation, CatalogSemantics, CatalogSourceChange,
CatalogSourceChangeKind, CatalogSourceChangeReport, CatalogStats, CatalogStorageFormat,
CatalogTranslationChange, CatalogTranslationChangeReport, CatalogUpdateInput,
CatalogUpdateResult, CombineCatalogOptions, CompileCatalogArtifactIcuOptions,
CompileCatalogArtifactOptions, CompileCatalogArtifactReportOptions,
CompileCatalogArtifactReportSelection, CompileCatalogOptions,
CompileSelectedCatalogArtifactOptions, CompiledCatalog, CompiledCatalogArtifact,
CompiledCatalogArtifactReport, CompiledCatalogDiagnostic, CompiledCatalogIdDescription,
CompiledCatalogIdIndex, CompiledCatalogMissingMessage, CompiledCatalogProvenanceReport,
CompiledCatalogResolution, CompiledCatalogResolutionKind, CompiledCatalogTranslationKind,
CompiledCatalogUnavailableId, CompiledKeyStrategy, CompiledMessage, CompiledTranslation,
DescribeCompiledIdsReport, Diagnostic, DiagnosticSeverity, EffectiveTranslation,
EffectiveTranslationRef, ExtractedMessage, ExtractedPluralMessage, ExtractedSingularMessage,
IcuFormatterSupportPolicy, IcuSyntaxPolicy, MachineTranslationMetadata, NdjsonCatalogReader,
NdjsonCatalogReaderOptions, NdjsonCatalogWriter, NdjsonCatalogWriterOptions,
NormalizedParsedCatalog, ObsoleteStrategy, OrderBy, ParseCatalogOptions, ParsedCatalog,
PlaceholderCommentMode, PluralEncoding, PluralSource, RenderOptions, SourceExtractedMessage,
TranslationShape, UpdateCatalogFileOptions, UpdateCatalogOptions, audit_catalogs,
catalog_coverage, catalog_review, combine_catalogs, compile_catalog_artifact,
compile_catalog_artifact_report, compile_catalog_artifact_selected,
compile_catalog_artifact_selected_with_icu_options, compile_catalog_artifact_with_icu_options,
compiled_key, machine_translation_hash, parse_catalog,
pseudolocalize_compiled_catalog_artifact,
pseudolocalize_compiled_catalog_artifact_with_syntax_policy, update_catalog,
update_catalog_file,
};
pub use ferrocat_po::{
BorrowedHeader, BorrowedMsgStr, BorrowedPoFile, BorrowedPoItem, Header, MsgStr, MsgStrIter,
ParseError, PoFile, PoItem, SerializeOptions, escape_string, extract_quoted,
extract_quoted_cow, merge_catalog, parse_po, parse_po_borrowed, stringify_po, unescape_string,
};
pub use icu::has_select_ordinal;