Woops! Malformed data :(
++ Discard all changes in {item.path}? This will affect + {item.changes.length} file{item.changes.length === 1 ? '' : 's'}. +
+ {:else} +Woops! Malformed data :(
+ {/if} + {/snippet} + {#snippet controls(close, item)} + ++ All changes in this folder will be moved to a new branch and removed from your current + workspace. To get these changes back later, switch to the new branch and uncommit the stash. +
++ 💡 This creates a new branch, commits your changes, then unapplies the branch. Future + versions will have simpler stash management. +
+
- Are you sure you want to discard the changes
to the following files:
+ Are you sure you want to discard all changes in
+ {item.path}?
- Discard the changes to all - {changes.length} files - ? -
+ {@const changes = item.changes} + {#if changes.length < 10} +
+ Are you sure you want to discard the changes
to the following files:
+
+ Discard the changes to all + {changes.length} files + ? +
+ {/if} {/if} {:else}Woops! Malformed data :(
@@ -556,34 +588,40 @@ type="info" title="Stash changes into a new branch" bind:this={stashConfirmationModal} - onSubmit={(_, item) => isFileItem(item) && confirmStashIntoBranch(item, stashBranchName)} + onSubmit={(_, item) => isChangedFilesItem(item) && confirmStashIntoBranch(item, stashBranchName)} > -- Your selected changes will be moved to a new branch and removed from your current workspace. - To get these changes back later, switch to the new branch and uncommit the stash. -
-+ {#if isChangedFolderItem(item)} + All changes in this folder + {:else} + Your selected changes + {/if} + will be moved to a new branch and removed from your current workspace. To get these changes + back later, switch to the new branch and uncommit the stash. +
+- 💡 This creates a new branch, commits your changes, then unapplies the branch. Future - versions will have simpler stash management. -
++ 💡 This creates a new branch, commits your changes, then unapplies the branch. Future + versions will have simpler stash management. +
+Woops! Malformed data :(
-- Discard all changes in {item.path}? This will affect - {item.changes.length} file{item.changes.length === 1 ? '' : 's'}. -
- {:else} -Woops! Malformed data :(
- {/if} - {/snippet} - {#snippet controls(close, item)} - -- All changes in this folder will be moved to a new branch and removed from your current - workspace. To get these changes back later, switch to the new branch and uncommit the stash. -
-- 💡 This creates a new branch, commits your changes, then unapplies the branch. Future - versions will have simpler stash management. -
-