123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133 |
- // This file is generated by the "kurzd generate-translations" command. DO NOT EDIT.
- package translations
- import (
- "github.com/nicksnyder/go-i18n/v2/i18n"
- "golang.org/x/text/language"
- )
- func init() {
- loadMessages = func(b *i18n.Bundle) error {
- // These are the messages extracted from all the messages.<lang>.yaml files.
- m := make(MessageMap)
- m[language.Make("en")] = []*i18n.Message{
- {
- ID: "error.none",
- Other: "No error",
- },
- {
- ID: "error.short_not_created",
- Other: "Short URL not created for a new target",
- },
- {
- ID: "error.storage_unspecified",
- Other: "Storage unspecified error",
- },
- {
- ID: "error.target_blocked",
- Other: "Target blocked",
- },
- {
- ID: "error.target_censored",
- Other: "Target unavailable for legal reasons",
- },
- {
- ID: "Zerror.error_format",
- Description: "The format for errors",
- LeftDelim: "{",
- RightDelim: "}",
- One: "{.Kind}: {.Detail}",
- },
- {
- ID: "error.short_not_found",
- Other: "Short URL not defined",
- },
- {
- ID: "error.storage_read",
- Other: "Storage read error",
- },
- {
- ID: "error.storage_write",
- Other: "Storage write error",
- },
- {
- ID: "error.target_invalid",
- Other: "Target invalid",
- },
- {
- ID: "error.unimplemented",
- Other: "Not yet implemented",
- },
- {
- ID: "web.ui.empty.target",
- Other: "empty target",
- },
- }
- m[language.Make("fr")] = []*i18n.Message{
- {
- ID: "Zerror.error_format",
- Description: "Le format des erreurs",
- LeftDelim: "{",
- RightDelim: "}",
- One: "{.Kind}: {.Detail}",
- },
- {
- ID: "error.short_not_created",
- Other: "URL court non créé pour une nouvelle cible",
- },
- {
- ID: "error.storage_unspecified",
- Other: "Erreur de stockage non spécifique",
- },
- {
- ID: "error.storage_write",
- Other: "Erreur d'écriture sur le stockage",
- },
- {
- ID: "error.target_blocked",
- Other: "Cible bloquée",
- },
- {
- ID: "error.target_censored",
- Other: "Cible censurée",
- },
- {
- ID: "error.target_invalid",
- Other: "Cible invalide",
- },
- {
- ID: "error.none",
- Other: "Aucune erreur",
- },
- {
- ID: "error.short_not_found",
- Other: "URL court non défini",
- },
- {
- ID: "error.storage_read",
- Other: "Erreur de lecture depuis le stockage",
- },
- {
- ID: "error.unimplemented",
- Other: "Pas encore réalisé",
- },
- {
- ID: "web.ui.empty.target",
- Other: "cible vide",
- },
- }
- for tag, messagesByTag := range m {
- err := b.AddMessages(tag, messagesByTag...)
- if err != nil {
- b = &i18n.Bundle{}
- return err
- }
- }
- return nil
- }
- }
- /* vim: set tabstop=4 : */
|