@@ -11,7 +11,6 @@ Todo list when making a new translation
1111package i18n
1212
1313type TranslationSet struct {
14- ReleaseNotes string
1514 NotEnoughSpace string
1615 DiffTitle string
1716 LogTitle string
@@ -534,224 +533,25 @@ type Spans struct {
534533 Redo string
535534}
536535
537- const englishReleaseNotes = `lazygit 0.27.1-0.27.4 Release notes
538-
539- Version 0.27 was quite ambitious so a few bugs were introduced. Lesson learnt,
540- release features gradually! All the newly introduced bugs should now be fixed,
541- except for https://github.com/jesseduffield/lazygit/issues/1233 which looks to
542- be a limitation of the new rendering library, tcell.
543-
544- You can also now open 'git mergetool' by pressing shift+M in the files panel or
545- merge panel.
546-
547- Otherwise, these releases contained minor bug fixes and improvements.
548-
549- lazygit 0.27 Release Notes
550-
551- Holy Moly, this is a big one.
552-
553- There are two big changes here:
554- 1) Tree view for the files panel
555- 2) New rendering library
556-
557- ## File tree view
558-
559- This is off by default, but can be configured via the 'gui.showFileTree' config
560- key and toggled from within lazygit with the backtick key (the one below tilde).
561-
562- Hitting enter on directories will toggle whether they are collapsed. Most
563- keybindings that apply to files also apply to directories e.g. if you hit space
564- on a directory, it will stage that whole directory.
565-
566- When not in tree-mode, the merge conflicts are now bubbled up to the top of the
567- list.
568-
569- The tree view makes it much easier to deal with tonnes of files, because you can
570- easily collapse folders you don't care about to focus on the important changes.
571- It also reduces the amount of horizontal space used meaning there is less chance
572- of content being truncated by the frame of the panel.
573-
574- ## New rendering library
575-
576- We've switched from the termbox package to tcell, with the help of the contributors
577- of the awesome-gocui repo. This has many benefits:
578- - More support for various terminals
579- - 24 bit colour support (you can now drop the -24-bit-color=never arg if you're using delta)
580- - Support for more keybindings like... SHIFT-TAB! Which means you can now navigate
581- the side panels with tab and shift-tab. (Previously pressing shift+tab would
582- crash the program).
583- - Better support for switching to subprocesses. Most of that benefit
584-
585- Other stuff:
586- - No more flickering e.g. when staging a file or when contents are refreshed
587- - You can now scroll the main panel with your mouse or pgup/pgdown. Before, doing
588- so would move the cursor which was weird
589- - You can now insert a newline to the commit message panel via alt-enter. I've
590- changed the default keybinding from <tab> to <a-enter>. Let me know if that makes
591- you angry
592- - When you scroll the main view, it will now stop just shy of scrolling too far
593- - The gui no longer re-initialises when returning from a subprocess or switching
594- repos
595- - By default, 'esc' no longer quits lazygit. Instead you'll need to use ctrl+c
596- or 'q'. We use escape for exiting various modes in lazygit (e.g. cherry-picking)
597- and it gets annoying when you accidentally hit esc one too many times and end
598- up quitting. It's still configurable though
599- - Faster startup time
600- - Custom commands now run in your shell so you have more freedom to get freaky with it
601-
602- Bug fixes:
603- - No more panicking when attemping to enter an unprintable key (thanks @fsmiamoto!)
604- - Rewording the topmost commit no longer commits staged files as well
605- - When returning from a submodule we retain the state of the parent repo so that
606- you land back where you were in the submodules tab
607- - Fixed a bug in search where the cursor would get stuck if the result set shrunk
608- - Commands now retry if .git/index.lock exists
609- - Branches are no longer checked out when renamed
610- - Fixed issue with merge conflicts on windows where the wrong command was invoked
611- causing a panic
612-
613- Code-stuff:
614- - Lots of refactoring of the code itself. I'm considering a much bigger refactor
615- but need to investigate whether the approach is a good idea
616- - Added a TUI for running/recording integration tests so that that whole workflow
617- is easier
618- - Added over 40 new integration tests, so bugs will be caught sooner. As always,
619- if you catch a bug, please raise an issue for it!
620-
621-
622- ## lazygit 0.26 Release Notes
623-
624- - Config changes applied after editing from within lazygit, no reload required.
625-
626- - LOTS of fixes for rendering filenames with strange characters, escaped
627- characters, and UI fixes, by the amazing @Ryooooooga!
628-
629- - Also thanks to @Isti115
630-
631- ## lazygit 0.25 Release Notes
632-
633- - Fixes for windows, thanks @murphy66!
634-
635- - Allow mapping spaces to dashes when creating a branch, thanks @caquillo07!
636-
637- - Allow configuring file refresh and fetch frequency, thanks @Liberatys!
638-
639- - Minor security improvement
640-
641- - Wide characters supported when entering commit messages, thanks @Ryooooooga!
642-
643- - Original branch name appears when renaming, thanks piresrui!
644-
645- - Better menus, thanks @1jz!
646-
647- - Also thanks to @snipem, @dbast, and @dawidd6
648-
649- ## lazygit 0.24 Release Notes
650-
651- - Suggestions now shown when checking out branch by name
652-
653- - Minimum OSX version is now officially 10.10
654-
655- - Pull requests URLs can be copied from the keyboard, thanks @farzadmf!
656-
657- - Allow --follow-tags flag for git push to be disabled in config,
658- thanks @fishybell!
659-
660- - Allow quick commit when no files are staged and the user presses 'c',
661- thanks @fluffynuts!
662-
663- - Lazygit config is now by default created with 'jesseduffield' as the parent
664- folder, thanks @Liberatys!
665-
666- - You can now configure how lazygit behaves when you open it outside a repo
667- (e.g. skip the prompt and open the most recent repo), thanks @kalvinpearce!
668-
669- - You can now visualise the commit graph for all branches by pressing 'a' in
670- the status panel - thanks @Yuuki77!
671-
672- - And thanks to @dawidd6, @sstiglitz, @fargozhu and @nils-a for helping out with
673- CI and documentation!
674-
675- ## lazygit 0.23.2 Release Notes
676-
677- - Fixed bug where editing a file with spaces did not work
678- - Fixed formatting issue with delta that rendered '[0;K' to the screen
679- - Fixed bug where lazygit failed upon attempting to create a config file in a
680- read-only filesystem
681-
682- ## lazygit 0.23 Release Notes
683-
684- Custom Commands:
685- - You can now create your own custom commands complete with menus and prompts
686- to tailor lazygit to your workflow
687-
688- See https://github.com/jesseduffield/lazygit/wiki/Custom-Commands-Compendium
689- and https://github.com/jesseduffield/lazygit/blob/master/docs/Custom_Command_Keybindings.md
690-
691- Submodules:
692- - Add, update, and sync submodules with the new submodules tab. To enter a
693- submodule hit enter on it and then hit escape to return to the superproject
694-
695- Bare repos:
696- - Bare repos are now supported with the --git-dir and --work-tree args, so you
697- can use lazygit to manage your dotfiles!
698-
699- Staging panel navigation:
700- - Ability to search with '/' and jump page by page with ',', '.', '<', '>' in
701- the staging and patch-building contexts
702-
703- More clipboard stuff:
704- - More text copying. Pressing ` + "`" + `ctrl+o` + "`" + ` on a commit to copy
705- its SHA, or a file to copy its name, etc.
706-
707- Easily view lazygit logs:
708- - View lazygit logs with ` + "`" + `lazygit --logs` + "`" + ` (in another
709- terminal tab run ` + "`" + `lazygit --debug` + "`" + ` to write to logs)
710-
711- Other:
712- - For the butterfingers of the world, you are now protected from accidentally
713- deleting the .gitignore file (thanks @kobutomo!)
714-
715- - Fewer panics
716-
717- - No more 'invalid merge' errors on startup
718-
719- - Smaller binary after ditching the Viper and i18n package. Beware! This means
720- configs are now case-sensitive so if your config stops working check the case
721- sensitivity of the keys against what you get from ` + "`" + `lazygit --config` + "`" + `
722-
723- - Code refactor for better dev experience including more type safety
724-
725- - Integration tests have finally been added and there are many more to come.
726- These will assist in ensuring no regressions have been introduced in future
727- releases. Making an integration test is actually pretty fun you basically just
728- record yourself using lazygit and that's it. See the guide to integration tests at
729- https://github.com/jesseduffield/lazygit/blob/master/docs/Integration_Tests.md
730-
731- - Showing release notes from within lazygit, as you no doubt have realised. I'm
732- too lazy to include retrospective release notes but better late than never.`
733-
734536const englishIntroPopupMessage = `
735- Thanks for using lazygit! Three things to share with you:
537+ Thanks for using lazygit! Seriously you rock. Three things to share with you:
736538
737539 1) If you want to learn about lazygit's features, watch this vid:
738540 https://youtu.be/CPLdltN7wgE
739541
740- 2) If you're using git, that makes you a programmer! With your help we can make
542+ 3) Be sure to read the latest release notes at:
543+ https://github.com/jesseduffield/lazygit/releases
544+
545+ 3) If you're using git, that makes you a programmer! With your help we can make
741546 lazygit better, so consider becoming a contributor and joining the fun at
742547 https://github.com/jesseduffield/lazygit
743548 You can also sponsor me and tell me what to work on by clicking the donate
744- button at the bottom right (github is still matching donations dollar-for-dollar.)
549+ button at the bottom right.
745550 Or even just star the repo cos we're not far from 20k stars!
746-
747- 3) You can now read through the release notes by navigating to the status panel.
748- Version 0.27 introduces a file tree view, better rendering, tab/shift+tab
749- keybindings, and more
750551`
751552
752553func englishTranslationSet () TranslationSet {
753554 return TranslationSet {
754- ReleaseNotes : englishReleaseNotes ,
755555 NotEnoughSpace : "Not enough space to render panels" ,
756556 DiffTitle : "Diff" ,
757557 LogTitle : "Log" ,
0 commit comments