@bigbinary/neeto-trash-frontend 3.1.0

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.
Files changed (113) hide show
  1. package/README.md +185 -0
  2. package/app/javascript/src/translations/ar.json +32 -0
  3. package/app/javascript/src/translations/bg.json +32 -0
  4. package/app/javascript/src/translations/ca.json +32 -0
  5. package/app/javascript/src/translations/cs.json +32 -0
  6. package/app/javascript/src/translations/da.json +32 -0
  7. package/app/javascript/src/translations/de.json +32 -0
  8. package/app/javascript/src/translations/en.json +32 -0
  9. package/app/javascript/src/translations/es-MX.json +32 -0
  10. package/app/javascript/src/translations/es.json +32 -0
  11. package/app/javascript/src/translations/et.json +32 -0
  12. package/app/javascript/src/translations/fi.json +32 -0
  13. package/app/javascript/src/translations/fil.json +32 -0
  14. package/app/javascript/src/translations/fr.json +32 -0
  15. package/app/javascript/src/translations/he.json +32 -0
  16. package/app/javascript/src/translations/hi.json +32 -0
  17. package/app/javascript/src/translations/hr.json +32 -0
  18. package/app/javascript/src/translations/hu.json +32 -0
  19. package/app/javascript/src/translations/id.json +32 -0
  20. package/app/javascript/src/translations/index.js +3 -0
  21. package/app/javascript/src/translations/it.json +32 -0
  22. package/app/javascript/src/translations/ja.json +32 -0
  23. package/app/javascript/src/translations/ko.json +32 -0
  24. package/app/javascript/src/translations/nl.json +32 -0
  25. package/app/javascript/src/translations/pl.json +32 -0
  26. package/app/javascript/src/translations/pt-BR.json +32 -0
  27. package/app/javascript/src/translations/pt.json +32 -0
  28. package/app/javascript/src/translations/ro.json +32 -0
  29. package/app/javascript/src/translations/ru.json +32 -0
  30. package/app/javascript/src/translations/sk.json +32 -0
  31. package/app/javascript/src/translations/sl.json +32 -0
  32. package/app/javascript/src/translations/sv.json +32 -0
  33. package/app/javascript/src/translations/th.json +32 -0
  34. package/app/javascript/src/translations/tr.json +32 -0
  35. package/app/javascript/src/translations/uk.json +32 -0
  36. package/app/javascript/src/translations/vi.json +32 -0
  37. package/app/javascript/src/translations/zh-CN.json +32 -0
  38. package/app/javascript/src/translations/zh-TW.json +32 -0
  39. package/dist/.ready +1 -0
  40. package/dist/DeleteConfirmationAlert-CO3e6GqN.js +37 -0
  41. package/dist/DeleteConfirmationAlert-CO3e6GqN.js.map +1 -0
  42. package/dist/DeleteConfirmationAlert-Cpiz0Dyn.js +39 -0
  43. package/dist/DeleteConfirmationAlert-Cpiz0Dyn.js.map +1 -0
  44. package/dist/DeletePermanentlyAction.js +63 -0
  45. package/dist/DeletePermanentlyAction.js.map +1 -0
  46. package/dist/MoveToTrashAction.js +49 -0
  47. package/dist/MoveToTrashAction.js.map +1 -0
  48. package/dist/RestoreButton.js +47 -0
  49. package/dist/RestoreButton.js.map +1 -0
  50. package/dist/TrashBanner.js +28 -0
  51. package/dist/TrashBanner.js.map +1 -0
  52. package/dist/TrashList.js +329 -0
  53. package/dist/TrashList.js.map +1 -0
  54. package/dist/cjs/DeletePermanentlyAction.js +65 -0
  55. package/dist/cjs/DeletePermanentlyAction.js.map +1 -0
  56. package/dist/cjs/MoveToTrashAction.js +51 -0
  57. package/dist/cjs/MoveToTrashAction.js.map +1 -0
  58. package/dist/cjs/RestoreButton.js +49 -0
  59. package/dist/cjs/RestoreButton.js.map +1 -0
  60. package/dist/cjs/TrashBanner.js +30 -0
  61. package/dist/cjs/TrashBanner.js.map +1 -0
  62. package/dist/cjs/TrashList.js +331 -0
  63. package/dist/cjs/TrashList.js.map +1 -0
  64. package/dist/cjs/index.js +57 -0
  65. package/dist/cjs/index.js.map +1 -0
  66. package/dist/cjs/v2/DeletePermanentlyAction.js +64 -0
  67. package/dist/cjs/v2/DeletePermanentlyAction.js.map +1 -0
  68. package/dist/cjs/v2/MoveToTrashAction.js +51 -0
  69. package/dist/cjs/v2/MoveToTrashAction.js.map +1 -0
  70. package/dist/cjs/v2/RestoreButton.js +49 -0
  71. package/dist/cjs/v2/RestoreButton.js.map +1 -0
  72. package/dist/cjs/v2/TrashBanner.js +31 -0
  73. package/dist/cjs/v2/TrashBanner.js.map +1 -0
  74. package/dist/cjs/v2/TrashList.js +356 -0
  75. package/dist/cjs/v2/TrashList.js.map +1 -0
  76. package/dist/cjs/v2/index.js +48 -0
  77. package/dist/cjs/v2/index.js.map +1 -0
  78. package/dist/constants-BHoEWkzr.js +12 -0
  79. package/dist/constants-BHoEWkzr.js.map +1 -0
  80. package/dist/constants-D31SDP8c.js +8 -0
  81. package/dist/constants-D31SDP8c.js.map +1 -0
  82. package/dist/index-C3QMyI-t.js +39 -0
  83. package/dist/index-C3QMyI-t.js.map +1 -0
  84. package/dist/index-DNy0WI3h.js +37 -0
  85. package/dist/index-DNy0WI3h.js.map +1 -0
  86. package/dist/index.js +39 -0
  87. package/dist/index.js.map +1 -0
  88. package/dist/useConfirmedDelete-B0cAv2Ny.js +49 -0
  89. package/dist/useConfirmedDelete-B0cAv2Ny.js.map +1 -0
  90. package/dist/useConfirmedDelete-CUx3mFWB.js +47 -0
  91. package/dist/useConfirmedDelete-CUx3mFWB.js.map +1 -0
  92. package/dist/useTrashApi-88bP4rc1.js +92 -0
  93. package/dist/useTrashApi-88bP4rc1.js.map +1 -0
  94. package/dist/useTrashApi-DIlG3dId.js +86 -0
  95. package/dist/useTrashApi-DIlG3dId.js.map +1 -0
  96. package/dist/utils-CAHr5BB2.js +12 -0
  97. package/dist/utils-CAHr5BB2.js.map +1 -0
  98. package/dist/utils-f7lcIdEF.js +14 -0
  99. package/dist/utils-f7lcIdEF.js.map +1 -0
  100. package/dist/v2/DeletePermanentlyAction.js +62 -0
  101. package/dist/v2/DeletePermanentlyAction.js.map +1 -0
  102. package/dist/v2/MoveToTrashAction.js +49 -0
  103. package/dist/v2/MoveToTrashAction.js.map +1 -0
  104. package/dist/v2/RestoreButton.js +47 -0
  105. package/dist/v2/RestoreButton.js.map +1 -0
  106. package/dist/v2/TrashBanner.js +29 -0
  107. package/dist/v2/TrashBanner.js.map +1 -0
  108. package/dist/v2/TrashList.js +354 -0
  109. package/dist/v2/TrashList.js.map +1 -0
  110. package/dist/v2/index.js +30 -0
  111. package/dist/v2/index.js.map +1 -0
  112. package/package.json +248 -0
  113. package/types.d.ts +124 -0
package/README.md ADDED
@@ -0,0 +1,185 @@
1
+ # neeto-trash-nano
2
+
3
+ The `neeto-trash-nano` acts as the source of truth for the new nano's structure,
4
+ configs, data etc.
5
+
6
+ ## Contents
7
+
8
+ 1. [Development with Host Application](#development-with-host-application)
9
+ - [Engine](#engine)
10
+ - [Installation](#installation)
11
+ - [Setup generators](#setup-generators)
12
+ - [Usage](#usage)
13
+ - [Frontend package](#frontend-package)
14
+ - [Installation](#installation-1)
15
+ - [Instructions for development](#instructions-for-development)
16
+ - [Usage](#usage-1)
17
+ 2. [Instructions for Publishing](#instructions-for-publishing)
18
+
19
+ ## Development with Host Application
20
+
21
+ ### Engine
22
+
23
+ #### Installation
24
+
25
+ 1. Add this line to your application's Gemfile:
26
+
27
+ ```ruby
28
+ source "NEETO_GEM_SERVER_URL" do
29
+ # ..existing gems
30
+
31
+ gem 'neeto-trash-engine'
32
+ end
33
+ ```
34
+
35
+ 2. And then execute:
36
+
37
+ ```shell
38
+ bundle install
39
+ ```
40
+
41
+ 3. Add this line to your application's `config/routes.rb` file
42
+
43
+ ```ruby
44
+ mount NeetoTrashEngine::Engine, at: "/neeto_trash"
45
+ ```
46
+
47
+ 4. Add required migrations in the `db/migrate` folder. Run the following
48
+ commands to copy the migrations from the engine to the host application.
49
+
50
+ ```shell
51
+ bundle exec rails neeto_trash_engine:install:migrations
52
+ bundle exec rails db:migrate
53
+ ```
54
+
55
+ #### Setup generators
56
+
57
+ 1. `rails g neeto_trash_engine:install`
58
+
59
+ Sets up everything a host application needs to use the engine:
60
+
61
+ - Mounts `NeetoTrashEngine::Engine` at `/neeto_trash` in `config/routes.rb`.
62
+ - Copies `app/lib/neeto_trash_engine/callbacks.rb`, the authorization
63
+ contract the engine delegates permission/organization-scoping decisions
64
+ to.
65
+ - Copies `config/initializers/neeto_trash_engine.rb`, which configures the
66
+ retention period, the current user resolver, and the callbacks class.
67
+ - Adds a `trash_cleanup` entry to `config/scheduled_jobs.yml` that runs
68
+ `NeetoTrashEngine::CleanupJob` daily. If `config/scheduled_jobs.yml`
69
+ doesn't exist, the generator prints the entry to add manually instead of
70
+ creating the file.
71
+
72
+ Running the generator again is safe: it skips any step whose target file
73
+ already exists or already contains the expected entry.
74
+
75
+ 2. `rails g neeto_trash_engine:trashable Article`
76
+
77
+ Generates a migration (`db/migrate/add_neeto_trash_to_articles.rb`) that
78
+ adds the columns a model needs to support trashing: `is_trashed`,
79
+ `trashed_at`, a `trashed_by` reference to `users`, and a composite index on
80
+ `[:is_trashed, :trashed_at]`. The table name is taken from the model when
81
+ it already exists, and the `trashed_by` reference type matches the host
82
+ application's configured primary key type (e.g. `:uuid`).
83
+
84
+ #### Usage
85
+
86
+ 1. Replace NeetoTrashNano with your project name
87
+
88
+ Create a `script.rb` file in the project root and paste the script from the
89
+ following file.
90
+
91
+ [Replace project name script](./docs/engine/replace-project-name-script.md)
92
+
93
+ 2. Run the file using the following command:
94
+
95
+ ```shell
96
+ ruby script.rb
97
+ ```
98
+
99
+ Notes ⚠️
100
+
101
+ - Don't commit this file.
102
+ - Project name should be given in PascalCase.
103
+
104
+ ### Frontend package
105
+
106
+ #### Installation
107
+
108
+ 1. Add the `neeto-trash-frontend` package to the `package.json`
109
+
110
+ ```shell
111
+ yarn add @bigbinary/neeto-trash-frontend
112
+ ```
113
+
114
+ ### Instructions for development
115
+ Check the [Frontend package development guide](https://neeto-engineering.neetokb.com/p/a-d34cb4b0) for step-by-step instructions to develop the frontend package.
116
+
117
+ #### Usage
118
+
119
+ 1. Mount the trash page by importing `TrashList` from
120
+ "@bigbinary/neeto-trash-frontend" and telling it which item types your app
121
+ trashes:
122
+
123
+ ```javascript
124
+ import React from "react";
125
+
126
+ import { TrashList } from "@bigbinary/neeto-trash-frontend";
127
+
128
+ const Trash = () => <TrashList itemTypes={{ Article: { label: "Articles" } }} />;
129
+
130
+ export default Trash;
131
+ ```
132
+
133
+ 2. Wire the delete action in your app's menus to move items to trash instead
134
+ of hard-deleting:
135
+
136
+ ```javascript
137
+ import { MoveToTrashAction } from "@bigbinary/neeto-trash-frontend";
138
+
139
+ <MoveToTrashAction ids={[article.id]} type="Article" onSuccess={refetchArticles} />;
140
+ ```
141
+
142
+ The package also exports `TrashBanner`, `RestoreButton`,
143
+ `DeletePermanentlyAction`, the data hooks (`useFetchTrashedItems`,
144
+ `useMoveToTrash`, `useRestore`, `usePermanentlyDelete`,
145
+ `useInvalidateTrashList`), `getDaysUntilDeletion`, and `QUERY_KEYS`.
146
+
147
+ 3. Keep the Trash page in sync when you trash from your own endpoint.
148
+
149
+ If you move items to trash with `MoveToTrashAction` / `useMoveToTrash` (step
150
+ 2), the Trash page's list and counts refresh automatically — that hook
151
+ invalidates the trash query for you, so there is nothing extra to do.
152
+
153
+ Most apps, however, trash through their **own** delete endpoint instead, so
154
+ the same request can run app-specific side effects (analytics, cascades) and
155
+ refresh their own lists. That path never runs the package's mutation, so the
156
+ Trash page stays stale until you invalidate its query yourself. Drop
157
+ `useInvalidateTrashList` into that mutation's `onSuccess`:
158
+
159
+ ```javascript
160
+ import { useInvalidateTrashList } from "@bigbinary/neeto-trash-frontend";
161
+
162
+ const useDestroyArticle = () => {
163
+ const queryClient = useQueryClient();
164
+ const invalidateTrashList = useInvalidateTrashList();
165
+
166
+ return useMutation({
167
+ mutationFn: articlesApi.destroy,
168
+ onSuccess: () => {
169
+ queryClient.invalidateQueries({ queryKey: [ARTICLE_LIST] }); // your list
170
+ invalidateTrashList(); // refreshes the Trash page list + counts
171
+ },
172
+ });
173
+ };
174
+ ```
175
+
176
+ `useInvalidateTrashList` returns a callback that invalidates
177
+ `QUERY_KEYS.TRASHED_ITEMS`, so you never hardcode the trash query key.
178
+ (Restore and permanent-delete inside `TrashList` already invalidate it
179
+ themselves — this is only needed for your own move-to-trash path.)
180
+
181
+ ## Instructions for Publishing
182
+
183
+ Consult the
184
+ [building and releasing packages](https://neeto-engineering.neetokb.com/articles/building-and-releasing-packages)
185
+ guide for details on how to publish.
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "يتم حذف العناصر الموجودة في سلة المهملات نهائيًا بعد {{count}} يومًا.",
4
+ "actions": {
5
+ "moveToTrash": "نقل إلى سلة المهملات",
6
+ "restore": "استعادة",
7
+ "deletePermanently": "حذف نهائيًا",
8
+ "deleteSelected": "حذف المحدد"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "هل تريد الحذف نهائيًا؟",
13
+ "message_one": "أنت على وشك حذف <strong>{{count}}</strong> عنصر نهائيًا. لا يمكن التراجع عن هذا الإجراء.",
14
+ "message_other": "أنت على وشك حذف <strong>{{count}}</strong> عناصر نهائيًا. لا يمكن التراجع عن هذا الإجراء.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "العنوان",
21
+ "trashedBy": "نُقل بواسطة",
22
+ "trashedAt": "تاريخ النقل",
23
+ "daysUntilDeletion": "الأيام المتبقية"
24
+ },
25
+ "selectedCount": "{{count}} محدد"
26
+ },
27
+ "noData": {
28
+ "title": "سلة المهملات فارغة",
29
+ "description": "ستظهر العناصر المحذوفة هنا لمدة {{count}} يومًا قبل إزالتها نهائيًا."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Елементите в кошчето се изтриват завинаги след {{count}} дни.",
4
+ "actions": {
5
+ "moveToTrash": "Преместване в кошчето",
6
+ "restore": "Възстановяване",
7
+ "deletePermanently": "Изтриване завинаги",
8
+ "deleteSelected": "Изтриване на избраните"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Изтриване завинаги?",
13
+ "message_one": "Ще изтриете завинаги <strong>{{count}}</strong> елемент. Това действие не може да бъде отменено.",
14
+ "message_other": "Ще изтриете завинаги <strong>{{count}}</strong> елемента. Това действие не може да бъде отменено.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Заглавие",
21
+ "trashedBy": "Преместено от",
22
+ "trashedAt": "Дата на преместване",
23
+ "daysUntilDeletion": "Оставащи дни"
24
+ },
25
+ "selectedCount": "Избрани: {{count}}"
26
+ },
27
+ "noData": {
28
+ "title": "Кошчето е празно",
29
+ "description": "Изтритите елементи ще се показват тук в продължение на {{count}} дни, преди да бъдат премахнати завинаги."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Els elements de la paperera s'eliminen definitivament al cap de {{count}} dies.",
4
+ "actions": {
5
+ "moveToTrash": "Mou a la paperera",
6
+ "restore": "Restaura",
7
+ "deletePermanently": "Elimina definitivament",
8
+ "deleteSelected": "Elimina la selecció"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Voleu eliminar-ho definitivament?",
13
+ "message_one": "Estàs a punt d'eliminar definitivament <strong>{{count}}</strong> element. Aquesta acció no es pot desfer.",
14
+ "message_other": "Estàs a punt d'eliminar definitivament <strong>{{count}}</strong> elements. Aquesta acció no es pot desfer.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Títol",
21
+ "trashedBy": "Mogut per",
22
+ "trashedAt": "Data de moviment",
23
+ "daysUntilDeletion": "Dies restants"
24
+ },
25
+ "selectedCount": "{{count}} seleccionats"
26
+ },
27
+ "noData": {
28
+ "title": "La paperera és buida",
29
+ "description": "Els elements suprimits apareixeran aquí durant {{count}} dies abans de suprimir-se definitivament."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Položky v koši se natrvalo odstraní po {{count}} dnech.",
4
+ "actions": {
5
+ "moveToTrash": "Přesunout do koše",
6
+ "restore": "Obnovit",
7
+ "deletePermanently": "Trvale odstranit",
8
+ "deleteSelected": "Odstranit vybrané"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Trvale odstranit?",
13
+ "message_one": "Chystáte se trvale odstranit <strong>{{count}}</strong> položku. Tuto akci nelze vrátit zpět.",
14
+ "message_other": "Chystáte se trvale odstranit <strong>{{count}}</strong> položek. Tuto akci nelze vrátit zpět.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Název",
21
+ "trashedBy": "Přesunul(a)",
22
+ "trashedAt": "Datum přesunutí",
23
+ "daysUntilDeletion": "Zbývající dny"
24
+ },
25
+ "selectedCount": "Vybráno: {{count}}"
26
+ },
27
+ "noData": {
28
+ "title": "Koš je prázdný",
29
+ "description": "Odstraněné položky se zde zobrazí po dobu {{count}} dnů, než budou natrvalo odstraněny."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Elementer i papirkurven slettes permanent efter {{count}} dage.",
4
+ "actions": {
5
+ "moveToTrash": "Flyt til papirkurv",
6
+ "restore": "Gendan",
7
+ "deletePermanently": "Slet permanent",
8
+ "deleteSelected": "Slet valgte"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Slette permanent?",
13
+ "message_one": "Du er ved at slette <strong>{{count}}</strong> element permanent. Dette kan ikke fortrydes.",
14
+ "message_other": "Du er ved at slette <strong>{{count}}</strong> elementer permanent. Dette kan ikke fortrydes.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Titel",
21
+ "trashedBy": "Flyttet af",
22
+ "trashedAt": "Flyttet den",
23
+ "daysUntilDeletion": "Dage tilbage"
24
+ },
25
+ "selectedCount": "{{count}} valgt"
26
+ },
27
+ "noData": {
28
+ "title": "Papirkurven er tom",
29
+ "description": "Slettede elementer vises her i {{count}} dage, før de fjernes permanent."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Elemente im Papierkorb werden nach {{count}} Tagen endgültig gelöscht.",
4
+ "actions": {
5
+ "moveToTrash": "In den Papierkorb verschieben",
6
+ "restore": "Wiederherstellen",
7
+ "deletePermanently": "Endgültig löschen",
8
+ "deleteSelected": "Auswahl löschen"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Endgültig löschen?",
13
+ "message_one": "Sie sind dabei, <strong>{{count}}</strong> Element endgültig zu löschen. Dies kann nicht rückgängig gemacht werden.",
14
+ "message_other": "Sie sind dabei, <strong>{{count}}</strong> Elemente endgültig zu löschen. Dies kann nicht rückgängig gemacht werden.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Titel",
21
+ "trashedBy": "Verschoben von",
22
+ "trashedAt": "Verschoben am",
23
+ "daysUntilDeletion": "Verbleibende Tage"
24
+ },
25
+ "selectedCount": "{{count}} ausgewählt"
26
+ },
27
+ "noData": {
28
+ "title": "Papierkorb ist leer",
29
+ "description": "Gelöschte Elemente werden hier {{count}} Tage lang angezeigt, bevor sie endgültig entfernt werden."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Items in trash are deleted forever after {{count}} days.",
4
+ "actions": {
5
+ "moveToTrash": "Move to trash",
6
+ "restore": "Restore",
7
+ "deletePermanently": "Delete permanently",
8
+ "deleteSelected": "Delete selected"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Delete permanently?",
13
+ "message_one": "You are permanently deleting <strong>{{count}}</strong> item. This can't be undone.",
14
+ "message_other": "You are permanently deleting <strong>{{count}}</strong> items. This can't be undone.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Title",
21
+ "trashedBy": "Trashed by",
22
+ "trashedAt": "Trashed on",
23
+ "daysUntilDeletion": "Days left"
24
+ },
25
+ "selectedCount": "{{count}} selected"
26
+ },
27
+ "noData": {
28
+ "title": "Trash is empty",
29
+ "description": "Deleted items will appear here for {{count}} days before being removed forever."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Los elementos en la papelera se eliminan de forma permanente después de {{count}} días.",
4
+ "actions": {
5
+ "moveToTrash": "Mover a la papelera",
6
+ "restore": "Restaurar",
7
+ "deletePermanently": "Eliminar permanentemente",
8
+ "deleteSelected": "Eliminar seleccionados"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "¿Eliminar permanentemente?",
13
+ "message_one": "Estás a punto de eliminar permanentemente <strong>{{count}}</strong> elemento. Esta acción no se puede deshacer.",
14
+ "message_other": "Estás a punto de eliminar permanentemente <strong>{{count}}</strong> elementos. Esta acción no se puede deshacer.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Título",
21
+ "trashedBy": "Movido por",
22
+ "trashedAt": "Fecha de movimiento",
23
+ "daysUntilDeletion": "Días restantes"
24
+ },
25
+ "selectedCount": "{{count}} seleccionados"
26
+ },
27
+ "noData": {
28
+ "title": "La papelera está vacía",
29
+ "description": "Los elementos eliminados aparecerán aquí durante {{count}} días antes de eliminarse de forma permanente."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Los elementos de la papelera se eliminan definitivamente después de {{count}} días.",
4
+ "actions": {
5
+ "moveToTrash": "Mover a la papelera",
6
+ "restore": "Restaurar",
7
+ "deletePermanently": "Eliminar definitivamente",
8
+ "deleteSelected": "Eliminar seleccionados"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "¿Eliminar definitivamente?",
13
+ "message_one": "Vas a eliminar definitivamente <strong>{{count}}</strong> elemento. Esta acción no se puede deshacer.",
14
+ "message_other": "Vas a eliminar definitivamente <strong>{{count}}</strong> elementos. Esta acción no se puede deshacer.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Título",
21
+ "trashedBy": "Movido por",
22
+ "trashedAt": "Movido el",
23
+ "daysUntilDeletion": "Días restantes"
24
+ },
25
+ "selectedCount": "{{count}} seleccionados"
26
+ },
27
+ "noData": {
28
+ "title": "La papelera está vacía",
29
+ "description": "Los elementos eliminados aparecerán aquí durante {{count}} días antes de eliminarse definitivamente."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Prügikastis olevad üksused kustutatakse jäädavalt {{count}} päeva pärast.",
4
+ "actions": {
5
+ "moveToTrash": "Teisalda prügikasti",
6
+ "restore": "Taasta",
7
+ "deletePermanently": "Kustuta jäädavalt",
8
+ "deleteSelected": "Kustuta valitud"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Kustutada jäädavalt?",
13
+ "message_one": "Kustutad jäädavalt <strong>{{count}}</strong> üksuse. Seda toimingut ei saa tagasi võtta.",
14
+ "message_other": "Kustutad jäädavalt <strong>{{count}}</strong> üksust. Seda toimingut ei saa tagasi võtta.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Nimetus",
21
+ "trashedBy": "Teisaldas",
22
+ "trashedAt": "Teisaldamise kuupäev",
23
+ "daysUntilDeletion": "Päevi jäänud"
24
+ },
25
+ "selectedCount": "Valitud: {{count}}"
26
+ },
27
+ "noData": {
28
+ "title": "Prügikast on tühi",
29
+ "description": "Kustutatud üksused kuvatakse siin {{count}} päeva enne jäädavalt eemaldamist."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Roskakorissa olevat kohteet poistetaan pysyvästi {{count}} päivän kuluttua.",
4
+ "actions": {
5
+ "moveToTrash": "Siirrä roskakoriin",
6
+ "restore": "Palauta",
7
+ "deletePermanently": "Poista pysyvästi",
8
+ "deleteSelected": "Poista valitut"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Poistetaanko pysyvästi?",
13
+ "message_one": "Olet poistamassa pysyvästi <strong>{{count}}</strong> kohteen. Tätä ei voi kumota.",
14
+ "message_other": "Olet poistamassa pysyvästi <strong>{{count}}</strong> kohdetta. Tätä ei voi kumota.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Nimi",
21
+ "trashedBy": "Siirsi roskakoriin",
22
+ "trashedAt": "Siirretty roskakoriin",
23
+ "daysUntilDeletion": "Päiviä jäljellä"
24
+ },
25
+ "selectedCount": "{{count}} valittu"
26
+ },
27
+ "noData": {
28
+ "title": "Roskakori on tyhjä",
29
+ "description": "Poistetut kohteet näkyvät täällä {{count}} päivän ajan, ennen kuin ne poistetaan pysyvästi."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Permanenteng mabubura ang mga item sa basurahan pagkalipas ng {{count}} (na) araw.",
4
+ "actions": {
5
+ "moveToTrash": "Ilipat sa basurahan",
6
+ "restore": "I-restore",
7
+ "deletePermanently": "Burahin nang permanente",
8
+ "deleteSelected": "Burahin ang napili"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Permanenteng burahin?",
13
+ "message_one": "Permanente mong buburahin ang <strong>{{count}}</strong> item. Hindi na ito maibabalik pa.",
14
+ "message_other": "Permanente mong buburahin ang <strong>{{count}}</strong> na item. Hindi na ito maibabalik pa.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Pamagat",
21
+ "trashedBy": "Inilipat sa basurahan ni",
22
+ "trashedAt": "Inilipat sa basurahan noong",
23
+ "daysUntilDeletion": "Natitirang araw"
24
+ },
25
+ "selectedCount": "{{count}} ang napili"
26
+ },
27
+ "noData": {
28
+ "title": "Walang laman ang basurahan",
29
+ "description": "Lalabas dito ang mga naburang item sa loob ng {{count}} (na) araw bago ito tuluyang mabura."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "Les éléments de la corbeille sont définitivement supprimés après {{count}} jours.",
4
+ "actions": {
5
+ "moveToTrash": "Déplacer vers la corbeille",
6
+ "restore": "Restaurer",
7
+ "deletePermanently": "Supprimer définitivement",
8
+ "deleteSelected": "Supprimer la sélection"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "Supprimer définitivement ?",
13
+ "message_one": "Vous êtes sur le point de supprimer définitivement <strong>{{count}}</strong> élément. Cette action est irréversible.",
14
+ "message_other": "Vous êtes sur le point de supprimer définitivement <strong>{{count}}</strong> éléments. Cette action est irréversible.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "Titre",
21
+ "trashedBy": "Déplacé vers la corbeille par",
22
+ "trashedAt": "Déplacé vers la corbeille le",
23
+ "daysUntilDeletion": "Jours restants"
24
+ },
25
+ "selectedCount": "{{count}} sélectionné(s)"
26
+ },
27
+ "noData": {
28
+ "title": "La corbeille est vide",
29
+ "description": "Les éléments supprimés s'affichent ici pendant {{count}} jours avant d'être définitivement supprimés."
30
+ }
31
+ }
32
+ }
@@ -0,0 +1,32 @@
1
+ {
2
+ "neetoTrash": {
3
+ "banner": "פריטים באשפה יימחקו לצמיתות כעבור {{count}} ימים.",
4
+ "actions": {
5
+ "moveToTrash": "העבר לאשפה",
6
+ "restore": "שחזר",
7
+ "deletePermanently": "מחק לצמיתות",
8
+ "deleteSelected": "מחק את הנבחרים"
9
+ },
10
+ "alerts": {
11
+ "deletePermanently": {
12
+ "title": "למחוק לצמיתות?",
13
+ "message_one": "אתה עומד למחוק לצמיתות <strong>{{count}}</strong> פריט. לא ניתן לבטל פעולה זו.",
14
+ "message_other": "אתה עומד למחוק לצמיתות <strong>{{count}}</strong> פריטים. לא ניתן לבטל פעולה זו.",
15
+ "messageWithName": "You are permanently deleting <strong>{{name}}</strong>. This can't be undone."
16
+ }
17
+ },
18
+ "table": {
19
+ "columns": {
20
+ "title": "כותרת",
21
+ "trashedBy": "הועבר לאשפה על ידי",
22
+ "trashedAt": "הועבר לאשפה בתאריך",
23
+ "daysUntilDeletion": "ימים שנותרו"
24
+ },
25
+ "selectedCount": "{{count}} נבחרו"
26
+ },
27
+ "noData": {
28
+ "title": "האשפה ריקה",
29
+ "description": "פריטים שנמחקו יופיעו כאן במשך {{count}} ימים לפני שיימחקו לצמיתות."
30
+ }
31
+ }
32
+ }