@axium/storage 0.18.11 → 0.18.12
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.
package/dist/client/frontend.js
CHANGED
|
@@ -11,5 +11,5 @@ export function copyShortURL(item) {
|
|
|
11
11
|
export function formatItemName(item) {
|
|
12
12
|
if (!item?.name)
|
|
13
13
|
return text('storage.generic.no_name_in_dialog');
|
|
14
|
-
return
|
|
14
|
+
return item.name.length > 23 ? item.name.slice(0, 20) + '...' : item.name;
|
|
15
15
|
}
|
package/lib/List.svelte
CHANGED
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
items.splice(activeIndex, 1);
|
|
143
143
|
}}
|
|
144
144
|
>
|
|
145
|
-
<p>{
|
|
145
|
+
<p>{text('storage.List.trash_confirm', { name: activeItemName })}</p>
|
|
146
146
|
</FormDialog>
|
|
147
147
|
<FormDialog
|
|
148
148
|
bind:dialog={dialogs.download}
|
|
@@ -155,7 +155,7 @@
|
|
|
155
155
|
} else open(activeItem!.dataURL, '_blank');
|
|
156
156
|
}}
|
|
157
157
|
>
|
|
158
|
-
<p>{
|
|
158
|
+
<p>{text('storage.generic.download_confirm', { name: activeItemName })}</p>
|
|
159
159
|
</FormDialog>
|
|
160
160
|
|
|
161
161
|
<style>
|
package/lib/SidebarItem.svelte
CHANGED
|
@@ -133,7 +133,7 @@
|
|
|
133
133
|
if (index !== -1) items.splice(index, 1);
|
|
134
134
|
}}
|
|
135
135
|
>
|
|
136
|
-
<p>{
|
|
136
|
+
<p>{text('storage.SidebarItem.delete_confirm', { name: itemName })}</p>
|
|
137
137
|
</FormDialog>
|
|
138
138
|
<FormDialog
|
|
139
139
|
bind:dialog={dialogs.download}
|
|
@@ -144,7 +144,7 @@
|
|
|
144
144
|
>
|
|
145
145
|
<p>
|
|
146
146
|
{text('storage.SidebarItem.download_disclaimer')} <br />
|
|
147
|
-
{
|
|
147
|
+
{text('storage.generic.download_confirm', { name: itemName })}
|
|
148
148
|
</p>
|
|
149
149
|
</FormDialog>
|
|
150
150
|
|
package/package.json
CHANGED
|
@@ -65,7 +65,7 @@
|
|
|
65
65
|
items.splice(activeIndex, 1);
|
|
66
66
|
}}
|
|
67
67
|
>
|
|
68
|
-
<p>{
|
|
68
|
+
<p>{text('page.files.trash_page.restore_confirm', { name: activeItemName })}</p>
|
|
69
69
|
</FormDialog>
|
|
70
70
|
<FormDialog
|
|
71
71
|
bind:dialog={deleteDialog}
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
}}
|
|
79
79
|
>
|
|
80
80
|
<p>
|
|
81
|
-
{
|
|
81
|
+
{text('page.files.trash_page.delete_confirm', { name: activeItemName })}
|
|
82
82
|
</p>
|
|
83
83
|
</FormDialog>
|
|
84
84
|
|