mirror of
https://github.com/usememos/memos.git
synced 2026-11-19 10:29:11 +01:00
refactor(export): rename Memo Archive to Memos Export Format
Avoid confusion with archived memos while preserving legacy ZIP imports. Move Export & Import to the end of basic settings.
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@ apply the same way.
|
||||
| `access/` | who may read a memo, given viewer, space membership, and share links |
|
||||
| `notification/` | building and dispatching inbox and email notifications |
|
||||
| `memopayload/` | rebuilding a memo's derived payload from its markdown |
|
||||
| `memoarchive/` | the Memo Archive container and records used for export and import |
|
||||
| `memoexport/` | the Memos Export Format container and records used for export and import |
|
||||
|
||||
Layering: `core` may import `store`, `provider`, `markdown`, `filter`,
|
||||
`proto/gen`, and `internal`. It must not import `server` or `cmd`. New
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
// Package memoarchive implements the Memo Archive format: a ZIP container that
|
||||
// Package memoexport implements the Memos Export Format: a ZIP container that
|
||||
// carries one user's memos and attachments between Memos instances.
|
||||
//
|
||||
// The package owns the container layout, the JSON records, and the reading
|
||||
// and writing rules defined in docs/design/memo-archive-format.md. It has no
|
||||
// and writing rules defined in docs/design/memos-export-format.md. It has no
|
||||
// opinion about how records map onto a Memos instance; transports call the
|
||||
// Writer with data they have already loaded and interpret the records a
|
||||
// Reader returns.
|
||||
package memoarchive
|
||||
package memoexport
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"archive/zip"
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"encoding/json"
|
||||
@@ -7,7 +7,9 @@ import (
|
||||
|
||||
const (
|
||||
// Format is the value of the manifest's format member.
|
||||
Format = "memos-archive"
|
||||
Format = "memos-export"
|
||||
// legacyFormat identifies exports written before the format was renamed.
|
||||
legacyFormat = "memos-archive"
|
||||
// FormatVersion is the newest version this package writes.
|
||||
FormatVersion = "1.0"
|
||||
// FormatMajor is the major version this package reads.
|
||||
@@ -16,7 +18,7 @@ const (
|
||||
// stored inside the container: a leading "mimetype" entry makes macOS
|
||||
// Archive Utility treat the file as an unknown document package and
|
||||
// refuse to expand it.
|
||||
MediaType = "application/vnd.usememos.archive+zip"
|
||||
MediaType = "application/vnd.usememos.export+zip"
|
||||
|
||||
// ManifestEntry holds the archive-level record and identifies the format.
|
||||
ManifestEntry = "manifest.json"
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"archive/zip"
|
||||
@@ -35,6 +35,7 @@ func newGoldenFixture() goldenFixture {
|
||||
photoDigest := sha256.Sum256(photo)
|
||||
return goldenFixture{
|
||||
manifest: Manifest{
|
||||
Format: Format,
|
||||
Generator: Generator{Name: "memos", Version: "0.31.0"},
|
||||
ExportTime: "2026-09-16T08:30:00Z",
|
||||
Scope: Scope{Kind: ScopeKindUser, User: &ScopeUser{Username: "steven", DisplayName: "Steven"}},
|
||||
@@ -122,16 +123,16 @@ func writeFixture(t *testing.T, fixture goldenFixture) []byte {
|
||||
return buffer.Bytes()
|
||||
}
|
||||
|
||||
func readArchive(t *testing.T, data []byte) *Archive {
|
||||
func readArchive(t *testing.T, data []byte) *File {
|
||||
t.Helper()
|
||||
archive, err := Read(bytes.NewReader(data), int64(len(data)))
|
||||
require.NoError(t, err)
|
||||
return archive
|
||||
}
|
||||
|
||||
func requireFixtureRoundTrip(t *testing.T, fixture goldenFixture, archive *Archive) {
|
||||
func requireFixtureRoundTrip(t *testing.T, fixture goldenFixture, archive *File) {
|
||||
t.Helper()
|
||||
require.Equal(t, Format, archive.Manifest.Format)
|
||||
require.Equal(t, fixture.manifest.Format, archive.Manifest.Format)
|
||||
require.Equal(t, FormatVersion, archive.Manifest.FormatVersion)
|
||||
require.Equal(t, fixture.manifest.Scope, archive.Manifest.Scope)
|
||||
require.Empty(t, archive.Warnings)
|
||||
@@ -195,15 +196,19 @@ func TestGoldenArchives(t *testing.T) {
|
||||
require.NoError(t, os.MkdirAll(filepath.Dir(goldenPath), 0o755))
|
||||
require.NoError(t, os.WriteFile(goldenPath, writeFixture(t, fixture), 0o644))
|
||||
}
|
||||
versions, err := filepath.Glob(filepath.Join("testdata", "*", "golden.zip"))
|
||||
versions, err := filepath.Glob(filepath.Join("testdata", "*", "*.zip"))
|
||||
require.NoError(t, err)
|
||||
require.NotEmpty(t, versions, "no golden archives found; run with -update")
|
||||
for _, path := range versions {
|
||||
t.Run(filepath.Base(filepath.Dir(path)), func(t *testing.T) {
|
||||
t.Run(filepath.Join(filepath.Base(filepath.Dir(path)), filepath.Base(path)), func(t *testing.T) {
|
||||
data, err := os.ReadFile(path)
|
||||
require.NoError(t, err)
|
||||
archive := readArchive(t, data)
|
||||
if filepath.Base(filepath.Dir(path)) == FormatVersion {
|
||||
fixture := newGoldenFixture()
|
||||
if filepath.Base(path) == "legacy.zip" {
|
||||
fixture.manifest.Format = legacyFormat
|
||||
}
|
||||
requireFixtureRoundTrip(t, fixture, archive)
|
||||
}
|
||||
})
|
||||
@@ -324,6 +329,17 @@ func TestReaderRejectsUnsafeArchives(t *testing.T) {
|
||||
mutate: func(_ *zip.Writer, f *zip.File, _ []byte) bool { return f.Name == ManifestEntry },
|
||||
want: "manifest.json is missing",
|
||||
},
|
||||
"unknown format": {
|
||||
mutate: func(w *zip.Writer, f *zip.File, content []byte) bool {
|
||||
if f.Name != ManifestEntry {
|
||||
return false
|
||||
}
|
||||
entry, _ := w.Create(ManifestEntry)
|
||||
_, _ = entry.Write(bytes.ReplaceAll(content, []byte(`"format":"memos-export"`), []byte(`"format":"other-export"`)))
|
||||
return true
|
||||
},
|
||||
want: `format "other-export" is not "memos-export"`,
|
||||
},
|
||||
"unsupported major": {
|
||||
mutate: func(w *zip.Writer, f *zip.File, content []byte) bool {
|
||||
if f.Name != ManifestEntry {
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"regexp"
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"archive/zip"
|
||||
@@ -34,9 +34,9 @@ const (
|
||||
maxExpansionSlack = 64 << 20
|
||||
)
|
||||
|
||||
// Archive is a validated, opened Memo Archive. Memos are ordered so that a
|
||||
// File is a validated, opened Memos export file. Memos are ordered so that a
|
||||
// parent precedes its comments, then by createTime, then by UID.
|
||||
type Archive struct {
|
||||
type File struct {
|
||||
Manifest *Manifest
|
||||
Memos []*Memo
|
||||
// Warnings lists every soft deviation the reader corrected.
|
||||
@@ -47,7 +47,7 @@ type Archive struct {
|
||||
|
||||
// Read validates the container and loads every memo record. It fails on the
|
||||
// first hard violation without returning a partial archive.
|
||||
func Read(r io.ReaderAt, size int64) (*Archive, error) {
|
||||
func Read(r io.ReaderAt, size int64) (*File, error) {
|
||||
reader, err := zip.NewReader(r, size)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "not a ZIP file")
|
||||
@@ -55,7 +55,7 @@ func Read(r io.ReaderAt, size int64) (*Archive, error) {
|
||||
if len(reader.File) > maxEntries {
|
||||
return nil, errors.Errorf("archive has more than %d entries", maxEntries)
|
||||
}
|
||||
archive := &Archive{entries: make(map[string]*zip.File, len(reader.File))}
|
||||
archive := &File{entries: make(map[string]*zip.File, len(reader.File))}
|
||||
var totalCompressed, totalUncompressed uint64
|
||||
for _, file := range reader.File {
|
||||
if strings.HasSuffix(file.Name, "/") && file.UncompressedSize64 == 0 {
|
||||
@@ -94,13 +94,13 @@ func Read(r io.ReaderAt, size int64) (*Archive, error) {
|
||||
}
|
||||
|
||||
// Content returns the exact bytes of a memo's content file.
|
||||
func (a *Archive) Content(memo *Memo) ([]byte, error) {
|
||||
func (a *File) Content(memo *Memo) ([]byte, error) {
|
||||
return a.readEntry(memo.ContentPath, maxContentBytes)
|
||||
}
|
||||
|
||||
// ReadAttachment returns the bytes of an attachment entry after checking
|
||||
// their length and SHA-256 digest against the attachment record.
|
||||
func (a *Archive) ReadAttachment(attachment *Attachment) ([]byte, error) {
|
||||
func (a *File) ReadAttachment(attachment *Attachment) ([]byte, error) {
|
||||
if attachment.Path == "" {
|
||||
return nil, errors.Errorf("attachment %s has no bytes in the archive", attachment.UID)
|
||||
}
|
||||
@@ -122,7 +122,7 @@ func (a *Archive) ReadAttachment(attachment *Attachment) ([]byte, error) {
|
||||
return content, nil
|
||||
}
|
||||
|
||||
func (a *Archive) readManifest() (*Manifest, error) {
|
||||
func (a *File) readManifest() (*Manifest, error) {
|
||||
if _, ok := a.entries[ManifestEntry]; !ok {
|
||||
return nil, errors.Errorf("%s is missing", ManifestEntry)
|
||||
}
|
||||
@@ -140,7 +140,7 @@ func (a *Archive) readManifest() (*Manifest, error) {
|
||||
return manifest, nil
|
||||
}
|
||||
|
||||
func (a *Archive) readMemos() error {
|
||||
func (a *File) readMemos() error {
|
||||
records := make(map[string]*Memo)
|
||||
contents := make(map[string]struct{})
|
||||
names := slices.Sorted(maps.Keys(a.entries))
|
||||
@@ -236,7 +236,7 @@ func orderMemos(records map[string]*Memo) []*Memo {
|
||||
return ordered
|
||||
}
|
||||
|
||||
func (a *Archive) readEntry(name string, limit int64) ([]byte, error) {
|
||||
func (a *File) readEntry(name string, limit int64) ([]byte, error) {
|
||||
file, ok := a.entries[name]
|
||||
if !ok {
|
||||
return nil, errors.Errorf("entry %q is missing", name)
|
||||
BIN
Binary file not shown.
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
@@ -45,7 +45,7 @@ func parseFormatVersion(version string) (int, int, error) {
|
||||
}
|
||||
|
||||
func validateManifest(manifest *Manifest) error {
|
||||
if manifest.Format != Format {
|
||||
if manifest.Format != Format && manifest.Format != legacyFormat {
|
||||
return errors.Errorf("format %q is not %q", manifest.Format, Format)
|
||||
}
|
||||
major, _, err := parseFormatVersion(manifest.FormatVersion)
|
||||
@@ -1,4 +1,4 @@
|
||||
package memoarchive
|
||||
package memoexport
|
||||
|
||||
import (
|
||||
"archive/zip"
|
||||
@@ -12,7 +12,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
)
|
||||
|
||||
// Writer streams a Memo Archive to an io.Writer. Entries are written in the
|
||||
// Writer streams a Memos export file to an io.Writer. Entries are written in the
|
||||
// order the caller supplies them, so a caller that wants attachment digests
|
||||
// in a memo record writes the attachment bytes before the record.
|
||||
type Writer struct {
|
||||
+5
-4
@@ -1,13 +1,14 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://usememos.com/schemas/memo-archive/1.0/manifest.schema.json",
|
||||
"title": "Memo Archive manifest",
|
||||
"description": "Archive-level record stored at manifest.json in a Memo Archive. Unknown members are permitted so that later minor versions can add fields.",
|
||||
"$id": "https://usememos.com/schemas/memo-export/1.0/manifest.schema.json",
|
||||
"title": "Memos Export Format manifest",
|
||||
"description": "Archive-level record stored at manifest.json in a Memos export file. Unknown members are permitted so that later minor versions can add fields.",
|
||||
"type": "object",
|
||||
"required": ["format", "formatVersion", "generator", "exportTime", "scope"],
|
||||
"properties": {
|
||||
"format": {
|
||||
"const": "memos-archive"
|
||||
"enum": ["memos-export", "memos-archive"],
|
||||
"description": "Writers emit memos-export. Readers also accept the legacy memos-archive identifier."
|
||||
},
|
||||
"formatVersion": {
|
||||
"type": "string",
|
||||
+3
-3
@@ -1,8 +1,8 @@
|
||||
{
|
||||
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
||||
"$id": "https://usememos.com/schemas/memo-archive/1.0/memo.schema.json",
|
||||
"title": "Memo Archive memo record",
|
||||
"description": "One memo and its attachments, stored at memos/{uid}.json in a Memo Archive. Field names, enum strings, and timestamps follow the proto3 JSON mapping of the public API. Unknown members are permitted so that later minor versions can add fields.",
|
||||
"$id": "https://usememos.com/schemas/memo-export/1.0/memo.schema.json",
|
||||
"title": "Memos Export Format memo record",
|
||||
"description": "One memo and its attachments, stored at memos/{uid}.json in a Memos export file. Field names, enum strings, and timestamps follow the proto3 JSON mapping of the public API. Unknown members are permitted so that later minor versions can add fields.",
|
||||
"type": "object",
|
||||
"required": ["uid", "creator", "createTime", "updateTime", "state", "visibility", "pinned", "contentPath"],
|
||||
"properties": {
|
||||
@@ -1,4 +1,4 @@
|
||||
# Memo Archive Format
|
||||
# Memos Export Format
|
||||
|
||||
Status: Proposed
|
||||
|
||||
@@ -8,11 +8,11 @@ Existing domain language: [Memos context](../../CONTEXT.md)
|
||||
|
||||
Related: [Multi-Spaces Design](multi-spaces.md), [ADR 0002: Username Format and References](../adr/0002-username-format-and-references.md), [ADR 0003: Space UID Allocation and Format](../adr/0003-space-uid-allocation-and-format.md)
|
||||
|
||||
Normative schemas: [`memo-archive/1.0/manifest.schema.json`](memo-archive/1.0/manifest.schema.json), [`memo-archive/1.0/memo.schema.json`](memo-archive/1.0/memo.schema.json)
|
||||
Normative schemas: [`memo-export/1.0/manifest.schema.json`](memo-export/1.0/manifest.schema.json), [`memo-export/1.0/memo.schema.json`](memo-export/1.0/memo.schema.json)
|
||||
|
||||
## Summary
|
||||
|
||||
A Memo Archive is a ZIP container that carries one user's memos and their attachments out of a Memos instance and back into a Memos instance running the same or a later release. It is the single format for personal export, personal import, and migration between instances or database backends.
|
||||
Memos Export Format is a ZIP-based format that carries one user's memos and their attachments out of a Memos instance and back into a Memos instance running the same or a later release. It is the single format for personal export, personal import, and migration between instances or database backends.
|
||||
|
||||
The format is built only from published standards and the public API's own vocabulary. The container is a plain ZIP file as specified by the PKWARE APPNOTE, identified by its manifest. Records are RFC 8259 JSON documents that use the proto3 JSON mapping of the public API messages, so every field name, enum string, and timestamp form is one a client already sees on the wire. Memo content is stored as untouched bytes in a separate Markdown file. Two JSON Schema documents are the normative definition of the records; this document explains them and defines the container and the import semantics that the schemas cannot express.
|
||||
|
||||
@@ -42,14 +42,14 @@ The design reuses established specifications rather than inventing encodings. Ea
|
||||
| --- | --- | --- |
|
||||
| Container | PKWARE APPNOTE 6.3.10 (ZIP) | Methods Store (0) and Deflate (8), UTF-8 names via the language encoding flag (bit 11), ZIP64 permitted. |
|
||||
| Self-identification | RFC 8259 JSON manifest | `manifest.json` carries `format` and `formatVersion`. A leading `mimetype` entry in the EPUB and OpenDocument manner was tried and rejected: macOS Archive Utility recognizes that signature, sees an unknown vendor type, and refuses to expand the file. |
|
||||
| Media type | RFC 6838 §3.2 vendor tree | `application/vnd.usememos.archive+zip` for the container; attachment types are IANA media types. |
|
||||
| Media type | RFC 6838 §3.2 vendor tree | `application/vnd.usememos.export+zip` for the container; attachment types are IANA media types. |
|
||||
| Records | RFC 8259 (JSON), UTF-8 without byte order mark | One JSON document per memo plus one manifest. |
|
||||
| Record vocabulary | Protocol Buffers proto3 JSON mapping | lowerCamelCase field names, enum names as strings, timestamps as RFC 3339 strings. |
|
||||
| Timestamps | RFC 3339 §5.6 `date-time` | UTC with `Z` designator. |
|
||||
| Schema | JSON Schema 2020-12 | Normative `manifest.schema.json` and `memo.schema.json`. |
|
||||
| Digest | FIPS 180-4 SHA-256 | Lowercase hexadecimal, 64 characters. |
|
||||
| Path safety | CWE-22 (path traversal in archive extraction, "zip slip") | Entry names are validated, never sanitized; violations reject the archive. |
|
||||
| Download | RFC 6266 `Content-Disposition` | `attachment; filename*=UTF-8''memos-archive-….zip`. |
|
||||
| Download | RFC 6266 `Content-Disposition` | `attachment; filename*=UTF-8''memos-export-….zip`. |
|
||||
|
||||
The container is deliberately an ordinary ZIP file so that every desktop extractor opens it with a double click. The record conventions come from the API the archive mirrors, so the archive needs no vocabulary of its own.
|
||||
|
||||
@@ -58,7 +58,7 @@ The container is deliberately an ordinary ZIP file so that every desktop extract
|
||||
### Container layout
|
||||
|
||||
```
|
||||
memos-archive-<username>-<YYYYMMDDTHHMMSSZ>.zip
|
||||
memos-export-<username>-<YYYYMMDDTHHMMSSZ>.zip
|
||||
├── manifest.json first entry, archive-level record
|
||||
├── memos/
|
||||
│ ├── <memo-uid>.json memo record
|
||||
@@ -99,7 +99,7 @@ Readers ignore unknown members in any object. This is what lets a minor version
|
||||
|
||||
```json
|
||||
{
|
||||
"format": "memos-archive",
|
||||
"format": "memos-export",
|
||||
"formatVersion": "1.0",
|
||||
"generator": { "name": "memos", "version": "0.31.0" },
|
||||
"exportTime": "2026-09-16T08:30:00Z",
|
||||
@@ -113,7 +113,7 @@ Readers ignore unknown members in any object. This is what lets a minor version
|
||||
|
||||
| Field | Required | Meaning |
|
||||
| --- | --- | --- |
|
||||
| `format` | yes | Always `memos-archive`. Readers reject any other value. |
|
||||
| `format` | yes | Writers emit `memos-export`. Readers also accept the legacy `memos-archive` identifier. |
|
||||
| `formatVersion` | yes | `MAJOR.MINOR`. See versioning. |
|
||||
| `generator` | yes | The software that wrote the archive. Diagnostic only. |
|
||||
| `exportTime` | yes | When the archive was written. |
|
||||
@@ -211,7 +211,7 @@ An attachment belongs to exactly one memo record. Attachments not linked to any
|
||||
|
||||
The importer's behavior is part of the format. An archive only survives a release if the release still does this with it.
|
||||
|
||||
1. Validate. `manifest.json` exists, `format` is `memos-archive`, the major version is supported, every entry name passes the container rules, and every record validates against its schema. Any failure aborts before anything is written.
|
||||
1. Validate. `manifest.json` exists, `format` is `memos-export` or legacy `memos-archive`, the major version is supported, every entry name passes the container rules, and every record validates against its schema. Any failure aborts before anything is written.
|
||||
2. Load memo records. Order so that parents precede comments, then by `createTime`.
|
||||
3. Resolve each UID:
|
||||
- No memo has that UID: create it with that UID.
|
||||
@@ -230,8 +230,8 @@ Because step 3 keys on the UID, running the same archive twice produces the same
|
||||
### Export semantics
|
||||
|
||||
- The exporter writes only memos the requesting user created and attachments linked to them. No administrator bypass exists.
|
||||
- The response carries `Content-Type: application/vnd.usememos.archive+zip` and an RFC 6266 `Content-Disposition` with the archive filename.
|
||||
- The archive filename is `memos-archive-<username>-<YYYYMMDDTHHMMSSZ>.zip`, where the timestamp is the RFC 3339 basic form of `exportTime`.
|
||||
- The response carries `Content-Type: application/vnd.usememos.export+zip` and an RFC 6266 `Content-Disposition` with the archive filename.
|
||||
- The archive filename is `memos-export-<username>-<YYYYMMDDTHHMMSSZ>.zip`, where the timestamp is the RFC 3339 basic form of `exportTime`.
|
||||
- Export and import run under the same authentication as the rest of the API and count against a dedicated rate-limit scope.
|
||||
|
||||
### Transport
|
||||
@@ -247,6 +247,14 @@ The plan carries the manifest's export time, exporter, and generator, the archiv
|
||||
|
||||
The web client offers both operations under Settings, Export & Import. Import is a three-step flow: the user chooses a file, the client uploads it once and finishes with `validate_only` to show the plan, and the conflict policy is asked for only when `existing` is greater than zero. Confirming sends one more finishing call on the same upload. An expired upload returns to the file picker.
|
||||
|
||||
### Naming and compatibility
|
||||
|
||||
The product actions are **Export memos** and **Import memos**. **Memos Export Format** names the file format; it is unrelated to a memo's **Archived** state. The Go package is `core/memoexport`.
|
||||
|
||||
Before 0.31.0 stable, this format was named Memo Archive. New exports use `format: "memos-export"`, the media type `application/vnd.usememos.export+zip`, and the filename prefix `memos-export-`. Readers continue accepting `format: "memos-archive"`; the file picker also accepts the old `application/vnd.usememos.archive+zip` media type. Import validates the manifest and does not depend on the filename or media type.
|
||||
|
||||
The ZIP layout and record semantics are unchanged, so `formatVersion` remains `1.0`. This is a prerelease identifier transition: older prerelease readers that only accept `memos-archive` cannot read new exports. The original prerelease fixture remains in `testdata/1.0/legacy.zip` and is tested alongside the current fixture.
|
||||
|
||||
### Versioning and evolution
|
||||
|
||||
`formatVersion` is `MAJOR.MINOR`.
|
||||
@@ -259,7 +267,7 @@ A change is a minor bump when it only adds optional members, adds entries, adds
|
||||
|
||||
Within a major version a member is never removed. A member that stops being useful is marked deprecated in the schema and writers keep emitting it.
|
||||
|
||||
Each version has its own schema directory, `docs/design/memo-archive/<MAJOR.MINOR>/`, and a golden archive under test data. CI validates every golden archive against its schema and imports every golden archive ever published, so a reader regression against an older version fails the build.
|
||||
Each version has its own schema directory, `docs/design/memo-export/<MAJOR.MINOR>/`, and a golden archive under test data. CI validates every golden archive against its schema and imports every golden archive ever published, so a reader regression against an older version fails the build.
|
||||
|
||||
### Security invariants
|
||||
|
||||
@@ -40,7 +40,7 @@ const (
|
||||
ScopeTranscribeUser Scope = "transcribe_user"
|
||||
// ScopeWriteUser counts content creation per user.
|
||||
ScopeWriteUser Scope = "write_user"
|
||||
// ScopeArchiveUser counts memo archive exports and imports per user.
|
||||
// ScopeArchiveUser counts memo exports and imports per user.
|
||||
ScopeArchiveUser Scope = "archive_user"
|
||||
)
|
||||
|
||||
|
||||
@@ -73,15 +73,15 @@ service UserService {
|
||||
}
|
||||
|
||||
// ExportMemos writes every memo the user created, with comments, archived
|
||||
// memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
// docs/design/memo-archive-format.md). Only the user may export their own
|
||||
// memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
// docs/design/memos-export-format.md). Only the user may export their own
|
||||
// memos. The body is the archive; content_type is its media type.
|
||||
rpc ExportMemos(ExportMemosRequest) returns (google.api.HttpBody) {
|
||||
option (google.api.http) = {get: "/api/v1/{name=users/*}:exportMemos"};
|
||||
option (google.api.method_signature) = "name";
|
||||
}
|
||||
|
||||
// ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
// ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
// the user's memos. The first call carries the spec and returns an
|
||||
// upload_id; later calls carry that upload_id. A finishing call with
|
||||
// validate_only returns the plan and keeps the archive staged; a finishing
|
||||
|
||||
@@ -148,11 +148,11 @@ type UserServiceClient interface {
|
||||
// GetUserStats returns statistics for a specific user.
|
||||
GetUserStats(context.Context, *connect.Request[v1.GetUserStatsRequest]) (*connect.Response[v1.UserStats], error)
|
||||
// ExportMemos writes every memo the user created, with comments, archived
|
||||
// memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
// docs/design/memo-archive-format.md). Only the user may export their own
|
||||
// memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
// docs/design/memos-export-format.md). Only the user may export their own
|
||||
// memos. The body is the archive; content_type is its media type.
|
||||
ExportMemos(context.Context, *connect.Request[v1.ExportMemosRequest]) (*connect.Response[httpbody.HttpBody], error)
|
||||
// ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
// ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
// the user's memos. The first call carries the spec and returns an
|
||||
// upload_id; later calls carry that upload_id. A finishing call with
|
||||
// validate_only returns the plan and keeps the archive staged; a finishing
|
||||
@@ -648,11 +648,11 @@ type UserServiceHandler interface {
|
||||
// GetUserStats returns statistics for a specific user.
|
||||
GetUserStats(context.Context, *connect.Request[v1.GetUserStatsRequest]) (*connect.Response[v1.UserStats], error)
|
||||
// ExportMemos writes every memo the user created, with comments, archived
|
||||
// memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
// docs/design/memo-archive-format.md). Only the user may export their own
|
||||
// memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
// docs/design/memos-export-format.md). Only the user may export their own
|
||||
// memos. The body is the archive; content_type is its media type.
|
||||
ExportMemos(context.Context, *connect.Request[v1.ExportMemosRequest]) (*connect.Response[httpbody.HttpBody], error)
|
||||
// ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
// ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
// the user's memos. The first call carries the spec and returns an
|
||||
// upload_id; later calls carry that upload_id. A finishing call with
|
||||
// validate_only returns the plan and keeps the archive staged; a finishing
|
||||
|
||||
@@ -78,11 +78,11 @@ type UserServiceClient interface {
|
||||
// GetUserStats returns statistics for a specific user.
|
||||
GetUserStats(ctx context.Context, in *GetUserStatsRequest, opts ...grpc.CallOption) (*UserStats, error)
|
||||
// ExportMemos writes every memo the user created, with comments, archived
|
||||
// memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
// docs/design/memo-archive-format.md). Only the user may export their own
|
||||
// memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
// docs/design/memos-export-format.md). Only the user may export their own
|
||||
// memos. The body is the archive; content_type is its media type.
|
||||
ExportMemos(ctx context.Context, in *ExportMemosRequest, opts ...grpc.CallOption) (*httpbody.HttpBody, error)
|
||||
// ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
// ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
// the user's memos. The first call carries the spec and returns an
|
||||
// upload_id; later calls carry that upload_id. A finishing call with
|
||||
// validate_only returns the plan and keeps the archive staged; a finishing
|
||||
@@ -504,11 +504,11 @@ type UserServiceServer interface {
|
||||
// GetUserStats returns statistics for a specific user.
|
||||
GetUserStats(context.Context, *GetUserStatsRequest) (*UserStats, error)
|
||||
// ExportMemos writes every memo the user created, with comments, archived
|
||||
// memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
// docs/design/memo-archive-format.md). Only the user may export their own
|
||||
// memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
// docs/design/memos-export-format.md). Only the user may export their own
|
||||
// memos. The body is the archive; content_type is its media type.
|
||||
ExportMemos(context.Context, *ExportMemosRequest) (*httpbody.HttpBody, error)
|
||||
// ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
// ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
// the user's memos. The first call carries the spec and returns an
|
||||
// upload_id; later calls carry that upload_id. A finishing call with
|
||||
// validate_only returns the plan and keeps the archive staged; a finishing
|
||||
|
||||
@@ -2853,8 +2853,8 @@ paths:
|
||||
- UserService
|
||||
description: |-
|
||||
ExportMemos writes every memo the user created, with comments, archived
|
||||
memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
docs/design/memo-archive-format.md). Only the user may export their own
|
||||
memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
docs/design/memos-export-format.md). Only the user may export their own
|
||||
memos. The body is the archive; content_type is its media type.
|
||||
operationId: UserService_ExportMemos
|
||||
parameters:
|
||||
@@ -2913,7 +2913,7 @@ paths:
|
||||
tags:
|
||||
- UserService
|
||||
description: |-
|
||||
ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
the user's memos. The first call carries the spec and returns an
|
||||
upload_id; later calls carry that upload_id. A finishing call with
|
||||
validate_only returns the plan and keeps the archive staged; a finishing
|
||||
|
||||
@@ -5,6 +5,8 @@ import (
|
||||
"context"
|
||||
"crypto/sha256"
|
||||
"encoding/hex"
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strconv"
|
||||
"testing"
|
||||
"time"
|
||||
@@ -15,7 +17,7 @@ import (
|
||||
"google.golang.org/protobuf/types/known/fieldmaskpb"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
|
||||
"github.com/usememos/memos/core/memoarchive"
|
||||
"github.com/usememos/memos/core/memoexport"
|
||||
"github.com/usememos/memos/internal/ratelimit"
|
||||
v1pb "github.com/usememos/memos/proto/gen/api/v1"
|
||||
storepb "github.com/usememos/memos/proto/gen/store"
|
||||
@@ -123,14 +125,14 @@ func mustTime(t *testing.T, value string) time.Time {
|
||||
return parsed
|
||||
}
|
||||
|
||||
func readArchive(t *testing.T, data []byte) *memoarchive.Archive {
|
||||
func readArchive(t *testing.T, data []byte) *memoexport.File {
|
||||
t.Helper()
|
||||
archive, err := memoarchive.Read(bytes.NewReader(data), int64(len(data)))
|
||||
archive, err := memoexport.Read(bytes.NewReader(data), int64(len(data)))
|
||||
require.NoError(t, err)
|
||||
return archive
|
||||
}
|
||||
|
||||
func exportArchive(t *testing.T, ts *TestService, user *store.User) *memoarchive.Archive {
|
||||
func exportArchive(t *testing.T, ts *TestService, user *store.User) *memoexport.File {
|
||||
t.Helper()
|
||||
return readArchive(t, exportArchiveBytes(t, ts, user))
|
||||
}
|
||||
@@ -138,19 +140,19 @@ func exportArchive(t *testing.T, ts *TestService, user *store.User) *memoarchive
|
||||
func exportArchiveBytes(t *testing.T, ts *TestService, user *store.User) []byte {
|
||||
t.Helper()
|
||||
var buffer bytes.Buffer
|
||||
require.NoError(t, ts.Service.ExportMemoArchive(context.Background(), user, &buffer))
|
||||
require.NoError(t, ts.Service.WriteMemoExport(context.Background(), user, &buffer))
|
||||
return buffer.Bytes()
|
||||
}
|
||||
|
||||
func archiveMemosByUID(archive *memoarchive.Archive) map[string]*memoarchive.Memo {
|
||||
byUID := make(map[string]*memoarchive.Memo, len(archive.Memos))
|
||||
func archiveMemosByUID(archive *memoexport.File) map[string]*memoexport.Memo {
|
||||
byUID := make(map[string]*memoexport.Memo, len(archive.Memos))
|
||||
for _, memo := range archive.Memos {
|
||||
byUID[memo.UID] = memo
|
||||
}
|
||||
return byUID
|
||||
}
|
||||
|
||||
func TestExportMemoArchive(t *testing.T) {
|
||||
func TestWriteMemoExport(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
fixture := buildArchiveFixture(t, ts, "exporter")
|
||||
@@ -164,9 +166,9 @@ func TestExportMemoArchive(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
|
||||
archive := exportArchive(t, ts, fixture.user)
|
||||
require.Equal(t, memoarchive.ScopeKindUser, archive.Manifest.Scope.Kind)
|
||||
require.Equal(t, memoexport.ScopeKindUser, archive.Manifest.Scope.Kind)
|
||||
require.Equal(t, "exporter", archive.Manifest.Scope.User.Username)
|
||||
require.Equal(t, &memoarchive.Counts{Memos: 5, Attachments: 1}, archive.Manifest.Counts)
|
||||
require.Equal(t, &memoexport.Counts{Memos: 5, Attachments: 1}, archive.Manifest.Counts)
|
||||
require.Empty(t, archive.Warnings)
|
||||
require.Len(t, archive.Memos, 5)
|
||||
|
||||
@@ -182,8 +184,8 @@ func TestExportMemoArchive(t *testing.T) {
|
||||
require.Equal(t, "NORMAL", parent.State)
|
||||
require.Equal(t, "PRIVATE", parent.Visibility)
|
||||
require.True(t, parent.Pinned)
|
||||
require.Equal(t, &memoarchive.Location{Placeholder: "Office", Latitude: 52.52, Longitude: 13.405}, parent.Location)
|
||||
require.Equal(t, []memoarchive.Relation{{Type: "REFERENCE", Memo: "referenced1"}}, parent.Relations)
|
||||
require.Equal(t, &memoexport.Location{Placeholder: "Office", Latitude: 52.52, Longitude: 13.405}, parent.Location)
|
||||
require.Equal(t, []memoexport.Relation{{Type: "REFERENCE", Memo: "referenced1"}}, parent.Relations)
|
||||
require.Empty(t, parent.Parent)
|
||||
content, err := archive.Content(parent)
|
||||
require.NoError(t, err)
|
||||
@@ -207,14 +209,14 @@ func TestExportMemoArchive(t *testing.T) {
|
||||
// The comment is older than its parent but must still follow it.
|
||||
require.Less(t, indexOfMemo(archive, "parent00001"), indexOfMemo(archive, "comment0001"))
|
||||
|
||||
require.Equal(t, &memoarchive.Space{UID: "team-notes", Title: "Team Notes"}, byUID["spacememo01"].Space)
|
||||
require.Equal(t, &memoexport.Space{UID: "team-notes", Title: "Team Notes"}, byUID["spacememo01"].Space)
|
||||
require.Equal(t, "SPACE", byUID["spacememo01"].Visibility)
|
||||
require.Equal(t, "ARCHIVED", byUID["archived001"].State)
|
||||
require.Equal(t, "PROTECTED", byUID["archived001"].Visibility)
|
||||
require.Equal(t, []string{"work"}, byUID["referenced1"].Tags)
|
||||
}
|
||||
|
||||
func indexOfMemo(archive *memoarchive.Archive, uid string) int {
|
||||
func indexOfMemo(archive *memoexport.File, uid string) int {
|
||||
for index, memo := range archive.Memos {
|
||||
if memo.UID == uid {
|
||||
return index
|
||||
@@ -223,7 +225,7 @@ func indexOfMemo(archive *memoarchive.Archive, uid string) int {
|
||||
return -1
|
||||
}
|
||||
|
||||
func TestImportMemoArchiveIntoAnotherAccount(t *testing.T) {
|
||||
func TestImportMemoExportIntoAnotherAccount(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
fixture := buildArchiveFixture(t, ts, "exporter")
|
||||
@@ -234,7 +236,7 @@ func TestImportMemoArchiveIntoAnotherAccount(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
importerCtx := ts.CreateUserContext(ctx, importer.ID)
|
||||
|
||||
report, err := ts.Service.ImportMemoArchive(importerCtx, importer, archive, v1pb.ImportMemosRequest_SKIP)
|
||||
report, err := ts.Service.ImportMemoExport(importerCtx, importer, archive, v1pb.ImportMemosRequest_SKIP)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, int32(5), report.Created)
|
||||
require.Zero(t, report.Updated)
|
||||
@@ -305,7 +307,7 @@ func TestImportMemoArchiveIntoAnotherAccount(t *testing.T) {
|
||||
require.Equal(t, fixture.photo, blob)
|
||||
}
|
||||
|
||||
func TestPlanMemoArchiveImport(t *testing.T) {
|
||||
func TestPlanMemoImport(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
fixture := buildArchiveFixture(t, ts, "owner")
|
||||
@@ -325,27 +327,27 @@ func TestPlanMemoArchiveImport(t *testing.T) {
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
plan, err := ts.Service.PlanMemoArchiveImport(fixture.userCtx, fixture.user, archive)
|
||||
plan, err := ts.Service.PlanMemoImport(fixture.userCtx, fixture.user, archive)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, int32(5), plan.Memos)
|
||||
require.Equal(t, int32(4), plan.Existing)
|
||||
require.Equal(t, int32(1), plan.Renamed)
|
||||
require.Zero(t, plan.New)
|
||||
|
||||
plan, err = ts.Service.PlanMemoArchiveImport(otherCtx, other, archive)
|
||||
plan, err = ts.Service.PlanMemoImport(otherCtx, other, archive)
|
||||
require.NoError(t, err)
|
||||
require.Zero(t, plan.Existing)
|
||||
require.Equal(t, int32(5), plan.Renamed)
|
||||
require.Zero(t, plan.New)
|
||||
}
|
||||
|
||||
func TestImportMemoArchiveConflictPolicies(t *testing.T) {
|
||||
func TestImportMemoExportConflictPolicies(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
fixture := buildArchiveFixture(t, ts, "owner")
|
||||
data := exportArchiveBytes(t, ts, fixture.user)
|
||||
ctx := context.Background()
|
||||
openArchive := func() *memoarchive.Archive { return readArchive(t, data) }
|
||||
openArchive := func() *memoexport.File { return readArchive(t, data) }
|
||||
countOwn := func() int {
|
||||
memos, err := ts.Store.ListMemos(ctx, &store.FindMemo{CreatorID: &fixture.user.ID})
|
||||
require.NoError(t, err)
|
||||
@@ -353,7 +355,7 @@ func TestImportMemoArchiveConflictPolicies(t *testing.T) {
|
||||
}
|
||||
|
||||
t.Run("skip is idempotent", func(t *testing.T) {
|
||||
report, err := ts.Service.ImportMemoArchive(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_SKIP)
|
||||
report, err := ts.Service.ImportMemoExport(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_SKIP)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, int32(5), report.Skipped)
|
||||
require.Zero(t, report.Created+report.Updated+report.Failed)
|
||||
@@ -368,7 +370,7 @@ func TestImportMemoArchiveConflictPolicies(t *testing.T) {
|
||||
})
|
||||
require.NoError(t, err)
|
||||
|
||||
report, err := ts.Service.ImportMemoArchive(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_REPLACE)
|
||||
report, err := ts.Service.ImportMemoExport(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_REPLACE)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, int32(5), report.Updated, "%v", report.Failures)
|
||||
require.Zero(t, report.Failed)
|
||||
@@ -387,7 +389,7 @@ func TestImportMemoArchiveConflictPolicies(t *testing.T) {
|
||||
})
|
||||
|
||||
t.Run("duplicate creates copies", func(t *testing.T) {
|
||||
report, err := ts.Service.ImportMemoArchive(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_DUPLICATE)
|
||||
report, err := ts.Service.ImportMemoExport(fixture.userCtx, fixture.user, openArchive(), v1pb.ImportMemosRequest_DUPLICATE)
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, int32(5), report.Created, "%v", report.Failures)
|
||||
require.Zero(t, report.Failed)
|
||||
@@ -419,8 +421,10 @@ func TestExportMemos(t *testing.T) {
|
||||
|
||||
body, err := ts.Service.ExportMemos(fixture.userCtx, &v1pb.ExportMemosRequest{Name: userName(fixture.user)})
|
||||
require.NoError(t, err)
|
||||
require.Equal(t, memoarchive.MediaType, body.ContentType)
|
||||
require.Len(t, readArchive(t, body.Data).Memos, 5)
|
||||
require.Equal(t, "application/vnd.usememos.export+zip", body.ContentType)
|
||||
exported := readArchive(t, body.Data)
|
||||
require.Equal(t, "memos-export", exported.Manifest.Format)
|
||||
require.Len(t, exported.Memos, 5)
|
||||
|
||||
other, err := ts.CreateRegularUser(ctx, "other")
|
||||
require.NoError(t, err)
|
||||
@@ -430,6 +434,42 @@ func TestExportMemos(t *testing.T) {
|
||||
require.Equal(t, codes.Unauthenticated, status.Code(err))
|
||||
}
|
||||
|
||||
func TestImportMemosExportFormats(t *testing.T) {
|
||||
for _, filename := range []string{"golden.zip", "legacy.zip"} {
|
||||
t.Run(filename, func(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
t.Cleanup(ts.Service.CloseUploads)
|
||||
user, err := ts.CreateRegularUser(context.Background(), "importer")
|
||||
require.NoError(t, err)
|
||||
ctx := ts.CreateUserContext(context.Background(), user.ID)
|
||||
data, err := os.ReadFile(filepath.Join("..", "..", "..", "..", "core", "memoexport", "testdata", "1.0", filename))
|
||||
require.NoError(t, err)
|
||||
response, err := ts.Service.ImportMemos(ctx, &v1pb.ImportMemosRequest{
|
||||
Name: userName(user),
|
||||
Upload: &v1pb.ImportMemosRequest_Spec{Spec: &v1pb.ImportMemosSpec{TotalSize: int64(len(data))}},
|
||||
Data: data,
|
||||
FinishWrite: true,
|
||||
})
|
||||
require.NoError(t, err)
|
||||
report := response.GetReport()
|
||||
require.NotNil(t, report)
|
||||
require.EqualValues(t, 3, report.Created)
|
||||
require.Empty(t, report.Failures)
|
||||
memos, err := ts.Store.ListMemos(ctx, &store.FindMemo{CreatorID: &user.ID})
|
||||
require.NoError(t, err)
|
||||
require.Len(t, memos, 3)
|
||||
archived := 0
|
||||
for _, memo := range memos {
|
||||
if memo.RowStatus == store.Archived {
|
||||
archived++
|
||||
}
|
||||
}
|
||||
require.Equal(t, 1, archived)
|
||||
})
|
||||
}
|
||||
}
|
||||
|
||||
func TestImportMemos(t *testing.T) {
|
||||
ts := NewTestService(t)
|
||||
defer ts.Cleanup()
|
||||
@@ -513,7 +553,7 @@ func TestImportMemos(t *testing.T) {
|
||||
FinishWrite: true,
|
||||
})
|
||||
require.Equal(t, codes.InvalidArgument, status.Code(err))
|
||||
require.Contains(t, err.Error(), "invalid memo archive")
|
||||
require.Contains(t, err.Error(), "invalid memo export file")
|
||||
})
|
||||
|
||||
t.Run("refuses another account's upload id", func(t *testing.T) {
|
||||
@@ -531,7 +571,7 @@ func TestImportMemos(t *testing.T) {
|
||||
})
|
||||
}
|
||||
|
||||
// buildImportArchive writes a one-memo archive whose attachments are given
|
||||
// buildImportArchive writes a one-memo export file whose attachments are given
|
||||
// as (uid, filename, bytes). Sizes and digests are computed from the bytes.
|
||||
func buildImportArchive(t *testing.T, username string, attachments []struct {
|
||||
uid, filename string
|
||||
@@ -539,22 +579,22 @@ func buildImportArchive(t *testing.T, username string, attachments []struct {
|
||||
}) []byte {
|
||||
t.Helper()
|
||||
var buf bytes.Buffer
|
||||
writer := memoarchive.NewWriter(&buf, mustTime(t, "2026-04-01T00:00:00Z"))
|
||||
require.NoError(t, writer.WriteManifest(&memoarchive.Manifest{
|
||||
Format: memoarchive.Format, FormatVersion: memoarchive.FormatVersion,
|
||||
Generator: memoarchive.Generator{Name: "test", Version: "1"},
|
||||
writer := memoexport.NewWriter(&buf, mustTime(t, "2026-04-01T00:00:00Z"))
|
||||
require.NoError(t, writer.WriteManifest(&memoexport.Manifest{
|
||||
Format: memoexport.Format, FormatVersion: memoexport.FormatVersion,
|
||||
Generator: memoexport.Generator{Name: "test", Version: "1"},
|
||||
ExportTime: "2026-04-01T00:00:00Z",
|
||||
Scope: memoarchive.Scope{Kind: memoarchive.ScopeKindUser, User: &memoarchive.ScopeUser{Username: username}},
|
||||
Scope: memoexport.Scope{Kind: memoexport.ScopeKindUser, User: &memoexport.ScopeUser{Username: username}},
|
||||
}))
|
||||
record := &memoarchive.Memo{
|
||||
record := &memoexport.Memo{
|
||||
UID: "importedmemo1", Creator: username, CreateTime: "2026-04-01T00:00:00Z", UpdateTime: "2026-04-01T00:00:00Z",
|
||||
State: "NORMAL", Visibility: "PRIVATE", ContentPath: memoarchive.ContentPath("importedmemo1"),
|
||||
State: "NORMAL", Visibility: "PRIVATE", ContentPath: memoexport.ContentPath("importedmemo1"),
|
||||
}
|
||||
for _, attachment := range attachments {
|
||||
path := memoarchive.AttachmentPath(attachment.uid, attachment.filename)
|
||||
path := memoexport.AttachmentPath(attachment.uid, attachment.filename)
|
||||
digest, size, err := writer.WriteAttachment(path, bytes.NewReader(attachment.content))
|
||||
require.NoError(t, err)
|
||||
record.Attachments = append(record.Attachments, memoarchive.Attachment{
|
||||
record.Attachments = append(record.Attachments, memoexport.Attachment{
|
||||
UID: attachment.uid, Filename: attachment.filename, Type: "application/octet-stream", Size: size, SHA256: digest, Path: path,
|
||||
CreateTime: "2026-04-01T00:00:00Z",
|
||||
})
|
||||
@@ -10,7 +10,7 @@ import (
|
||||
"github.com/pkg/errors"
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
|
||||
"github.com/usememos/memos/core/memoarchive"
|
||||
"github.com/usememos/memos/core/memoexport"
|
||||
storepb "github.com/usememos/memos/proto/gen/store"
|
||||
"github.com/usememos/memos/store"
|
||||
)
|
||||
@@ -18,9 +18,9 @@ import (
|
||||
// archiveQueryChunk bounds the number of IDs placed in one IN clause.
|
||||
const archiveQueryChunk = 500
|
||||
|
||||
// memoArchiveExport gathers everything one user's archive needs before any
|
||||
// memoExportData gathers everything one user's archive needs before any
|
||||
// entry is written, so the manifest can carry accurate counts.
|
||||
type memoArchiveExport struct {
|
||||
type memoExportData struct {
|
||||
memos []*store.Memo
|
||||
attachmentsByID map[int32][]*store.Attachment
|
||||
relatedIDsByID map[int32][]int32
|
||||
@@ -31,34 +31,34 @@ type memoArchiveExport struct {
|
||||
attachmentsCount int
|
||||
}
|
||||
|
||||
// ExportMemoArchive writes a Memo Archive holding every memo the user
|
||||
// WriteMemoExport writes a Memos export file holding every memo the user
|
||||
// created, including comments and archived memos, and the attachments linked
|
||||
// to them. Nothing another user created is included.
|
||||
func (s *APIV1Service) ExportMemoArchive(ctx context.Context, user *store.User, w io.Writer) error {
|
||||
func (s *APIV1Service) WriteMemoExport(ctx context.Context, user *store.User, w io.Writer) error {
|
||||
if user == nil {
|
||||
return errors.New("user is required")
|
||||
}
|
||||
export, err := s.loadMemoArchiveExport(ctx, user)
|
||||
export, err := s.loadMemoExportData(ctx, user)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
exportTime := time.Now().UTC().Truncate(time.Second)
|
||||
writer := memoarchive.NewWriter(w, exportTime)
|
||||
if err := writer.WriteManifest(&memoarchive.Manifest{
|
||||
Generator: memoarchive.Generator{Name: "memos", Version: s.Profile.Version},
|
||||
ExportTime: memoarchive.FormatTime(exportTime.Unix()),
|
||||
Scope: memoarchive.Scope{
|
||||
Kind: memoarchive.ScopeKindUser,
|
||||
User: &memoarchive.ScopeUser{Username: user.Username, DisplayName: user.Nickname},
|
||||
writer := memoexport.NewWriter(w, exportTime)
|
||||
if err := writer.WriteManifest(&memoexport.Manifest{
|
||||
Generator: memoexport.Generator{Name: "memos", Version: s.Profile.Version},
|
||||
ExportTime: memoexport.FormatTime(exportTime.Unix()),
|
||||
Scope: memoexport.Scope{
|
||||
Kind: memoexport.ScopeKindUser,
|
||||
User: &memoexport.ScopeUser{Username: user.Username, DisplayName: user.Nickname},
|
||||
},
|
||||
Counts: &memoarchive.Counts{Memos: len(export.memos), Attachments: export.attachmentsCount},
|
||||
Counts: &memoexport.Counts{Memos: len(export.memos), Attachments: export.attachmentsCount},
|
||||
}); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
for _, memo := range export.memos {
|
||||
record, err := s.buildMemoArchiveRecord(ctx, writer, user, export, memo)
|
||||
record, err := s.buildMemoExportRecord(ctx, writer, user, export, memo)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
@@ -69,12 +69,12 @@ func (s *APIV1Service) ExportMemoArchive(ctx context.Context, user *store.User,
|
||||
return writer.Close()
|
||||
}
|
||||
|
||||
func (s *APIV1Service) loadMemoArchiveExport(ctx context.Context, user *store.User) (*memoArchiveExport, error) {
|
||||
func (s *APIV1Service) loadMemoExportData(ctx context.Context, user *store.User) (*memoExportData, error) {
|
||||
memos, err := s.Store.ListMemos(ctx, &store.FindMemo{CreatorID: &user.ID})
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "failed to list memos")
|
||||
}
|
||||
export := &memoArchiveExport{
|
||||
export := &memoExportData{
|
||||
memos: memos,
|
||||
attachmentsByID: make(map[int32][]*store.Attachment),
|
||||
relatedIDsByID: make(map[int32][]int32),
|
||||
@@ -165,19 +165,19 @@ func (s *APIV1Service) loadMemoArchiveExport(ctx context.Context, user *store.Us
|
||||
return export, nil
|
||||
}
|
||||
|
||||
func (s *APIV1Service) buildMemoArchiveRecord(ctx context.Context, writer *memoarchive.Writer, user *store.User, export *memoArchiveExport, memo *store.Memo) (*memoarchive.Memo, error) {
|
||||
record := &memoarchive.Memo{
|
||||
func (s *APIV1Service) buildMemoExportRecord(ctx context.Context, writer *memoexport.Writer, user *store.User, export *memoExportData, memo *store.Memo) (*memoexport.Memo, error) {
|
||||
record := &memoexport.Memo{
|
||||
UID: memo.UID,
|
||||
Creator: user.Username,
|
||||
CreateTime: memoarchive.FormatTime(memo.CreatedTs),
|
||||
UpdateTime: memoarchive.FormatTime(memo.UpdatedTs),
|
||||
CreateTime: memoexport.FormatTime(memo.CreatedTs),
|
||||
UpdateTime: memoexport.FormatTime(memo.UpdatedTs),
|
||||
State: string(memo.RowStatus),
|
||||
Visibility: memo.Visibility.String(),
|
||||
Pinned: memo.Pinned,
|
||||
Tags: memo.Payload.GetTags(),
|
||||
}
|
||||
if location := memo.Payload.GetLocation(); location != nil {
|
||||
record.Location = &memoarchive.Location{
|
||||
record.Location = &memoexport.Location{
|
||||
Placeholder: location.Placeholder,
|
||||
Latitude: location.Latitude,
|
||||
Longitude: location.Longitude,
|
||||
@@ -185,7 +185,7 @@ func (s *APIV1Service) buildMemoArchiveRecord(ctx context.Context, writer *memoa
|
||||
}
|
||||
if memo.SpaceID != nil {
|
||||
if space := export.spacesByID[*memo.SpaceID]; space != nil {
|
||||
record.Space = &memoarchive.Space{UID: space.UID, Title: space.Title}
|
||||
record.Space = &memoexport.Space{UID: space.UID, Title: space.Title}
|
||||
}
|
||||
}
|
||||
if memo.ParentUID != nil && *memo.ParentUID != "" {
|
||||
@@ -196,26 +196,26 @@ func (s *APIV1Service) buildMemoArchiveRecord(ctx context.Context, writer *memoa
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
record.Relations = append(record.Relations, memoarchive.Relation{Type: memoarchive.RelationReference, Memo: uid})
|
||||
record.Relations = append(record.Relations, memoexport.Relation{Type: memoexport.RelationReference, Memo: uid})
|
||||
}
|
||||
for _, reaction := range export.reactionsByID[memo.ID] {
|
||||
username, ok := export.usernames[reaction.CreatorID]
|
||||
if !ok {
|
||||
continue
|
||||
}
|
||||
record.Reactions = append(record.Reactions, memoarchive.Reaction{
|
||||
record.Reactions = append(record.Reactions, memoexport.Reaction{
|
||||
ReactionType: reaction.ReactionType,
|
||||
Creator: username,
|
||||
CreateTime: memoarchive.FormatTime(reaction.CreatedTs),
|
||||
CreateTime: memoexport.FormatTime(reaction.CreatedTs),
|
||||
})
|
||||
}
|
||||
for _, attachment := range export.attachmentsByID[memo.ID] {
|
||||
entry := memoarchive.Attachment{
|
||||
entry := memoexport.Attachment{
|
||||
UID: attachment.UID,
|
||||
Filename: attachment.Filename,
|
||||
Type: attachment.Type,
|
||||
Size: attachment.Size,
|
||||
CreateTime: memoarchive.FormatTime(attachment.CreatedTs),
|
||||
CreateTime: memoexport.FormatTime(attachment.CreatedTs),
|
||||
}
|
||||
if metadata := convertMediaMetadataFromStore(attachment.Payload.GetMediaMetadata()); metadata != nil {
|
||||
raw, err := protojson.Marshal(metadata)
|
||||
@@ -231,7 +231,7 @@ func (s *APIV1Service) buildMemoArchiveRecord(ctx context.Context, writer *memoa
|
||||
if err != nil {
|
||||
return nil, errors.Wrapf(err, "failed to read attachment %s", attachment.UID)
|
||||
}
|
||||
entry.Path = memoarchive.AttachmentPath(attachment.UID, attachment.Filename)
|
||||
entry.Path = memoexport.AttachmentPath(attachment.UID, attachment.Filename)
|
||||
digest, size, err := writer.WriteAttachment(entry.Path, content)
|
||||
_ = content.Close()
|
||||
if err != nil {
|
||||
@@ -16,7 +16,7 @@ import (
|
||||
"google.golang.org/protobuf/encoding/protojson"
|
||||
"google.golang.org/protobuf/types/known/timestamppb"
|
||||
|
||||
"github.com/usememos/memos/core/memoarchive"
|
||||
"github.com/usememos/memos/core/memoexport"
|
||||
"github.com/usememos/memos/core/memopayload"
|
||||
"github.com/usememos/memos/internal/ratelimit"
|
||||
v1pb "github.com/usememos/memos/proto/gen/api/v1"
|
||||
@@ -24,13 +24,13 @@ import (
|
||||
"github.com/usememos/memos/store"
|
||||
)
|
||||
|
||||
// PlanMemoArchiveImport classifies every record of an archive against the
|
||||
// PlanMemoImport classifies every record of an archive against the
|
||||
// instance without writing anything.
|
||||
func (s *APIV1Service) PlanMemoArchiveImport(ctx context.Context, user *store.User, archive *memoarchive.Archive) (*v1pb.MemoImportPlan, error) {
|
||||
func (s *APIV1Service) PlanMemoImport(ctx context.Context, user *store.User, archive *memoexport.File) (*v1pb.MemoImportPlan, error) {
|
||||
if user == nil || archive == nil {
|
||||
return nil, errors.New("user and archive are required")
|
||||
}
|
||||
exportTime, err := memoarchive.ParseTime(archive.Manifest.ExportTime)
|
||||
exportTime, err := memoexport.ParseTime(archive.Manifest.ExportTime)
|
||||
if err != nil {
|
||||
return nil, errors.Wrap(err, "invalid export time")
|
||||
}
|
||||
@@ -68,7 +68,7 @@ func (s *APIV1Service) PlanMemoArchiveImport(ctx context.Context, user *store.Us
|
||||
}
|
||||
|
||||
// findMemosByUID loads the instance memos whose UIDs appear in the archive.
|
||||
func (s *APIV1Service) findMemosByUID(ctx context.Context, archive *memoarchive.Archive, excludeContent bool) (map[string]*store.Memo, error) {
|
||||
func (s *APIV1Service) findMemosByUID(ctx context.Context, archive *memoexport.File, excludeContent bool) (map[string]*store.Memo, error) {
|
||||
uids := make([]string, 0, len(archive.Memos))
|
||||
for _, record := range archive.Memos {
|
||||
uids = append(uids, record.UID)
|
||||
@@ -86,7 +86,7 @@ func (s *APIV1Service) findMemosByUID(ctx context.Context, archive *memoarchive.
|
||||
return found, nil
|
||||
}
|
||||
|
||||
func archiveIssues(warnings []memoarchive.Warning) []*v1pb.MemoImportIssue {
|
||||
func archiveIssues(warnings []memoexport.Warning) []*v1pb.MemoImportIssue {
|
||||
issues := make([]*v1pb.MemoImportIssue, 0, len(warnings))
|
||||
for _, warning := range warnings {
|
||||
issues = append(issues, &v1pb.MemoImportIssue{Memo: warning.UID, Message: warning.Message})
|
||||
@@ -97,15 +97,15 @@ func archiveIssues(warnings []memoarchive.Warning) []*v1pb.MemoImportIssue {
|
||||
// writtenMemo pairs an archive record with the instance memo it was created
|
||||
// as or merged into, for the relation pass.
|
||||
type writtenMemo struct {
|
||||
record *memoarchive.Memo
|
||||
record *memoexport.Memo
|
||||
memo *store.Memo
|
||||
}
|
||||
|
||||
type memoArchiveImporter struct {
|
||||
type memoImporter struct {
|
||||
service *APIV1Service
|
||||
ctx context.Context
|
||||
user *store.User
|
||||
archive *memoarchive.Archive
|
||||
archive *memoexport.File
|
||||
policy v1pb.ImportMemosRequest_ConflictPolicy
|
||||
report *v1pb.MemoImportReport
|
||||
|
||||
@@ -126,10 +126,10 @@ type memoArchiveImporter struct {
|
||||
memberSpaces []*store.Space
|
||||
}
|
||||
|
||||
// ImportMemoArchive applies an opened archive to the importing user's memos
|
||||
// ImportMemoExport applies an opened archive to the importing user's memos
|
||||
// following the documented import semantics. The user in ctx must be the
|
||||
// same as user.
|
||||
func (s *APIV1Service) ImportMemoArchive(ctx context.Context, user *store.User, archive *memoarchive.Archive, policy v1pb.ImportMemosRequest_ConflictPolicy) (*v1pb.MemoImportReport, error) {
|
||||
func (s *APIV1Service) ImportMemoExport(ctx context.Context, user *store.User, archive *memoexport.File, policy v1pb.ImportMemosRequest_ConflictPolicy) (*v1pb.MemoImportReport, error) {
|
||||
if user == nil || archive == nil {
|
||||
return nil, errors.New("user and archive are required")
|
||||
}
|
||||
@@ -148,7 +148,7 @@ func (s *APIV1Service) ImportMemoArchive(ctx context.Context, user *store.User,
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
importer := &memoArchiveImporter{
|
||||
importer := &memoImporter{
|
||||
service: s,
|
||||
ctx: ctx,
|
||||
user: user,
|
||||
@@ -188,11 +188,11 @@ func (s *APIV1Service) ImportMemoArchive(ctx context.Context, user *store.User,
|
||||
return importer.report, nil
|
||||
}
|
||||
|
||||
func (i *memoArchiveImporter) warn(uid, message string) {
|
||||
func (i *memoImporter) warn(uid, message string) {
|
||||
i.report.Warnings = append(i.report.Warnings, &v1pb.MemoImportIssue{Memo: uid, Message: message})
|
||||
}
|
||||
|
||||
func (i *memoArchiveImporter) importMemo(record *memoarchive.Memo) error {
|
||||
func (i *memoImporter) importMemo(record *memoexport.Memo) error {
|
||||
content, err := i.archive.Content(record)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -217,7 +217,7 @@ func (i *memoArchiveImporter) importMemo(record *memoarchive.Memo) error {
|
||||
return i.createMemo(record, targetUID, content)
|
||||
}
|
||||
|
||||
func (i *memoArchiveImporter) createMemo(record *memoarchive.Memo, targetUID string, content []byte) error {
|
||||
func (i *memoImporter) createMemo(record *memoexport.Memo, targetUID string, content []byte) error {
|
||||
memo, err := i.buildMemo(record, targetUID, content)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -269,7 +269,7 @@ func (i *memoArchiveImporter) createMemo(record *memoarchive.Memo, targetUID str
|
||||
return nil
|
||||
}
|
||||
|
||||
func (i *memoArchiveImporter) replaceMemo(record *memoarchive.Memo, existing *store.Memo, content []byte) error {
|
||||
func (i *memoImporter) replaceMemo(record *memoexport.Memo, existing *store.Memo, content []byte) error {
|
||||
next, err := i.buildMemo(record, existing.UID, content)
|
||||
if err != nil {
|
||||
return err
|
||||
@@ -316,7 +316,7 @@ func (i *memoArchiveImporter) replaceMemo(record *memoarchive.Memo, existing *st
|
||||
// bindAttachments prepares the memo's attachment set, resolves the managed
|
||||
// references in its content, and runs write. When any step fails, the
|
||||
// attachments this run created for the memo are removed again.
|
||||
func (i *memoArchiveImporter) bindAttachments(memo *store.Memo, names, added []*v1pb.Attachment, write func(*preparedMemoAttachments, []int32) error) error {
|
||||
func (i *memoImporter) bindAttachments(memo *store.Memo, names, added []*v1pb.Attachment, write func(*preparedMemoAttachments, []int32) error) error {
|
||||
err := func() error {
|
||||
prepared, err := i.service.prepareMemoAttachments(i.ctx, i.user, memo, names)
|
||||
if err != nil {
|
||||
@@ -336,12 +336,12 @@ func (i *memoArchiveImporter) bindAttachments(memo *store.Memo, names, added []*
|
||||
|
||||
// buildMemo turns a record into the memo row to write, resolving the Space
|
||||
// and applying the visibility fallback.
|
||||
func (i *memoArchiveImporter) buildMemo(record *memoarchive.Memo, uid string, content []byte) (*store.Memo, error) {
|
||||
createdTs, err := memoarchive.ParseTime(record.CreateTime)
|
||||
func (i *memoImporter) buildMemo(record *memoexport.Memo, uid string, content []byte) (*store.Memo, error) {
|
||||
createdTs, err := memoexport.ParseTime(record.CreateTime)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
updatedTs, err := memoarchive.ParseTime(record.UpdateTime)
|
||||
updatedTs, err := memoexport.ParseTime(record.UpdateTime)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -384,7 +384,7 @@ func (i *memoArchiveImporter) buildMemo(record *memoarchive.Memo, uid string, co
|
||||
|
||||
// resolveSpace matches a record's Space by UID, then by title, among the
|
||||
// Spaces the importing user is an active member of.
|
||||
func (i *memoArchiveImporter) resolveSpace(space *memoarchive.Space) (*int32, error) {
|
||||
func (i *memoImporter) resolveSpace(space *memoexport.Space) (*int32, error) {
|
||||
if cached, ok := i.spaces[space.UID]; ok {
|
||||
return cached, nil
|
||||
}
|
||||
@@ -416,7 +416,7 @@ func (i *memoArchiveImporter) resolveSpace(space *memoarchive.Space) (*int32, er
|
||||
|
||||
// resolveMemo finds the instance memo an archive UID refers to: one this run
|
||||
// has already placed, or one on the instance the user may read.
|
||||
func (i *memoArchiveImporter) resolveMemo(uid string) (*store.Memo, error) {
|
||||
func (i *memoImporter) resolveMemo(uid string) (*store.Memo, error) {
|
||||
if memo, ok := i.resolved[uid]; ok {
|
||||
return memo, nil
|
||||
}
|
||||
@@ -429,7 +429,7 @@ func (i *memoArchiveImporter) resolveMemo(uid string) (*store.Memo, error) {
|
||||
|
||||
// importAttachments creates the attachments of a record that the memo does
|
||||
// not already hold and returns their names for binding.
|
||||
func (i *memoArchiveImporter) importAttachments(record *memoarchive.Memo, current []*store.Attachment) ([]*v1pb.Attachment, error) {
|
||||
func (i *memoImporter) importAttachments(record *memoexport.Memo, current []*store.Attachment) ([]*v1pb.Attachment, error) {
|
||||
bound := make(map[string]struct{}, len(current))
|
||||
for _, attachment := range current {
|
||||
bound[attachment.UID] = struct{}{}
|
||||
@@ -461,7 +461,7 @@ func (i *memoArchiveImporter) importAttachments(record *memoarchive.Memo, curren
|
||||
|
||||
// importAttachment stores one attachment entry and returns the resource name
|
||||
// to bind, and whether this run stored a new attachment for it.
|
||||
func (i *memoArchiveImporter) importAttachment(entry *memoarchive.Attachment) (string, bool, error) {
|
||||
func (i *memoImporter) importAttachment(entry *memoexport.Attachment) (string, bool, error) {
|
||||
mimeType, ok := normalizeMimeType(entry.Type)
|
||||
if !ok {
|
||||
return "", false, errors.Errorf("invalid media type %q", entry.Type)
|
||||
@@ -485,7 +485,7 @@ func (i *memoArchiveImporter) importAttachment(entry *memoarchive.Attachment) (s
|
||||
}
|
||||
|
||||
// storeAttachment writes a new attachment for the entry under uid.
|
||||
func (i *memoArchiveImporter) storeAttachment(entry *memoarchive.Attachment, uid, mimeType string) (string, error) {
|
||||
func (i *memoImporter) storeAttachment(entry *memoexport.Attachment, uid, mimeType string) (string, error) {
|
||||
if entry.ExternalLink != "" {
|
||||
attachment, err := i.service.Store.CreateAttachment(i.ctx, &store.Attachment{
|
||||
UID: uid,
|
||||
@@ -536,7 +536,7 @@ func (i *memoArchiveImporter) storeAttachment(entry *memoarchive.Attachment, uid
|
||||
// resolveAttachmentUID decides which UID a new attachment gets. It returns
|
||||
// the empty string when an unlinked attachment with the same UID, owner, and
|
||||
// bytes already exists and should simply be bound.
|
||||
func (i *memoArchiveImporter) resolveAttachmentUID(entry *memoarchive.Attachment) (string, error) {
|
||||
func (i *memoImporter) resolveAttachmentUID(entry *memoexport.Attachment) (string, error) {
|
||||
existing, err := i.service.Store.GetAttachment(i.ctx, &store.FindAttachment{UID: &entry.UID})
|
||||
if err != nil {
|
||||
return "", errors.Wrap(err, "failed to look up attachment")
|
||||
@@ -555,7 +555,7 @@ func (i *memoArchiveImporter) resolveAttachmentUID(entry *memoarchive.Attachment
|
||||
|
||||
// storedAttachmentDigest streams an attachment from storage and returns its
|
||||
// lowercase hexadecimal SHA-256.
|
||||
func (i *memoArchiveImporter) storedAttachmentDigest(attachment *store.Attachment) (string, error) {
|
||||
func (i *memoImporter) storedAttachmentDigest(attachment *store.Attachment) (string, error) {
|
||||
content, err := i.service.openAttachmentContent(i.ctx, attachment)
|
||||
if err != nil {
|
||||
return "", err
|
||||
@@ -570,7 +570,7 @@ func (i *memoArchiveImporter) storedAttachmentDigest(attachment *store.Attachmen
|
||||
|
||||
// discardAttachments removes attachments this run created for a memo that
|
||||
// then failed, so no orphan uploads are left behind.
|
||||
func (i *memoArchiveImporter) discardAttachments(attachments []*v1pb.Attachment) {
|
||||
func (i *memoImporter) discardAttachments(attachments []*v1pb.Attachment) {
|
||||
for _, attachment := range attachments {
|
||||
uid, err := ExtractAttachmentUIDFromName(attachment.Name)
|
||||
if err != nil {
|
||||
@@ -589,7 +589,7 @@ func (i *memoArchiveImporter) discardAttachments(attachments []*v1pb.Attachment)
|
||||
// applyRelations replaces the memo's REFERENCE relations with those from the
|
||||
// record, skipping targets that exist neither in the archive nor on the
|
||||
// instance.
|
||||
func (i *memoArchiveImporter) applyRelations(written writtenMemo) error {
|
||||
func (i *memoImporter) applyRelations(written writtenMemo) error {
|
||||
record := written.record
|
||||
if len(record.Relations) == 0 {
|
||||
return nil
|
||||
+15
-15
@@ -11,7 +11,7 @@ import (
|
||||
"google.golang.org/grpc/codes"
|
||||
"google.golang.org/grpc/status"
|
||||
|
||||
"github.com/usememos/memos/core/memoarchive"
|
||||
"github.com/usememos/memos/core/memoexport"
|
||||
"github.com/usememos/memos/internal/ratelimit"
|
||||
v1pb "github.com/usememos/memos/proto/gen/api/v1"
|
||||
"github.com/usememos/memos/store"
|
||||
@@ -32,8 +32,8 @@ type memoImportState struct {
|
||||
|
||||
type memoImports = uploadSessions[memoImportState]
|
||||
|
||||
// resolveArchiveOwner resolves users/{user} and asserts it is the caller.
|
||||
func (s *APIV1Service) resolveArchiveOwner(ctx context.Context, name string) (*store.User, error) {
|
||||
// resolveMemoTransferOwner resolves users/{user} and asserts it is the caller.
|
||||
func (s *APIV1Service) resolveMemoTransferOwner(ctx context.Context, name string) (*store.User, error) {
|
||||
user, err := ResolveUserByName(ctx, s.Store, name)
|
||||
if err != nil {
|
||||
return nil, status.Errorf(codes.InvalidArgument, "invalid user name: %v", err)
|
||||
@@ -47,9 +47,9 @@ func (s *APIV1Service) resolveArchiveOwner(ctx context.Context, name string) (*s
|
||||
return user, nil
|
||||
}
|
||||
|
||||
// ExportMemos writes the caller's Memo Archive into the response body.
|
||||
// ExportMemos writes the caller's Memos export file into the response body.
|
||||
func (s *APIV1Service) ExportMemos(ctx context.Context, request *v1pb.ExportMemosRequest) (*httpbody.HttpBody, error) {
|
||||
user, err := s.resolveArchiveOwner(ctx, request.Name)
|
||||
user, err := s.resolveMemoTransferOwner(ctx, request.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -57,17 +57,17 @@ func (s *APIV1Service) ExportMemos(ctx context.Context, request *v1pb.ExportMemo
|
||||
return nil, err
|
||||
}
|
||||
var archive bytes.Buffer
|
||||
if err := s.ExportMemoArchive(ctx, user, &archive); err != nil {
|
||||
slog.Error("memo archive export failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
if err := s.WriteMemoExport(ctx, user, &archive); err != nil {
|
||||
slog.Error("memo export failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
return nil, status.Error(codes.Internal, "failed to export memos")
|
||||
}
|
||||
return &httpbody.HttpBody{ContentType: memoarchive.MediaType, Data: archive.Bytes()}, nil
|
||||
return &httpbody.HttpBody{ContentType: memoexport.MediaType, Data: archive.Bytes()}, nil
|
||||
}
|
||||
|
||||
// ImportMemos stages an archive in chunks and, on the finishing call, plans
|
||||
// or imports it. See the proto comment for the protocol.
|
||||
func (s *APIV1Service) ImportMemos(ctx context.Context, request *v1pb.ImportMemosRequest) (*v1pb.ImportMemosResponse, error) {
|
||||
user, err := s.resolveArchiveOwner(ctx, request.Name)
|
||||
user, err := s.resolveMemoTransferOwner(ctx, request.Name)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
@@ -135,9 +135,9 @@ func (s *APIV1Service) finishMemoImport(ctx context.Context, user *store.User, u
|
||||
return status.Errorf(codes.Internal, "failed to open upload file: %v", err)
|
||||
}
|
||||
defer file.Close()
|
||||
archive, err := memoarchive.Read(file, upload.totalSize)
|
||||
archive, err := memoexport.Read(file, upload.totalSize)
|
||||
if err != nil {
|
||||
return status.Errorf(codes.InvalidArgument, "invalid memo archive: %v", err)
|
||||
return status.Errorf(codes.InvalidArgument, "invalid memo export file: %v", err)
|
||||
}
|
||||
if request.ValidateOnly {
|
||||
// A plan can be requested again and again on the same staged archive,
|
||||
@@ -145,17 +145,17 @@ func (s *APIV1Service) finishMemoImport(ctx context.Context, user *store.User, u
|
||||
if err := s.throttleAndCharge(ratelimit.ScopeArchiveUser, userKey(user.ID), 1); err != nil {
|
||||
return err
|
||||
}
|
||||
plan, err := s.PlanMemoArchiveImport(ctx, user, archive)
|
||||
plan, err := s.PlanMemoImport(ctx, user, archive)
|
||||
if err != nil {
|
||||
slog.Error("memo archive plan failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
slog.Error("memo import planning failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
return status.Error(codes.Internal, "failed to inspect the archive")
|
||||
}
|
||||
response.Result = &v1pb.ImportMemosResponse_Plan{Plan: plan}
|
||||
return nil
|
||||
}
|
||||
report, err := s.ImportMemoArchive(ctx, user, archive, request.ConflictPolicy)
|
||||
report, err := s.ImportMemoExport(ctx, user, archive, request.ConflictPolicy)
|
||||
if err != nil {
|
||||
slog.Error("memo archive import failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
slog.Error("memo import failed", slog.Int("user", int(user.ID)), slog.Any("error", err))
|
||||
return status.Error(codes.Internal, "failed to import memos")
|
||||
}
|
||||
upload.state.report = report
|
||||
@@ -58,7 +58,7 @@ func convertMemoViewFromStore(username string, memoView *storepb.MemoViewsUserSe
|
||||
}
|
||||
|
||||
// requireCallerIs asserts that the caller is user. Personal resources such as
|
||||
// memo views and memo archives are never reachable by another account.
|
||||
// memo views and memo exports are never reachable by another account.
|
||||
func (s *APIV1Service) requireCallerIs(ctx context.Context, user *store.User) error {
|
||||
currentUser, err := s.fetchCurrentUser(ctx)
|
||||
if err != nil {
|
||||
|
||||
+40
-42
@@ -9,7 +9,7 @@ import { Label } from "@/components/ui/label";
|
||||
import { RadioGroup, RadioGroupItem } from "@/components/ui/radio-group";
|
||||
import useCurrentUser from "@/hooks/useCurrentUser";
|
||||
import { getErrorMessage } from "@/lib/error";
|
||||
import { exportMemos, importStagedMemoArchive, type StagedMemoArchive, stageMemoArchive } from "@/lib/memo-archive";
|
||||
import { exportMemos, importStagedMemos, type StagedMemoImport, stageMemoImport } from "@/lib/memo-export";
|
||||
import type { MemoImportIssue, MemoImportReport } from "@/types/proto/api/v1/user_service_pb";
|
||||
import { ImportMemosRequest_ConflictPolicy } from "@/types/proto/api/v1/user_service_pb";
|
||||
import { useTranslate } from "@/utils/i18n";
|
||||
@@ -20,18 +20,18 @@ import SettingSection from "./SettingSection";
|
||||
const POLICIES = [
|
||||
{
|
||||
value: ImportMemosRequest_ConflictPolicy.SKIP,
|
||||
label: "setting.memo-archive.policy-skip",
|
||||
description: "setting.memo-archive.policy-skip-description",
|
||||
label: "setting.memo-export.policy-skip",
|
||||
description: "setting.memo-export.policy-skip-description",
|
||||
},
|
||||
{
|
||||
value: ImportMemosRequest_ConflictPolicy.REPLACE,
|
||||
label: "setting.memo-archive.policy-replace",
|
||||
description: "setting.memo-archive.policy-replace-description",
|
||||
label: "setting.memo-export.policy-replace",
|
||||
description: "setting.memo-export.policy-replace-description",
|
||||
},
|
||||
{
|
||||
value: ImportMemosRequest_ConflictPolicy.DUPLICATE,
|
||||
label: "setting.memo-archive.policy-duplicate",
|
||||
description: "setting.memo-archive.policy-duplicate-description",
|
||||
label: "setting.memo-export.policy-duplicate",
|
||||
description: "setting.memo-export.policy-duplicate-description",
|
||||
},
|
||||
] as const;
|
||||
|
||||
@@ -40,7 +40,7 @@ const POLICIES = [
|
||||
// asked for in the review stage, and only when some memos already exist.
|
||||
type ImportStage =
|
||||
| { kind: "idle" }
|
||||
| { kind: "review"; file: File; staged: StagedMemoArchive; policy: ImportMemosRequest_ConflictPolicy }
|
||||
| { kind: "review"; file: File; staged: StagedMemoImport; policy: ImportMemosRequest_ConflictPolicy }
|
||||
| { kind: "done"; report: MemoImportReport };
|
||||
|
||||
const IssueList = ({ issues, tone }: { issues: MemoImportIssue[]; tone: "warning" | "failure" }) => {
|
||||
@@ -54,7 +54,7 @@ const IssueList = ({ issues, tone }: { issues: MemoImportIssue[]; tone: "warning
|
||||
);
|
||||
};
|
||||
|
||||
const MemoArchiveSection = () => {
|
||||
const MemoExportSection = () => {
|
||||
const t = useTranslate();
|
||||
const user = useCurrentUser();
|
||||
const fileInputRef = useRef<HTMLInputElement>(null);
|
||||
@@ -67,9 +67,9 @@ const MemoArchiveSection = () => {
|
||||
setExporting(true);
|
||||
try {
|
||||
await exportMemos(user.name, user.username);
|
||||
toast.success(t("setting.memo-archive.export-success"));
|
||||
toast.success(t("setting.memo-export.export-success"));
|
||||
} catch (error) {
|
||||
toast.error(getErrorMessage(error, t("setting.memo-archive.export-failed")));
|
||||
toast.error(getErrorMessage(error, t("setting.memo-export.export-failed")));
|
||||
} finally {
|
||||
setExporting(false);
|
||||
}
|
||||
@@ -81,10 +81,10 @@ const MemoArchiveSection = () => {
|
||||
if (!file || !user) return;
|
||||
setBusy(true);
|
||||
try {
|
||||
const staged = await stageMemoArchive(user.name, file);
|
||||
const staged = await stageMemoImport(user.name, file);
|
||||
setStage({ kind: "review", file, staged, policy: ImportMemosRequest_ConflictPolicy.SKIP });
|
||||
} catch (error) {
|
||||
toast.error(getErrorMessage(error, t("setting.memo-archive.import-failed")));
|
||||
toast.error(getErrorMessage(error, t("setting.memo-export.import-failed")));
|
||||
} finally {
|
||||
setBusy(false);
|
||||
}
|
||||
@@ -94,11 +94,11 @@ const MemoArchiveSection = () => {
|
||||
if (stage.kind !== "review" || !user) return;
|
||||
setBusy(true);
|
||||
try {
|
||||
const report = await importStagedMemoArchive(user.name, stage.staged, stage.policy);
|
||||
const report = await importStagedMemos(user.name, stage.staged, stage.policy);
|
||||
setStage({ kind: "done", report });
|
||||
toast.success(t("setting.memo-archive.import-success", { created: report.created, updated: report.updated }));
|
||||
toast.success(t("setting.memo-export.import-success", { created: report.created, updated: report.updated }));
|
||||
} catch (error) {
|
||||
toast.error(getErrorMessage(error, t("setting.memo-archive.import-failed")));
|
||||
toast.error(getErrorMessage(error, t("setting.memo-export.import-failed")));
|
||||
if (ConnectError.from(error).code === Code.NotFound) {
|
||||
// The staged upload expired; start over from the file picker.
|
||||
setStage({ kind: "idle" });
|
||||
@@ -111,33 +111,33 @@ const MemoArchiveSection = () => {
|
||||
if (!user) return null;
|
||||
|
||||
return (
|
||||
<SettingSection title={t("setting.memo-archive.label")} description={t("setting.memo-archive.description")}>
|
||||
<SettingGroup title={t("setting.memo-archive.export-title")} description={t("setting.memo-archive.export-description")}>
|
||||
<SettingSection title={t("setting.memo-export.label")} description={t("setting.memo-export.description")}>
|
||||
<SettingGroup title={t("setting.memo-export.export-title")} description={t("setting.memo-export.export-description")}>
|
||||
<SettingList>
|
||||
<SettingListItem label={t("setting.memo-archive.export-label")} description={t("setting.memo-archive.export-detail")}>
|
||||
<SettingListItem label={t("setting.memo-export.export-label")} description={t("setting.memo-export.export-detail")}>
|
||||
<Button variant="outline" size="sm" disabled={exporting} onClick={handleExport}>
|
||||
<DownloadIcon className="w-4 h-4 mr-1.5" />
|
||||
{exporting ? t("setting.memo-archive.exporting") : t("setting.memo-archive.export-action")}
|
||||
{exporting ? t("setting.memo-export.exporting") : t("setting.memo-export.export-action")}
|
||||
</Button>
|
||||
</SettingListItem>
|
||||
</SettingList>
|
||||
</SettingGroup>
|
||||
|
||||
<SettingGroup showSeparator title={t("setting.memo-archive.import-title")} description={t("setting.memo-archive.import-description")}>
|
||||
<SettingGroup showSeparator title={t("setting.memo-export.import-title")} description={t("setting.memo-export.import-description")}>
|
||||
<input
|
||||
ref={fileInputRef}
|
||||
type="file"
|
||||
accept=".zip,application/zip,application/vnd.usememos.archive+zip"
|
||||
accept=".zip,application/zip,application/vnd.usememos.export+zip,application/vnd.usememos.archive+zip"
|
||||
className="hidden"
|
||||
onChange={handleFileChosen}
|
||||
/>
|
||||
|
||||
{stage.kind === "idle" && (
|
||||
<SettingList>
|
||||
<SettingListItem label={t("setting.memo-archive.import-label")} description={t("setting.memo-archive.import-detail")}>
|
||||
<SettingListItem label={t("setting.memo-export.import-label")} description={t("setting.memo-export.import-detail")}>
|
||||
<Button variant="outline" size="sm" disabled={busy} onClick={() => fileInputRef.current?.click()}>
|
||||
<UploadIcon className="w-4 h-4 mr-1.5" />
|
||||
{busy ? t("setting.memo-archive.reading") : t("setting.memo-archive.import-action")}
|
||||
{busy ? t("setting.memo-export.reading") : t("setting.memo-export.import-action")}
|
||||
</Button>
|
||||
</SettingListItem>
|
||||
</SettingList>
|
||||
@@ -146,24 +146,22 @@ const MemoArchiveSection = () => {
|
||||
{stage.kind === "review" && (
|
||||
<div className="flex flex-col gap-3">
|
||||
<SettingList>
|
||||
<StatRow label={t("setting.memo-archive.review-file")} value={stage.file.name} />
|
||||
<StatRow label={t("setting.memo-export.review-file")} value={stage.file.name} />
|
||||
<StatRow
|
||||
label={t("setting.memo-archive.review-exported")}
|
||||
label={t("setting.memo-export.review-exported")}
|
||||
value={`${stage.staged.plan.exporter} · ${
|
||||
stage.staged.plan.exportTime ? dayjs(timestampDate(stage.staged.plan.exportTime)).format("YYYY-MM-DD HH:mm") : ""
|
||||
}`}
|
||||
/>
|
||||
<StatRow label={t("setting.memo-archive.review-memos")} value={String(stage.staged.plan.memos)} />
|
||||
<StatRow label={t("setting.memo-archive.review-attachments")} value={String(stage.staged.plan.attachments)} />
|
||||
<StatRow label={t("setting.memo-archive.review-new")} value={String(stage.staged.plan.new + stage.staged.plan.renamed)} />
|
||||
<StatRow label={t("setting.memo-archive.review-existing")} value={String(stage.staged.plan.existing)} />
|
||||
<StatRow label={t("setting.memo-export.review-memos")} value={String(stage.staged.plan.memos)} />
|
||||
<StatRow label={t("setting.memo-export.review-attachments")} value={String(stage.staged.plan.attachments)} />
|
||||
<StatRow label={t("setting.memo-export.review-new")} value={String(stage.staged.plan.new + stage.staged.plan.renamed)} />
|
||||
<StatRow label={t("setting.memo-export.review-existing")} value={String(stage.staged.plan.existing)} />
|
||||
</SettingList>
|
||||
|
||||
{stage.staged.plan.existing > 0 && (
|
||||
<div className="flex flex-col gap-2 rounded-lg border border-border p-3">
|
||||
<div className="text-sm font-medium">
|
||||
{t("setting.memo-archive.policy-question", { count: stage.staged.plan.existing })}
|
||||
</div>
|
||||
<div className="text-sm font-medium">{t("setting.memo-export.policy-question", { count: stage.staged.plan.existing })}</div>
|
||||
<RadioGroup
|
||||
value={String(stage.policy)}
|
||||
onValueChange={(value) => setStage({ ...stage, policy: Number(value) as ImportMemosRequest_ConflictPolicy })}
|
||||
@@ -171,9 +169,9 @@ const MemoArchiveSection = () => {
|
||||
>
|
||||
{POLICIES.map((option) => (
|
||||
<div key={option.value} className="flex items-start gap-2">
|
||||
<RadioGroupItem value={String(option.value)} id={`memo-archive-policy-${option.value}`} className="mt-0.5" />
|
||||
<RadioGroupItem value={String(option.value)} id={`memo-export-policy-${option.value}`} className="mt-0.5" />
|
||||
<Label
|
||||
htmlFor={`memo-archive-policy-${option.value}`}
|
||||
htmlFor={`memo-export-policy-${option.value}`}
|
||||
className="flex cursor-pointer flex-col items-start gap-1 font-normal leading-5"
|
||||
>
|
||||
<span className="text-sm text-foreground">{t(option.label)}</span>
|
||||
@@ -192,7 +190,7 @@ const MemoArchiveSection = () => {
|
||||
{t("common.cancel")}
|
||||
</Button>
|
||||
<Button size="sm" disabled={busy} onClick={handleImport}>
|
||||
{busy ? t("setting.memo-archive.importing") : t("setting.memo-archive.import-confirm", { count: stage.staged.plan.memos })}
|
||||
{busy ? t("setting.memo-export.importing") : t("setting.memo-export.import-confirm", { count: stage.staged.plan.memos })}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -201,16 +199,16 @@ const MemoArchiveSection = () => {
|
||||
{stage.kind === "done" && (
|
||||
<div className="flex flex-col gap-3">
|
||||
<SettingList>
|
||||
<StatRow label={t("setting.memo-archive.report-created")} value={String(stage.report.created)} />
|
||||
<StatRow label={t("setting.memo-archive.report-updated")} value={String(stage.report.updated)} />
|
||||
<StatRow label={t("setting.memo-archive.report-skipped")} value={String(stage.report.skipped)} />
|
||||
<StatRow label={t("setting.memo-archive.report-failed")} value={String(stage.report.failed)} />
|
||||
<StatRow label={t("setting.memo-export.report-created")} value={String(stage.report.created)} />
|
||||
<StatRow label={t("setting.memo-export.report-updated")} value={String(stage.report.updated)} />
|
||||
<StatRow label={t("setting.memo-export.report-skipped")} value={String(stage.report.skipped)} />
|
||||
<StatRow label={t("setting.memo-export.report-failed")} value={String(stage.report.failed)} />
|
||||
</SettingList>
|
||||
<IssueList issues={stage.report.failures} tone="failure" />
|
||||
<IssueList issues={stage.report.warnings} tone="warning" />
|
||||
<div className="flex items-center justify-end">
|
||||
<Button variant="outline" size="sm" onClick={() => setStage({ kind: "idle" })}>
|
||||
{t("setting.memo-archive.import-another")}
|
||||
{t("setting.memo-export.import-another")}
|
||||
</Button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -220,4 +218,4 @@ const MemoArchiveSection = () => {
|
||||
);
|
||||
};
|
||||
|
||||
export default MemoArchiveSection;
|
||||
export default MemoExportSection;
|
||||
@@ -1,5 +1,5 @@
|
||||
import {
|
||||
ArchiveIcon,
|
||||
ArrowLeftRightIcon,
|
||||
AstroidIcon,
|
||||
BarChart3Icon,
|
||||
CogIcon,
|
||||
@@ -21,7 +21,7 @@ import AccessTokenSection from "@/components/Settings/AccessTokenSection";
|
||||
import AISection from "@/components/Settings/AISection";
|
||||
import InstanceSection from "@/components/Settings/InstanceSection";
|
||||
import MemberSection from "@/components/Settings/MemberSection";
|
||||
import MemoArchiveSection from "@/components/Settings/MemoArchiveSection";
|
||||
import MemoExportSection from "@/components/Settings/MemoExportSection";
|
||||
import MemoRelatedSettings from "@/components/Settings/MemoRelatedSettings";
|
||||
import MyAccountSection from "@/components/Settings/MyAccountSection";
|
||||
import NotificationSection from "@/components/Settings/NotificationSection";
|
||||
@@ -36,7 +36,7 @@ import { InstanceSetting_Key } from "@/types/proto/api/v1/instance_service_pb";
|
||||
|
||||
export type SettingSectionKey =
|
||||
| "my-account"
|
||||
| "memo-archive"
|
||||
| "memo-export"
|
||||
| "spaces"
|
||||
| "access-token"
|
||||
| "preference"
|
||||
@@ -70,13 +70,6 @@ export const SETTINGS_SECTIONS: SettingSectionDefinition[] = [
|
||||
icon: UserIcon,
|
||||
component: MyAccountSection,
|
||||
},
|
||||
{
|
||||
key: "memo-archive",
|
||||
scope: "basic",
|
||||
labelKey: "setting.memo-archive.label",
|
||||
icon: ArchiveIcon,
|
||||
component: MemoArchiveSection,
|
||||
},
|
||||
{
|
||||
key: "spaces",
|
||||
scope: "basic",
|
||||
@@ -133,6 +126,13 @@ export const SETTINGS_SECTIONS: SettingSectionDefinition[] = [
|
||||
icon: TagsIcon,
|
||||
component: TagsSection,
|
||||
},
|
||||
{
|
||||
key: "memo-export",
|
||||
scope: "basic",
|
||||
labelKey: "setting.memo-export.label",
|
||||
icon: ArrowLeftRightIcon,
|
||||
component: MemoExportSection,
|
||||
},
|
||||
{
|
||||
key: "storage",
|
||||
scope: "admin",
|
||||
|
||||
@@ -7,17 +7,17 @@ import { ImportMemosRequest_ConflictPolicy, ImportMemosSpecSchema } from "@/type
|
||||
|
||||
const DEFAULT_CHUNK_SIZE = 2 * 1024 * 1024;
|
||||
|
||||
// exportMemos downloads the user's Memo Archive.
|
||||
// exportMemos downloads the user's Memos export file.
|
||||
export async function exportMemos(userName: string, username: string): Promise<void> {
|
||||
const body = await userServiceClient.exportMemos({ name: userName });
|
||||
const stamp = new Date().toISOString().replace(/[-:]/g, "").replace(/\.\d+/, "");
|
||||
const url = URL.createObjectURL(new Blob([body.data as BlobPart], { type: body.contentType }));
|
||||
downloadFileFromUrl(url, `memos-archive-${username}-${stamp}.zip`);
|
||||
downloadFileFromUrl(url, `memos-export-${username}-${stamp}.zip`);
|
||||
// Give the browser a tick to start the download before revoking.
|
||||
setTimeout(() => URL.revokeObjectURL(url), 1000);
|
||||
}
|
||||
|
||||
export interface StagedMemoArchive {
|
||||
export interface StagedMemoImport {
|
||||
uploadId: string;
|
||||
size: number;
|
||||
plan: MemoImportPlan;
|
||||
@@ -34,9 +34,9 @@ async function sendChunk(request: ImportMemosRequest, signal?: AbortSignal) {
|
||||
}
|
||||
}
|
||||
|
||||
// stageMemoArchive uploads the archive in chunks and finishes with
|
||||
// stageMemoImport uploads the archive in chunks and finishes with
|
||||
// validate_only, returning the staged upload and the server's plan.
|
||||
export async function stageMemoArchive(userName: string, file: File, signal?: AbortSignal): Promise<StagedMemoArchive> {
|
||||
export async function stageMemoImport(userName: string, file: File, signal?: AbortSignal): Promise<StagedMemoImport> {
|
||||
const spec = create(ImportMemosSpecSchema, { totalSize: BigInt(file.size) });
|
||||
const initial = await userServiceClient.importMemos({ name: userName, upload: { case: "spec", value: spec } }, { signal });
|
||||
if (!initial.uploadId || initial.committedSize !== 0n || initial.maxChunkSize <= 0) {
|
||||
@@ -68,10 +68,10 @@ export async function stageMemoArchive(userName: string, file: File, signal?: Ab
|
||||
}
|
||||
}
|
||||
|
||||
// importStagedMemoArchive imports a staged archive with the chosen policy.
|
||||
export async function importStagedMemoArchive(
|
||||
// importStagedMemos imports a staged archive with the chosen policy.
|
||||
export async function importStagedMemos(
|
||||
userName: string,
|
||||
staged: StagedMemoArchive,
|
||||
staged: StagedMemoImport,
|
||||
conflictPolicy: ImportMemosRequest_ConflictPolicy,
|
||||
): Promise<MemoImportReport> {
|
||||
const response = await userServiceClient.importMemos({
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "النسخ",
|
||||
"transcription-warning-no-key": "لا يحتوي الموفر المحدد على مفتاح API. عدّل التكامل أعلاه لإضافة مفتاح."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "ملف",
|
||||
"description": "انقل مذكراتك ومرفقاتك بين Memos نسخة باستخدام ملف أرشيف واحد.",
|
||||
"description": "انقل مذكراتك ومرفقاتك بين Memos نسخة باستخدام ملف ZIP واحد.",
|
||||
"export-action": "تصدير",
|
||||
"export-description": "نزّل جميع المذكرات التي أنشأتها، بما في ذلك التعليقات والمذكرات المؤرشفة وملفات المرفقات، كأرشيف مذكرات.",
|
||||
"export-description": "نزّل جميع المذكرات التي أنشأتها، بما في ذلك التعليقات والمذكرات المؤرشفة وملفات المرفقات، كملف تصدير Memos.",
|
||||
"export-detail": "ملف ZIP يحتوي على ملف Markdown واحد وسجل JSON واحد لكل مذكرة.",
|
||||
"export-failed": "فشل التصدير.",
|
||||
"export-label": "تنزيل الأرشيف",
|
||||
"export-success": "جارٍ تنزيل الأرشيف.",
|
||||
"export-label": "تنزيل الملف",
|
||||
"export-success": "جارٍ تنزيل الملف.",
|
||||
"export-title": "تصدير",
|
||||
"exporting": "جارٍ التصدير…",
|
||||
"import-action": "اختيار ملف",
|
||||
"import-another": "استيراد أرشيف آخر",
|
||||
"import-another": "استيراد ملف آخر",
|
||||
"import-confirm": "استيراد {{count}} مذكرة",
|
||||
"import-description": "استورد أرشيف مذكرات من هذه النسخة أو من نسخة Memos أخرى. تحتفظ المذكرات بمعرّفاتها، لذا لن يؤدي استيراد الأرشيف نفسه مرتين إلى إنشاء مذكرات مكررة.",
|
||||
"import-detail": "تحديد ملف memos-archive-*.zip.",
|
||||
"import-description": "استورد ملف تصدير Memos من هذه النسخة أو من نسخة Memos أخرى. تحتفظ المذكرات بمعرّفاتها، لذا لن يؤدي استيراد الملف نفسه مرتين إلى إنشاء مذكرات مكررة.",
|
||||
"import-detail": "تحديد ملف *.zip.",
|
||||
"import-failed": "فشل الاستيراد.",
|
||||
"import-label": "تحميل الأرشيف",
|
||||
"import-label": "تحميل الملف",
|
||||
"import-success": "تم استيراد {{created}} مذكرة جديدة وتحديث {{updated}} مذكرة.",
|
||||
"import-title": "استيراد",
|
||||
"importing": "جارٍ الاستيراد...",
|
||||
"label": "تصدير واستيراد",
|
||||
"policy-duplicate": "إنشاء نسخة",
|
||||
"policy-duplicate-description": "الاحتفاظ بالمذكرات الموجودة وإضافة النسخ المؤرشفة كمذكرات جديدة.",
|
||||
"policy-duplicate-description": "الاحتفاظ بالمذكرات الموجودة وإضافة النسخ الموجودة في الملف كمذكرات جديدة.",
|
||||
"policy-question": "{{count}} من هذه المذكرات موجودة بالفعل في حسابك. ما الذي يجب فعله بها؟",
|
||||
"policy-replace": "استبدالها بالأرشيف",
|
||||
"policy-replace-description": "استبدال محتواها وإعداداتها بالأرشيف.",
|
||||
"policy-replace": "استبدالها بالملف",
|
||||
"policy-replace-description": "استبدال محتواها وإعداداتها بالملف.",
|
||||
"policy-skip": "الاحتفاظ بمذكراتي",
|
||||
"policy-skip-description": "ترك المذكرات الموجودة كما هي.",
|
||||
"reading": "جارٍ قراءة الأرشيف…",
|
||||
"reading": "جارٍ قراءة الملف…",
|
||||
"report-created": "تم الإنشاء",
|
||||
"report-failed": "فشل",
|
||||
"report-skipped": "تم التخطي",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "ملفات المرفقات",
|
||||
"review-existing": "موجودة بالفعل في حسابك",
|
||||
"review-exported": "تم التصدير بواسطة",
|
||||
"review-memos": "مذكرات في الأرشيف",
|
||||
"review-memos": "مذكرات في الملف",
|
||||
"review-new": "سيتم الإنشاء"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -612,35 +612,35 @@
|
||||
"reactions": "Reaksiyalar",
|
||||
"reactions-required": "Reaksiyalar siyahısı boş ola bilməz"
|
||||
},
|
||||
"memo-archive": {
|
||||
"description": "Qeydlərinizi və qoşmalarınızı tək bir arxiv faylı ilə Memos nüsxələri arasında köçürün.",
|
||||
"memo-export": {
|
||||
"description": "Qeydlərinizi və qoşmalarınızı tək bir ZIP faylı ilə Memos nüsxələri arasında köçürün.",
|
||||
"export-action": "İxrac et",
|
||||
"export-description": "Yaratdığınız bütün qeydləri, şərhlər, arxivlənmiş qeydlər və qoşma faylları daxil olmaqla, Memo Arxivi kimi yükləyin.",
|
||||
"export-description": "Yaratdığınız bütün qeydləri, şərhlər, arxivlənmiş qeydlər və qoşma faylları daxil olmaqla, Memos ixrac faylı kimi yükləyin.",
|
||||
"export-detail": "Hər qeyd üçün bir Markdown faylı və bir JSON qeydi olan ZIP faylı.",
|
||||
"export-failed": "İxrac alınmadı.",
|
||||
"export-label": "Arxivi yüklə",
|
||||
"export-success": "Arxiviniz yüklənir.",
|
||||
"export-label": "Faylı yüklə",
|
||||
"export-success": "Faylınız yüklənir.",
|
||||
"export-title": "İxrac",
|
||||
"exporting": "İxrac edilir…",
|
||||
"import-action": "Fayl seç",
|
||||
"import-another": "Başqa arxiv idxal et",
|
||||
"import-another": "Başqa fayl idxal et",
|
||||
"import-confirm": "{{count}} qeydi idxal et",
|
||||
"import-description": "Bu və ya başqa Memos nüsxəsindən Memo Arxivini idxal edin. Qeydlər identifikatorlarını saxlayır, buna görə eyni arxivi iki dəfə idxal etmək dublikat yaratmır.",
|
||||
"import-detail": "memos-archive-*.zip faylını seçin.",
|
||||
"import-description": "Bu və ya başqa Memos nüsxəsindən Memos ixrac faylını idxal edin. Qeydlər identifikatorlarını saxlayır, buna görə eyni faylı iki dəfə idxal etmək dublikat yaratmır.",
|
||||
"import-detail": "*.zip faylını seçin.",
|
||||
"import-failed": "İdxal alınmadı.",
|
||||
"import-label": "Arxivi yüklə",
|
||||
"import-label": "Faylı yüklə",
|
||||
"import-success": "{{created}} yeni qeyd idxal edildi və {{updated}} qeyd yeniləndi.",
|
||||
"import-title": "İdxal",
|
||||
"importing": "İdxal edilir…",
|
||||
"label": "İxrac və idxal",
|
||||
"policy-duplicate": "Surətini yarat",
|
||||
"policy-duplicate-description": "Mövcud qeydləri saxla və arxiv versiyalarını yeni qeydlər kimi əlavə et.",
|
||||
"policy-duplicate-description": "Mövcud qeydləri saxla və fayl versiyalarını yeni qeydlər kimi əlavə et.",
|
||||
"policy-question": "Bu qeydlərdən {{count}} ədədi artıq hesabınızda mövcuddur. Onlarla nə edilsin?",
|
||||
"policy-replace": "Arxivdəki ilə əvəz et",
|
||||
"policy-replace-description": "Onların məzmununu və parametrlərini arxivdəki ilə əvəz et.",
|
||||
"policy-replace": "Fayldakı ilə əvəz et",
|
||||
"policy-replace-description": "Onların məzmununu və parametrlərini fayldakı ilə əvəz et.",
|
||||
"policy-skip": "Mənimkini saxla",
|
||||
"policy-skip-description": "Mövcud qeydləri olduğu kimi saxla.",
|
||||
"reading": "Arxiv oxunur…",
|
||||
"reading": "Fayl oxunur…",
|
||||
"report-created": "Yaradıldı",
|
||||
"report-failed": "Alınmadı",
|
||||
"report-skipped": "Ötürüldü",
|
||||
@@ -649,7 +649,7 @@
|
||||
"review-existing": "Artıq hesabınızdadır",
|
||||
"review-exported": "İxrac edən",
|
||||
"review-file": "Fayl",
|
||||
"review-memos": "Arxivdəki qeydlər",
|
||||
"review-memos": "Fayldakı qeydlər",
|
||||
"review-new": "Yaradılacaq"
|
||||
},
|
||||
"my-account": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Опресняване",
|
||||
"load-error": "Неуспешно зареждане на статистика"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Файл",
|
||||
"description": "Преместете вашите бележки и прикачени файлове между Memos екземпляра с един архивен файл.",
|
||||
"description": "Преместете вашите бележки и прикачени файлове между Memos екземпляра с един ZIP файл.",
|
||||
"export-action": "Експортиране",
|
||||
"export-description": "Изтеглете всяка създадена от вас бележка, включително коментари, архивирани бележки и прикачени файлове, като архив на бележки.",
|
||||
"export-description": "Изтеглете всяка създадена от вас бележка, включително коментари, архивирани бележки и прикачени файлове, като файл за експорт на Memos.",
|
||||
"export-detail": "ZIP файл с един Markdown файл и един JSON запис на бележка.",
|
||||
"export-failed": "Експортирането не бе успешно.",
|
||||
"export-label": "Изтегляне на архива",
|
||||
"export-success": "Вашият архив се изтегля.",
|
||||
"export-label": "Изтегляне на файла",
|
||||
"export-success": "Вашият файл се изтегля.",
|
||||
"export-title": "Експортиране",
|
||||
"exporting": "Експортиране…",
|
||||
"import-action": "Изберете файл",
|
||||
"import-another": "Импортирайте друг архив",
|
||||
"import-another": "Импортирайте друг файл",
|
||||
"import-confirm": "Импортирайте {{count}} бележки",
|
||||
"import-description": "Импортирайте архив на бележки от този или друг Memos екземпляр. Memos запазват своите идентификатори, така че импортирането на един и същ архив два пъти не създава дубликати.",
|
||||
"import-detail": "Изберете memos-archive-*.zip файл.",
|
||||
"import-description": "Импортирайте файл за експорт на Memos от този или друг Memos екземпляр. Memos запазват своите идентификатори, така че импортирането на един и същ файл два пъти не създава дубликати.",
|
||||
"import-detail": "Изберете *.zip файл.",
|
||||
"import-failed": "Импортирането не бе успешно.",
|
||||
"import-label": "Качване на архив",
|
||||
"import-label": "Качване на файл",
|
||||
"import-success": "Импортирани са {{created}} нови бележки и са актуализирани {{updated}} бележки.",
|
||||
"import-title": "Импортиране",
|
||||
"importing": "Импортиране…",
|
||||
"label": "Експортиране и импортиране",
|
||||
"policy-duplicate": "Създаване на копие",
|
||||
"policy-duplicate-description": "Запазете съществуващите бележки и добавете архивните версии като нови бележки.",
|
||||
"policy-duplicate-description": "Запазете съществуващите бележки и добавете версиите от файла като нови бележки.",
|
||||
"policy-question": "{{count}} от тези бележки вече съществуват във вашия акаунт. Какво трябва да се случи с тях?",
|
||||
"policy-replace": "Заменете с архива",
|
||||
"policy-replace-description": "Презапишете съдържанието и настройките им с архива.",
|
||||
"policy-replace": "Заменете с файла",
|
||||
"policy-replace-description": "Презапишете съдържанието и настройките им с файла.",
|
||||
"policy-skip": "Запазете моите",
|
||||
"policy-skip-description": "Оставете съществуващите бележки такива, каквито са.",
|
||||
"reading": "Четене на архив…",
|
||||
"reading": "Четене на файл…",
|
||||
"report-created": "Създадено",
|
||||
"report-failed": "Неуспешно",
|
||||
"report-skipped": "Пропуснато",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Прикачени файлове",
|
||||
"review-existing": "Вече е във вашия акаунт",
|
||||
"review-exported": "Експортирано от",
|
||||
"review-memos": "Memos в архива",
|
||||
"review-memos": "Memos в файла",
|
||||
"review-new": "Ще бъде създадено"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Actualitza",
|
||||
"load-error": "No s'han pogut carregar les estadístiques"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fitxer",
|
||||
"description": "Mou els teus memos i fitxers adjunts entre Memos instàncies amb un únic fitxer d'arxiu.",
|
||||
"description": "Mou els teus memos i fitxers adjunts entre Memos instàncies amb un únic fitxer ZIP.",
|
||||
"export-action": "Exporta",
|
||||
"export-description": "Descarrega tots els memos que has creat, inclosos els comentaris, els memos arxivats i els fitxers adjunts, com a Arxiu de Memos.",
|
||||
"export-description": "Descarrega tots els memos que has creat, inclosos els comentaris, els memos arxivats i els fitxers adjunts, com a fitxer d’exportació de Memos.",
|
||||
"export-detail": "Un fitxer ZIP amb un fitxer Markdown i un registre JSON per memos.",
|
||||
"export-failed": "L'exportació ha fallat.",
|
||||
"export-label": "Descarrega l'arxiu",
|
||||
"export-success": "El teu arxiu s'està descarregant.",
|
||||
"export-label": "Descarrega el fitxer",
|
||||
"export-success": "El teu fitxer s'està descarregant.",
|
||||
"export-title": "Exporta",
|
||||
"exporting": "Exportant…",
|
||||
"import-action": "Tria un fitxer",
|
||||
"import-another": "Importa un altre arxiu",
|
||||
"import-another": "Importa un altre fitxer",
|
||||
"import-confirm": "Importa notes {{count}}",
|
||||
"import-description": "Importa un arxiu de notes des d'aquesta o una altra instància Memos. Memos conserven els seus identificadors, de manera que importar el mateix arxiu dues vegades no crea duplicats.",
|
||||
"import-detail": "Selecciona un fitxer memos-archive-*.zip.",
|
||||
"import-description": "Importa un fitxer d’exportació de Memos des d'aquesta o una altra instància Memos. Memos conserven els seus identificadors, de manera que importar el mateix fitxer dues vegades no crea duplicats.",
|
||||
"import-detail": "Selecciona un fitxer *.zip.",
|
||||
"import-failed": "Error en la importació.",
|
||||
"import-label": "Puja l'arxiu",
|
||||
"import-label": "Puja el fitxer",
|
||||
"import-success": "S’han importat {{created}} notes noves i se n’han actualitzat {{updated}}.",
|
||||
"import-title": "Importar",
|
||||
"importing": "Important…",
|
||||
"label": "Exportar i importar",
|
||||
"policy-duplicate": "Crear una còpia",
|
||||
"policy-duplicate-description": "Conservar els memoràndums existents i afegir les versions de l'arxiu com a nous memoràndums.",
|
||||
"policy-duplicate-description": "Conservar els memoràndums existents i afegir les versions del fitxer com a nous memoràndums.",
|
||||
"policy-question": "Ja existeixen {{count}} d'aquests memoràndums al vostre compte. Què els hauria de passar?",
|
||||
"policy-replace": "Substituir per l'arxiu",
|
||||
"policy-replace-description": "Sobreescriure el seu contingut i la configuració amb l'arxiu.",
|
||||
"policy-replace": "Substituir pel fitxer",
|
||||
"policy-replace-description": "Sobreescriure el seu contingut i la configuració amb el fitxer.",
|
||||
"policy-skip": "Conservar el meu",
|
||||
"policy-skip-description": "Deixar els memoràndums existents tal com estan.",
|
||||
"reading": "Llegint l'arxiu…",
|
||||
"reading": "Llegint el fitxer…",
|
||||
"report-created": "Creat",
|
||||
"report-failed": "Error",
|
||||
"report-skipped": "Omès",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Fitxers adjunts",
|
||||
"review-existing": "Ja al vostre compte",
|
||||
"review-exported": "Exportat per",
|
||||
"review-memos": "Memos a l'arxiu",
|
||||
"review-memos": "Memos a el fitxer",
|
||||
"review-new": "Es crearà"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Obnovit",
|
||||
"load-error": "Statistiky se nepodařilo načíst"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Soubor",
|
||||
"description": "Přesouvejte poznámky a přílohy mezi Memos instancemi pomocí jednoho archivního souboru.",
|
||||
"description": "Přesouvejte poznámky a přílohy mezi Memos instancemi pomocí jednoho souboru ZIP.",
|
||||
"export-action": "Exportovat",
|
||||
"export-description": "Stáhněte si všechny vytvořené poznámky, včetně komentářů, archivovaných poznámek a příloh, jako archiv poznámek.",
|
||||
"export-description": "Stáhněte si všechny vytvořené poznámky, včetně komentářů, archivovaných poznámek a příloh, jako exportní soubor Memos.",
|
||||
"export-detail": "Soubor typu ZIP s jedním souborem Markdown a jedním záznamem JSON na poznámku.",
|
||||
"export-failed": "Export se nezdařil.",
|
||||
"export-label": "Stáhnout archiv",
|
||||
"export-success": "Váš archiv se stahuje.",
|
||||
"export-label": "Stáhnout soubor",
|
||||
"export-success": "Váš soubor se stahuje.",
|
||||
"export-title": "Exportovat",
|
||||
"exporting": "Exportování…",
|
||||
"import-action": "Vyberte soubor",
|
||||
"import-another": "Importujte další archiv",
|
||||
"import-another": "Importujte další soubor",
|
||||
"import-confirm": "Importujte poznámky typu {{count}}",
|
||||
"import-description": "Importujte archiv poznámek z této nebo jiné instance typu Memos. Poznámky zachovají své identifikátory, takže dvojitý import stejného archivu nevytvoří duplikáty.",
|
||||
"import-detail": "Vyberte soubor typu memos-archive-*.zip.",
|
||||
"import-description": "Importujte exportní soubor Memos z této nebo jiné instance typu Memos. Poznámky zachovají své identifikátory, takže dvojitý import stejného souboru nevytvoří duplikáty.",
|
||||
"import-detail": "Vyberte soubor typu *.zip.",
|
||||
"import-failed": "Import se nezdařil.",
|
||||
"import-label": "Nahrát archiv",
|
||||
"import-label": "Nahrát soubor",
|
||||
"import-success": "Importováno {{created}} nových poznámek a aktualizováno {{updated}} poznámek.",
|
||||
"import-title": "Importovat",
|
||||
"importing": "Import…",
|
||||
"label": "Exportovat a importovat",
|
||||
"policy-duplicate": "Vytvořit kopii",
|
||||
"policy-duplicate-description": "Zachovat stávající poznámky a přidat archivní verze jako nové poznámky.",
|
||||
"policy-duplicate-description": "Zachovat stávající poznámky a přidat verze ze souboru jako nové poznámky.",
|
||||
"policy-question": "{{count}} těchto poznámek již ve vašem účtu existuje. Co se s nimi má stát?",
|
||||
"policy-replace": "Nahradit archivem",
|
||||
"policy-replace-description": "Přepsat jejich obsah a nastavení archivem.",
|
||||
"policy-replace": "Nahradit souborem",
|
||||
"policy-replace-description": "Přepsat jejich obsah a nastavení souborem.",
|
||||
"policy-skip": "Zachovat moje",
|
||||
"policy-skip-description": "Ponechat stávající poznámky tak, jak jsou.",
|
||||
"reading": "Čtení archivu…",
|
||||
"reading": "Čtení souboru…",
|
||||
"report-created": "Vytvořeno",
|
||||
"report-failed": "Selhalo",
|
||||
"report-skipped": "Přeskočeno",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Soubory příloh",
|
||||
"review-existing": "Již ve vašem účtu",
|
||||
"review-exported": "Exportováno uživatelem",
|
||||
"review-memos": "Poznámky v archivu",
|
||||
"review-memos": "Poznámky v souboru",
|
||||
"review-new": "Bude vytvořeno"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Opfriske",
|
||||
"load-error": "Kunne ikke indlæse statistik"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fil",
|
||||
"description": "Flyt dine notater og vedhæftede filer mellem Memos instanser med en enkelt arkivfil.",
|
||||
"description": "Flyt dine notater og vedhæftede filer mellem Memos instanser med en enkelt ZIP-fil.",
|
||||
"export-action": "Eksporter",
|
||||
"export-description": "Download alle notater, du har oprettet, inklusive kommentarer, arkiverede notater og vedhæftede filer, som et notatarkiv.",
|
||||
"export-description": "Download alle notater, du har oprettet, inklusive kommentarer, arkiverede notater og vedhæftede filer, som en Memos-eksportfil.",
|
||||
"export-detail": "En ZIP fil med én Markdown fil og én JSON post pr. notat.",
|
||||
"export-failed": "Eksport mislykkedes.",
|
||||
"export-label": "Download arkiv",
|
||||
"export-success": "Dit arkiv downloades.",
|
||||
"export-label": "Download fil",
|
||||
"export-success": "Din fil downloades.",
|
||||
"export-title": "Eksporter",
|
||||
"exporting": "Eksporterer…",
|
||||
"import-action": "Vælg fil",
|
||||
"import-another": "Importer et andet arkiv",
|
||||
"import-another": "Importer en anden fil",
|
||||
"import-confirm": "Importer {{count}} notater",
|
||||
"import-description": "Importer et notatarkiv fra denne eller en anden Memos instans. Memos beholder deres identifikatorer, så to importer af det samme arkiv skaber ikke dubletter.",
|
||||
"import-detail": "Vælg en memos-archive-*.zip fil.",
|
||||
"import-description": "Importer en Memos-eksportfil fra denne eller en anden Memos instans. Memos beholder deres identifikatorer, så to importer af den samme fil skaber ikke dubletter.",
|
||||
"import-detail": "Vælg en *.zip fil.",
|
||||
"import-failed": "Import mislykkedes.",
|
||||
"import-label": "Upload arkiv",
|
||||
"import-label": "Upload fil",
|
||||
"import-success": "Importerede {{created}} nye notater og opdaterede {{updated}} notater.",
|
||||
"import-title": "Importer",
|
||||
"importing": "Importerer…",
|
||||
"label": "Eksporter og importer",
|
||||
"policy-duplicate": "Opret en kopi",
|
||||
"policy-duplicate-description": "Behold de eksisterende notater, og tilføj arkivversionerne som nye notater.",
|
||||
"policy-duplicate-description": "Behold de eksisterende notater, og tilføj versionerne fra filen som nye notater.",
|
||||
"policy-question": "{{count}} af disse notater findes allerede på din konto. Hvad skal der ske med dem?",
|
||||
"policy-replace": "Erstat med arkivet",
|
||||
"policy-replace-description": "Overskriv deres indhold og indstillinger med arkivet.",
|
||||
"policy-replace": "Erstat med filen",
|
||||
"policy-replace-description": "Overskriv deres indhold og indstillinger med filen.",
|
||||
"policy-skip": "Behold mit",
|
||||
"policy-skip-description": "Lad de eksisterende notater være, som de er.",
|
||||
"reading": "Læser arkiv…",
|
||||
"reading": "Læser fil…",
|
||||
"report-created": "Oprettet",
|
||||
"report-failed": "Mislykkedes",
|
||||
"report-skipped": "Springet over",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Vedhæftede filer",
|
||||
"review-existing": "Allerede på din konto",
|
||||
"review-exported": "Eksporteret af",
|
||||
"review-memos": "Memos i arkiv",
|
||||
"review-memos": "Memos i fil",
|
||||
"review-new": "Vil blive oprettet"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Aktualisieren",
|
||||
"load-error": "Statistiken konnten nicht geladen werden"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Datei",
|
||||
"description": "Verschieben Sie Ihre Notizen und Anhänge mit einer einzigen Archivdatei zwischen Memos Instanzen.",
|
||||
"description": "Verschieben Sie Ihre Notizen und Anhänge mit einer einzigen ZIP-Datei zwischen Memos Instanzen.",
|
||||
"export-action": "Exportieren",
|
||||
"export-description": "Laden Sie alle Ihre erstellten Memos, einschließlich Kommentare, archivierte Memos und Anhänge, als Memo-Archiv herunter.",
|
||||
"export-description": "Laden Sie alle Ihre erstellten Memos, einschließlich Kommentare, archivierte Memos und Anhänge, als Memos-Exportdatei herunter.",
|
||||
"export-detail": "Eine ZIP-Datei mit einer Markdown-Datei und einem JSON-Datensatz pro Memo.",
|
||||
"export-failed": "Export fehlgeschlagen.",
|
||||
"export-label": "Archiv herunterladen",
|
||||
"export-success": "Ihr Archiv wird heruntergeladen.",
|
||||
"export-label": "Datei herunterladen",
|
||||
"export-success": "Ihre Datei wird heruntergeladen.",
|
||||
"export-title": "Exportieren",
|
||||
"exporting": "Export wird durchgeführt…",
|
||||
"import-action": "Datei auswählen",
|
||||
"import-another": "Anderes Archiv importieren",
|
||||
"import-another": "Andere Datei importieren",
|
||||
"import-confirm": "{{count}}-Memos importieren",
|
||||
"import-description": "Importieren Sie ein Memo-Archiv aus dieser oder einer anderen Memos-Instanz. Notizen behalten ihre Kennungen, sodass beim zweimaligen Import desselben Archivs keine Duplikate entstehen.",
|
||||
"import-detail": "Wählen Sie eine memos-archive-*.zip-Datei aus.",
|
||||
"import-description": "Importieren Sie eine Memos-Exportdatei aus dieser oder einer anderen Memos-Instanz. Notizen behalten ihre Kennungen, sodass beim zweimaligen Import derselben Datei keine Duplikate entstehen.",
|
||||
"import-detail": "Wählen Sie eine *.zip-Datei aus.",
|
||||
"import-failed": "Import fehlgeschlagen.",
|
||||
"import-label": "Archiv hochladen",
|
||||
"import-label": "Datei hochladen",
|
||||
"import-success": "{{created}} neue Notizen importiert und {{updated}} Notizen aktualisiert.",
|
||||
"import-title": "Importieren",
|
||||
"importing": "Importieren…",
|
||||
"label": "Exportieren & Importieren",
|
||||
"policy-duplicate": "Kopie erstellen",
|
||||
"policy-duplicate-description": "Die vorhandenen Notizen beibehalten und die Archivversionen als neue Notizen hinzufügen.",
|
||||
"policy-duplicate-description": "Die vorhandenen Notizen beibehalten und die Versionen aus der Datei als neue Notizen hinzufügen.",
|
||||
"policy-question": "{{count}} dieser Notizen sind bereits in Ihrem Konto vorhanden. Was soll mit ihnen geschehen?",
|
||||
"policy-replace": "Durch Archiv ersetzen",
|
||||
"policy-replace-description": "Inhalt und Einstellungen mit dem Archiv überschreiben.",
|
||||
"policy-replace": "Durch Datei ersetzen",
|
||||
"policy-replace-description": "Inhalt und Einstellungen mit der Datei überschreiben.",
|
||||
"policy-skip": "Eigene behalten",
|
||||
"policy-skip-description": "Die vorhandenen Notizen unverändert lassen.",
|
||||
"reading": "Archiv wird gelesen…",
|
||||
"reading": "Datei wird gelesen…",
|
||||
"report-created": "Erstellt",
|
||||
"report-failed": "Fehlgeschlagen",
|
||||
"report-skipped": "Übersprungen",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Anhänge",
|
||||
"review-existing": "Bereits in Ihrem Konto",
|
||||
"review-exported": "Exportiert von",
|
||||
"review-memos": "Notizen im Archiv",
|
||||
"review-memos": "Notizen in der Datei",
|
||||
"review-new": "Wird erstellt"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
@@ -777,11 +777,11 @@
|
||||
"refresh": "Φρεσκάρω",
|
||||
"load-error": "Η φόρτωση στατιστικών απέτυχε"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Αρχείο",
|
||||
"description": "Μετακινήστε τα σημειώματα και τα συνημμένα σας μεταξύ Memos στιγμιότυπων με ένα μόνο αρχείο αρχειοθέτησης.",
|
||||
"description": "Μετακινήστε τα σημειώματα και τα συνημμένα σας μεταξύ Memos στιγμιότυπων με ένα μόνο αρχείο ZIP.",
|
||||
"export-action": "Εξαγωγή",
|
||||
"export-description": "Κατεβάστε κάθε σημειώμα που δημιουργήσατε, συμπεριλαμβανομένων των σχολίων, των αρχειοθετημένων σημειωμάτων και των αρχείων συνημμένων, ως Αρχείο Σημειωμάτων.",
|
||||
"export-description": "Κατεβάστε κάθε σημειώμα που δημιουργήσατε, συμπεριλαμβανομένων των σχολίων, των αρχειοθετημένων σημειωμάτων και των αρχείων συνημμένων, ως αρχείο εξαγωγής Memos.",
|
||||
"export-detail": "Ένα αρχείο ZIP με ένα αρχείο Markdown και μία εγγραφή JSON ανά σημειώμα.",
|
||||
"export-failed": "Η εξαγωγή απέτυχε.",
|
||||
"export-label": "Λήψη αρχείου",
|
||||
@@ -791,8 +791,8 @@
|
||||
"import-action": "Επιλογή αρχείου",
|
||||
"import-another": "Εισαγωγή άλλου αρχείου",
|
||||
"import-confirm": "Εισαγωγή {{count}} σημειώσεων",
|
||||
"import-description": "Εισαγωγή ενός Αρχείου Σημειώσεων από αυτήν ή άλλη Memos παρουσία. Τα Memos διατηρούν τα αναγνωριστικά τους, επομένως η εισαγωγή του ίδιου αρχείου δύο φορές δεν δημιουργεί διπλότυπα.",
|
||||
"import-detail": "Επιλέξτε ένα αρχείο memos-archive-*.zip.",
|
||||
"import-description": "Εισαγωγή ενός αρχείου εξαγωγής Memos από αυτήν ή άλλη Memos παρουσία. Τα Memos διατηρούν τα αναγνωριστικά τους, επομένως η εισαγωγή του ίδιου αρχείου δύο φορές δεν δημιουργεί διπλότυπα.",
|
||||
"import-detail": "Επιλέξτε ένα αρχείο *.zip.",
|
||||
"import-failed": "Η εισαγωγή απέτυχε.",
|
||||
"import-label": "Μεταφόρτωση αρχείου",
|
||||
"import-success": "Εισήχθησαν {{created}} νέα σημειώματα και ενημερώθηκαν {{updated}} σημειώματα.",
|
||||
|
||||
+17
-17
@@ -739,35 +739,35 @@
|
||||
"refresh": "Refresh",
|
||||
"load-error": "Failed to load statistics"
|
||||
},
|
||||
"memo-archive": {
|
||||
"description": "Move your memos and attachments between Memos instances with a single archive file.",
|
||||
"export-action": "Export",
|
||||
"export-description": "Download every memo you created, including comments, archived memos, and attachment files, as a Memo Archive.",
|
||||
"memo-export": {
|
||||
"description": "Move your memos and attachments between Memos instances with a single ZIP file.",
|
||||
"export-action": "Export memos",
|
||||
"export-description": "Download every memo you created, including comments, archived memos, and attachment files, in Memos Export Format.",
|
||||
"export-detail": "A ZIP file with one Markdown file and one JSON record per memo.",
|
||||
"export-failed": "Export failed.",
|
||||
"export-label": "Download archive",
|
||||
"export-success": "Your archive is downloading.",
|
||||
"export-title": "Export",
|
||||
"export-label": "Download file",
|
||||
"export-success": "Your export file is downloading.",
|
||||
"export-title": "Export memos",
|
||||
"exporting": "Exporting…",
|
||||
"import-action": "Choose file",
|
||||
"import-another": "Import another archive",
|
||||
"import-another": "Import another file",
|
||||
"import-confirm": "Import {{count}} memos",
|
||||
"import-description": "Import a Memo Archive from this or another Memos instance. Memos keep their identifiers, so importing the same archive twice does not create duplicates.",
|
||||
"import-detail": "Select a memos-archive-*.zip file.",
|
||||
"import-description": "Import a Memos export file from this or another Memos instance. Memos keep their identifiers, so importing the same file twice does not create duplicates.",
|
||||
"import-detail": "Select a ZIP file exported by Memos.",
|
||||
"import-failed": "Import failed.",
|
||||
"import-label": "Upload archive",
|
||||
"import-label": "Upload file",
|
||||
"import-success": "Imported {{created}} new and updated {{updated}} memos.",
|
||||
"import-title": "Import",
|
||||
"import-title": "Import memos",
|
||||
"importing": "Importing…",
|
||||
"label": "Export & Import",
|
||||
"policy-duplicate": "Create a copy",
|
||||
"policy-duplicate-description": "Keep the existing memos and add the archive versions as new memos.",
|
||||
"policy-duplicate-description": "Keep the existing memos and add the imported versions as new memos.",
|
||||
"policy-question": "{{count}} of these memos already exist in your account. What should happen to them?",
|
||||
"policy-replace": "Replace with the archive",
|
||||
"policy-replace-description": "Overwrite their content and settings with the archive.",
|
||||
"policy-replace": "Replace with the imported version",
|
||||
"policy-replace-description": "Overwrite their content and settings with the imported version.",
|
||||
"policy-skip": "Keep mine",
|
||||
"policy-skip-description": "Leave the existing memos as they are.",
|
||||
"reading": "Reading archive…",
|
||||
"reading": "Reading file…",
|
||||
"report-created": "Created",
|
||||
"report-failed": "Failed",
|
||||
"report-skipped": "Skipped",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-existing": "Already in your account",
|
||||
"review-exported": "Exported by",
|
||||
"review-file": "File",
|
||||
"review-memos": "Memos in archive",
|
||||
"review-memos": "Memos in file",
|
||||
"review-new": "Will be created"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+17
-17
@@ -612,35 +612,35 @@
|
||||
"reactions": "Reactions",
|
||||
"reactions-required": "Reactions list must not be empty"
|
||||
},
|
||||
"memo-archive": {
|
||||
"description": "Move your memos and attachments between Memos instances with a single archive file.",
|
||||
"export-action": "Export",
|
||||
"export-description": "Download every memo you created, including comments, archived memos, and attachment files, as a Memo Archive.",
|
||||
"memo-export": {
|
||||
"description": "Move your memos and attachments between Memos instances with a single ZIP file.",
|
||||
"export-action": "Export memos",
|
||||
"export-description": "Download every memo you created, including comments, archived memos, and attachment files, in Memos Export Format.",
|
||||
"export-detail": "A ZIP file with one Markdown file and one JSON record per memo.",
|
||||
"export-failed": "Export failed.",
|
||||
"export-label": "Download archive",
|
||||
"export-success": "Your archive is downloading.",
|
||||
"export-title": "Export",
|
||||
"export-label": "Download file",
|
||||
"export-success": "Your export file is downloading.",
|
||||
"export-title": "Export memos",
|
||||
"exporting": "Exporting…",
|
||||
"import-action": "Choose file",
|
||||
"import-another": "Import another archive",
|
||||
"import-another": "Import another file",
|
||||
"import-confirm": "Import {{count}} memos",
|
||||
"import-description": "Import a Memo Archive from this or another Memos instance. Memos keep their identifiers, so importing the same archive twice does not create duplicates.",
|
||||
"import-detail": "Select a memos-archive-*.zip file.",
|
||||
"import-description": "Import a Memos export file from this or another Memos instance. Memos keep their identifiers, so importing the same file twice does not create duplicates.",
|
||||
"import-detail": "Select a ZIP file exported by Memos.",
|
||||
"import-failed": "Import failed.",
|
||||
"import-label": "Upload archive",
|
||||
"import-label": "Upload file",
|
||||
"import-success": "Imported {{created}} new and updated {{updated}} memos.",
|
||||
"import-title": "Import",
|
||||
"import-title": "Import memos",
|
||||
"importing": "Importing…",
|
||||
"label": "Export & Import",
|
||||
"policy-duplicate": "Create a copy",
|
||||
"policy-duplicate-description": "Keep the existing memos and add the archive versions as new memos.",
|
||||
"policy-duplicate-description": "Keep the existing memos and add the imported versions as new memos.",
|
||||
"policy-question": "{{count}} of these memos already exist in your account. What should happen to them?",
|
||||
"policy-replace": "Replace with the archive",
|
||||
"policy-replace-description": "Overwrite their content and settings with the archive.",
|
||||
"policy-replace": "Replace with the imported version",
|
||||
"policy-replace-description": "Overwrite their content and settings with the imported version.",
|
||||
"policy-skip": "Keep mine",
|
||||
"policy-skip-description": "Leave the existing memos as they are.",
|
||||
"reading": "Reading archive…",
|
||||
"reading": "Reading file…",
|
||||
"report-created": "Created",
|
||||
"report-failed": "Failed",
|
||||
"report-skipped": "Skipped",
|
||||
@@ -649,7 +649,7 @@
|
||||
"review-existing": "Already in your account",
|
||||
"review-exported": "Exported by",
|
||||
"review-file": "File",
|
||||
"review-memos": "Memos in archive",
|
||||
"review-memos": "Memos in file",
|
||||
"review-new": "Will be created"
|
||||
},
|
||||
"my-account": {
|
||||
|
||||
@@ -739,11 +739,11 @@
|
||||
"refresh": "Refrescar",
|
||||
"load-error": "No se pudieron cargar las estadísticas"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Archivo",
|
||||
"description": "Mueva sus notas y archivos adjuntos entre Memos instancias con un solo archivo de archivo.",
|
||||
"description": "Mueva sus notas y archivos adjuntos entre Memos instancias con un solo archivo ZIP.",
|
||||
"export-action": "Exportar",
|
||||
"export-description": "Descargue todas las notas que haya creado, incluidos los comentarios, las notas archivadas y los archivos adjuntos, como un archivo de notas.",
|
||||
"export-description": "Descargue todas las notas que haya creado, incluidos los comentarios, las notas archivadas y los archivos adjuntos, como un archivo de exportación de Memos.",
|
||||
"export-detail": "Un archivo de ZIP bytes con un archivo Markdown y un registro JSON por nota.",
|
||||
"export-failed": "Error al exportar.",
|
||||
"export-label": "Descargar archivo",
|
||||
@@ -753,8 +753,8 @@
|
||||
"import-action": "Seleccionar archivo",
|
||||
"import-another": "Importar otro archivo",
|
||||
"import-confirm": "Importar {{count}} notas",
|
||||
"import-description": "Importa un archivo de notas de esta u otra instancia de Memos. Las notas conservan sus identificadores, por lo que importar el mismo archivo dos veces no crea duplicados.",
|
||||
"import-detail": "Seleccionar un archivo de memos-archive-*.zip.",
|
||||
"import-description": "Importa un archivo de exportación de Memos de esta u otra instancia de Memos. Las notas conservan sus identificadores, por lo que importar el mismo archivo dos veces no crea duplicados.",
|
||||
"import-detail": "Seleccionar un archivo de *.zip.",
|
||||
"import-failed": "Error al importar.",
|
||||
"import-label": "Cargar archivo",
|
||||
"import-success": "Se importaron {{created}} notas nuevas y se actualizaron {{updated}} notas.",
|
||||
@@ -762,7 +762,7 @@
|
||||
"importing": "Importando…",
|
||||
"label": "Exportar e importar",
|
||||
"policy-duplicate": "Crear una copia",
|
||||
"policy-duplicate-description": "Conservar los memorandos existentes y añadir las versiones archivadas como nuevos memorandos.",
|
||||
"policy-duplicate-description": "Conservar los memorandos existentes y añadir las versiones del archivo como nuevos memorandos.",
|
||||
"policy-question": "Ya existen {{count}} de estos memorandos en tu cuenta. ¿Qué debería suceder con ellos?",
|
||||
"policy-replace": "Reemplazar con el archivo",
|
||||
"policy-replace-description": "Sobrescribir su contenido y configuración con el archivo.",
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Värskenda",
|
||||
"load-error": "Statistika laadimine ebaõnnestus"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fail",
|
||||
"description": "Teisalda oma memod ja manused Memos eksemplari vahel ühe arhiivifaili abil.",
|
||||
"description": "Teisalda oma memod ja manused Memos eksemplari vahel ühe ZIP-faili abil.",
|
||||
"export-action": "Eksport",
|
||||
"export-description": "Laadi alla kõik loodud memod, sh kommentaarid, arhiveeritud memod ja manusefailid, memoarhiivina.",
|
||||
"export-description": "Laadi alla kõik loodud memod, sh kommentaarid, arhiveeritud memod ja manusefailid, Memos ekspordifailina.",
|
||||
"export-detail": "Fail ZIP, mis sisaldab ühte Markdown faili ja ühte JSON kirjet memo kohta.",
|
||||
"export-failed": "Eksport ebaõnnestus.",
|
||||
"export-label": "Laadi arhiiv alla",
|
||||
"export-success": "Sinu arhiivi laaditakse alla.",
|
||||
"export-label": "Laadi fail alla",
|
||||
"export-success": "Sinu faili laaditakse alla.",
|
||||
"export-title": "Eksport",
|
||||
"exporting": "Eksporditakse…",
|
||||
"import-action": "Vali fail",
|
||||
"import-another": "Impordi teine arhiiv",
|
||||
"import-another": "Impordi teine fail",
|
||||
"import-confirm": "Impordi {{count}} memo",
|
||||
"import-description": "Impordi memode arhiiv sellest või teisest Memos eksemplarist. Memos säilitavad oma identifikaatorid, seega sama arhiivi kaks korda importimine ei loo duplikaate.",
|
||||
"import-detail": "Vali memos-archive-*.zip fail.",
|
||||
"import-description": "Impordi Memos ekspordifail sellest või teisest Memos eksemplarist. Memos säilitavad oma identifikaatorid, seega sama faili kaks korda importimine ei loo duplikaate.",
|
||||
"import-detail": "Vali *.zip fail.",
|
||||
"import-failed": "Import ebaõnnestus.",
|
||||
"import-label": "Laadi arhiiv üles",
|
||||
"import-label": "Laadi fail üles",
|
||||
"import-success": "Imporditi {{created}} uut memot ja uuendati {{updated}} memot.",
|
||||
"import-title": "Import",
|
||||
"importing": "Importitakse…",
|
||||
"label": "Eksport ja import",
|
||||
"policy-duplicate": "Loo koopia",
|
||||
"policy-duplicate-description": "Säilita olemasolevad memod ja lisa arhiiviversioonid uute memodena.",
|
||||
"policy-duplicate-description": "Säilita olemasolevad memod ja lisa failis olevad versioonid uute memodena.",
|
||||
"policy-question": "{{count}} neist memodest on juba teie kontol olemas. Mis peaks nendega juhtuma?",
|
||||
"policy-replace": "Asenda arhiiviga",
|
||||
"policy-replace-description": "Kirjuta nende sisu ja sätted arhiiviga üle.",
|
||||
"policy-replace": "Asenda failiga",
|
||||
"policy-replace-description": "Kirjuta nende sisu ja sätted failiga üle.",
|
||||
"policy-skip": "Säilita minu oma",
|
||||
"policy-skip-description": "Jäta olemasolevad memod nii nagu nad on.",
|
||||
"reading": "Loen arhiivi…",
|
||||
"reading": "Loen faili…",
|
||||
"report-created": "Loodud",
|
||||
"report-failed": "Ebaõnnestus",
|
||||
"report-skipped": "Vahele jäetud",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Manusfailid",
|
||||
"review-existing": "Juba teie kontol",
|
||||
"review-exported": "Eksporditud",
|
||||
"review-memos": "Memos arhiivis",
|
||||
"review-memos": "Memos failis",
|
||||
"review-new": "Luuakse"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "رونویسی",
|
||||
"transcription-warning-no-key": "ارائهدهنده انتخابشده هیچ مجموعه کلید API ندارد. برای اضافه کردن یکی، ادغام بالا را ویرایش کنید."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "فایل",
|
||||
"description": "یادداشتها و پیوستهای خود را بین Memos نمونه با یک فایل بایگانی واحد جابجا کنید.",
|
||||
"description": "یادداشتها و پیوستهای خود را بین Memos نمونه با یک فایل ZIP واحد جابجا کنید.",
|
||||
"export-action": "خروجی گرفتن",
|
||||
"export-description": "هر یادداشتی را که ایجاد کردهاید، شامل نظرات، یادداشتهای بایگانی شده و فایلهای پیوست، به عنوان یک بایگانی یادداشت دانلود کنید.",
|
||||
"export-description": "هر یادداشتی را که ایجاد کردهاید، شامل نظرات، یادداشتهای بایگانی شده و فایلهای پیوست، به عنوان یک فایل خروجی Memos دانلود کنید.",
|
||||
"export-detail": "یک فایل ZIP با یک فایل Markdown و یک رکورد JSON برای هر یادداشت.",
|
||||
"export-failed": "خروجی گرفتن ناموفق بود.",
|
||||
"export-label": "دانلود بایگانی",
|
||||
"export-success": "بایگانی شما در حال دانلود است.",
|
||||
"export-label": "دانلود فایل",
|
||||
"export-success": "فایل شما در حال دانلود است.",
|
||||
"export-title": "خروجی گرفتن",
|
||||
"exporting": "خروجی گرفتن…",
|
||||
"import-action": "انتخاب فایل",
|
||||
"import-another": "وارد کردن بایگانی دیگر",
|
||||
"import-another": "وارد کردن فایل دیگر",
|
||||
"import-confirm": "وارد کردن یادداشتهای {{count}}",
|
||||
"import-description": "وارد کردن بایگانی یادداشت از این یا یک نمونه Memos دیگر. یادداشتها شناسههای خود را حفظ میکنند، بنابراین وارد کردن مجدد یک بایگانی مشابه، موارد تکراری ایجاد نمیکند.",
|
||||
"import-detail": "یک فایل memos-archive-*.zip را انتخاب کنید.",
|
||||
"import-description": "وارد کردن فایل خروجی Memos از این یا یک نمونه Memos دیگر. یادداشتها شناسههای خود را حفظ میکنند، بنابراین وارد کردن مجدد یک فایل مشابه، موارد تکراری ایجاد نمیکند.",
|
||||
"import-detail": "یک فایل *.zip را انتخاب کنید.",
|
||||
"import-failed": "وارد کردن ناموفق بود.",
|
||||
"import-label": "آپلود بایگانی",
|
||||
"import-label": "آپلود فایل",
|
||||
"import-success": "{{created}} یادداشت جدید وارد و {{updated}} یادداشت بهروزرسانی شد.",
|
||||
"import-title": "وارد کردن",
|
||||
"importing": "در حال وارد کردن...",
|
||||
"label": "صادر کردن و وارد کردن",
|
||||
"policy-duplicate": "ایجاد یک کپی",
|
||||
"policy-duplicate-description": "یادداشتهای موجود را نگه دارید و نسخههای بایگانی را به عنوان یادداشتهای جدید اضافه کنید.",
|
||||
"policy-duplicate-description": "یادداشتهای موجود را نگه دارید و نسخههای فایل را به عنوان یادداشتهای جدید اضافه کنید.",
|
||||
"policy-question": "{{count}} از این یادداشتها در حساب شما وجود دارند. چه اتفاقی باید برای آنها بیفتد؟",
|
||||
"policy-replace": "جایگزینی با بایگانی",
|
||||
"policy-replace-description": "محتوا و تنظیمات آنها را با بایگانی جایگزین کنید.",
|
||||
"policy-replace": "جایگزینی با فایل",
|
||||
"policy-replace-description": "محتوا و تنظیمات آنها را با فایل جایگزین کنید.",
|
||||
"policy-skip": "مال من را نگه دار",
|
||||
"policy-skip-description": "یادداشتهای موجود را همانطور که هستند، بگذارید.",
|
||||
"reading": "در حال خواندن بایگانی…",
|
||||
"reading": "در حال خواندن فایل…",
|
||||
"report-created": "ایجاد شده",
|
||||
"report-failed": "ناموفق",
|
||||
"report-skipped": "رد شده",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "فایلهای پیوست",
|
||||
"review-existing": "قبلاً در حساب شما",
|
||||
"review-exported": "صادر شده توسط",
|
||||
"review-memos": "یادداشتها در بایگانی",
|
||||
"review-memos": "یادداشتها در فایل",
|
||||
"review-new": "ایجاد خواهد شد"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Päivitä",
|
||||
"load-error": "Tilastojen lataaminen epäonnistui"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Tiedosto",
|
||||
"description": "Siirrä muistioita ja liitteitä Memos instanssin välillä yhdellä arkistotiedostolla.",
|
||||
"description": "Siirrä muistioita ja liitteitä Memos instanssin välillä yhdellä ZIP-tiedostolla.",
|
||||
"export-action": "Vienti",
|
||||
"export-description": "Lataa kaikki luomasi muistiot, mukaan lukien kommentit, arkistoidut muistiot ja liitetiedostot, muistioarkistoina.",
|
||||
"export-description": "Lataa kaikki luomasi muistiot, mukaan lukien kommentit, arkistoidut muistiot ja liitetiedostot, Memos-vientitiedostona.",
|
||||
"export-detail": "Tiedosto ZIP, jossa on yksi Markdown tiedosto ja yksi JSON tietue muistiota kohden.",
|
||||
"export-failed": "Vienti epäonnistui.",
|
||||
"export-label": "Lataa arkisto",
|
||||
"export-success": "Arkistoasi ladataan.",
|
||||
"export-label": "Lataa tiedosto",
|
||||
"export-success": "Tiedostoasi ladataan.",
|
||||
"export-title": "Vienti",
|
||||
"exporting": "Vienti…",
|
||||
"import-action": "Valitse tiedosto",
|
||||
"import-another": "Tuo toinen arkisto",
|
||||
"import-another": "Tuo toinen tiedosto",
|
||||
"import-confirm": "Tuo {{count}} muistiota",
|
||||
"import-description": "Tuo muistioarkisto tästä tai toisesta Memos instanssista. Memos säilyttävät tunnisteensa, joten saman arkiston tuominen kahdesti ei luo kaksoiskappaleita.",
|
||||
"import-detail": "Valitse memos-archive-*.zip tiedosto.",
|
||||
"import-description": "Tuo Memos-vientitiedosto tästä tai toisesta Memos instanssista. Memos säilyttävät tunnisteensa, joten saman tiedoston tuominen kahdesti ei luo kaksoiskappaleita.",
|
||||
"import-detail": "Valitse *.zip tiedosto.",
|
||||
"import-failed": "Tuonti epäonnistui.",
|
||||
"import-label": "Lähetä arkisto",
|
||||
"import-label": "Lähetä tiedosto",
|
||||
"import-success": "Tuotiin {{created}} uutta muistiota ja päivitettiin {{updated}} muistiota.",
|
||||
"import-title": "Tuonti",
|
||||
"importing": "Tuonti…",
|
||||
"label": "Vienti ja tuonti",
|
||||
"policy-duplicate": "Luo kopio",
|
||||
"policy-duplicate-description": "Säilytä olemassa olevat muistiot ja lisää arkistoversiot uusina muistioina.",
|
||||
"policy-duplicate-description": "Säilytä olemassa olevat muistiot ja lisää tiedoston versiot uusina muistioina.",
|
||||
"policy-question": "Tililläsi on jo {{count}} näistä muistioista. Mitä niille pitäisi tapahtua?",
|
||||
"policy-replace": "Korvaa arkistolla.",
|
||||
"policy-replace-description": "Korvaa niiden sisältö ja asetukset arkistolla.",
|
||||
"policy-replace": "Korvaa tiedostolla.",
|
||||
"policy-replace-description": "Korvaa niiden sisältö ja asetukset tiedostolla.",
|
||||
"policy-skip": "Säilytä minun.",
|
||||
"policy-skip-description": "Jätä olemassa olevat muistiot sellaisiksi kuin ne ovat.",
|
||||
"reading": "Luetaan arkistoa…",
|
||||
"reading": "Luetaan tiedostoa…",
|
||||
"report-created": "Luotu",
|
||||
"report-failed": "Epäonnistui.",
|
||||
"report-skipped": "Ohitettu.",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Liitetiedostot.",
|
||||
"review-existing": "Jo tililläsi.",
|
||||
"review-exported": "Vienti.",
|
||||
"review-memos": "Memos arkistossa.",
|
||||
"review-memos": "Memos tiedostossa.",
|
||||
"review-new": "Luodaan."
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,35 +739,35 @@
|
||||
"refresh": "Rafraîchir",
|
||||
"load-error": "Échec du chargement des statistiques"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fichier",
|
||||
"description": "Déplacez vos notes et pièces jointes entre Memos instances à l'aide d'un seul fichier d'archive.",
|
||||
"description": "Déplacez vos notes et pièces jointes entre Memos instances à l'aide d'un seul fichier ZIP.",
|
||||
"export-action": "Exporter",
|
||||
"export-description": "Téléchargez toutes les notes que vous avez créées, y compris les commentaires, les notes archivées et les pièces jointes, sous forme d'archive de notes.",
|
||||
"export-description": "Téléchargez toutes les notes que vous avez créées, y compris les commentaires, les notes archivées et les pièces jointes, dans un fichier d’export Memos.",
|
||||
"export-detail": "Un fichier ZIP contenant un fichier Markdown et un enregistrement JSON par note.",
|
||||
"export-failed": "L'exportation a échoué.",
|
||||
"export-label": "Télécharger l'archive",
|
||||
"export-success": "Votre archive est en cours de téléchargement.",
|
||||
"export-label": "Télécharger le fichier",
|
||||
"export-success": "Votre fichier est en cours de téléchargement.",
|
||||
"export-title": "Exporter",
|
||||
"exporting": "Exportation en cours…",
|
||||
"import-action": "Choisir un fichier",
|
||||
"import-another": "Importer une autre archive",
|
||||
"import-another": "Importer un autre fichier",
|
||||
"import-confirm": "Importer les mémos {{count}}",
|
||||
"import-description": "Importez une archive de mémos depuis cette instance ou une autre instance Memos. Les mémos conservent leurs identifiants : importer la même archive deux fois ne crée donc pas de doublons.",
|
||||
"import-detail": "Sélectionner un fichier memos-archive-*.zip.",
|
||||
"import-description": "Importez un fichier d’export Memos depuis cette instance ou une autre instance Memos. Les mémos conservent leurs identifiants : importer le même fichier deux fois ne crée donc pas de doublons.",
|
||||
"import-detail": "Sélectionner un fichier *.zip.",
|
||||
"import-failed": "L'importation a échoué.",
|
||||
"import-label": "Charger l'archive",
|
||||
"import-label": "Charger le fichier",
|
||||
"import-title": "Importer",
|
||||
"importing": "Importation en cours…",
|
||||
"label": "Exporter et importer",
|
||||
"policy-duplicate": "Créer une copie",
|
||||
"policy-duplicate-description": "Conserver les notes existantes et ajouter les versions archivées comme nouvelles notes.",
|
||||
"policy-duplicate-description": "Conserver les notes existantes et ajouter les versions du fichier comme nouvelles notes.",
|
||||
"policy-question": "{{count}} de ces notes existent déjà dans votre compte. Que faut-il en faire ?",
|
||||
"policy-replace": "Remplacer par l’archive",
|
||||
"policy-replace-description": "Écraser leur contenu et leurs paramètres avec l’archive.",
|
||||
"policy-replace": "Remplacer par le fichier",
|
||||
"policy-replace-description": "Écraser leur contenu et leurs paramètres avec le fichier.",
|
||||
"policy-skip": "Conserver les miennes",
|
||||
"policy-skip-description": "Laisser les notes existantes telles quelles.",
|
||||
"reading": "Lecture de l'archive…",
|
||||
"reading": "Lecture du fichier…",
|
||||
"report-created": "Créé",
|
||||
"report-failed": "Échec",
|
||||
"report-skipped": "Ignoré",
|
||||
@@ -775,7 +775,7 @@
|
||||
"review-attachments": "Pièces jointes",
|
||||
"review-existing": "Déjà dans votre compte",
|
||||
"review-exported": "Exporté par",
|
||||
"review-memos": "Memos dans l'archive",
|
||||
"review-memos": "Memos dans le fichier",
|
||||
"review-new": "Sera créé",
|
||||
"import-success": "{{created}} nouveaux mémos importés et {{updated}} mémos mis à jour."
|
||||
},
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Actualizar",
|
||||
"load-error": "Produciuse un erro ao cargar as estatísticas"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Ficheiro",
|
||||
"description": "Move as túas notas e anexos entre Memos instancias cun único ficheiro de arquivo.",
|
||||
"description": "Move as túas notas e anexos entre Memos instancias cun único ficheiro ZIP.",
|
||||
"export-action": "Exportar",
|
||||
"export-description": "Descarga todas as notas que creaches, incluídos os comentarios, as notas arquivadas e os ficheiros anexos, como un Arquivo de Notas.",
|
||||
"export-description": "Descarga todas as notas que creaches, incluídos os comentarios, as notas arquivadas e os ficheiros anexos, como un ficheiro de exportación de Memos.",
|
||||
"export-detail": "Un ficheiro ZIP cun ficheiro Markdown e un rexistro JSON por nota.",
|
||||
"export-failed": "Fallou a exportación.",
|
||||
"export-label": "Descargar o arquivo",
|
||||
"export-success": "O teu arquivo está a descargarse.",
|
||||
"export-label": "Descargar o ficheiro",
|
||||
"export-success": "O teu ficheiro está a descargarse.",
|
||||
"export-title": "Exportar",
|
||||
"exporting": "Exportando…",
|
||||
"import-action": "Escoller ficheiro",
|
||||
"import-another": "Importar outro arquivo",
|
||||
"import-another": "Importar outro ficheiro",
|
||||
"import-confirm": "Importar notas {{count}}",
|
||||
"import-description": "Importar un arquivo de notas desta ou doutra instancia Memos. Memos conservan os seus identificadores, polo que importar o mesmo arquivo dúas veces non crea duplicados.",
|
||||
"import-detail": "Seleccionar un ficheiro memos-archive-*.zip.",
|
||||
"import-description": "Importar un ficheiro de exportación de Memos desta ou doutra instancia Memos. Memos conservan os seus identificadores, polo que importar o mesmo ficheiro dúas veces non crea duplicados.",
|
||||
"import-detail": "Seleccionar un ficheiro *.zip.",
|
||||
"import-failed": "Fallou a importación.",
|
||||
"import-label": "Cargar arquivo",
|
||||
"import-label": "Cargar ficheiro",
|
||||
"import-success": "Importáronse {{created}} notas novas e actualizáronse {{updated}} notas.",
|
||||
"import-title": "Importar",
|
||||
"importing": "Importando…",
|
||||
"label": "Exportar e importar",
|
||||
"policy-duplicate": "Crear unha copia",
|
||||
"policy-duplicate-description": "Manter os recordatorios existentes e engadir as versións do arquivo como novos recordatorios.",
|
||||
"policy-duplicate-description": "Manter os recordatorios existentes e engadir as versións do ficheiro como novos recordatorios.",
|
||||
"policy-question": "Xa existen {{count}} destes recordatorios na túa conta. Que debería ocorrer con eles?",
|
||||
"policy-replace": "Substituír polo arquivo",
|
||||
"policy-replace-description": "Sobrescribir o seu contido e a súa configuración co arquivo.",
|
||||
"policy-replace": "Substituír polo ficheiro",
|
||||
"policy-replace-description": "Sobrescribir o seu contido e a súa configuración co ficheiro.",
|
||||
"policy-skip": "Manter o meu",
|
||||
"policy-skip-description": "Deixar os recordatorios existentes como están.",
|
||||
"reading": "Lendo o arquivo…",
|
||||
"reading": "Lendo o ficheiro…",
|
||||
"report-created": "Creado",
|
||||
"report-failed": "Fallou",
|
||||
"report-skipped": "Omitido",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Ficheiros adxuntos",
|
||||
"review-existing": "Xa na túa conta",
|
||||
"review-exported": "Exportado por",
|
||||
"review-memos": "Memos no arquivo",
|
||||
"review-memos": "Memos no ficheiro",
|
||||
"review-new": "Crearase"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -810,34 +810,34 @@
|
||||
"refresh": "רענן",
|
||||
"load-error": "טעינת הסטטיסטיקות נכשלה"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "קובץ",
|
||||
"description": "העבר את התזכירים והקבצים המצורפים שלך בין Memos מופעים עם קובץ ארכיון יחיד.",
|
||||
"description": "העבר את התזכירים והקבצים המצורפים שלך בין Memos מופעים עם קובץ ZIP יחיד.",
|
||||
"export-action": "ייצוא",
|
||||
"export-description": "הורד כל תזכיר שיצרת, כולל הערות, תזכירים מאוחסנים וקבצי קבצים מצורפים, כארכיון תזכירים.",
|
||||
"export-description": "הורד כל תזכיר שיצרת, כולל הערות, תזכירים מאוחסנים וקבצי קבצים מצורפים, כקובץ ייצוא של Memos.",
|
||||
"export-detail": "קובץ ZIP עם קובץ Markdown אחד ורשומה JSON אחת לכל תזכיר.",
|
||||
"export-failed": "הייצוא נכשל.",
|
||||
"export-label": "הורדת ארכיון",
|
||||
"export-success": "הארכיון שלך יורד.",
|
||||
"export-label": "הורדת קובץ",
|
||||
"export-success": "הקובץ שלך יורד.",
|
||||
"export-title": "ייצוא",
|
||||
"exporting": "ייצוא…",
|
||||
"import-action": "בחירת קובץ",
|
||||
"import-another": "ייבוא ארכיון נוסף",
|
||||
"import-description": "ייבוא ארכיון תזכירים ממופע זה או אחר. [Memos ישמור על המזהים שלו, כך שייבוא של אותו ארכיון פעמיים לא ייצור כפילויות.",
|
||||
"import-detail": "בחירת קובץ. [memos-archive-*.zip",
|
||||
"import-another": "ייבוא קובץ נוסף",
|
||||
"import-description": "ייבוא קובץ ייצוא של Memos ממופע זה או אחר. [Memos ישמור על המזהים שלו, כך שייבוא של אותו קובץ פעמיים לא ייצור כפילויות.",
|
||||
"import-detail": "בחירת קובץ. [*.zip",
|
||||
"import-failed": "ייבוא נכשל.",
|
||||
"import-label": "העלאת ארכיון",
|
||||
"import-label": "העלאת קובץ",
|
||||
"import-title": "ייבוא",
|
||||
"importing": "ייבוא…",
|
||||
"label": "ייצוא וייבוא",
|
||||
"policy-duplicate": "יצירת עותק",
|
||||
"policy-duplicate-description": "שמירה על התזכירים הקיימים והוספת גרסאות הארכיון כתזכירים חדשים.",
|
||||
"policy-duplicate-description": "שמירה על התזכירים הקיימים והוספת גרסאות הקובץ כתזכירים חדשים.",
|
||||
"policy-question": "{{count}} מהתזכירים הללו כבר קיימים בחשבונך. מה אמור לקרות להם?",
|
||||
"policy-replace": "החלפה בארכיון",
|
||||
"policy-replace-description": "החלפה של התוכן וההגדרות שלהם בארכיון.",
|
||||
"policy-replace": "החלפה בקובץ",
|
||||
"policy-replace-description": "החלפה של התוכן וההגדרות שלהם בקובץ.",
|
||||
"policy-skip": "שמירה על שלי",
|
||||
"policy-skip-description": "השארת התזכירים הקיימים כפי שהם.",
|
||||
"reading": "קורא את הארכיון…",
|
||||
"reading": "קורא את הקובץ…",
|
||||
"report-created": "נוצר",
|
||||
"report-failed": "נכשל",
|
||||
"report-skipped": "דילג",
|
||||
@@ -845,7 +845,7 @@
|
||||
"review-attachments": "קבצים מצורפים",
|
||||
"review-existing": "כבר בחשבונך",
|
||||
"review-exported": "יוצא על ידי",
|
||||
"review-memos": "פתקים בארכיון",
|
||||
"review-memos": "פתקים בקובץ",
|
||||
"review-new": "ייווצר",
|
||||
"import-confirm": "ייבוא {{count}} תזכירים",
|
||||
"import-success": "יובאו {{created}} תזכירים חדשים ועודכנו {{updated}} תזכירים."
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "ट्रांसक्रिप्शन",
|
||||
"transcription-warning-no-key": "चुने गए प्रोवाइडर में कोई API की सेट नहीं है। एक जोड़ने के लिए ऊपर दिए गए इंटीग्रेशन को एडिट करें।"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "फ़ाइल",
|
||||
"description": "अपने मेमो और अटैचमेंट को एक ही आर्काइव फ़ाइल से Memos इंस्टेंस के बीच मूव करें।",
|
||||
"description": "अपने मेमो और अटैचमेंट को एक ही ZIP फ़ाइल से Memos इंस्टेंस के बीच मूव करें।",
|
||||
"export-action": "एक्सपोर्ट करें",
|
||||
"export-description": "आपके बनाए हर मेमो को, जिसमें कमेंट्स, आर्काइव किए गए मेमो और अटैचमेंट फ़ाइलें शामिल हैं, मेमो आर्काइव के तौर पर डाउनलोड करें।",
|
||||
"export-description": "आपके बनाए हर मेमो को, जिसमें कमेंट्स, आर्काइव किए गए मेमो और अटैचमेंट फ़ाइलें शामिल हैं, Memos एक्सपोर्ट फ़ाइल के तौर पर डाउनलोड करें।",
|
||||
"export-detail": "एक ZIP फ़ाइल जिसमें हर मेमो में एक Markdown फ़ाइल और एक JSON रिकॉर्ड हो।",
|
||||
"export-failed": "एक्सपोर्ट फेल हो गया।",
|
||||
"export-label": "आर्काइव डाउनलोड करें",
|
||||
"export-success": "आपका आर्काइव डाउनलोड हो रहा है।",
|
||||
"export-label": "फ़ाइल डाउनलोड करें",
|
||||
"export-success": "आपकी फ़ाइल डाउनलोड हो रही है।",
|
||||
"export-title": "एक्सपोर्ट",
|
||||
"exporting": "एक्सपोर्ट हो रहा है…",
|
||||
"import-action": "फ़ाइल चुनें",
|
||||
"import-another": "दूसरा आर्काइव इंपोर्ट करें",
|
||||
"import-another": "दूसरी फ़ाइल इंपोर्ट करें",
|
||||
"import-confirm": "{{count}} मेमो इंपोर्ट करें",
|
||||
"import-description": "इस या दूसरे Memos इंस्टेंस से एक मेमो आर्काइव इंपोर्ट करें। मेमो अपने आइडेंटिफ़ायर रखते हैं, इसलिए एक ही आर्काइव को दो बार इंपोर्ट करने से डुप्लीकेट नहीं बनते।",
|
||||
"import-detail": "एक memos-archive-*.zip फ़ाइल चुनें।",
|
||||
"import-description": "इस या दूसरे Memos इंस्टेंस से एक Memos एक्सपोर्ट फ़ाइल इंपोर्ट करें। मेमो अपने आइडेंटिफ़ायर रखते हैं, इसलिए एक ही फ़ाइल को दो बार इंपोर्ट करने से डुप्लीकेट नहीं बनते।",
|
||||
"import-detail": "एक *.zip फ़ाइल चुनें।",
|
||||
"import-failed": "इंपोर्ट फेल हो गया।",
|
||||
"import-label": "आर्काइव अपलोड करें",
|
||||
"import-label": "फ़ाइल अपलोड करें",
|
||||
"import-success": "{{created}} नए मेमो इंपोर्ट किए गए और {{updated}} मेमो अपडेट किए गए।",
|
||||
"import-title": "इंपोर्ट",
|
||||
"importing": "इंपोर्ट हो रहा है…",
|
||||
"label": "एक्सपोर्ट और इंपोर्ट",
|
||||
"policy-duplicate": "कॉपी बनाएं",
|
||||
"policy-duplicate-description": "मौजूदा मेमो रखें और आर्काइव वर्शन को नए मेमो के तौर पर जोड़ें।",
|
||||
"policy-duplicate-description": "मौजूदा मेमो रखें और फ़ाइल वर्शन को नए मेमो के तौर पर जोड़ें।",
|
||||
"policy-question": "इनमें से {{count}} मेमो आपके अकाउंट में पहले से मौजूद हैं। उनका क्या होना चाहिए?",
|
||||
"policy-replace": "आर्काइव से बदलें",
|
||||
"policy-replace-description": "उनके कंटेंट और सेटिंग्स को आर्काइव से ओवरराइट करें।",
|
||||
"policy-replace": "फ़ाइल से बदलें",
|
||||
"policy-replace-description": "उनके कंटेंट और सेटिंग्स को फ़ाइल से ओवरराइट करें।",
|
||||
"policy-skip": "मेरे रखें",
|
||||
"policy-skip-description": "मौजूदा मेमो को वैसे ही रहने दें जैसे वे हैं।",
|
||||
"reading": "आर्काइव पढ़ रहा हूँ…",
|
||||
"reading": "फ़ाइल पढ़ रहा हूँ…",
|
||||
"report-created": "बनाया गया",
|
||||
"report-failed": "फेल",
|
||||
"report-skipped": "स्किप किया गया",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "अटैचमेंट फ़ाइलें",
|
||||
"review-existing": "आपके अकाउंट में पहले से हैं",
|
||||
"review-exported": "एक्सपोर्ट किया गया",
|
||||
"review-memos": "मेमो आर्काइव में",
|
||||
"review-memos": "Memos एक्सपोर्ट फ़ाइल में",
|
||||
"review-new": "बनाया जाएगा"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Osvježiti",
|
||||
"load-error": "Neuspješno učitavanje statistike"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Datoteka",
|
||||
"description": "Premještajte svoje bilješke i privitke između Memos instanci s jednom arhivskom datotekom.",
|
||||
"description": "Premještajte svoje bilješke i privitke između Memos instanci s jednom ZIP datotekom.",
|
||||
"export-action": "Izvoz",
|
||||
"export-description": "Preuzmite svaki memo koji ste izradili, uključujući komentare, arhivirane memoe i datoteke privitaka, kao arhivu memoa.",
|
||||
"export-description": "Preuzmite svaki memo koji ste izradili, uključujući komentare, arhivirane memoe i datoteke privitaka, kao Memos izvoznu datoteku.",
|
||||
"export-detail": "Datoteka ZIP s jednom Markdown datotekom i jednim JSON zapisom po memou.",
|
||||
"export-failed": "Izvoz nije uspio.",
|
||||
"export-label": "Preuzmi arhivu",
|
||||
"export-success": "Vaša se arhiva preuzima.",
|
||||
"export-label": "Preuzmi datoteku",
|
||||
"export-success": "Vaša se datoteka preuzima.",
|
||||
"export-title": "Izvoz",
|
||||
"exporting": "Izvoz…",
|
||||
"import-action": "Odaberite datoteku",
|
||||
"import-another": "Uvezite drugu arhivu",
|
||||
"import-another": "Uvezite drugu datoteku",
|
||||
"import-confirm": "Uvezite {{count}} memoe",
|
||||
"import-description": "Uvezite arhivu memoa iz ove ili druge Memos instance. Memos zadržavaju svoje identifikatore, tako da dvostruki uvoz iste arhive ne stvara duplikate.",
|
||||
"import-detail": "Odaberite memos-archive-*.zip datoteku.",
|
||||
"import-description": "Uvezite Memos izvoznu datoteku iz ove ili druge Memos instance. Memos zadržavaju svoje identifikatore, tako da dvostruki uvoz iste datoteke ne stvara duplikate.",
|
||||
"import-detail": "Odaberite *.zip datoteku.",
|
||||
"import-failed": "Uvoz nije uspio.",
|
||||
"import-label": "Prenesi arhivu",
|
||||
"import-label": "Prenesi datoteku",
|
||||
"import-success": "Uvezeno je {{created}} novih bilješki i ažurirano {{updated}} bilješki.",
|
||||
"import-title": "Uvoz",
|
||||
"importing": "Uvoz…",
|
||||
"label": "Izvoz i uvoz",
|
||||
"policy-duplicate": "Izradi kopiju",
|
||||
"policy-duplicate-description": "Zadrži postojeće bilješke i dodaj arhivske verzije kao nove bilješke.",
|
||||
"policy-duplicate-description": "Zadrži postojeće bilješke i dodaj verzije iz datoteke kao nove bilješke.",
|
||||
"policy-question": "{{count}} ovih bilješki već postoji na tvom računu. Što bi se s njima trebalo dogoditi?",
|
||||
"policy-replace": "Zamijeni arhivom",
|
||||
"policy-replace-description": "Prepiši njihov sadržaj i postavke arhivom.",
|
||||
"policy-replace": "Zamijeni datotekom",
|
||||
"policy-replace-description": "Prepiši njihov sadržaj i postavke datotekom.",
|
||||
"policy-skip": "Zadrži moje",
|
||||
"policy-skip-description": "Ostavi postojeće bilješke kakve jesu.",
|
||||
"reading": "Čitanje arhive…",
|
||||
"reading": "Čitanje datoteke…",
|
||||
"report-created": "Kreirano",
|
||||
"report-failed": "Neuspješno",
|
||||
"report-skipped": "Preskočeno",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Datoteke privitaka",
|
||||
"review-existing": "Već na vašem računu",
|
||||
"review-exported": "Izvezeno od strane",
|
||||
"review-memos": "Memos u arhivi",
|
||||
"review-memos": "Memos u datoteci",
|
||||
"review-new": "Bit će kreirano"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Frissítés",
|
||||
"load-error": "Nem sikerült betölteni a statisztikákat"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fájl",
|
||||
"description": "Jegyzetek és mellékletek áthelyezése Memos példány között egyetlen archív fájllal.",
|
||||
"description": "Jegyzetek és mellékletek áthelyezése Memos példány között egyetlen ZIP-fájllal.",
|
||||
"export-action": "Exportálás",
|
||||
"export-description": "Minden létrehozott emlékeztető letöltése, beleértve a megjegyzéseket, az archivált emlékeztetőket és a mellékletfájlokat, emlékeztető archívumként.",
|
||||
"export-description": "Minden létrehozott emlékeztető letöltése, beleértve a megjegyzéseket, az archivált emlékeztetőket és a mellékletfájlokat, Memos-exportfájlként.",
|
||||
"export-detail": "Egy ZIP fájl, amely emlékeztetőnként egy Markdown fájlt és egy JSON rekordot tartalmaz.",
|
||||
"export-failed": "Exportálás sikertelen.",
|
||||
"export-label": "Archívum letöltése",
|
||||
"export-success": "Az archívum letöltés alatt áll.",
|
||||
"export-label": "Fájl letöltése",
|
||||
"export-success": "A fájl letöltés alatt áll.",
|
||||
"export-title": "Exportálás",
|
||||
"exporting": "Exportálás…",
|
||||
"import-action": "Fájl kiválasztása",
|
||||
"import-another": "Másik archívum importálása",
|
||||
"import-another": "Másik fájl importálása",
|
||||
"import-confirm": "{{count}} feljegyzés importálása",
|
||||
"import-description": "Importálj jegyzetarchívumot ebből vagy egy másik Memos példányból. A jegyzetek megtartják az azonosítóikat, így ugyanazon archívum kétszeri importálása nem hoz létre másolatokat.",
|
||||
"import-detail": "memos-archive-*.zip fájl kiválasztása.",
|
||||
"import-description": "Importálj Memos-exportfájlt ebből vagy egy másik Memos példányból. A jegyzetek megtartják az azonosítóikat, így ugyanazon fájl kétszeri importálása nem hoz létre másolatokat.",
|
||||
"import-detail": "*.zip fájl kiválasztása.",
|
||||
"import-failed": "Importálás sikertelen.",
|
||||
"import-label": "Archívum feltöltése",
|
||||
"import-label": "Fájl feltöltése",
|
||||
"import-success": "{{created}} új jegyzet importálva, {{updated}} jegyzet frissítve.",
|
||||
"import-title": "Importálás",
|
||||
"importing": "Importálás…",
|
||||
"label": "Exportálás és importálás",
|
||||
"policy-duplicate": "Másolat létrehozása",
|
||||
"policy-duplicate-description": "A meglévő feljegyzések megőrzése és az archívum verzióinak hozzáadása új feljegyzésként.",
|
||||
"policy-duplicate-description": "A meglévő feljegyzések megőrzése és a fájl verzióinak hozzáadása új feljegyzésként.",
|
||||
"policy-question": "{{count}} ilyen feljegyzés már létezik a fiókodban. Mi történjen velük?",
|
||||
"policy-replace": "Csere az archívummal",
|
||||
"policy-replace-description": "Tartalmuk és beállításaik felülírása az archívummal.",
|
||||
"policy-replace": "Csere a fájllal",
|
||||
"policy-replace-description": "Tartalmuk és beállításaik felülírása a fájllal.",
|
||||
"policy-skip": "Az enyém megtartása",
|
||||
"policy-skip-description": "A meglévő feljegyzések meghagyása a jelenlegi állapotukban.",
|
||||
"reading": "Archívum olvasása…",
|
||||
"reading": "Fájl olvasása…",
|
||||
"report-created": "Létrehozva",
|
||||
"report-failed": "Sikertelen",
|
||||
"report-skipped": "Kihagyva",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Mellékletfájlok",
|
||||
"review-existing": "Már a fiókodban van",
|
||||
"review-exported": "Exportálta:",
|
||||
"review-memos": "Jegyzetek az archívumban",
|
||||
"review-memos": "Jegyzetek a fájlban",
|
||||
"review-new": "Létrehozva lesz"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "Transkripsi",
|
||||
"transcription-warning-no-key": "Penyedia yang dipilih tidak memiliki kunci API yang ditetapkan. Edit integrasi di atas untuk menambahkannya."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Berkas",
|
||||
"description": "Pindahkan memo dan lampiran Anda antar instance Memos dengan satu file arsip.",
|
||||
"description": "Pindahkan memo dan lampiran Anda antar instance Memos dengan satu file ZIP.",
|
||||
"export-action": "Ekspor",
|
||||
"export-description": "Unduh setiap memo yang Anda buat, termasuk komentar, memo yang diarsipkan, dan file lampiran, sebagai Arsip Memo.",
|
||||
"export-description": "Unduh setiap memo yang Anda buat, termasuk komentar, memo yang diarsipkan, dan file lampiran, sebagai file ekspor Memos.",
|
||||
"export-detail": "Sebuah file ZIP dengan satu file Markdown dan satu record JSON per memo.",
|
||||
"export-failed": "Ekspor gagal.",
|
||||
"export-label": "Unduh arsip",
|
||||
"export-success": "Arsip Anda sedang diunduh.",
|
||||
"export-label": "Unduh file",
|
||||
"export-success": "File Anda sedang diunduh.",
|
||||
"export-title": "Ekspor",
|
||||
"exporting": "Mengekspor…",
|
||||
"import-action": "Pilih file",
|
||||
"import-another": "Impor arsip lain",
|
||||
"import-another": "Impor file lain",
|
||||
"import-confirm": "Impor memo {{count}}",
|
||||
"import-description": "Impor Arsip Memo dari instance Memos ini atau instance Memos lainnya. Memo mempertahankan pengidentifikasinya, sehingga mengimpor arsip yang sama dua kali tidak membuat duplikat.",
|
||||
"import-detail": "Pilih file memos-archive-*.zip.",
|
||||
"import-description": "Impor file ekspor Memos dari instance Memos ini atau instance Memos lainnya. Memo mempertahankan pengidentifikasinya, sehingga mengimpor file yang sama dua kali tidak membuat duplikat.",
|
||||
"import-detail": "Pilih file *.zip.",
|
||||
"import-failed": "Impor gagal.",
|
||||
"import-label": "Unggah arsip",
|
||||
"import-label": "Unggah file",
|
||||
"import-success": "{{created}} memo baru diimpor dan {{updated}} memo diperbarui.",
|
||||
"import-title": "Impor",
|
||||
"importing": "Mengimpor…",
|
||||
"label": "Ekspor & Impor",
|
||||
"policy-duplicate": "Buat salinan",
|
||||
"policy-duplicate-description": "Pertahankan memo yang ada dan tambahkan versi arsip sebagai memo baru.",
|
||||
"policy-duplicate-description": "Pertahankan memo yang ada dan tambahkan versi file sebagai memo baru.",
|
||||
"policy-question": "{{count}} memo ini sudah ada di akun Anda. Apa yang harus terjadi pada memo tersebut?",
|
||||
"policy-replace": "Ganti dengan arsip",
|
||||
"policy-replace-description": "Timpa konten dan pengaturannya dengan arsip.",
|
||||
"policy-replace": "Ganti dengan file",
|
||||
"policy-replace-description": "Timpa konten dan pengaturannya dengan file.",
|
||||
"policy-skip": "Simpan milikku",
|
||||
"policy-skip-description": "Biarkan memo yang ada apa adanya.",
|
||||
"reading": "Membaca arsip…",
|
||||
"reading": "Membaca file…",
|
||||
"report-created": "Dibuat",
|
||||
"report-failed": "Gagal",
|
||||
"report-skipped": "Dilewati",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "File lampiran",
|
||||
"review-existing": "Sudah ada di akun Anda",
|
||||
"review-exported": "Diekspor oleh",
|
||||
"review-memos": "Memo di arsip",
|
||||
"review-memos": "Memo di file",
|
||||
"review-new": "Akan dibuat"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Aggiorna",
|
||||
"load-error": "Impossibile caricare le statistiche"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "File",
|
||||
"description": "Sposta i tuoi memo e allegati tra Memos istanze con un singolo file di archivio.",
|
||||
"description": "Sposta i tuoi memo e allegati tra Memos istanze con un singolo file ZIP.",
|
||||
"export-action": "Esporta",
|
||||
"export-description": "Scarica tutti i memo creati, inclusi commenti, memo archiviati e file allegati, come archivio di memo.",
|
||||
"export-description": "Scarica tutti i memo creati, inclusi commenti, memo archiviati e file allegati, come file di esportazione Memos.",
|
||||
"export-detail": "Un file ZIP con un file Markdown e un record JSON per ogni memo.",
|
||||
"export-failed": "Esportazione non riuscita.",
|
||||
"export-label": "Scarica l'archivio",
|
||||
"export-success": "L'archivio è in fase di download.",
|
||||
"export-label": "Scarica il file",
|
||||
"export-success": "Il file è in fase di download.",
|
||||
"export-title": "Esporta",
|
||||
"exporting": "Esportazione in corso…",
|
||||
"import-action": "Scegli file",
|
||||
"import-another": "Importa un altro archivio",
|
||||
"import-another": "Importa un altro file",
|
||||
"import-confirm": "Importa memo {{count}}",
|
||||
"import-description": "Importa un archivio memo da questa o da un'altra istanza Memos. I file Memo mantengono i propri identificativi, quindi importare lo stesso archivio due volte non crea duplicati.",
|
||||
"import-detail": "Seleziona un file memos-archive-*.zip.",
|
||||
"import-description": "Importa un file di esportazione Memos da questa o da un'altra istanza Memos. I file Memo mantengono i propri identificativi, quindi importare lo stesso file due volte non crea duplicati.",
|
||||
"import-detail": "Seleziona un file *.zip.",
|
||||
"import-failed": "Importazione non riuscita.",
|
||||
"import-label": "Carica archivio",
|
||||
"import-label": "Carica file",
|
||||
"import-success": "Importati {{created}} nuovi memo e aggiornati {{updated}} memo.",
|
||||
"import-title": "Importa",
|
||||
"importing": "Importazione in corso…",
|
||||
"label": "Esporta e importa",
|
||||
"policy-duplicate": "Crea una copia",
|
||||
"policy-duplicate-description": "Mantieni i promemoria esistenti e aggiungi le versioni archiviate come nuovi promemoria.",
|
||||
"policy-duplicate-description": "Mantieni i promemoria esistenti e aggiungi le versioni del file come nuovi promemoria.",
|
||||
"policy-question": "{{count}} di questi promemoria sono già presenti nel tuo account. Cosa dovresti farne?",
|
||||
"policy-replace": "Sostituisci con l'archivio",
|
||||
"policy-replace-description": "Sovrascrivi il loro contenuto e le loro impostazioni con l'archivio.",
|
||||
"policy-replace": "Sostituisci con il file",
|
||||
"policy-replace-description": "Sovrascrivi il loro contenuto e le loro impostazioni con il file.",
|
||||
"policy-skip": "Mantieni i miei",
|
||||
"policy-skip-description": "Lascia i promemoria esistenti così come sono.",
|
||||
"reading": "Lettura dell'archivio…",
|
||||
"reading": "Lettura delil file…",
|
||||
"report-created": "Creato",
|
||||
"report-failed": "Non riuscito",
|
||||
"report-skipped": "Saltato",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "File allegati",
|
||||
"review-existing": "Già presenti nel tuo account",
|
||||
"review-exported": "Esportato da",
|
||||
"review-memos": "Memo nell'archivio",
|
||||
"review-memos": "Memo nelil file",
|
||||
"review-new": "Verrà creato"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "リフレッシュ",
|
||||
"load-error": "統計のロードに失敗しました"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "ファイル",
|
||||
"description": "単一のアーカイブファイルを使用して、Memos インスタンス間でメモと添付ファイルを移動できます。",
|
||||
"description": "単一のZIP ファイルを使用して、Memos インスタンス間でメモと添付ファイルを移動できます。",
|
||||
"export-action": "エクスポート",
|
||||
"export-description": "コメント、アーカイブ済みメモ、添付ファイルを含む、作成したすべてのメモをメモアーカイブとしてダウンロードします。",
|
||||
"export-description": "コメント、アーカイブ済みメモ、添付ファイルを含む、作成したすべてのメモをMemos エクスポートファイルとしてダウンロードします。",
|
||||
"export-detail": "メモごとに Markdown ファイルと JSON レコードを含む ZIP ファイルが作成されます。",
|
||||
"export-failed": "エクスポートに失敗しました。",
|
||||
"export-label": "アーカイブをダウンロード",
|
||||
"export-success": "アーカイブをダウンロードしています。",
|
||||
"export-label": "ファイルをダウンロード",
|
||||
"export-success": "ファイルをダウンロードしています。",
|
||||
"export-title": "エクスポート",
|
||||
"exporting": "エクスポート中…",
|
||||
"import-action": "ファイルを選択",
|
||||
"import-another": "別のアーカイブをインポート",
|
||||
"import-another": "別のファイルをインポート",
|
||||
"import-confirm": "{{count}} 個のメモをインポート",
|
||||
"import-description": "このインスタンスまたは別の Memos インスタンスからメモアーカイブをインポートします。メモの識別子は保持されるため、同じアーカイブを2回インポートしても重複は作成されません。",
|
||||
"import-detail": "memos-archive-*.zip ファイルを選択してください。",
|
||||
"import-description": "このインスタンスまたは別の Memos インスタンスからMemos エクスポートファイルをインポートします。メモの識別子は保持されるため、同じファイルを2回インポートしても重複は作成されません。",
|
||||
"import-detail": "*.zip ファイルを選択してください。",
|
||||
"import-failed": "インポートに失敗しました。",
|
||||
"import-label": "アーカイブをアップロード",
|
||||
"import-label": "ファイルをアップロード",
|
||||
"import-success": "{{created}} 件の新しいメモをインポートし、{{updated}} 件のメモを更新しました。",
|
||||
"import-title": "インポート",
|
||||
"importing": "インポート中…",
|
||||
"label": "エクスポートとインポート",
|
||||
"policy-duplicate": "コピーを作成",
|
||||
"policy-duplicate-description": "既存のメモを保持し、アーカイブ版を新しいメモとして追加します。",
|
||||
"policy-duplicate-description": "既存のメモを保持し、ファイル内のバージョンを新しいメモとして追加します。",
|
||||
"policy-question": "これらのメモのうち、{{count}}件が既にアカウントに存在します。これらをどうしますか?",
|
||||
"policy-replace": "アーカイブで置き換える",
|
||||
"policy-replace-description": "アーカイブでコンテンツと設定を上書きします。",
|
||||
"policy-replace": "ファイルで置き換える",
|
||||
"policy-replace-description": "ファイルでコンテンツと設定を上書きします。",
|
||||
"policy-skip": "自分のメモを保持する",
|
||||
"policy-skip-description": "既存のメモをそのまま残します。",
|
||||
"reading": "アーカイブを読み込んでいます…",
|
||||
"reading": "ファイルを読み込んでいます…",
|
||||
"report-created": "作成済み",
|
||||
"report-failed": "失敗",
|
||||
"report-skipped": "スキップ",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "添付ファイル",
|
||||
"review-existing": "アカウントに既に存在します",
|
||||
"review-exported": "エクスポート元",
|
||||
"review-memos": "アーカイブ内のメモ",
|
||||
"review-memos": "ファイル内のメモ",
|
||||
"review-new": "作成されます"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+13
-13
@@ -739,36 +739,36 @@
|
||||
"refresh": "განაახლეთ",
|
||||
"load-error": "სტატისტიკის ჩატვირთვა ვერ მოხერხდა"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "ფაილი",
|
||||
"description": "გადაიტანეთ თქვენი მემოები და დანართები Memos ეგზემპლარებს შორის ერთი არქივის ფაილით.",
|
||||
"description": "გადაიტანეთ თქვენი მემოები და დანართები Memos ეგზემპლარებს შორის ერთი ZIP ფაილით.",
|
||||
"export-action": "ექსპორტი",
|
||||
"export-description": "ჩამოტვირთეთ თქვენს მიერ შექმნილი ყველა მემო, კომენტარების, დაარქივებული მემოების და დანართების ფაილების ჩათვლით, მემო არქივის სახით.",
|
||||
"export-description": "ჩამოტვირთეთ თქვენს მიერ შექმნილი ყველა მემო, კომენტარების, დაარქივებული მემოების და დანართების ფაილების ჩათვლით, Memos-ის ექსპორტის ფაილის სახით.",
|
||||
"export-detail": "ZIP ფაილი ერთი Markdown ფაილით და ერთი JSON ჩანაწერით თითო მემოში.",
|
||||
"export-failed": "ექსპორტი ვერ მოხერხდა.",
|
||||
"export-label": "არქივის ჩამოტვირთვა",
|
||||
"export-success": "თქვენი არქივი იტვირთება.",
|
||||
"export-label": "ფაილის ჩამოტვირთვა",
|
||||
"export-success": "თქვენი ფაილი იტვირთება.",
|
||||
"export-title": "ექსპორტი",
|
||||
"exporting": "ექსპორტი…",
|
||||
"import-action": "ფაილის არჩევა",
|
||||
"import-another": "სხვა არქივის იმპორტი",
|
||||
"import-another": "სხვა ფაილის იმპორტი",
|
||||
"import-confirm": "{{count}} მემოების იმპორტი",
|
||||
"import-description": "მემოების არქივის იმპორტი ამ ან სხვა Memos ეგზემპლარიდან. მემოები ინარჩუნებენ თავიანთ იდენტიფიკატორებს, რათა ერთი და იგივე არქივის ორჯერ იმპორტირება არ შექმნას დუბლიკატები.",
|
||||
"import-detail": "აირჩიეთ memos-archive-*.zip ფაილი.",
|
||||
"import-description": "Memos-ის ექსპორტის ფაილის იმპორტი ამ ან სხვა Memos ეგზემპლარიდან. მემოები ინარჩუნებენ თავიანთ იდენტიფიკატორებს, რათა ერთი და იგივე ფაილის ორჯერ იმპორტირება არ შექმნას დუბლიკატები.",
|
||||
"import-detail": "აირჩიეთ *.zip ფაილი.",
|
||||
"import-failed": "იმპორტი ვერ მოხერხდა.",
|
||||
"import-label": "არქივის ატვირთვა",
|
||||
"import-label": "ფაილის ატვირთვა",
|
||||
"import-success": "იმპორტირებულია {{created}} ახალი ჩანაწერი და განახლებულია {{updated}} ჩანაწერი.",
|
||||
"import-title": "იმპორტი",
|
||||
"importing": "იმპორტი…",
|
||||
"label": "ექსპორტი და იმპორტი",
|
||||
"policy-duplicate": "ასლის შექმნა",
|
||||
"policy-duplicate-description": "არსებული მემოების შენარჩუნება და არქივის ვერსიების დამატება ახალ მემოებად.",
|
||||
"policy-duplicate-description": "არსებული მემოების შენარჩუნება და ფაილის ვერსიების დამატება ახალ მემოებად.",
|
||||
"policy-question": "ამ მემოებიდან {{count}} უკვე არსებობს თქვენს ანგარიშში. რა უნდა დაემართოს მათ?",
|
||||
"policy-replace": "ჩაანაცვლეთ არქივით",
|
||||
"policy-replace": "ჩაანაცვლეთ ფაილით",
|
||||
"policy-replace-description": "მათი შინაარსი და პარამეტრები გადააწერეთ არქივს.",
|
||||
"policy-skip": "შეინახეთ ჩემი",
|
||||
"policy-skip-description": "დატოვეთ არსებული მემოები უცვლელად.",
|
||||
"reading": "არქივის წაკითხვა…",
|
||||
"reading": "ფაილის წაკითხვა…",
|
||||
"report-created": "შეიქმნა",
|
||||
"report-failed": "ვერ მოხერხდა",
|
||||
"report-skipped": "გამოტოვებულია",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "დანართის ფაილები",
|
||||
"review-existing": "უკვე თქვენს ანგარიშშია",
|
||||
"review-exported": "ექსპორტირებულია",
|
||||
"review-memos": "მემოები არქივშია",
|
||||
"review-memos": "მემოები ფაილშია",
|
||||
"review-new": "შეიქმნება"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,35 +681,35 @@
|
||||
"transcription-title": "전사",
|
||||
"transcription-warning-no-key": "선택한 공급자에 API 키가 설정되어 있지 않습니다. 위의 통합을 편집하여 키를 추가하세요."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "파일",
|
||||
"description": "단일 아카이브 파일로 Memos개의 인스턴스 간에 메모와 첨부 파일을 이동합니다.",
|
||||
"description": "단일 ZIP 파일로 Memos 인스턴스 간에 메모와 첨부 파일을 이동합니다.",
|
||||
"export-action": "내보내기",
|
||||
"export-description": "댓글, 보관된 메모, 첨부 파일을 포함하여 생성한 모든 메모를 메모 아카이브로 다운로드합니다.",
|
||||
"export-description": "댓글, 보관된 메모, 첨부 파일을 포함하여 생성한 모든 메모를 Memos 내보내기 파일로 다운로드합니다.",
|
||||
"export-detail": "메모당 하나의 Markdown 파일과 하나의 JSON 레코드가 포함된 ZIP개의 파일이 생성됩니다.",
|
||||
"export-failed": "내보내기 실패",
|
||||
"export-label": "아카이브 다운로드",
|
||||
"export-success": "아카이브를 다운로드하는 중입니다.",
|
||||
"export-label": "파일 다운로드",
|
||||
"export-success": "파일를 다운로드하는 중입니다.",
|
||||
"export-title": "내보내기",
|
||||
"exporting": "내보내는 중…",
|
||||
"import-action": "파일 선택",
|
||||
"import-another": "다른 아카이브 가져오기",
|
||||
"import-another": "다른 파일 가져오기",
|
||||
"import-confirm": "메모 {{count}}개 가져오기",
|
||||
"import-description": "이 인스턴스 또는 다른 Memos 인스턴스에서 메모 아카이브를 가져옵니다. 메모의 식별자가 유지되므로 같은 아카이브를 두 번 가져와도 중복이 생성되지 않습니다.",
|
||||
"import-detail": "memos-archive-*.zip개 파일을 선택하세요.",
|
||||
"import-description": "이 인스턴스 또는 다른 Memos 인스턴스에서 Memos 내보내기 파일를 가져옵니다. 메모의 식별자가 유지되므로 같은 파일를 두 번 가져와도 중복이 생성되지 않습니다.",
|
||||
"import-detail": "*.zip개 파일을 선택하세요.",
|
||||
"import-failed": "가져오기 실패",
|
||||
"import-label": "아카이브 업로드",
|
||||
"import-label": "파일 업로드",
|
||||
"import-title": "가져오기",
|
||||
"importing": "가져오는 중…",
|
||||
"label": "내보내기 및 가져오기",
|
||||
"policy-duplicate": "사본 만들기",
|
||||
"policy-duplicate-description": "기존 메모는 유지하고 아카이브 버전을 새 메모로 추가합니다.",
|
||||
"policy-duplicate-description": "기존 메모는 유지하고 파일 버전을 새 메모로 추가합니다.",
|
||||
"policy-question": "계정에 이미 {{count}}개의 메모가 있습니다. 이 메모들을 어떻게 처리하시겠습니까?",
|
||||
"policy-replace": "아카이브로 교체",
|
||||
"policy-replace-description": "아카이브로 내용과 설정을 덮어씁니다.",
|
||||
"policy-replace": "파일로 교체",
|
||||
"policy-replace-description": "파일로 내용과 설정을 덮어씁니다.",
|
||||
"policy-skip": "기존 메모 유지",
|
||||
"policy-skip-description": "기존 메모를 그대로 둡니다.",
|
||||
"reading": "아카이브 읽는 중…",
|
||||
"reading": "파일 읽는 중…",
|
||||
"report-created": "생성됨",
|
||||
"report-failed": "실패",
|
||||
"report-skipped": "건너뛰기",
|
||||
@@ -717,7 +717,7 @@
|
||||
"review-attachments": "첨부 파일",
|
||||
"review-existing": "이미 계정에 있음",
|
||||
"review-exported": "내보낸 사용자",
|
||||
"review-memos": "아카이브의 메모",
|
||||
"review-memos": "파일의 메모",
|
||||
"review-new": "생성 예정",
|
||||
"import-success": "새 메모 {{created}}개를 가져오고 메모 {{updated}}개를 업데이트했습니다."
|
||||
},
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Atnaujinti",
|
||||
"load-error": "Nepavyko įkelti statistikos"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Failas",
|
||||
"description": "Perkelkite savo atmintines ir priedus tarp Memos egzempliorių naudodami vieną archyvo failą.",
|
||||
"description": "Perkelkite savo atmintines ir priedus tarp Memos egzempliorių naudodami vieną ZIP failą.",
|
||||
"export-action": "Eksportuoti",
|
||||
"export-description": "Atsisiųskite kiekvieną sukurtą atmintinę, įskaitant komentarus, archyvuotas atmintines ir priedų failus, kaip atmintinių archyvą.",
|
||||
"export-description": "Atsisiųskite kiekvieną sukurtą atmintinę, įskaitant komentarus, archyvuotas atmintines ir priedų failus, kaip Memos eksporto failą.",
|
||||
"export-detail": "ZIP failas su vienu Markdown failu ir vienu JSON įrašu kiekvienam atmintinei.",
|
||||
"export-failed": "Eksportuoti nepavyko.",
|
||||
"export-label": "Atsisiųsti archyvą",
|
||||
"export-success": "Jūsų archyvas atsisiunčiamas.",
|
||||
"export-label": "Atsisiųsti failą",
|
||||
"export-success": "Jūsų failas atsisiunčiamas.",
|
||||
"export-title": "Eksportuoti",
|
||||
"exporting": "Eksportuojama…",
|
||||
"import-action": "Pasirinkti failą",
|
||||
"import-another": "Importuoti kitą archyvą",
|
||||
"import-another": "Importuoti kitą failą",
|
||||
"import-confirm": "Importuoti {{count}} atmintines",
|
||||
"import-description": "Importuoti atmintinių archyvą iš šio arba kito Memos egzemplioriaus. Memos išsaugo savo identifikatorius, todėl du kartus importuojant tą patį archyvą nesukuriamos kopijos.",
|
||||
"import-detail": "Pasirinkite memos-archive-*.zip failą.",
|
||||
"import-description": "Importuoti Memos eksporto failą iš šio arba kito Memos egzemplioriaus. Memos išsaugo savo identifikatorius, todėl du kartus importuojant tą patį failą nesukuriamos kopijos.",
|
||||
"import-detail": "Pasirinkite *.zip failą.",
|
||||
"import-failed": "Importuoti nepavyko.",
|
||||
"import-label": "Įkelti archyvą",
|
||||
"import-label": "Įkelti failą",
|
||||
"import-success": "Importuota {{created}} naujų atmintinių ir atnaujinta {{updated}} atmintinių.",
|
||||
"import-title": "Importuoti",
|
||||
"importing": "Importuojama…",
|
||||
"label": "Eksportuoti ir importuoti",
|
||||
"policy-duplicate": "Sukurti kopiją",
|
||||
"policy-duplicate-description": "Išsaugoti esamas atmintines ir pridėti archyvo versijas kaip naujas atmintines.",
|
||||
"policy-duplicate-description": "Išsaugoti esamas atmintines ir pridėti failo versijas kaip naujas atmintines.",
|
||||
"policy-question": "{{count}} iš šių priminimų jau yra jūsų paskyroje. Kas su jais turėtų nutikti?",
|
||||
"policy-replace": "Pakeisti archyvu",
|
||||
"policy-replace-description": "Perrašyti jų turinį ir nustatymus archyvu.",
|
||||
"policy-replace": "Pakeisti failu",
|
||||
"policy-replace-description": "Perrašyti jų turinį ir nustatymus failu.",
|
||||
"policy-skip": "Išsaugoti mano",
|
||||
"policy-skip-description": "Esamus priminimus palikti tokius, kokie jie yra.",
|
||||
"reading": "Skaitomas archyvas…",
|
||||
"reading": "Skaitomas failas…",
|
||||
"report-created": "Sukurta",
|
||||
"report-failed": "Nepavyko",
|
||||
"report-skipped": "Praleista",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Priedų failai",
|
||||
"review-existing": "Jau jūsų paskyroje",
|
||||
"review-exported": "Eksportavo",
|
||||
"review-memos": "Memos archyve",
|
||||
"review-memos": "Memos faile",
|
||||
"review-new": "Bus sukurta"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Atsvaidzināt",
|
||||
"load-error": "Neizdevās ielādēt statistiku"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fails",
|
||||
"description": "Pārvietojiet piezīmes un pielikumus starp Memos instancēm, izmantojot vienu arhīva failu.",
|
||||
"description": "Pārvietojiet piezīmes un pielikumus starp Memos instancēm, izmantojot vienu ZIP failu.",
|
||||
"export-action": "Eksportēt",
|
||||
"export-description": "Lejupielādējiet visas izveidotās piezīmes, tostarp komentārus, arhivētās piezīmes un pielikumu failus, kā piezīmju arhīvu.",
|
||||
"export-description": "Lejupielādējiet visas izveidotās piezīmes, tostarp komentārus, arhivētās piezīmes un pielikumu failus, kā Memos eksporta failu.",
|
||||
"export-detail": "ZIP fails ar vienu Markdown failu un vienu JSON ierakstu katrā piezīmē.",
|
||||
"export-failed": "Eksportēšana neizdevās.",
|
||||
"export-label": "Lejupielādēt arhīvu",
|
||||
"export-success": "Notiek jūsu arhīva lejupielāde.",
|
||||
"export-label": "Lejupielādēt failu",
|
||||
"export-success": "Notiek jūsu faila lejupielāde.",
|
||||
"export-title": "Eksportēt",
|
||||
"exporting": "Eksportē…",
|
||||
"import-action": "Izvēlēties failu",
|
||||
"import-another": "Importēt citu arhīvu",
|
||||
"import-another": "Importēt citu failu",
|
||||
"import-confirm": "Importēt {{count}} piezīmes",
|
||||
"import-description": "Importēt piezīmju arhīvu no šīs vai citas Memos instances. Memos saglabā savus identifikatorus, tāpēc, importējot vienu un to pašu arhīvu divreiz, netiek radīti dublikāti.",
|
||||
"import-detail": "Atlasiet memos-archive-*.zip failu.",
|
||||
"import-description": "Importēt Memos eksporta failu no šīs vai citas Memos instances. Memos saglabā savus identifikatorus, tāpēc, importējot vienu un to pašu failu divreiz, netiek radīti dublikāti.",
|
||||
"import-detail": "Atlasiet *.zip failu.",
|
||||
"import-failed": "Importēšana neizdevās.",
|
||||
"import-label": "Augšupielādēt arhīvu",
|
||||
"import-label": "Augšupielādēt failu",
|
||||
"import-success": "Importētas {{created}} jaunas piezīmes un atjauninātas {{updated}} piezīmes.",
|
||||
"import-title": "Importēt",
|
||||
"importing": "Importē…",
|
||||
"label": "Eksportēt un importēt",
|
||||
"policy-duplicate": "Izveidot kopiju",
|
||||
"policy-duplicate-description": "Saglabāt esošās piezīmes un pievienot arhīva versijas kā jaunas piezīmes.",
|
||||
"policy-duplicate-description": "Saglabāt esošās piezīmes un pievienot faila versijas kā jaunas piezīmes.",
|
||||
"policy-question": "{{count}} no šīm piezīmēm jau pastāv jūsu kontā. Kas ar tām notiks?",
|
||||
"policy-replace": "Aizstāt ar arhīvu",
|
||||
"policy-replace-description": "Pārrakstīt to saturu un iestatījumus ar arhīvu.",
|
||||
"policy-replace": "Aizstāt ar failu",
|
||||
"policy-replace-description": "Pārrakstīt to saturu un iestatījumus ar failu.",
|
||||
"policy-skip": "Saglabāt manējo",
|
||||
"policy-skip-description": "Atstāt esošās piezīmes tādas, kādas tās ir.",
|
||||
"reading": "Notiek arhīva lasīšana…",
|
||||
"reading": "Notiek faila lasīšana…",
|
||||
"report-created": "Izveidots",
|
||||
"report-failed": "Neizdevās",
|
||||
"report-skipped": "Izlaists",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Pielikumu faili",
|
||||
"review-existing": "Jau ir jūsu kontā",
|
||||
"review-exported": "Eksportējis",
|
||||
"review-memos": "Memos arhīvā",
|
||||
"review-memos": "Memos failā",
|
||||
"review-new": "Tiks izveidots"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "ट्रान्सक्रिप्शन",
|
||||
"transcription-warning-no-key": "निवडलेल्या प्रोव्हायडरमध्ये API की सेट केलेली नाही. एक की जोडण्यासाठी वरील इंटिग्रेशन संपादित करा."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "फाईल",
|
||||
"description": "एकाच आर्काइव्ह फाइलद्वारे तुमचे मेमो आणि संलग्नक Memos उदाहरणांमध्ये स्थानांतरित करा.",
|
||||
"description": "एकाच ZIP फाइलद्वारे तुमचे मेमो आणि संलग्नक Memos उदाहरणांमध्ये स्थानांतरित करा.",
|
||||
"export-action": "निर्यात करा",
|
||||
"export-description": "तुम्ही तयार केलेला प्रत्येक मेमो, ज्यामध्ये टिप्पण्या, संग्रहित मेमो आणि संलग्नक फाइल्स समाविष्ट आहेत, तो मेमो आर्काइव्ह म्हणून डाउनलोड करा.",
|
||||
"export-description": "तुम्ही तयार केलेला प्रत्येक मेमो, ज्यामध्ये टिप्पण्या, संग्रहित मेमो आणि संलग्नक फाइल्स समाविष्ट आहेत, तो Memos निर्यात फाइल म्हणून डाउनलोड करा.",
|
||||
"export-detail": "प्रत्येक मेमोसाठी एक Markdown फाइल आणि एक JSON रेकॉर्ड असलेली ZIP फाइल.",
|
||||
"export-failed": "निर्यात अयशस्वी झाली.",
|
||||
"export-label": "आर्काइव्ह डाउनलोड करा",
|
||||
"export-success": "तुमचा आर्काइव्ह डाउनलोड होत आहे.",
|
||||
"export-label": "फाइल डाउनलोड करा",
|
||||
"export-success": "तुमची फाइल डाउनलोड होत आहे.",
|
||||
"export-title": "निर्यात करा",
|
||||
"exporting": "निर्यात करत आहे…",
|
||||
"import-action": "फाईल निवडा",
|
||||
"import-another": "दुसरे आर्काइव्ह आयात करा",
|
||||
"import-another": "दुसरी फाइल आयात करा",
|
||||
"import-confirm": "{{count}} मेमो आयात करा",
|
||||
"import-description": "या किंवा दुसऱ्या Memos इन्स्टन्सवरून मेमो आर्काइव्ह आयात करा. मेमो त्यांचे आयडेंटिफायर कायम ठेवतात, त्यामुळे तेच आर्काइव्ह दोनदा आयात केल्याने डुप्लिकेट तयार होत नाहीत.",
|
||||
"import-detail": "एक memos-archive-*.zip फाईल निवडा.",
|
||||
"import-description": "या किंवा दुसऱ्या Memos इन्स्टन्सवरून Memos निर्यात फाइल आयात करा. मेमो त्यांचे आयडेंटिफायर कायम ठेवतात, त्यामुळे तीच फाइल दोनदा आयात केल्याने डुप्लिकेट तयार होत नाहीत.",
|
||||
"import-detail": "एक *.zip फाईल निवडा.",
|
||||
"import-failed": "आयात अयशस्वी झाले.",
|
||||
"import-label": "आर्काइव्ह अपलोड करा",
|
||||
"import-label": "फाइल अपलोड करा",
|
||||
"import-success": "{{created}} नवीन मेमो आयात केले आणि {{updated}} मेमो अद्ययावत केले.",
|
||||
"import-title": "आयात करा",
|
||||
"importing": "आयात करत आहे…",
|
||||
"label": "निर्यात आणि आयात करा",
|
||||
"policy-duplicate": "एक प्रत तयार करा",
|
||||
"policy-duplicate-description": "विद्यमान मेमो ठेवा आणि संग्रहित आवृत्त्या नवीन मेमो म्हणून जोडा.",
|
||||
"policy-duplicate-description": "विद्यमान मेमो ठेवा आणि फाइलमधील आवृत्त्या नवीन मेमो म्हणून जोडा.",
|
||||
"policy-question": "यापैकी {{count}} मेमो तुमच्या खात्यात आधीच अस्तित्वात आहेत. त्यांचे काय करावे?",
|
||||
"policy-replace": "संग्रहित आवृत्तीने बदला",
|
||||
"policy-replace-description": "त्यांची सामग्री आणि सेटिंग्ज संग्रहित आवृत्तीने ओव्हरराइट करा.",
|
||||
"policy-replace": "फाइलमधील आवृत्तीने बदला",
|
||||
"policy-replace-description": "त्यांची सामग्री आणि सेटिंग्ज फाइलमधील आवृत्तीने ओव्हरराइट करा.",
|
||||
"policy-skip": "माझे ठेवा",
|
||||
"policy-skip-description": "विद्यमान मेमो जसे आहेत तसेच ठेवा.",
|
||||
"reading": "संग्रह वाचत आहे…",
|
||||
"reading": "फाइल वाचत आहे…",
|
||||
"report-created": "तयार झाले",
|
||||
"report-failed": "अयशस्वी झाले",
|
||||
"report-skipped": "वगळले",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "संलग्न फायली",
|
||||
"review-existing": "तुमच्या खात्यात आधीच आहे",
|
||||
"review-exported": "यांच्याद्वारे निर्यात केले",
|
||||
"review-memos": "संग्रहामध्ये मेमो",
|
||||
"review-memos": "फाइलमध्ये मेमो",
|
||||
"review-new": "तयार केले जाईल"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Forfriske",
|
||||
"load-error": "Kunne ikke laste inn statistikk"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fil",
|
||||
"description": "Flytt notater og vedlegg mellom Memos instanser med én enkelt arkivfil.",
|
||||
"description": "Flytt notater og vedlegg mellom Memos instanser med én enkelt ZIP-fil.",
|
||||
"export-action": "Eksporter",
|
||||
"export-description": "Last ned alle notater du har opprettet, inkludert kommentarer, arkiverte notater og vedleggsfiler, som et notatarkiv.",
|
||||
"export-description": "Last ned alle notater du har opprettet, inkludert kommentarer, arkiverte notater og vedleggsfiler, som en Memos-eksportfil.",
|
||||
"export-detail": "En ZIP-fil med én Markdown-fil og én JSON-oppføring per notat.",
|
||||
"export-failed": "Eksporten mislyktes.",
|
||||
"export-label": "Last ned arkiv",
|
||||
"export-success": "Arkivet ditt lastes ned.",
|
||||
"export-label": "Last ned fil",
|
||||
"export-success": "Filen din lastes ned.",
|
||||
"export-title": "Eksporter",
|
||||
"exporting": "Eksporterer…",
|
||||
"import-action": "Velg fil",
|
||||
"import-another": "Importer et annet arkiv",
|
||||
"import-another": "Importer en annen fil",
|
||||
"import-confirm": "Importer {{count}} notater",
|
||||
"import-description": "Importer et notatarkiv fra denne eller en annen Memos instans. Memoer beholder identifikatorene sine, slik at to ganger import av det samme arkivet ikke oppretter duplikater.",
|
||||
"import-detail": "Velg en memos-archive-*.zip fil.",
|
||||
"import-description": "Importer en Memos-eksportfil fra denne eller en annen Memos instans. Memoer beholder identifikatorene sine, slik at to ganger import av den samme filen ikke oppretter duplikater.",
|
||||
"import-detail": "Velg en *.zip fil.",
|
||||
"import-failed": "Importen mislyktes.",
|
||||
"import-label": "Last opp arkiv",
|
||||
"import-label": "Last opp fil",
|
||||
"import-success": "Importerte {{created}} nye notater og oppdaterte {{updated}} notater.",
|
||||
"import-title": "Importer",
|
||||
"importing": "Importerer…",
|
||||
"label": "Eksporter og importer",
|
||||
"policy-duplicate": "Opprett en kopi",
|
||||
"policy-duplicate-description": "Behold de eksisterende notatene og legg til arkivversjonene som nye notater.",
|
||||
"policy-duplicate-description": "Behold de eksisterende notatene og legg til versjonene fra filen som nye notater.",
|
||||
"policy-question": "{{count}} av disse notatene finnes allerede i kontoen din. Hva skal skje med dem?",
|
||||
"policy-replace": "Erstatt med arkivet",
|
||||
"policy-replace-description": "Overskriv innholdet og innstillingene deres med arkivet.",
|
||||
"policy-replace": "Erstatt med filen",
|
||||
"policy-replace-description": "Overskriv innholdet og innstillingene deres med filen.",
|
||||
"policy-skip": "Behold mitt",
|
||||
"policy-skip-description": "La de eksisterende notatene være som de er.",
|
||||
"reading": "Leser arkivet…",
|
||||
"reading": "Leser filen…",
|
||||
"report-created": "Opprettet",
|
||||
"report-failed": "Mislyktes",
|
||||
"report-skipped": "Hoppet over",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Vedleggsfiler",
|
||||
"review-existing": "Allerede i kontoen din",
|
||||
"review-exported": "Eksportert av",
|
||||
"review-memos": "Memoer i arkivet",
|
||||
"review-memos": "Memoer i filen",
|
||||
"review-new": "Vil bli opprettet"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Vernieuwen",
|
||||
"load-error": "Kan statistieken niet laden"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Bestand",
|
||||
"description": "Verplaats uw memo's en bijlagen tussen Memos instanties met één archiefbestand.",
|
||||
"description": "Verplaats uw memo's en bijlagen tussen Memos instanties met één ZIP-bestand.",
|
||||
"export-action": "Exporteren",
|
||||
"export-description": "Download alle memo's die u hebt gemaakt, inclusief opmerkingen, gearchiveerde memo's en bijlagen, als een memo-archief.",
|
||||
"export-description": "Download alle memo's die u hebt gemaakt, inclusief opmerkingen, gearchiveerde memo's en bijlagen, als een Memos-exportbestand.",
|
||||
"export-detail": "Een ZIP bestand met één Markdown bestand en één JSON record per memo.",
|
||||
"export-failed": "Exporteren mislukt.",
|
||||
"export-label": "Archief downloaden",
|
||||
"export-success": "Uw archief wordt gedownload.",
|
||||
"export-label": "Bestand downloaden",
|
||||
"export-success": "Uw bestand wordt gedownload.",
|
||||
"export-title": "Exporteren",
|
||||
"exporting": "Exporteren…",
|
||||
"import-action": "Bestand kiezen",
|
||||
"import-another": "Nog een archief importeren",
|
||||
"import-another": "Nog een bestand importeren",
|
||||
"import-confirm": "{{count}} memo's importeren",
|
||||
"import-description": "Importeer een memo-archief van deze of een andere Memos instantie. Memos behouden hun identificaties, dus het tweemaal importeren van hetzelfde archief creëert geen duplicaten.",
|
||||
"import-detail": "Selecteer een memos-archive-*.zip bestand.",
|
||||
"import-description": "Importeer een Memos-exportbestand van deze of een andere Memos instantie. Memos behouden hun identificaties, dus het tweemaal importeren van hetzelfde bestand creëert geen duplicaten.",
|
||||
"import-detail": "Selecteer een *.zip bestand.",
|
||||
"import-failed": "Import mislukt.",
|
||||
"import-label": "Archief uploaden",
|
||||
"import-label": "Bestand uploaden",
|
||||
"import-success": "{{created}} nieuwe memo’s geïmporteerd en {{updated}} memo’s bijgewerkt.",
|
||||
"import-title": "Importeren",
|
||||
"importing": "Importeren…",
|
||||
"label": "Exporteren en importeren",
|
||||
"policy-duplicate": "Een kopie maken",
|
||||
"policy-duplicate-description": "De bestaande memo's behouden en de archiefversies als nieuwe memo's toevoegen.",
|
||||
"policy-duplicate-description": "De bestaande memo's behouden en de versies uit het bestand als nieuwe memo's toevoegen.",
|
||||
"policy-question": "{{count}} van deze memo's bestaan al in uw account. Wat moet ermee gebeuren?",
|
||||
"policy-replace": "Vervangen door het archief",
|
||||
"policy-replace-description": "De inhoud en instellingen overschrijven met het archief.",
|
||||
"policy-replace": "Vervangen door het bestand",
|
||||
"policy-replace-description": "De inhoud en instellingen overschrijven met het bestand.",
|
||||
"policy-skip": "Mijn memo behouden",
|
||||
"policy-skip-description": "De bestaande memo's ongewijzigd laten.",
|
||||
"reading": "Archief lezen…",
|
||||
"reading": "Bestand lezen…",
|
||||
"report-created": "Aangemaakt",
|
||||
"report-failed": "Mislukt",
|
||||
"report-skipped": "Overgeslagen",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Bijlagebestanden",
|
||||
"review-existing": "Al in uw account",
|
||||
"review-exported": "Geëxporteerd door",
|
||||
"review-memos": "Memos in archief",
|
||||
"review-memos": "Memos in bestand",
|
||||
"review-new": "Wordt aangemaakt"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Odśwież",
|
||||
"load-error": "Nie udało się załadować statystyk"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Plik",
|
||||
"description": "Przenoś swoje notatki i załączniki między Memos instancjami za pomocą jednego pliku archiwum.",
|
||||
"description": "Przenoś swoje notatki i załączniki między Memos instancjami za pomocą jednego pliku ZIP.",
|
||||
"export-action": "Eksport",
|
||||
"export-description": "Pobierz wszystkie utworzone notatki, w tym komentarze, zarchiwizowane notatki i pliki załączników, jako archiwum notatek.",
|
||||
"export-description": "Pobierz wszystkie utworzone notatki, w tym komentarze, zarchiwizowane notatki i pliki załączników, jako plik eksportu Memos.",
|
||||
"export-detail": "Plik ZIP z jednym plikiem Markdown i jednym rekordem JSON na notatkę.",
|
||||
"export-failed": "Eksport nie powiódł się.",
|
||||
"export-label": "Pobierz archiwum",
|
||||
"export-success": "Trwa pobieranie archiwum.",
|
||||
"export-label": "Pobierz plik",
|
||||
"export-success": "Trwa pobieranie pliku.",
|
||||
"export-title": "Eksport",
|
||||
"exporting": "Eksportowanie…",
|
||||
"import-action": "Wybierz plik",
|
||||
"import-another": "Importuj inne archiwum",
|
||||
"import-another": "Importuj inny plik",
|
||||
"import-confirm": "Importuj {{count}} notatek",
|
||||
"import-description": "Importuj archiwum notatek z tej lub innej instancji Memos. Notatki zachowują swoje identyfikatory, więc dwukrotne zaimportowanie tego samego archiwum nie powoduje utworzenia duplikatów.",
|
||||
"import-detail": "Wybierz plik memos-archive-*.zip.",
|
||||
"import-description": "Importuj plik eksportu Memos z tej lub innej instancji Memos. Notatki zachowują swoje identyfikatory, więc dwukrotne zaimportowanie tego samego pliku nie powoduje utworzenia duplikatów.",
|
||||
"import-detail": "Wybierz plik *.zip.",
|
||||
"import-failed": "Import nie powiódł się.",
|
||||
"import-label": "Prześlij archiwum",
|
||||
"import-label": "Prześlij plik",
|
||||
"import-success": "Zaimportowano {{created}} nowych notatek i zaktualizowano {{updated}} notatek.",
|
||||
"import-title": "Importuj",
|
||||
"importing": "Importowanie…",
|
||||
"label": "Eksport i import",
|
||||
"policy-duplicate": "Utwórz kopię",
|
||||
"policy-duplicate-description": "Zachowaj istniejące notatki i dodaj wersje archiwalne jako nowe notatki.",
|
||||
"policy-duplicate-description": "Zachowaj istniejące notatki i dodaj wersje z pliku jako nowe notatki.",
|
||||
"policy-question": "{{count}} z tych notatek już istnieje na Twoim koncie. Co powinno się z nimi stać?",
|
||||
"policy-replace": "Zastąp archiwum",
|
||||
"policy-replace-description": "Nadpisz ich zawartość i ustawienia archiwum.",
|
||||
"policy-replace": "Zastąp plik",
|
||||
"policy-replace-description": "Nadpisz ich zawartość i ustawienia danymi z pliku.",
|
||||
"policy-skip": "Zachowaj moje",
|
||||
"policy-skip-description": "Pozostaw istniejące notatki bez zmian.",
|
||||
"reading": "Odczyt archiwum…",
|
||||
"reading": "Odczyt pliku…",
|
||||
"report-created": "Utworzono",
|
||||
"report-failed": "Niepowodzenie",
|
||||
"report-skipped": "Pominięto",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Pliki załączników",
|
||||
"review-existing": "Już na Twoim koncie",
|
||||
"review-exported": "Wyeksportowano przez",
|
||||
"review-memos": "Notatki w archiwum",
|
||||
"review-memos": "Notatki w pliku",
|
||||
"review-new": "Zostanie utworzone"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
@@ -681,11 +681,11 @@
|
||||
"transcription-title": "Transcrição",
|
||||
"transcription-warning-no-key": "O provedor selecionado não possui uma chave API definida. Edite a integração acima para adicionar uma."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Arquivo",
|
||||
"description": "Mova seus memorandos e anexos entre instâncias Memos com um único arquivo compactado.",
|
||||
"export-action": "Exportar",
|
||||
"export-description": "Baixe todos os memorandos que você criou, incluindo comentários, memorandos arquivados e arquivos anexos, como um Arquivo de Memorandos.",
|
||||
"export-description": "Baixe todos os memorandos que você criou, incluindo comentários, memorandos arquivados e arquivos anexos, como um arquivo de exportação do Memos.",
|
||||
"export-detail": "Um arquivo ZIP com um arquivo Markdown e um registro JSON por memorando.",
|
||||
"export-failed": "Falha na exportação.",
|
||||
"export-label": "Baixar arquivo",
|
||||
@@ -695,8 +695,8 @@
|
||||
"import-action": "Selecionar arquivo",
|
||||
"import-another": "Importar outro arquivo",
|
||||
"import-confirm": "Importar {{count}} memorandos",
|
||||
"import-description": "Importe um Arquivo de Memorandos desta ou de outra instância Memos. Os Memos mantêm seus identificadores, portanto, importar o mesmo arquivo duas vezes não cria duplicatas.",
|
||||
"import-detail": "Selecione um arquivo memos-archive-*.zip.",
|
||||
"import-description": "Importe um arquivo de exportação do Memos desta ou de outra instância Memos. Os Memos mantêm seus identificadores, portanto, importar o mesmo arquivo duas vezes não cria duplicatas.",
|
||||
"import-detail": "Selecione um arquivo *.zip.",
|
||||
"import-failed": "A importação falhou.",
|
||||
"import-label": "Carregar arquivo",
|
||||
"import-success": "{{created}} novas notas importadas e {{updated}} notas atualizadas.",
|
||||
@@ -704,7 +704,7 @@
|
||||
"importing": "Importando…",
|
||||
"label": "Exportar e Importar",
|
||||
"policy-duplicate": "Criar uma cópia",
|
||||
"policy-duplicate-description": "Manter os memorandos existentes e adicionar as versões arquivadas como novos memorandos.",
|
||||
"policy-duplicate-description": "Manter os memorandos existentes e adicionar as versões do arquivo como novos memorandos.",
|
||||
"policy-question": "{{count}} destes memorandos já existem na sua conta. O que deve acontecer com eles?",
|
||||
"policy-replace": "Substituir pelo arquivo",
|
||||
"policy-replace-description": "Sobrescrever o conteúdo e as configurações com o arquivo.",
|
||||
|
||||
@@ -739,11 +739,11 @@
|
||||
"refresh": "Atualizar",
|
||||
"load-error": "Falha ao carregar estatísticas"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Ficheiro",
|
||||
"description": "Mova os seus memorandos e anexos entre Memos instâncias com um único ficheiro comprimido.",
|
||||
"export-action": "Exportar",
|
||||
"export-description": "Descarregue todos os memorandos que criou, incluindo comentários, memorandos arquivados e ficheiros anexos, como um Ficheiro de Memorandos.",
|
||||
"export-description": "Descarregue todos os memorandos que criou, incluindo comentários, memorandos arquivados e ficheiros anexos, como um ficheiro de exportação do Memos.",
|
||||
"export-detail": "Um ficheiro ZIP com um ficheiro Markdown e um registo JSON por memorando.",
|
||||
"export-failed": "Falha na exportação.",
|
||||
"export-label": "Descarregue o ficheiro",
|
||||
@@ -753,8 +753,8 @@
|
||||
"import-action": "Selecionar ficheiro",
|
||||
"import-another": "Importar outro ficheiro",
|
||||
"import-confirm": "Importar {{count}} memorandos",
|
||||
"import-description": "Importar um Ficheiro de Memorandos desta ou de outra instância Memos. Os Memos mantêm os seus identificadores, pelo que importar o mesmo ficheiro duas vezes não cria duplicados.",
|
||||
"import-detail": "Selecionar um ficheiro memos-archive-*.zip.",
|
||||
"import-description": "Importar um ficheiro de exportação do Memos desta ou de outra instância Memos. Os Memos mantêm os seus identificadores, pelo que importar o mesmo ficheiro duas vezes não cria duplicados.",
|
||||
"import-detail": "Selecionar um ficheiro *.zip.",
|
||||
"import-failed": "Falha na importação.",
|
||||
"import-label": "Carregar ficheiro",
|
||||
"import-success": "{{created}} novas notas importadas e {{updated}} notas atualizadas.",
|
||||
@@ -762,7 +762,7 @@
|
||||
"importing": "Importando…",
|
||||
"label": "Exportar e Importar",
|
||||
"policy-duplicate": "Criar uma cópia",
|
||||
"policy-duplicate-description": "Manter os memorandos existentes e adicionar as versões arquivadas como novos memorandos.",
|
||||
"policy-duplicate-description": "Manter os memorandos existentes e adicionar as versões do ficheiro como novos memorandos.",
|
||||
"policy-question": "{{count}} destes memorandos já existem na sua conta. O que lhes deve acontecer?",
|
||||
"policy-replace": "Substituir pelo ficheiro",
|
||||
"policy-replace-description": "Sobrescrever o conteúdo e as definições com o ficheiro.",
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Reîmprospăta",
|
||||
"load-error": "Nu s-au încărcat statisticile"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fişier",
|
||||
"description": "Mutați notițele și atașamentele între Memos instanțe cu un singur fișier de arhivă.",
|
||||
"description": "Mutați notițele și atașamentele între Memos instanțe cu un singur fișier ZIP.",
|
||||
"export-action": "Export",
|
||||
"export-description": "Descărcați fiecare notiță creată, inclusiv comentarii, notițe arhivate și fișiere atașate, ca Arhivă de Notițe.",
|
||||
"export-description": "Descărcați fiecare notiță creată, inclusiv comentarii, notițe arhivate și fișiere atașate, ca fișier de export Memos.",
|
||||
"export-detail": "Un fișier ZIP cu un fișier Markdown și o înregistrare JSON per notiță.",
|
||||
"export-failed": "Exportul a eșuat.",
|
||||
"export-label": "Descărcați arhiva",
|
||||
"export-success": "Arhiva dvs. se descarcă.",
|
||||
"export-label": "Descărcați fișierul",
|
||||
"export-success": "Fișierul dvs. se descarcă.",
|
||||
"export-title": "Export",
|
||||
"exporting": "Export…",
|
||||
"import-action": "Alege fișier",
|
||||
"import-another": "Importă altă arhivă",
|
||||
"import-another": "Importă alt fișier",
|
||||
"import-confirm": "Importă mementouri {{count}}",
|
||||
"import-description": "Importă o arhivă de mementouri din această instanță sau din alta Memos. Memos își păstrează identificatorii, deci importul de două ori al aceleiași arhive nu creează duplicate.",
|
||||
"import-detail": "Selectează un fișier memos-archive-*.zip.",
|
||||
"import-description": "Importă un fișier de export Memos din această instanță sau din alta Memos. Memos își păstrează identificatorii, deci importul de două ori al aceluiași fișier nu creează duplicate.",
|
||||
"import-detail": "Selectează un fișier *.zip.",
|
||||
"import-failed": "Importul a eșuat.",
|
||||
"import-label": "Încarcă arhiva",
|
||||
"import-label": "Încarcă fișierul",
|
||||
"import-success": "S-au importat {{created}} notițe noi și s-au actualizat {{updated}} notițe.",
|
||||
"import-title": "Import",
|
||||
"importing": "Se importă…",
|
||||
"label": "Export și import",
|
||||
"policy-duplicate": "Creare copie",
|
||||
"policy-duplicate-description": "Păstrați notițele existente și adăugați versiunile arhivate ca notițe noi.",
|
||||
"policy-duplicate-description": "Păstrați notițele existente și adăugați versiunile din fișier ca notițe noi.",
|
||||
"policy-question": "{{count}} dintre aceste notițe există deja în contul dvs. Ce ar trebui să se întâmple cu ele?",
|
||||
"policy-replace": "Înlocuiți cu arhiva",
|
||||
"policy-replace-description": "Suprascrieți conținutul și setările lor cu arhiva.",
|
||||
"policy-replace": "Înlocuiți cu fișierul",
|
||||
"policy-replace-description": "Suprascrieți conținutul și setările lor cu fișierul.",
|
||||
"policy-skip": "Păstrați-le pe ale mele",
|
||||
"policy-skip-description": "Lăsați notițele existente așa cum sunt.",
|
||||
"reading": "Se citește arhiva…",
|
||||
"reading": "Se citește fișierul…",
|
||||
"report-created": "Creat",
|
||||
"report-failed": "Eșuat",
|
||||
"report-skipped": "Omis",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Fișiere atașate",
|
||||
"review-existing": "Deja în contul dvs.",
|
||||
"review-exported": "Exportat de",
|
||||
"review-memos": "Memos în arhivă",
|
||||
"review-memos": "Memos în fișier",
|
||||
"review-new": "Va fi creat"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Обновить",
|
||||
"load-error": "Не удалось загрузить статистику"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Файл",
|
||||
"description": "Перемещайте ваши заметки и вложения между Memos экземплярами с помощью одного архивного файла.",
|
||||
"description": "Перемещайте ваши заметки и вложения между Memos экземплярами с помощью одного ZIP-файла.",
|
||||
"export-action": "Экспорт",
|
||||
"export-description": "Загрузите все созданные вами заметки, включая комментарии, заархивированные заметки и файлы вложений, в виде архива заметок.",
|
||||
"export-description": "Загрузите все созданные вами заметки, включая комментарии, заархивированные заметки и файлы вложений, в виде файла экспорта Memos.",
|
||||
"export-detail": "Файл ZIP, содержащий один файл Markdown и одну запись JSON для каждой заметки.",
|
||||
"export-failed": "Экспорт не удался.",
|
||||
"export-label": "Загрузка архива",
|
||||
"export-success": "Ваш архив загружается.",
|
||||
"export-label": "Загрузка файла",
|
||||
"export-success": "Ваш файл загружается.",
|
||||
"export-title": "Экспорт",
|
||||
"exporting": "Экспорт…",
|
||||
"import-action": "Выберите файл",
|
||||
"import-another": "Импорт другого архива",
|
||||
"import-another": "Импорт другого файла",
|
||||
"import-confirm": "Импорт заметок {{count}}",
|
||||
"import-description": "Импортируйте архив заметок из этого или другого экземпляра Memos. Заметки сохраняют свои идентификаторы, поэтому импорт одного и того же архива дважды не создаст дубликатов.",
|
||||
"import-detail": "Выберите файл memos-archive-*.zip.",
|
||||
"import-description": "Импортируйте файл экспорта Memos из этого или другого экземпляра Memos. Заметки сохраняют свои идентификаторы, поэтому импорт одного и того же файла дважды не создаст дубликатов.",
|
||||
"import-detail": "Выберите файл *.zip.",
|
||||
"import-failed": "Импорт не удался.",
|
||||
"import-label": "Загрузка архива",
|
||||
"import-label": "Загрузка файла",
|
||||
"import-success": "Импортировано новых заметок: {{created}}. Обновлено заметок: {{updated}}.",
|
||||
"import-title": "Импорт",
|
||||
"importing": "Импорт…",
|
||||
"label": "Экспорт и импорт",
|
||||
"policy-duplicate": "Создать копию",
|
||||
"policy-duplicate-description": "Сохранить существующие заметки и добавить архивные версии в качестве новых заметок.",
|
||||
"policy-duplicate-description": "Сохранить существующие заметки и добавить версии из файла в качестве новых заметок.",
|
||||
"policy-question": "{{count}} таких заметок уже существуют в вашей учетной записи. Что с ними должно произойти?",
|
||||
"policy-replace": "Заменить архивом",
|
||||
"policy-replace-description": "Перезаписать их содержимое и настройки архивом.",
|
||||
"policy-replace": "Заменить файлом",
|
||||
"policy-replace-description": "Перезаписать их содержимое и настройки файлом.",
|
||||
"policy-skip": "Сохранить мои",
|
||||
"policy-skip-description": "Оставить существующие заметки как есть.",
|
||||
"reading": "Чтение архива…",
|
||||
"reading": "Чтение файла…",
|
||||
"report-created": "Создано",
|
||||
"report-failed": "Не удалось",
|
||||
"report-skipped": "Пропущено",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Вложенные файлы",
|
||||
"review-existing": "Уже в вашей учетной записи",
|
||||
"review-exported": "Экспортировано пользователем",
|
||||
"review-memos": "Заметки в архиве",
|
||||
"review-memos": "Заметки в файле",
|
||||
"review-new": "Будет создано"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Obnoviť",
|
||||
"load-error": "Nepodarilo sa načítať štatistiky"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Súbor",
|
||||
"description": "Presúvajte svoje poznámky a prílohy medzi Memos inštanciami pomocou jedného archívneho súboru.",
|
||||
"description": "Presúvajte svoje poznámky a prílohy medzi Memos inštanciami pomocou jedného súboru ZIP.",
|
||||
"export-action": "Exportovať",
|
||||
"export-description": "Stiahnite si každú vytvorenú poznámku vrátane komentárov, archivovaných poznámok a príloh ako archív poznámok.",
|
||||
"export-description": "Stiahnite si každú vytvorenú poznámku vrátane komentárov, archivovaných poznámok a príloh ako exportný súbor Memos.",
|
||||
"export-detail": "Súbor ZIP s jedným súborom Markdown a jedným záznamom JSON na poznámku.",
|
||||
"export-failed": "Export zlyhal.",
|
||||
"export-label": "Stiahnuť archív",
|
||||
"export-success": "Váš archív sa sťahuje.",
|
||||
"export-label": "Stiahnuť súbor",
|
||||
"export-success": "Váš súbor sa sťahuje.",
|
||||
"export-title": "Exportovať",
|
||||
"exporting": "Exportuje sa…",
|
||||
"import-action": "Vyberte súbor",
|
||||
"import-another": "Importujte ďalší archív",
|
||||
"import-another": "Importujte ďalší súbor",
|
||||
"import-confirm": "Importujte poznámky {{count}}",
|
||||
"import-description": "Importujte archív poznámok z tejto alebo inej inštancie Memos. Memos zachovajú si svoje identifikátory, takže dvojitý import toho istého archívu nevytvorí duplikáty.",
|
||||
"import-detail": "Vyberte súbor memos-archive-*.zip.",
|
||||
"import-description": "Importujte exportný súbor Memos z tejto alebo inej inštancie Memos. Memos zachovajú si svoje identifikátory, takže dvojitý import toho istého súboru nevytvorí duplikáty.",
|
||||
"import-detail": "Vyberte súbor *.zip.",
|
||||
"import-failed": "Import zlyhal.",
|
||||
"import-label": "Nahrať archív",
|
||||
"import-label": "Nahrať súbor",
|
||||
"import-success": "Importovaných {{created}} nových poznámok a aktualizovaných {{updated}} poznámok.",
|
||||
"import-title": "Importovať",
|
||||
"importing": "Importuje sa…",
|
||||
"label": "Exportovať a importovať",
|
||||
"policy-duplicate": "Vytvoriť kópiu",
|
||||
"policy-duplicate-description": "Ponechať existujúce poznámky a pridať archívne verzie ako nové poznámky.",
|
||||
"policy-duplicate-description": "Ponechať existujúce poznámky a pridať verzie zo súboru ako nové poznámky.",
|
||||
"policy-question": "{{count}} z týchto poznámok už existuje vo vašom účte. Čo sa s nimi má stať?",
|
||||
"policy-replace": "Nahradiť archívom",
|
||||
"policy-replace-description": "Prepísať ich obsah a nastavenia archívom.",
|
||||
"policy-replace": "Nahradiť súborom",
|
||||
"policy-replace-description": "Prepísať ich obsah a nastavenia súborom.",
|
||||
"policy-skip": "Ponechať moje",
|
||||
"policy-skip-description": "Ponechať existujúce poznámky tak, ako sú.",
|
||||
"reading": "Čítanie archívu…",
|
||||
"reading": "Čítanie súboru…",
|
||||
"report-created": "Vytvorené",
|
||||
"report-failed": "Zlyhalo",
|
||||
"report-skipped": "Preskočené",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Priložené súbory",
|
||||
"review-existing": "Už vo vašom účte",
|
||||
"review-exported": "Exportované používateľom",
|
||||
"review-memos": "Memos v archíve",
|
||||
"review-memos": "Memos v súbore",
|
||||
"review-new": "Bude vytvorené"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Osveži",
|
||||
"load-error": "Statistike ni bilo mogoče naložiti"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Datoteka",
|
||||
"description": "Premikajte svoje zapiske in priloge med Memos primerki z eno samo arhivsko datoteko.",
|
||||
"description": "Premikajte svoje zapiske in priloge med Memos primerki z eno samo datoteko ZIP.",
|
||||
"export-action": "Izvozi",
|
||||
"export-description": "Prenesite vse ustvarjene beležke, vključno s komentarji, arhiviranimi beležkami in prilogami, kot arhiv beležk.",
|
||||
"export-description": "Prenesite vse ustvarjene beležke, vključno s komentarji, arhiviranimi beležkami in prilogami, kot izvozno datoteko Memos.",
|
||||
"export-detail": "Datoteka ZIP z eno datoteko Markdown in enim zapisom JSON na beležko.",
|
||||
"export-failed": "Izvoz ni uspel.",
|
||||
"export-label": "Prenesi arhiv",
|
||||
"export-success": "Vaš arhiv se prenaša.",
|
||||
"export-label": "Prenesi datoteko",
|
||||
"export-success": "Vaša datoteka se prenaša.",
|
||||
"export-title": "Izvozi",
|
||||
"exporting": "Izvoz…",
|
||||
"import-action": "Izberite datoteko",
|
||||
"import-another": "Uvozite drug arhiv",
|
||||
"import-another": "Uvozite drugo datoteko",
|
||||
"import-confirm": "Uvozite beležke {{count}}",
|
||||
"import-description": "Uvozite arhiv beležk iz tega ali drugega primerka Memos. Beležke ohranijo svoje identifikatorje, zato dvakratni uvoz istega arhiva ne ustvari dvojnikov.",
|
||||
"import-detail": "Izberite datoteko memos-archive-*.zip.",
|
||||
"import-description": "Uvozite izvozno datoteko Memos iz tega ali drugega primerka Memos. Beležke ohranijo svoje identifikatorje, zato dvakratni uvoz iste datoteke ne ustvari dvojnikov.",
|
||||
"import-detail": "Izberite datoteko *.zip.",
|
||||
"import-failed": "Uvoz ni uspel.",
|
||||
"import-label": "Naloži arhiv",
|
||||
"import-label": "Naloži datoteko",
|
||||
"import-success": "Uvoženih je bilo {{created}} novih beležk in posodobljenih {{updated}} beležk.",
|
||||
"import-title": "Uvozi",
|
||||
"importing": "Uvoz…",
|
||||
"label": "Izvoz in uvoz",
|
||||
"policy-duplicate": "Ustvari kopijo",
|
||||
"policy-duplicate-description": "Obdrži obstoječe zapiske in arhivske različice dodaj kot nove zapiske.",
|
||||
"policy-duplicate-description": "Obdrži obstoječe zapiske in različice iz datoteke dodaj kot nove zapiske.",
|
||||
"policy-question": "{{count}} teh zapiskov že obstaja v tvojem računu. Kaj naj se zgodi z njimi?",
|
||||
"policy-replace": "Zamenjaj z arhivom",
|
||||
"policy-replace-description": "Prepiši njihovo vsebino in nastavitve z arhivom.",
|
||||
"policy-replace": "Zamenjaj z datoteko",
|
||||
"policy-replace-description": "Prepiši njihovo vsebino in nastavitve z datoteko.",
|
||||
"policy-skip": "Obdrži moje",
|
||||
"policy-skip-description": "Pusti obstoječe zapiske takšne, kot so.",
|
||||
"reading": "Branje arhiva…",
|
||||
"reading": "Branje datoteke…",
|
||||
"report-created": "Ustvarjeno",
|
||||
"report-failed": "Neuspešno",
|
||||
"report-skipped": "Preskočeno",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Priložene datoteke",
|
||||
"review-existing": "Že v vašem računu",
|
||||
"review-exported": "Izvozil/a",
|
||||
"review-memos": "Beležke v arhivu",
|
||||
"review-memos": "Beležke v datoteki",
|
||||
"review-new": "Bo ustvarjeno"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -777,36 +777,36 @@
|
||||
"refresh": "Освежи",
|
||||
"load-error": "Учитавање статистике није успело"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Филе",
|
||||
"description": "Премештајте своје белешке и прилоге између Memos инстанци помоћу једне архивске датотеке.",
|
||||
"description": "Премештајте своје белешке и прилоге између Memos инстанци помоћу једне ZIP датотеке.",
|
||||
"export-action": "Извоз",
|
||||
"export-description": "Преузмите сваку белешку коју сте креирали, укључујући коментаре, архивиране белешке и прилоге, као архиву белешки.",
|
||||
"export-description": "Преузмите сваку белешку коју сте креирали, укључујући коментаре, архивиране белешке и прилоге, као Memos извозну датотеку.",
|
||||
"export-detail": "Датотека ZIP са једном Markdown датотеком и једним JSON записом по белешки.",
|
||||
"export-failed": "Извоз није успео.",
|
||||
"export-label": "Преузми архиву",
|
||||
"export-success": "Ваша архива се преузима.",
|
||||
"export-label": "Преузми датотеку",
|
||||
"export-success": "Ваша датотека се преузима.",
|
||||
"export-title": "Извоз",
|
||||
"exporting": "Извоз…",
|
||||
"import-action": "Изаберите датотеку",
|
||||
"import-another": "Увезите другу архиву",
|
||||
"import-another": "Увезите другу датотеку",
|
||||
"import-confirm": "Увезите {{count}} белешке",
|
||||
"import-description": "Увезите архиву белешки из ове или друге Memos инстанце. Memos задржавају своје идентификаторе, тако да двоструки увоз исте архиве не ствара дупликате.",
|
||||
"import-detail": "Изаберите датотеку memos-archive-*.zip.",
|
||||
"import-description": "Увезите Memos извозну датотеку из ове или друге Memos инстанце. Memos задржавају своје идентификаторе, тако да двоструки увоз исте датотеке не ствара дупликате.",
|
||||
"import-detail": "Изаберите датотеку *.zip.",
|
||||
"import-failed": "Увоз није успео.",
|
||||
"import-label": "Отпремање архиве",
|
||||
"import-label": "Отпремање датотеке",
|
||||
"import-success": "Увезено је {{created}} нових белешки и ажурирано {{updated}} белешки.",
|
||||
"import-title": "Увоз",
|
||||
"importing": "Увоз…",
|
||||
"label": "Извоз и увоз",
|
||||
"policy-duplicate": "Направи копију",
|
||||
"policy-duplicate-description": "Задржи постојеће белешке и додај архивске верзије као нове белешке.",
|
||||
"policy-duplicate-description": "Задржи постојеће белешке и додај верзије из датотеке као нове белешке.",
|
||||
"policy-question": "{{count}} ових белешки већ постоји на вашем налогу. Шта треба да се деси са њима?",
|
||||
"policy-replace": "Замени архивом",
|
||||
"policy-replace-description": "Пребриши њихов садржај и подешавања архивом.",
|
||||
"policy-replace": "Замени датотеком",
|
||||
"policy-replace-description": "Пребриши њихов садржај и подешавања датотеком.",
|
||||
"policy-skip": "Задржи моје",
|
||||
"policy-skip-description": "Остави постојеће белешке какве јесу.",
|
||||
"reading": "Читање архиве…",
|
||||
"reading": "Читање датотеке…",
|
||||
"report-created": "Креирано",
|
||||
"report-failed": "Неуспешно",
|
||||
"report-skipped": "Прескочено",
|
||||
@@ -814,7 +814,7 @@
|
||||
"review-attachments": "Приложени фајлови",
|
||||
"review-existing": "Већ је на вашем налогу",
|
||||
"review-exported": "Извезено од стране",
|
||||
"review-memos": "Memos у архиви",
|
||||
"review-memos": "Memos у датотеци",
|
||||
"review-new": "Биће креирано"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Uppdatera",
|
||||
"load-error": "Det gick inte att läsa in statistik"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Fil",
|
||||
"description": "Flytta dina PM och bilagor mellan Memos instanser med en enda arkivfil.",
|
||||
"description": "Flytta dina PM och bilagor mellan Memos instanser med en enda ZIP-fil.",
|
||||
"export-action": "Exportera",
|
||||
"export-description": "Ladda ner alla PM du skapat, inklusive kommentarer, arkiverade PM och bilagor, som ett PM-arkiv.",
|
||||
"export-description": "Ladda ner alla PM du skapat, inklusive kommentarer, arkiverade PM och bilagor, som en Memos-exportfil.",
|
||||
"export-detail": "En ZIP fil med en Markdown fil och en JSON post per PM.",
|
||||
"export-failed": "Exporten misslyckades.",
|
||||
"export-label": "Ladda ner arkiv",
|
||||
"export-success": "Ditt arkiv laddas ner.",
|
||||
"export-label": "Ladda ner fil",
|
||||
"export-success": "Din fil laddas ner.",
|
||||
"export-title": "Exportera",
|
||||
"exporting": "Exporterar…",
|
||||
"import-action": "Välj fil",
|
||||
"import-another": "Importera ett annat arkiv",
|
||||
"import-another": "Importera en annan fil",
|
||||
"import-confirm": "Importera {{count}} PM",
|
||||
"import-description": "Importera ett PM-arkiv från denna eller en annan Memos instans. Anteckningar behåller sina identifierare, så att import av samma arkiv två gånger inte skapar dubbletter.",
|
||||
"import-detail": "Välj en memos-archive-*.zip fil.",
|
||||
"import-description": "Importera en Memos-exportfil från denna eller en annan Memos instans. Anteckningar behåller sina identifierare, så att import av samma fil två gånger inte skapar dubbletter.",
|
||||
"import-detail": "Välj en *.zip fil.",
|
||||
"import-failed": "Importen misslyckades.",
|
||||
"import-label": "Ladda upp arkiv",
|
||||
"import-label": "Ladda upp fil",
|
||||
"import-success": "Importerade {{created}} nya anteckningar och uppdaterade {{updated}} anteckningar.",
|
||||
"import-title": "Importera",
|
||||
"importing": "Importerar…",
|
||||
"label": "Exportera och importera",
|
||||
"policy-duplicate": "Skapa en kopia",
|
||||
"policy-duplicate-description": "Behåll de befintliga memon och lägg till arkivversionerna som nya memon.",
|
||||
"policy-duplicate-description": "Behåll de befintliga memon och lägg till versionerna från filen som nya memon.",
|
||||
"policy-question": "{{count}} av dessa memon finns redan i ditt konto. Vad ska hända med dem?",
|
||||
"policy-replace": "Ersätt med arkivet",
|
||||
"policy-replace-description": "Skriv över deras innehåll och inställningar med arkivet.",
|
||||
"policy-replace": "Ersätt med filen",
|
||||
"policy-replace-description": "Skriv över deras innehåll och inställningar med filen.",
|
||||
"policy-skip": "Behåll mitt",
|
||||
"policy-skip-description": "Lämna de befintliga memon som de är.",
|
||||
"reading": "Läser arkiv…",
|
||||
"reading": "Läser fil…",
|
||||
"report-created": "Skapad",
|
||||
"report-failed": "Misslyckades",
|
||||
"report-skipped": "Hoppad över",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Bifogade filer",
|
||||
"review-existing": "Redan i ditt konto",
|
||||
"review-exported": "Exporterad av",
|
||||
"review-memos": "Anteckningar i arkivet",
|
||||
"review-memos": "Anteckningar i filen",
|
||||
"review-new": "Kommer att skapas"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "การถอดเสียง",
|
||||
"transcription-warning-no-key": "ผู้ให้บริการที่เลือกไม่มีชุดคีย์ API แก้ไขการผสานรวมด้านบนเพื่อเพิ่มคีย์"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "ไฟล์",
|
||||
"description": "ย้ายบันทึกช่วยจำและไฟล์แนบของคุณระหว่างอินสแตนซ์ Memos ด้วยไฟล์เก็บถาวรเดียว",
|
||||
"description": "ย้ายบันทึกช่วยจำและไฟล์แนบของคุณระหว่างอินสแตนซ์ Memos ด้วยไฟล์เดียว",
|
||||
"export-action": "ส่งออก",
|
||||
"export-description": "ดาวน์โหลดบันทึกช่วยจำทั้งหมดที่คุณสร้าง รวมถึงความคิดเห็น บันทึกช่วยจำที่เก็บถาวร และไฟล์แนบ เป็นไฟล์เก็บถาวรบันทึกช่วยจำ",
|
||||
"export-description": "ดาวน์โหลดบันทึกช่วยจำทั้งหมดที่คุณสร้าง รวมถึงความคิดเห็น บันทึกช่วยจำที่เก็บถาวร และไฟล์แนบ เป็นไฟล์ส่งออก Memos",
|
||||
"export-detail": "ไฟล์ ZIP ที่มีไฟล์ Markdown หนึ่งไฟล์และระเบียน JSON หนึ่งรายการต่อบันทึกช่วยจำ",
|
||||
"export-failed": "การส่งออกล้มเหลว",
|
||||
"export-label": "ดาวน์โหลดไฟล์เก็บถาวร",
|
||||
"export-success": "กำลังดาวน์โหลดไฟล์เก็บถาวรของคุณ",
|
||||
"export-label": "ดาวน์โหลดไฟล์",
|
||||
"export-success": "กำลังดาวน์โหลดไฟล์ของคุณ",
|
||||
"export-title": "ส่งออก",
|
||||
"exporting": "กำลังส่งออก…",
|
||||
"import-action": "เลือกไฟล์",
|
||||
"import-another": "นำเข้าไฟล์เก็บถาวรอื่น",
|
||||
"import-another": "นำเข้าไฟล์อื่น",
|
||||
"import-confirm": "นำเข้าบันทึกช่วยจำ {{count}} รายการ",
|
||||
"import-description": "นำเข้าไฟล์เก็บถาวรบันทึกช่วยจำจากอินสแตนซ์ Memos นี้หรืออินสแตนซ์อื่น บันทึกช่วยจำ จะเก็บตัวระบุของตนไว้ ดังนั้นการนำเข้าไฟล์เก็บถาวรเดียวกันสองครั้งจะไม่สร้างรายการซ้ำ",
|
||||
"import-detail": "เลือกไฟล์ memos-archive-*.zip",
|
||||
"import-description": "นำเข้าไฟล์ส่งออก Memosจากอินสแตนซ์ Memos นี้หรืออินสแตนซ์อื่น บันทึกช่วยจำ จะเก็บตัวระบุของตนไว้ ดังนั้นการนำเข้าไฟล์เดียวกันสองครั้งจะไม่สร้างรายการซ้ำ",
|
||||
"import-detail": "เลือกไฟล์ *.zip",
|
||||
"import-failed": "การนำเข้าล้มเหลว",
|
||||
"import-label": "อัปโหลดไฟล์เก็บถาวร",
|
||||
"import-label": "อัปโหลดไฟล์",
|
||||
"import-success": "นำเข้าบันทึกช่วยจำ {{created}} รายการใหม่และอัปเดต {{updated}} รายการแล้ว",
|
||||
"import-title": "นำเข้า",
|
||||
"importing": "กำลังนำเข้า…",
|
||||
"label": "ส่งออกและนำเข้า",
|
||||
"policy-duplicate": "สร้างสำเนา",
|
||||
"policy-duplicate-description": "เก็บบันทึกช่วยจำที่มีอยู่และเพิ่มเวอร์ชันเก็บถาวรเป็นบันทึกช่วยจำใหม่",
|
||||
"policy-duplicate-description": "เก็บบันทึกช่วยจำที่มีอยู่และเพิ่มเวอร์ชันในไฟล์เป็นบันทึกช่วยจำใหม่",
|
||||
"policy-question": "บันทึกช่วยจำเหล่านี้จำนวน {{count}} รายการมีอยู่ในบัญชีของคุณแล้ว ควรทำอย่างไรกับบันทึกช่วยจำเหล่านี้?",
|
||||
"policy-replace": "แทนที่ด้วยไฟล์เก็บถาวร",
|
||||
"policy-replace-description": "เขียนทับเนื้อหาและการตั้งค่าด้วยไฟล์เก็บถาวร",
|
||||
"policy-replace": "แทนที่ด้วยไฟล์",
|
||||
"policy-replace-description": "เขียนทับเนื้อหาและการตั้งค่าด้วยไฟล์",
|
||||
"policy-skip": "เก็บของฉันไว้",
|
||||
"policy-skip-description": "ปล่อยบันทึกช่วยจำที่มีอยู่ไว้เหมือนเดิม",
|
||||
"reading": "กำลังอ่านไฟล์เก็บถาวร…",
|
||||
"reading": "กำลังอ่านไฟล์…",
|
||||
"report-created": "สร้างแล้ว",
|
||||
"report-failed": "ล้มเหลว",
|
||||
"report-skipped": "ข้าม",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "ไฟล์แนบ",
|
||||
"review-existing": "มีอยู่ในบัญชีของคุณแล้ว",
|
||||
"review-exported": "ส่งออกโดย",
|
||||
"review-memos": "บันทึกช่วยจำ ในไฟล์เก็บถาวร",
|
||||
"review-memos": "บันทึกช่วยจำ ในไฟล์",
|
||||
"review-new": "จะถูกสร้าง"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -498,35 +498,35 @@
|
||||
"reactions-description": "Kullanıcıların notlara uygulayabileceği reaksiyon seçeneklerini tanımlayın.",
|
||||
"remove-reaction": "Reaksiyonu kaldır"
|
||||
},
|
||||
"memo-archive": {
|
||||
"description": "Notlarınızı ve eklerinizi tek bir arşiv dosyasıyla Memos sunucuları arasında taşıyın.",
|
||||
"memo-export": {
|
||||
"description": "Notlarınızı ve eklerinizi tek bir ZIP dosyasıyla Memos sunucuları arasında taşıyın.",
|
||||
"export-action": "Dışa aktar",
|
||||
"export-description": "Yorumlar, arşivlenmiş notlar ve ek dosyaları dahil oluşturduğunuz tüm notları bir Memo Arşivi olarak indirin.",
|
||||
"export-description": "Yorumlar, arşivlenmiş notlar ve ek dosyaları dahil oluşturduğunuz tüm notları bir Memos dışa aktarma dosyası olarak indirin.",
|
||||
"export-detail": "Her not için bir Markdown dosyası ve bir JSON kaydı içeren bir ZIP dosyası.",
|
||||
"export-failed": "Dışa aktarma başarısız oldu.",
|
||||
"export-label": "Arşivi indir",
|
||||
"export-success": "Arşiviniz indiriliyor.",
|
||||
"export-label": "Dosyayı indir",
|
||||
"export-success": "Dosyanız indiriliyor.",
|
||||
"export-title": "Dışa aktar",
|
||||
"exporting": "Dışa aktarılıyor…",
|
||||
"import-action": "Dosya seç",
|
||||
"import-another": "Başka bir arşivi içe aktar",
|
||||
"import-another": "Başka bir dosyayı içe aktar",
|
||||
"import-confirm": "{{count}} notu içe aktar",
|
||||
"import-description": "Bu sunucudan ya da başka bir Memos sunucusundan bir Memo Arşivi içe aktarın. Notlar tanımlayıcılarını korur; bu yüzden aynı arşivi iki kez içe aktarmak yinelenen not oluşturmaz.",
|
||||
"import-detail": "Bir memos-archive-*.zip dosyası seçin.",
|
||||
"import-description": "Bu sunucudan ya da başka bir Memos sunucusundan bir Memos dışa aktarma dosyası içe aktarın. Notlar tanımlayıcılarını korur; bu yüzden aynı dosyayı iki kez içe aktarmak yinelenen not oluşturmaz.",
|
||||
"import-detail": "Bir *.zip dosyası seçin.",
|
||||
"import-failed": "İçe aktarma başarısız oldu.",
|
||||
"import-label": "Arşiv yükle",
|
||||
"import-label": "Dosya yükle",
|
||||
"import-success": "{{created}} yeni not içe aktarıldı, {{updated}} not güncellendi.",
|
||||
"import-title": "İçe aktar",
|
||||
"importing": "İçe aktarılıyor…",
|
||||
"label": "Dışa ve İçe Aktarma",
|
||||
"policy-duplicate": "Kopya oluştur",
|
||||
"policy-duplicate-description": "Mevcut notları koru ve arşivdeki sürümleri yeni not olarak ekle.",
|
||||
"policy-duplicate-description": "Mevcut notları koru ve dosyadaki sürümleri yeni not olarak ekle.",
|
||||
"policy-question": "Bu notlardan {{count}} tanesi hesabınızda zaten var. Bunlara ne yapılsın?",
|
||||
"policy-replace": "Arşivdekiyle değiştir",
|
||||
"policy-replace-description": "İçeriklerinin ve ayarlarının üzerine arşivdekileri yaz.",
|
||||
"policy-replace": "Dosyadakiyle değiştir",
|
||||
"policy-replace-description": "İçeriklerinin ve ayarlarının üzerine dosyadakileri yaz.",
|
||||
"policy-skip": "Benimkini koru",
|
||||
"policy-skip-description": "Mevcut notları olduğu gibi bırak.",
|
||||
"reading": "Arşiv okunuyor…",
|
||||
"reading": "Dosya okunuyor…",
|
||||
"report-created": "Oluşturulan",
|
||||
"report-failed": "Başarısız",
|
||||
"report-skipped": "Atlanan",
|
||||
@@ -535,7 +535,7 @@
|
||||
"review-existing": "Hesabınızda zaten var",
|
||||
"review-exported": "Dışa aktaran",
|
||||
"review-file": "Dosya",
|
||||
"review-memos": "Arşivdeki notlar",
|
||||
"review-memos": "Dosyadaki notlar",
|
||||
"review-new": "Oluşturulacak"
|
||||
},
|
||||
"my-account": {
|
||||
|
||||
+14
-14
@@ -739,36 +739,36 @@
|
||||
"refresh": "Оновити",
|
||||
"load-error": "Не вдалося завантажити статистику"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Файл",
|
||||
"description": "Переміщуйте свої нотатки та вкладення між Memos екземплярами за допомогою одного архівного файлу.",
|
||||
"description": "Переміщуйте свої нотатки та вкладення між Memos екземплярами за допомогою одного ZIP-файлу.",
|
||||
"export-action": "Експорт",
|
||||
"export-description": "Завантажте всі створені вами нотатки, включаючи коментарі, архівовані нотатки та вкладені файли, як архів нотаток.",
|
||||
"export-description": "Завантажте всі створені вами нотатки, включаючи коментарі, архівовані нотатки та вкладені файли, як файл експорту Memos.",
|
||||
"export-detail": "Файл ZIP з одним файлом Markdown та одним записом JSON на нотатку.",
|
||||
"export-failed": "Помилка експорту.",
|
||||
"export-label": "Завантажити архів",
|
||||
"export-success": "Ваш архів завантажується.",
|
||||
"export-label": "Завантажити файл",
|
||||
"export-success": "Ваш файл завантажується.",
|
||||
"export-title": "Експорт",
|
||||
"exporting": "Експорт…",
|
||||
"import-action": "Виберіть файл",
|
||||
"import-another": "Імпортуйте інший архів",
|
||||
"import-another": "Імпортуйте інший файл",
|
||||
"import-confirm": "Імпортуйте нотатки {{count}}",
|
||||
"import-description": "Імпортуйте архів нотаток з цього або іншого екземпляра Memos. Нотатки зберігають свої ідентифікатори, тому подвійний імпорт того самого архіву не створює дублікатів.",
|
||||
"import-detail": "Виберіть файл memos-archive-*.zip.",
|
||||
"import-description": "Імпортуйте файл експорту Memos з цього або іншого екземпляра Memos. Нотатки зберігають свої ідентифікатори, тому подвійний імпорт того самого файлу не створює дублікатів.",
|
||||
"import-detail": "Виберіть файл *.zip.",
|
||||
"import-failed": "Імпорт не вдався.",
|
||||
"import-label": "Завантажити архів",
|
||||
"import-label": "Завантажити файл",
|
||||
"import-success": "Імпортовано {{created}} нових нотаток і оновлено {{updated}} нотаток.",
|
||||
"import-title": "Імпорт",
|
||||
"importing": "Імпорт…",
|
||||
"label": "Експорт та імпорт",
|
||||
"policy-duplicate": "Створити копію",
|
||||
"policy-duplicate-description": "Зберегти існуючі нотатки та додати архівні версії як нові нотатки.",
|
||||
"policy-duplicate-description": "Зберегти існуючі нотатки та додати версії з файлу як нові нотатки.",
|
||||
"policy-question": "{{count}} з цих нотаток вже існують у вашому обліковому записі. Що з ними має статися?",
|
||||
"policy-replace": "Замінити архівом",
|
||||
"policy-replace-description": "Перезаписати їхній вміст та налаштування архівом.",
|
||||
"policy-replace": "Замінити файлом",
|
||||
"policy-replace-description": "Перезаписати їхній вміст та налаштування файлом.",
|
||||
"policy-skip": "Зберегти мої",
|
||||
"policy-skip-description": "Залишити існуючі нотатки як є.",
|
||||
"reading": "Читання архіву…",
|
||||
"reading": "Читання файлу…",
|
||||
"report-created": "Створено",
|
||||
"report-failed": "Не вдалося",
|
||||
"report-skipped": "Пропущено",
|
||||
@@ -776,7 +776,7 @@
|
||||
"review-attachments": "Вкладені файли",
|
||||
"review-existing": "Вже у вашому обліковому записі",
|
||||
"review-exported": "Експортовано користувачем",
|
||||
"review-memos": "Нотатки в архіві",
|
||||
"review-memos": "Нотатки в файлі",
|
||||
"review-new": "Буде створено"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
+14
-14
@@ -681,36 +681,36 @@
|
||||
"transcription-title": "Phiên âm",
|
||||
"transcription-warning-no-key": "Nhà cung cấp đã chọn không có khóa API được thiết lập. Chỉnh sửa tích hợp ở trên để thêm một khóa."
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "Tệp",
|
||||
"description": "Di chuyển ghi chú và tệp đính kèm của bạn giữa Memos phiên bản bằng một tệp lưu trữ duy nhất.",
|
||||
"description": "Di chuyển ghi chú và tệp đính kèm của bạn giữa Memos phiên bản bằng một tệp duy nhất.",
|
||||
"export-action": "Xuất",
|
||||
"export-description": "Tải xuống mọi ghi chú bạn đã tạo, bao gồm nhận xét, ghi chú đã lưu trữ và tệp đính kèm, dưới dạng Tệp Lưu trữ Ghi chú.",
|
||||
"export-description": "Tải xuống mọi ghi chú bạn đã tạo, bao gồm nhận xét, ghi chú đã lưu trữ và tệp đính kèm, dưới dạng tệp xuất Memos.",
|
||||
"export-detail": "Một tệp ZIP với một tệp Markdown và một bản ghi JSON cho mỗi ghi chú.",
|
||||
"export-failed": "Xuất thất bại.",
|
||||
"export-label": "Tải xuống tệp lưu trữ",
|
||||
"export-success": "Tệp lưu trữ của bạn đang được tải xuống.",
|
||||
"export-label": "Tải xuống tệp",
|
||||
"export-success": "Tệp của bạn đang được tải xuống.",
|
||||
"export-title": "Xuất",
|
||||
"exporting": "Đang xuất…",
|
||||
"import-action": "Chọn tệp",
|
||||
"import-another": "Nhập tệp lưu trữ khác",
|
||||
"import-another": "Nhập tệp khác",
|
||||
"import-confirm": "Nhập {{count}} ghi chú",
|
||||
"import-description": "Nhập Tệp Lưu trữ Ghi chú từ phiên bản này hoặc phiên bản Memos khác. Ghi chú giữ nguyên mã định danh của chúng, vì vậy việc nhập cùng một tệp lưu trữ hai lần sẽ không tạo ra các bản sao trùng lặp.",
|
||||
"import-detail": "Chọn một tệp memos-archive-*.zip.",
|
||||
"import-description": "Nhập tệp xuất Memos từ phiên bản này hoặc phiên bản Memos khác. Ghi chú giữ nguyên mã định danh của chúng, vì vậy việc nhập cùng một tệp hai lần sẽ không tạo ra các bản sao trùng lặp.",
|
||||
"import-detail": "Chọn một tệp *.zip.",
|
||||
"import-failed": "Nhập thất bại.",
|
||||
"import-label": "Tải lên tệp lưu trữ",
|
||||
"import-label": "Tải lên tệp",
|
||||
"import-success": "Đã nhập {{created}} ghi chú mới và cập nhật {{updated}} ghi chú.",
|
||||
"import-title": "Nhập",
|
||||
"importing": "Đang nhập…",
|
||||
"label": "Xuất & Nhập",
|
||||
"policy-duplicate": "Tạo bản sao",
|
||||
"policy-duplicate-description": "Giữ lại các ghi chú hiện có và thêm các phiên bản lưu trữ dưới dạng ghi chú mới.",
|
||||
"policy-duplicate-description": "Giữ lại các ghi chú hiện có và thêm các phiên bản trong tệp dưới dạng ghi chú mới.",
|
||||
"policy-question": "{{count}} ghi chú trong số này đã tồn tại trong tài khoản của bạn. Điều gì sẽ xảy ra với chúng?",
|
||||
"policy-replace": "Thay thế bằng tệp lưu trữ",
|
||||
"policy-replace-description": "Ghi đè nội dung và cài đặt của chúng bằng tệp lưu trữ.",
|
||||
"policy-replace": "Thay thế bằng tệp",
|
||||
"policy-replace-description": "Ghi đè nội dung và cài đặt của chúng bằng tệp.",
|
||||
"policy-skip": "Giữ lại của tôi",
|
||||
"policy-skip-description": "Giữ nguyên các ghi chú hiện có.",
|
||||
"reading": "Đang đọc kho lưu trữ…",
|
||||
"reading": "Đang đọc tệp…",
|
||||
"report-created": "Đã tạo",
|
||||
"report-failed": "Thất bại",
|
||||
"report-skipped": "Đã bỏ qua",
|
||||
@@ -718,7 +718,7 @@
|
||||
"review-attachments": "Tệp đính kèm",
|
||||
"review-existing": "Đã có trong tài khoản của bạn",
|
||||
"review-exported": "Được xuất bởi",
|
||||
"review-memos": "Ghi chú trong kho lưu trữ",
|
||||
"review-memos": "Ghi chú trong tệp",
|
||||
"review-new": "Sẽ được tạo"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
@@ -764,36 +764,36 @@
|
||||
"title": "资源统计",
|
||||
"unknown": "未知"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "文件",
|
||||
"description": "通过单个归档文件,在 Memos 实例之间转移备忘录和附件。",
|
||||
"description": "通过单个文件,在 Memos 实例之间转移备忘录和附件。",
|
||||
"export-action": "导出",
|
||||
"export-description": "将您创建的所有备忘录(包括评论、已归档的备忘录和附件)下载为备忘录归档文件。",
|
||||
"export-description": "将您创建的所有备忘录(包括评论、已归档的备忘录和附件)下载为 Memos 导出文件。",
|
||||
"export-detail": "ZIP 文件中,每条备忘录分别对应一个 Markdown 文件和一条 JSON 记录。",
|
||||
"export-failed": "导出失败。",
|
||||
"export-label": "下载归档文件",
|
||||
"export-success": "您的归档文件正在下载。",
|
||||
"export-label": "下载文件",
|
||||
"export-success": "您的文件正在下载。",
|
||||
"export-title": "导出",
|
||||
"exporting": "正在导出…",
|
||||
"import-action": "选择文件",
|
||||
"import-another": "导入其他归档文件",
|
||||
"import-another": "导入其他文件",
|
||||
"import-confirm": "导入 {{count}} 条备忘录",
|
||||
"import-description": "从当前或其他 Memos 实例导入备忘录归档文件。备忘录会保留原有标识符,因此重复导入同一归档文件不会产生重复的备忘录。",
|
||||
"import-detail": "选择一个 memos-archive-*.zip 文件。",
|
||||
"import-description": "从当前或其他 Memos 实例导入 Memos 导出文件。备忘录会保留原有标识符,因此重复导入同一文件不会产生重复的备忘录。",
|
||||
"import-detail": "选择从 Memos 导出的 ZIP 文件。",
|
||||
"import-failed": "导入失败。",
|
||||
"import-label": "上传归档文件",
|
||||
"import-label": "上传文件",
|
||||
"import-success": "已导入 {{created}} 条新备忘录,并更新 {{updated}} 条备忘录。",
|
||||
"import-title": "导入",
|
||||
"importing": "正在导入…",
|
||||
"label": "导出和导入",
|
||||
"policy-duplicate": "创建副本",
|
||||
"policy-duplicate-description": "保留现有备忘录,并将归档文件中的版本添加为新备忘录。",
|
||||
"policy-duplicate-description": "保留现有备忘录,并将文件中的版本添加为新备忘录。",
|
||||
"policy-question": "您的账户中已存在其中 {{count}} 条备忘录。要如何处理?",
|
||||
"policy-replace": "使用归档版本覆盖",
|
||||
"policy-replace-description": "使用归档文件中的版本覆盖这些备忘录的内容和设置。",
|
||||
"policy-replace": "使用导入版本覆盖",
|
||||
"policy-replace-description": "使用文件中的版本覆盖这些备忘录的内容和设置。",
|
||||
"policy-skip": "保留我的备忘录",
|
||||
"policy-skip-description": "保留现有备忘录不变。",
|
||||
"reading": "正在读取归档文件…",
|
||||
"reading": "正在读取文件…",
|
||||
"report-created": "已创建",
|
||||
"report-failed": "失败",
|
||||
"report-skipped": "已跳过",
|
||||
@@ -801,7 +801,7 @@
|
||||
"review-attachments": "附件文件",
|
||||
"review-existing": "您的账户中已存在",
|
||||
"review-exported": "导出者",
|
||||
"review-memos": "归档文件中的备忘录",
|
||||
"review-memos": "文件中的备忘录",
|
||||
"review-new": "将新建"
|
||||
},
|
||||
"spaces": {
|
||||
|
||||
@@ -898,36 +898,36 @@
|
||||
"refresh": "重新整理",
|
||||
"load-error": "載入統計資料失敗"
|
||||
},
|
||||
"memo-archive": {
|
||||
"memo-export": {
|
||||
"review-file": "檔案",
|
||||
"description": "透過單一封存檔案,在 Memos 實例之間轉移備忘錄和附件。",
|
||||
"description": "透過單一檔案,在 Memos 實例之間轉移備忘錄和附件。",
|
||||
"export-action": "匯出",
|
||||
"export-description": "將您建立的所有備忘錄(包括留言、已封存的備忘錄和附件檔案)下載為備忘錄封存檔案。",
|
||||
"export-description": "將您建立的所有備忘錄(包括留言、已封存的備忘錄和附件檔案)下載為 Memos 匯出檔案。",
|
||||
"export-detail": "ZIP 檔案中,每則備忘錄分別對應一個 Markdown 檔案和一筆 JSON 記錄。",
|
||||
"export-failed": "匯出失敗。",
|
||||
"export-label": "下載封存檔案",
|
||||
"export-success": "您的封存檔案正在下載。",
|
||||
"export-label": "下載檔案",
|
||||
"export-success": "您的檔案正在下載。",
|
||||
"export-title": "匯出",
|
||||
"exporting": "正在匯出…",
|
||||
"import-action": "選擇檔案",
|
||||
"import-another": "匯入其他封存檔案",
|
||||
"import-another": "匯入其他檔案",
|
||||
"import-confirm": "匯入 {{count}} 則備忘錄",
|
||||
"import-description": "從目前或其他 Memos 實例匯入備忘錄封存檔案。備忘錄會保留原有識別碼,因此重複匯入同一封存檔案不會產生重複的備忘錄。",
|
||||
"import-detail": "選擇一個 memos-archive-*.zip 檔案。",
|
||||
"import-description": "從目前或其他 Memos 實例匯入 Memos 匯出檔案。備忘錄會保留原有識別碼,因此重複匯入同一檔案不會產生重複的備忘錄。",
|
||||
"import-detail": "選擇從 Memos 匯出的 ZIP 檔案。",
|
||||
"import-failed": "匯入失敗。",
|
||||
"import-label": "上傳封存檔案",
|
||||
"import-label": "上傳檔案",
|
||||
"import-success": "已匯入 {{created}} 則新備忘錄,並更新 {{updated}} 則備忘錄。",
|
||||
"import-title": "匯入",
|
||||
"importing": "正在匯入…",
|
||||
"label": "匯出與匯入",
|
||||
"policy-duplicate": "建立副本",
|
||||
"policy-duplicate-description": "保留現有備忘錄,並將封存檔案中的版本新增為新備忘錄。",
|
||||
"policy-duplicate-description": "保留現有備忘錄,並將檔案中的版本新增為新備忘錄。",
|
||||
"policy-question": "您的帳號中已存在其中 {{count}} 則備忘錄。要如何處理?",
|
||||
"policy-replace": "使用封存版本覆寫",
|
||||
"policy-replace-description": "使用封存檔案中的版本覆寫這些備忘錄的內容和設定。",
|
||||
"policy-replace": "使用匯入版本覆寫",
|
||||
"policy-replace-description": "使用檔案中的版本覆寫這些備忘錄的內容和設定。",
|
||||
"policy-skip": "保留我的備忘錄",
|
||||
"policy-skip-description": "保留現有備忘錄不變。",
|
||||
"reading": "正在讀取封存檔案…",
|
||||
"reading": "正在讀取檔案…",
|
||||
"report-created": "已建立",
|
||||
"report-failed": "失敗",
|
||||
"report-skipped": "已跳過",
|
||||
@@ -935,7 +935,7 @@
|
||||
"review-attachments": "附件檔案",
|
||||
"review-existing": "您的帳號中已存在",
|
||||
"review-exported": "匯出者",
|
||||
"review-memos": "封存檔案中的備忘錄",
|
||||
"review-memos": "檔案中的備忘錄",
|
||||
"review-new": "將建立"
|
||||
}
|
||||
},
|
||||
|
||||
@@ -2526,8 +2526,8 @@ export const UserService: GenService<{
|
||||
},
|
||||
/**
|
||||
* ExportMemos writes every memo the user created, with comments, archived
|
||||
* memos, and attachment files, as a Memo Archive (a ZIP file, see
|
||||
* docs/design/memo-archive-format.md). Only the user may export their own
|
||||
* memos, and attachment files, as a Memos export file (a ZIP file, see
|
||||
* docs/design/memos-export-format.md). Only the user may export their own
|
||||
* memos. The body is the archive; content_type is its media type.
|
||||
*
|
||||
* @generated from rpc memos.api.v1.UserService.ExportMemos
|
||||
@@ -2538,7 +2538,7 @@ export const UserService: GenService<{
|
||||
output: typeof HttpBodySchema;
|
||||
},
|
||||
/**
|
||||
* ImportMemos uploads a Memo Archive in bounded chunks and imports it into
|
||||
* ImportMemos uploads a Memos export file in bounded chunks and imports it into
|
||||
* the user's memos. The first call carries the spec and returns an
|
||||
* upload_id; later calls carry that upload_id. A finishing call with
|
||||
* validate_only returns the plan and keeps the archive staged; a finishing
|
||||
|
||||
@@ -173,7 +173,7 @@ describe("locale resources", () => {
|
||||
const messages = flatten(module.default);
|
||||
|
||||
expect(messages["setting.storage.filepath-template-description"]).toContain("assets/{timestamp}_{uuid}_{filename}");
|
||||
expect(messages["setting.memo-archive.import-detail"]).toContain("memos-archive-*.zip");
|
||||
expect(messages["setting.memo-export.import-detail"]).toMatch(/zip/i);
|
||||
for (const key of ["transcription-model-placeholder-openai", "transcription-model-placeholder-gemini"]) {
|
||||
expect(messages[`setting.ai.${key}`]).toBe(source[`setting.ai.${key}`]);
|
||||
}
|
||||
|
||||
@@ -0,0 +1,63 @@
|
||||
import { readFileSync } from "node:fs";
|
||||
import { resolve } from "node:path";
|
||||
import { afterEach, beforeEach, describe, expect, it, vi } from "vitest";
|
||||
import { exportMemos, stageMemoImport } from "@/lib/memo-export";
|
||||
|
||||
const { exportRequest, importRequest, download } = vi.hoisted(() => ({
|
||||
exportRequest: vi.fn(),
|
||||
importRequest: vi.fn(),
|
||||
download: vi.fn(),
|
||||
}));
|
||||
|
||||
vi.mock("@/connect", () => ({ userServiceClient: { exportMemos: exportRequest, importMemos: importRequest } }));
|
||||
vi.mock("@/lib/browser", () => ({ downloadFileFromUrl: download }));
|
||||
|
||||
describe("memo export files", () => {
|
||||
beforeEach(() => {
|
||||
vi.clearAllMocks();
|
||||
});
|
||||
|
||||
afterEach(() => {
|
||||
vi.restoreAllMocks();
|
||||
vi.useRealTimers();
|
||||
});
|
||||
|
||||
it("downloads a ZIP with the export name and releases its object URL", async () => {
|
||||
vi.useFakeTimers();
|
||||
vi.setSystemTime(new Date("2026-09-20T08:30:00Z"));
|
||||
const createURL = vi.spyOn(URL, "createObjectURL").mockReturnValue("blob:export");
|
||||
const revokeURL = vi.spyOn(URL, "revokeObjectURL").mockImplementation(() => {});
|
||||
exportRequest.mockResolvedValue({ contentType: "application/vnd.usememos.export+zip", data: new Uint8Array([80, 75]) });
|
||||
|
||||
await exportMemos("users/alice", "alice");
|
||||
|
||||
expect(exportRequest).toHaveBeenCalledWith({ name: "users/alice" });
|
||||
expect(createURL.mock.calls[0][0]).toMatchObject({ type: "application/vnd.usememos.export+zip", size: 2 });
|
||||
expect(download).toHaveBeenCalledWith("blob:export", "memos-export-alice-20260920T083000Z.zip");
|
||||
expect(revokeURL).not.toHaveBeenCalled();
|
||||
await vi.runAllTimersAsync();
|
||||
expect(revokeURL).toHaveBeenCalledWith("blob:export");
|
||||
});
|
||||
|
||||
it.each([
|
||||
["golden.zip", "memos-export-alice.zip", "application/vnd.usememos.export+zip"],
|
||||
["legacy.zip", "memos-archive-alice.zip", "application/vnd.usememos.archive+zip"],
|
||||
["legacy.zip", "my-notes.zip", "application/zip"],
|
||||
])("uploads %s as %s without filtering by the filename or MIME type", async (fixture, name, type) => {
|
||||
const bytes = readFileSync(resolve(import.meta.dirname, "../../core/memoexport/testdata/1.0", fixture));
|
||||
const file = new File([bytes], name, { type });
|
||||
const plan = { memos: 3 };
|
||||
importRequest.mockImplementation(async (request) => ({
|
||||
uploadId: "upload-id",
|
||||
maxChunkSize: 1024,
|
||||
committedSize: request.data ? request.writeOffset + BigInt(request.data.length) : 0n,
|
||||
result: request.finishWrite ? { case: "plan", value: plan } : { case: undefined },
|
||||
}));
|
||||
|
||||
await expect(stageMemoImport("users/alice", file)).resolves.toEqual({ uploadId: "upload-id", size: bytes.length, plan });
|
||||
|
||||
const chunks = importRequest.mock.calls.slice(1).map(([request]) => request.data);
|
||||
expect(Buffer.concat(chunks)).toEqual(bytes);
|
||||
expect(importRequest.mock.lastCall?.[0]).toMatchObject({ finishWrite: true, validateOnly: true });
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user