1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-09-15 18:57:04 +00:00

Update vendor dependencies

This commit is contained in:
Frédéric Guillot 2018-07-06 21:18:14 -07:00
parent 34a3fe426b
commit 459bb4531f
747 changed files with 89857 additions and 39711 deletions

View file

@ -23,8 +23,28 @@ import (
// the format string "%d file(s) remaining".
// See the examples directory for examples of extracted messages.
// Messages is used to store translations for a single language.
type Messages struct {
// Config contains configuration for the translation pipeline.
type Config struct {
SourceLanguage language.Tag
// Supported indicates the languages for which data should be generated.
// If unspecified, it will attempt to derive the set of supported languages
// from the context.
Supported []language.Tag
Packages []string
// TODO:
// - Printf-style configuration
// - Template-style configuration
// - Extraction options
// - Rewrite options
// - Generation options
}
// A Locale is used to store all information for a single locale. This type is
// used both for extraction and injection.
type Locale struct {
Language language.Tag `json:"language"`
Messages []Message `json:"messages"`
Macros map[string]Text `json:"macros,omitempty"`