photoprism/internal/i18n/lang-en.go
Michael Mayer d4008564bb Backend: Update countries.txt and stopwords.txt
Signed-off-by: Michael Mayer <michael@liquidbytes.net>
2020-07-05 17:37:40 +02:00

67 lines
2 KiB
Go

package i18n
const (
ErrUnexpected Message = iota + 1
ErrBadRequest
ErrSaveFailed
ErrAlreadyExists
ErrEntityNotFound
ErrAccountNotFound
ErrAlbumNotFound
ErrReadOnly
ErrUnauthorized
ErrUploadNSFW
ErrNoItemsSelected
ErrCreateFile
ErrCreateFolder
ErrConnectionFailed
MsgChangesSaved
MsgAlbumCreated
MsgAlbumSaved
MsgAlbumDeleted
MsgAlbumCloned
MsgFileUngrouped
MsgSelectionAddedTo
MsgEntryAddedTo
MsgEntriesAddedTo
MsgEntryRemovedFrom
MsgEntriesRemovedFrom
MsgAccountCreated
MsgAccountSaved
MsgAccountDeleted
MsgSettingsSaved
)
var MsgEnglish = MessageMap{
ErrUnexpected: "Unexpected error, please try again",
ErrBadRequest: "Invalid request",
ErrSaveFailed: "Changes could not be saved",
ErrAlreadyExists: "%s already exists",
ErrEntityNotFound: "Unknown entity",
ErrAccountNotFound: "Unknown account",
ErrAlbumNotFound: "Album not found",
ErrReadOnly: "not available in read-only mode",
ErrUnauthorized: "Please log in and try again",
ErrUploadNSFW: "Upload might be offensive",
ErrNoItemsSelected: "No items selected",
ErrCreateFile: "Failed creating file, please check permissions",
ErrCreateFolder: "Failed creating folder, please check permissions",
ErrConnectionFailed: "Could not connect, please try again",
MsgChangesSaved: "Changes successfully saved",
MsgAlbumCreated: "Album created",
MsgAlbumSaved: "Album saved",
MsgAlbumDeleted: "Album %s deleted",
MsgAlbumCloned: "Album contents cloned",
MsgFileUngrouped: "File successfully ungrouped",
MsgSelectionAddedTo: "Selection added to %s",
MsgEntryAddedTo: "One entry added to %s",
MsgEntriesAddedTo: "%d entries added to %s",
MsgEntryRemovedFrom: "One entry removed from %s",
MsgEntriesRemovedFrom: "%d entries removed from %s",
MsgAccountCreated: "Account created",
MsgAccountSaved: "Account saved",
MsgAccountDeleted: "Account deleted",
MsgSettingsSaved: "Settings saved",
}