summaryrefslogtreecommitdiffstats
path: root/pkg/i18n
AgeCommit message (Collapse)Author
2023-07-30Show loader when switching worktreesJesse Duffield
2023-07-30i18n for worktreesJesse Duffield
2023-07-30Allow opening worktree in editorJesse Duffield
This does the job but I think we need yet another editor command for opening a directory in a new window.
2023-07-30Support creating worktrees from refsJesse Duffield
2023-07-30Handle deleting branch attached to worktreeJesse Duffield
2023-07-30Update wordingJesse Duffield
2023-07-30Land in the same panel when switching to a worktreeJesse Duffield
2023-07-30Prompt to switch to worktree when branch is checked out by other worktreeJesse Duffield
2023-07-30Use git lingoJesse Duffield
2023-07-30Improve name handlingJesse Duffield
2023-07-30Use sentence caseJesse Duffield
2023-07-30Alert when attempting to enter the current worktreeJesse Duffield
2023-07-30Basic support for adding a worktreeJoel Baranick
2023-07-30Put all worktree i18n strings togetherJoel Baranick
Use tabwriter to align worktree panel contents
2023-07-30Style missing worktree as red and display better error when trying to switch ↵Joel Baranick
to them Use a broken link icon for missing worktrees
2023-07-30Support for deleting a worktreeJoel Baranick
2023-07-30Initial addition of support for worktreesJoel Baranick
2023-07-29When bisecting, always mark the current commit as good/bad, not the selectedStefan Haller
For marking as good or bad, the current commit is pretty much always the one you want to mark, not the selected. It's different for skipping; sometimes you know already that a certain commit doesn't compile, for example, so you might navigate there and mark it as skipped. So in the case that the current commit is not the selected one, we now offer two separate menu entries for skipping, one for the current commit and one for the selected.
2023-07-29Add bisect menu entry that lets you choose bisect termsStefan Haller
This can be useful if you want to find the commit that fixed a bug (you'd use "broken/fixed" instead of "good/bad" in this case), or if you want to find the commit that brought a big performance improvement (use "slow/fast"). It's pretty mind-bending to have to use "good/bad" in these cases, and swap their meanings in your head. Thankfully, lazygit already had support for using custom terms during the bisect (for the case that a bisect was started on the command-line, I suppose), so all that's needed is adding a way to specify them in lazygit.
2023-07-26Show error when trying to open patch menu with an empty patchStefan Haller
2023-07-22Better tag creation UXJesse Duffield
Previously we used a single-line prompt for a tag annotation. Now we're using the commit message prompt. I've had to update other uses of that prompt to allow the summary and description labels to be passed in
2023-07-15Fix potentially wrong help text in commit message panelStefan Haller
It said "Press tab to toggle focus", which is wrong for people who remapped their togglePanel key binding to something else. Print the actual key binding instead.
2023-07-03Differentiate between different filter modesJesse Duffield
We can filter by path, by file status, and by text.
2023-07-03Show filter status similar to what we show with searchJesse Duffield
2023-07-03Introduce filtered list view modelJesse Duffield
We're going to start supporting filtering of list views
2023-06-28fix: typo EnteRefNameAmirzhan Aliyev
2023-06-28feat(i18n): add russian translationAmirzhan Aliyev
2023-06-26Rename "Delete change" menu entry to "Discard change" in staging panelStefan Haller
For consistency with the previous commit. Note that this menu entry is used both for unstaged and for staged changes, and for staged changes it is not quite accurate, as we are not discarding changes in that case (just unstaging them). Not sure it's worth fixing this; it's still better than "Delete", anyway.
2023-06-26Fix the title and text (and variable names) of the Discard Changes promptStefan Haller
The title was saying "Unstage lines", which was just wrong. The text said "Delete lines", which can be seen as a bit misleading; we are only discarding the changes to the selected lines, not deleting the lines themselves. For consistency, rename the config variable skipUnstageLineWarning accordingly.
2023-06-07Allow discarding changes only from local commitsStefan Haller
We use CommitFilesController also for the files of commits that we show elsewhere, e.g. for branch commits, tags, or stashes. It doesn't make sense to discard changes from those (for stashes it might be possible to implement it somehow, but that would be a new feature), so we disallow it unless we are in the local commits panel.
2023-06-07Better prompt for discarding old file changesStefan Haller
Lazygit knows what kind of file change this is, so there doesn't have to be any "if" in the prompt text.
2023-06-07Disallow discarding file changes while a directory is selectedStefan Haller
Discarding changes to an entire directory doesn't quite work correctly in all cases; for example, if the current commit added files to the directory (but the directory existed before) then those files won't be removed. It might be possible to fix the command so that these cases always work for directories, but I don't think it's worth the effort (you can always use a custom patch for that), so let's display an error for now.
2023-06-01Show menu instead of prompt when there are conflicts in a rebase or mergeStefan Haller
This solves the issue that previously you could too easily abort a rebase accidentally by hitting escape.
2023-05-30Add Traditional Chinese supportTzeng Yuxio
2023-05-25Use sentence case everywhereJesse Duffield
We have not been good at consistent casing so far. Now we use 'Sentence case' everywhere. EVERYWHERE. Also Removing 'Lc' prefix from i18n field names: the 'Lc' stood for lowercase but now that everything is in 'Sentence case' there's no need for the distinction. I've got a couple lower case things I've kept: namely, things that show up in parentheses.
2023-05-21Update cheatsheetJesse Duffield
Now that we're using the angle-bracket syntax everywhere for consistency, we need to escape the angle brackets in the markdown of the cheatsheets.
2023-05-20Remove the toast when toggling "ignore whitespace"Stefan Haller
Now that we visualize the state, the toast is no longer needed.
2023-05-20Visualize the "ignore whitespace" state in the subtitle of the diff viewStefan Haller
2023-05-20Don't toggle "ignore whitespace" in the staging and patch building panelsStefan Haller
The option doesn't have any affect in these views, so we don't need to toggle it here. But the problem was the HandleFocus call at the end: this would activate the wrong view, so we need to avoid it here. Show an error if the user tries to turn the option on, to let them know that it doesn't work here.
2023-04-30Split commit message panel into commit summary and commit description panelSean
When we use the one panel for the entire commit message, its tricky to have a keybinding both for adding a newline and submitting. By having two panels: one for the summary line and one for the description, we allow for 'enter' to submit the message when done from the summary panel, and 'enter' to add a newline when done from the description panel. Alt-enter, for those who can use that key combo, also works for submitting the message from the description panel. For those who can't use that key combo, and don't want to remap the keybinding, they can hit tab to go back to the summary panel and then 'enter' to submit the message. We have some awkwardness in that both contexts (i.e. panels) need to appear and disappear in tandem and we don't have a great way of handling that concept, so we just push both contexts one after the other, and likewise remove both contexts when we escape.
2023-04-30lots more refactoringJesse Duffield
2023-04-15use lowercase text for menu items (as we're still yet to standardise on ↵Jesse Duffield
'Sentence case')
2023-04-15feat: allow to perform a rebase with breaking before the first commitAzraelSec
2023-04-15Don't allow changing the type of certain rebase todosStefan Haller
We already show "merge" todo entries when starting an interactive rebase with --rebase-merges outside of lazygit. Changing the type of a merge entry to "pick" or "edit" doesn't make sense and shouldn't be allowed. Earlier in this branch we have started to show "update-ref" entries, these can't be changed either (they can be moved, though). You might argue that it should be possible to change them to "drop", but in the case of "update-ref" this doesn't make sense either, because "drop" needs a Sha and we don't have one here. Also, you would then be able to later change it back to "pick", so we would have to remember that this isn't allowed for this particular drop entry; that's messy, so just disallow all editing.
2023-04-15Show update-ref commands in rebase todo listStefan Haller
This is useful when working with stacked branches, because you can now move "pick" entries across an update-ref command and you can tell exactly which branch the commit will end up in. It's also useful to spot situations where the --update-refs option didn't work as desired. For example, if you duplicate a branch and want to rebase only one of the branches but not the other (maybe for testing); if you have rebase.updateRefs=true in your git config, then rebasing one branch will move the other branch along. To solve this we'll have to introduce a way to delete the update-ref entry (maybe by hitting backspace?); this is out of scope for this PR, so for now users will have to type "git rebase --edit-todo" into the custom command prompt to sort this out. We will also have to prevent users from trying to turn update-ref commands into other commands like "pick" or "drop"; we'll do this later in this branch.
2023-04-13Show warning about deprecated edit configsStefan Haller
We print this to the terminal after lazygit quits rather than showing it in a panel at startup, so as to not annoy people too much. Hopefully it will still be prominent enough this way.
2023-04-01Better error message when trying to edit or move a non-todo commit during rebaseStefan Haller
Previously we would have tried to do the rebase, resulting in a long and somewhat cryptic error message from git; now we check ourselves and show a less intimidating message.
2023-02-20mention path in tooltipsJesse Duffield
2023-02-20Add tooltips for discardingLuka Markušić
2023-02-20Merge pull request #2453 from stefanhaller/allow-rebasing-to-first-commitJesse Duffield