@fiduswriter/frontend 0.1.65 → 0.1.66

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Fördelar",
12
12
  "All document templates updated!": "Alla dokumentmallar uppdaterade!",
13
13
  "All documents updated!": "Alla dokument uppdaterade!",
14
- "All documents, document templates and document revisions updated!": "Alla dokument, dokumentmallar och dokumentrevisioner uppdaterade!",
14
+ "All documents, document templates and document snapshots updated!": "Alla dokument, dokumentmallar och dokumentögonblicksbilder uppdaterade!",
15
15
  "All fields are required!": "Alla fält är obligatoriska!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "Är du säker på att du vill inaktivera tvåfaktorsautentisering? Detta kommer att minska säkerheten för ditt konto.",
17
17
  "Bibliography": "Bibliografi",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Kunde inte ta bort avatar",
55
55
  "Could not delete document": "Det gick inte att ta bort dokumentet",
56
56
  "Could not delete document template": "Det gick inte att ta bort dokumentmall",
57
- "Could not delete revision.": "Det gick inte att ta bort revisionen.",
57
+ "Could not delete snapshot.": "Det gick inte att ta bort ögonblicksbilden.",
58
58
  "Could not delete user account.": "Kunde inte ta bort användarkonto.",
59
59
  "Could not disable two-factor authentication.": "Det gick inte att inaktivera tvåfaktorsautentisering.",
60
60
  "Could not download batch": "Det gick inte att ladda ned batch",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Frånkopplad",
98
98
  "Do you really want to delete the following document?": "Vill du verkligen ta bort följande dokument?",
99
99
  "Do you really want to delete the following documents?": "Vill du verkligen ta bort följande dokument?",
100
- "Do you really want to delete the revision?": "Vill du verkligen ta bort revisionen?",
100
+ "Do you really want to delete the snapshot?": "Vill du verkligen ta bort ögonblicksbilden?",
101
101
  "Do you want to accept the below invite?": "Vill du acceptera inbjudan nedan?",
102
102
  "Do you want to accept the below invites?": "Vill du acceptera nedanstående inbjudningar?",
103
103
  "Document data loading failed.": "Det gick inte att ladda dokumentdata.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Inget ytterligare skydd utöver ditt kontolösenord.",
206
206
  "No contacts available": "Inga kontakter tillgängliga",
207
207
  "No contacts found": "Inga kontakter hittades",
208
- "No document revisions to update.": "Inga dokumentrevisioner att uppdatera.",
208
+ "No document snapshots to update.": "Inga dokumentögonblicksbilder att uppdatera.",
209
209
  "No document templates available": "Inga dokumentmallar tillgängliga",
210
210
  "No document templates found": "Inga dokumentmallar hittades",
211
211
  "No document templates to update.": "Inga dokumentmallar att uppdatera.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Återställ mitt lösenord",
251
251
  "Reset Password": "Återställ lösenord",
252
252
  "Respond": "Svara",
253
- "Revision deleted": "Revision raderad",
254
- "Revision of": "Revision av",
255
- "Revisions": "Revisioner",
253
+ "Snapshot deleted": "Ögonblicksbild raderad",
254
+ "Snapshot of": "Ögonblicksbild av",
255
+ "Snapshots": "Ögonblicksbilder",
256
256
  "Save": "Spara",
257
- "Saved revisions of": "Sparade versioner av",
257
+ "Saved snapshots of": "Sparade ögonblicksbilder av",
258
258
  "Saved template": "Sparad mall",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Skanna den här QR-koden med din autentiseringsapp (Google Authenticator, Authy, etc.)",
260
260
  "Search contacts": "Sök kontakter",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "%(appName)s server uppdateras för närvarande. Vänta.",
294
294
  "The account could not be deleted!": "Kontot kunde inte raderas!",
295
295
  "The document has been updated": "Dokumentet har uppdaterats",
296
- "The document revision has been updated: ": "Dokumentrevisionen har uppdaterats:",
296
+ "The document snapshot has been updated: ": "Dokumentögonblicksbilden har uppdaterats:",
297
297
  "The document template could not be copied": "Dokumentmallen kunde inte kopieras",
298
298
  "The document template has been updated": "Dokumentmallen har uppdaterats",
299
299
  "The email could not be added!": "E-postadressen kunde inte läggas till!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Uppdatera",
326
326
  "Updating document templates.": "Uppdatering av dokumentmallar.",
327
327
  "Updating documents.": "Uppdatering av dokument.",
328
- "Updating saved revisions.": "Uppdaterar sparade versioner.",
328
+ "Updating saved snapshots.": "Uppdaterar sparade ögonblicksbilder.",
329
329
  "Updating...": "Uppdaterar...",
330
330
  "Upload": "Ladda upp",
331
331
  "Upload FIDUSTEMPLATE file": "Ladda upp filen FIDUSTEMPLATE",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "Avantajları",
12
12
  "All document templates updated!": "Tüm belge şablonları güncellendi!",
13
13
  "All documents updated!": "Tüm belgeler güncellendi!",
14
- "All documents, document templates and document revisions updated!": "Tüm belgeler, belge şablonları ve belge revizyonları güncellendi!",
14
+ "All documents, document templates and document snapshots updated!": "Tüm belgeler, belge şablonları ve belge anlık görüntüleri güncellendi!",
15
15
  "All fields are required!": "Tüm alanlar zorunludur!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "İki faktörlü kimlik doğrulamayı devre dışı bırakmak istediğinizden emin misiniz? Bu hesabınızın güvenliğini azaltacaktır.",
17
17
  "Bibliography": "Kaynakça",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "Avatar silinemedi",
55
55
  "Could not delete document": "Doküman silinemedi",
56
56
  "Could not delete document template": "Belge şablonu silinemedi",
57
- "Could not delete revision.": "Düzeltme silinemedi.",
57
+ "Could not delete snapshot.": "Anlık görüntü silinemedi.",
58
58
  "Could not delete user account.": "Kullanıcı hesabı silinemedi.",
59
59
  "Could not disable two-factor authentication.": "İki faktörlü kimlik doğrulama devre dışı bırakılamadı.",
60
60
  "Could not download batch": "Toplu indirilemedi",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "Bağlantı kesildi",
98
98
  "Do you really want to delete the following document?": "Aşağıdaki belgeyi gerçekten silmek istiyor musunuz?",
99
99
  "Do you really want to delete the following documents?": "Aşağıdaki belgeleri gerçekten silmek istiyor musunuz?",
100
- "Do you really want to delete the revision?": "Düzeltmeyi gerçekten silmek istiyor musunuz?",
100
+ "Do you really want to delete the snapshot?": "Anlık görüntüyü gerçekten silmek istiyor musunuz?",
101
101
  "Do you want to accept the below invite?": "Aşağıdaki daveti kabul etmek istiyor musunuz?",
102
102
  "Do you want to accept the below invites?": "Aşağıdaki davetleri kabul etmek istiyor musunuz?",
103
103
  "Document data loading failed.": "Belge verileri yükleme başarısız oldu.",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "Hesap şifrenizin ötesinde ek koruma yoktur.",
206
206
  "No contacts available": "Kişi bulunamadı",
207
207
  "No contacts found": "Kişi bulunamadı",
208
- "No document revisions to update.": "Güncellenecek belge revizyonu yok.",
208
+ "No document snapshots to update.": "Güncellenecek belge anlık görüntüsü yok.",
209
209
  "No document templates available": "Belge şablonu yok",
210
210
  "No document templates found": "Belge şablonu bulunamadı",
211
211
  "No document templates to update.": "Güncellenecek belge şablonu yok.",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "Şifremi Sıfırla",
251
251
  "Reset Password": "Şifreyi Sıfırla",
252
252
  "Respond": "Yanıtlamak",
253
- "Revision deleted": "Düzeltme silindi",
254
- "Revision of": "Revizyonu",
255
- "Revisions": "Revizyonlar",
253
+ "Snapshot deleted": "Anlık görüntü silindi",
254
+ "Snapshot of": "Anlık görüntü",
255
+ "Snapshots": "Anlık görüntüler",
256
256
  "Save": "Kaydet",
257
- "Saved revisions of": "Kaydedilen düzeltmeler",
257
+ "Saved snapshots of": "Kaydedilen anlık görüntüler",
258
258
  "Saved template": "Kayıtlı şablon",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "Bu QR kodunu kimlik doğrulayıcı uygulamanızla (Google Authenticator, Authy vb.) tarayın.",
260
260
  "Search contacts": "Kişileri arayın",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "%(appName)s sunucusu şu anda güncelleniyor. Lütfen bekleyin.",
294
294
  "The account could not be deleted!": "Hesap silinemedi!",
295
295
  "The document has been updated": "Belge güncellendi",
296
- "The document revision has been updated: ": "Doküman revizyonu güncellendi:",
296
+ "The document snapshot has been updated: ": "Belge anlık görüntüsü güncellendi:",
297
297
  "The document template could not be copied": "Belge şablonu kopyalanamadı",
298
298
  "The document template has been updated": "Belge şablonu güncellendi",
299
299
  "The email could not be added!": "E-posta eklenemedi!",
@@ -325,7 +325,7 @@
325
325
  "Update": "Güncelle",
326
326
  "Updating document templates.": "Belge şablonlarının güncellenmesi.",
327
327
  "Updating documents.": "Belgelerin güncellenmesi.",
328
- "Updating saved revisions.": "Kaydedilen revizyonlar güncelleniyor.",
328
+ "Updating saved snapshots.": "Kaydedilen anlık görüntüler güncelleniyor.",
329
329
  "Updating...": "Güncelleniyor...",
330
330
  "Upload": "Yükle",
331
331
  "Upload FIDUSTEMPLATE file": "FIDUSTEMPLATE dosyasını yükle",
@@ -11,7 +11,7 @@
11
11
  "Advantages": "优点",
12
12
  "All document templates updated!": "所有文档模板已更新!",
13
13
  "All documents updated!": "所有文档均已更新!",
14
- "All documents, document templates and document revisions updated!": "所有文档、文档模板和文档修订均已更新!",
14
+ "All documents, document templates and document snapshots updated!": "所有文档、文档模板和文档快照均已更新!",
15
15
  "All fields are required!": "所有字段均为必填!",
16
16
  "Are you sure you want to disable two-factor authentication? This will reduce the security of your account.": "您确定要禁用双因素身份验证吗?这会降低您帐户的安全性。",
17
17
  "Bibliography": "参考书目",
@@ -54,7 +54,7 @@
54
54
  "Could not delete avatar": "无法删除头像",
55
55
  "Could not delete document": "无法删除文档",
56
56
  "Could not delete document template": "无法删除文档模板",
57
- "Could not delete revision.": "无法删除修订版。",
57
+ "Could not delete snapshot.": "无法删除快照。",
58
58
  "Could not delete user account.": "无法删除用户帐户。",
59
59
  "Could not disable two-factor authentication.": "无法禁用双因素身份验证。",
60
60
  "Could not download batch": "无法批量下载",
@@ -97,7 +97,7 @@
97
97
  "Disconnected": "已断开连接",
98
98
  "Do you really want to delete the following document?": "您确实要删除以下文档吗?",
99
99
  "Do you really want to delete the following documents?": "您确实要删除以下文档吗?",
100
- "Do you really want to delete the revision?": "您确实要删除修订版吗?",
100
+ "Do you really want to delete the snapshot?": "您确实要删除快照吗?",
101
101
  "Do you want to accept the below invite?": "您想接受以下邀请吗?",
102
102
  "Do you want to accept the below invites?": "您想接受以下邀请吗?",
103
103
  "Document data loading failed.": "文档数据加载失败。",
@@ -205,7 +205,7 @@
205
205
  "No additional protection beyond your account password.": "除了您的帐户密码之外,没有其他保护。",
206
206
  "No contacts available": "没有可用的联系人",
207
207
  "No contacts found": "未找到联系人",
208
- "No document revisions to update.": "没有要更新的文档修订。",
208
+ "No document snapshots to update.": "没有要更新的文档快照。",
209
209
  "No document templates available": "没有可用的文档模板",
210
210
  "No document templates found": "未找到文档模板",
211
211
  "No document templates to update.": "没有要更新的文档模板。",
@@ -250,11 +250,11 @@
250
250
  "Reset My Password": "重置我的密码",
251
251
  "Reset Password": "重置密码",
252
252
  "Respond": "回应",
253
- "Revision deleted": "修订已删除",
254
- "Revision of": "修订",
255
- "Revisions": "修订",
253
+ "Snapshot deleted": "快照已删除",
254
+ "Snapshot of": "快照",
255
+ "Snapshots": "快照",
256
256
  "Save": "保存",
257
- "Saved revisions of": "已保存的修订",
257
+ "Saved snapshots of": "已保存的快照",
258
258
  "Saved template": "保存的模板",
259
259
  "Scan this QR code with your authenticator app (Google Authenticator, Authy, etc.)": "使用您的身份验证器应用程序(Google Authenticator、Authy 等)扫描此二维码",
260
260
  "Search contacts": "搜索联系人",
@@ -293,7 +293,7 @@
293
293
  "The %(appName)s server is currently being updated. Please wait.": "当前正在更新 %(appName)s 服务器。请稍等。",
294
294
  "The account could not be deleted!": "该帐户无法删除!",
295
295
  "The document has been updated": "文档已更新",
296
- "The document revision has been updated: ": "文档修订已更新:",
296
+ "The document snapshot has been updated: ": "文档快照已更新:",
297
297
  "The document template could not be copied": "无法复制文档模板",
298
298
  "The document template has been updated": "文档模板已更新",
299
299
  "The email could not be added!": "无法添加邮箱!",
@@ -325,7 +325,7 @@
325
325
  "Update": "更新",
326
326
  "Updating document templates.": "更新文档模板。",
327
327
  "Updating documents.": "更新文档。",
328
- "Updating saved revisions.": "更新保存的修订。",
328
+ "Updating saved snapshots.": "更新保存的快照。",
329
329
  "Updating...": "更新中...",
330
330
  "Upload": "上传",
331
331
  "Upload FIDUSTEMPLATE file": "上传 FIDUSTEMPLATE 文件",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fiduswriter/frontend",
3
- "version": "0.1.65",
3
+ "version": "0.1.66",
4
4
  "description": "Fidus Writer-specific shared utilities and UI chrome",
5
5
  "keywords": [
6
6
  "fiduswriter",
@@ -583,7 +583,7 @@ export class DocumentOverview {
583
583
  headings: [
584
584
  "", "", "",
585
585
  gettext("Title"),
586
- gettext("Revisions"),
586
+ gettext("Snapshots"),
587
587
  gettext("Created"),
588
588
  gettext("Last changed"),
589
589
  gettext("Owner"),
@@ -41,7 +41,7 @@ export class DocumentRevisionsDialog {
41
41
  return Promise.reject(new Error("Document not found"))
42
42
  }
43
43
  this.dialog = new Dialog({
44
- title: `${gettext("Saved revisions of")} ${escapeText(shortFileTitle(doc.title as string, doc.path as string))}`,
44
+ title: `${gettext("Saved snapshots of")} ${escapeText(shortFileTitle(doc.title as string, doc.path as string))}`,
45
45
  id: "revisions-dialog",
46
46
  width: 620,
47
47
  height: 480,
@@ -96,7 +96,7 @@ export class DocumentRevisionsDialog {
96
96
  longFilePath(
97
97
  doc.title as string,
98
98
  doc.path as string,
99
- `${gettext("Revision of")} `
99
+ `${gettext("Snapshot of")} `
100
100
  ),
101
101
  false,
102
102
  [],
@@ -151,7 +151,7 @@ export class DocumentRevisionsDialog {
151
151
  id: "confirmdeletion",
152
152
  title: gettext("Confirm deletion"),
153
153
  icon: "exclamation-triangle",
154
- body: `${gettext("Do you really want to delete the revision?")}`,
154
+ body: `${gettext("Do you really want to delete the snapshot?")}`,
155
155
  height: 80,
156
156
  buttons
157
157
  } as any)
@@ -172,7 +172,7 @@ export class DocumentRevisionsDialog {
172
172
  d => d.id === Number.parseInt(documentId!)
173
173
  )
174
174
  thisTr.parentElement!.removeChild(thisTr)
175
- addAlert("success", gettext("Revision deleted"))
175
+ addAlert("success", gettext("Snapshot deleted"))
176
176
  return Promise.resolve({
177
177
  action: "deleted-revision",
178
178
  id,
@@ -180,8 +180,8 @@ export class DocumentRevisionsDialog {
180
180
  })
181
181
  })
182
182
  .catch(() => {
183
- addAlert("error", gettext("Could not delete revision."))
184
- return Promise.reject(new Error("Could not delete revision."))
183
+ addAlert("error", gettext("Could not delete snapshot."))
184
+ return Promise.reject(new Error("Could not delete snapshot."))
185
185
  })
186
186
  }
187
187
  }
@@ -181,13 +181,13 @@ export class DocMaintenance {
181
181
  }
182
182
 
183
183
  updateRevisions(): void {
184
- addAlert("info", gettext("Updating saved revisions."))
184
+ addAlert("info", gettext("Updating saved snapshots."))
185
185
  this.app.apiConnectors.maintenance.getAllRevisionIds().then((json: RevisionIdsResponse) => {
186
186
  this.revSavesLeft = json.revision_ids.length
187
187
  if (this.revSavesLeft) {
188
188
  json.revision_ids.forEach((revId: number) => this.updateRevision(revId))
189
189
  } else {
190
- addAlert("info", gettext("No document revisions to update."))
190
+ addAlert("info", gettext("No document snapshots to update."))
191
191
  this.done()
192
192
  }
193
193
  })
@@ -242,7 +242,7 @@ export class DocMaintenance {
242
242
  this.app.apiConnectors.maintenance.updateRevision(id, blob).then(() => {
243
243
  addAlert(
244
244
  "success",
245
- gettext("The document revision has been updated: ") + id
245
+ gettext("The document snapshot has been updated: ") + id
246
246
  )
247
247
  this.revSavesLeft--
248
248
  if (this.revSavesLeft === 0) {
@@ -254,7 +254,7 @@ export class DocMaintenance {
254
254
 
255
255
  done(): void {
256
256
  ;(document.querySelector("input#update") as HTMLInputElement).value = gettext(
257
- "All documents, document templates and document revisions updated!"
257
+ "All documents, document templates and document snapshots updated!"
258
258
  )
259
259
  }
260
260
  }