Documentation ¶
Index ¶
Constants ¶
View Source
const ()
View Source
const ( SingleItem = "1 книга" ManyItemsSinglePage = "{total} книг(и)" ManyItemsManyPages = "{from}-{to} из {total} книг(и)" )
View Source
const ( SearchNew = "Новый" SearchAdults = "Взрослые" SearchKids = "Детские" )
View Source
const ( InformationSection = "information" AnnotationSection = "annotation" ExternalLinksSection = "external-links" SimilarSection = "similar" ReviewsSection = "reviews" QuotesSection = "quotes" VideosSection = "videos" ContentsSection = "contents" FilesSection = "files" )
Variables ¶
View Source
AppNavLatest: "/latest", AppNavSearch: "/search", }
View Source
var ArtTypes = map[string]string{ strconv.Itoa(int(litres_integration.ArtTypeText)): "Текст", strconv.Itoa(int(litres_integration.ArtTypeAudio)): "Аудио", strconv.Itoa(int(litres_integration.ArtTypePDF)): "PDF", }
View Source
var BinaryProperties = []string{ data.BookCompletedProperty, data.DescendingProperty, }
View Source
var BookProperties = []string{ data.AuthorsProperty, data.SeriesProperty, data.SymbolsCountProperty, data.GenresProperty, data.TagsProperty, data.IllustratorsProperty, data.ReadersProperty, data.TranslatorsProperty, data.PerformersProperty, data.PaintersProperty, data.RightholdersProperty, data.MinAgeProperty, data.RatedAvgProperty, data.ISBNProperty, data.DateWrittenAtProperty, data.PublicationDateProperty, data.TranslatedAtProperty, data.RegisteredAtProperty, data.AvailableFromProperty, data.FirstTimeSaleAtProperty, data.LastReleasedAtProperty, data.LastUpdatedAtProperty, }
View Source
var DigestProperties = []string{ data.ArtTypeProperty, data.AuthorsProperty, data.ReadersProperty, data.TranslatorsProperty, data.IllustratorsProperty, data.PaintersProperty, data.PerformersProperty, data.MinAgeProperty, data.GenresProperty, data.TagsProperty, data.LocalTagsProperty, data.PublishersProperty, data.RightholdersProperty, data.SeriesProperty, data.SortProperty, }
View Source
var LabelProperties = []string{ data.ArtTypeProperty, }
View Source
var PropertyTitles = map[string]string{ data.TitleProperty: "Название", data.HTMLAnnotationProperty: "Аннотация", data.AuthorsProperty: "Автор", data.ReadersProperty: "Читает", data.TranslatorsProperty: "Перевод", data.IllustratorsProperty: "Иллюстратор", data.PerformersProperty: "Исполнитель", data.PaintersProperty: "Художник", data.PublishersProperty: "Издатель", data.RightholdersProperty: "Правообладатель", data.PriceProperty: "Цена", data.RatedAvgProperty: "Рейтинг", data.ArtTypeProperty: "Тип", data.GenresProperty: "Жанры", data.TagsProperty: "Тэги", data.LocalTagsProperty: "Свои тэги", data.MinAgeProperty: "Возрастное ограничение", data.ISBNProperty: "ISBN", data.SeriesProperty: "Серия", data.DateWrittenAtProperty: "Написано", data.PublicationDateProperty: "Опубликовано", data.TranslatedAtProperty: "Переведено", data.RegisteredAtProperty: "Зарегистрировано", data.AvailableFromProperty: "Доступно", data.FirstTimeSaleAtProperty: "Начало продаж", data.LastReleasedAtProperty: "Выпущено", data.LastUpdatedAtProperty: "Обновлено", data.SymbolsCountProperty: "Объем", data.SortProperty: "Порядок", data.ArtsHistoryEventTimeProperty: "По дате приобретения", data.DescendingProperty: "По убыванию", data.BookCompletedProperty: "Прочитано", "true": "Да", "false": "Нет", }
View Source
var SearchOrder = []string{ SearchNew, SearchAdults, SearchKids, }
View Source
var SearchProperties = []string{ data.TitleProperty, data.HTMLAnnotationProperty, data.BookCompletedProperty, data.AuthorsProperty, data.ReadersProperty, data.TranslatorsProperty, data.IllustratorsProperty, data.PaintersProperty, data.PerformersProperty, data.ArtTypeProperty, data.SeriesProperty, data.GenresProperty, data.TagsProperty, data.LocalTagsProperty, data.PublishersProperty, data.RightholdersProperty, data.MinAgeProperty, data.ISBNProperty, data.DateWrittenAtProperty, data.FirstTimeSaleAtProperty, data.PublicationDateProperty, data.RegisteredAtProperty, data.TranslatedAtProperty, data.SortProperty, data.DescendingProperty, }
View Source
var SectionStyles = map[string]string{
InformationSection: "",
AnnotationSection: "annotation.css",
ExternalLinksSection: "",
ReviewsSection: "",
QuotesSection: "",
SimilarSection: "",
VideosSection: "videos.css",
ContentsSection: "",
FilesSection: "",
}
View Source
var SectionTitles = map[string]string{ InformationSection: "Информация", AnnotationSection: "Аннотация", ExternalLinksSection: "Ссылки", ReviewsSection: "Отзывы", QuotesSection: "Цитаты", SimilarSection: "Сходные книги", VideosSection: "Видео", ContentsSection: "Оглавление", FilesSection: "Файлы", }
View Source
var ShortPropertyTitles = map[string]string{ data.IllustratorsProperty: "Иллюстр.", }
Functions ¶
func EncodeQuery ¶ added in v0.3.23
func SearchScopeFromQuery ¶ added in v0.3.23
func SearchScopes ¶ added in v0.3.23
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.