diff --git a/home-manager/po/home-manager.pot b/home-manager/po/home-manager.pot index 90431ec38..e37bd6851 100644 --- a/home-manager/po/home-manager.pot +++ b/home-manager/po/home-manager.pot @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Home Manager\n" "Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n" -"POT-Creation-Date: 2021-12-14 18:53+0100\n" +"POT-Creation-Date: 2022-01-02 11:55+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -117,19 +117,19 @@ msgstr "" msgid "Home Manager is uninstalled but your home.nix is left untouched." msgstr "" -#: home-manager/home-manager:645 +#: home-manager/home-manager:646 msgid "%s: unknown option '%s'" msgstr "" -#: home-manager/home-manager:646 +#: home-manager/home-manager:647 msgid "Run '%s --help' for usage help" msgstr "" -#: home-manager/home-manager:680 +#: home-manager/home-manager:681 msgid "expire-generations expects one argument, got %d." msgstr "" -#: home-manager/home-manager:702 +#: home-manager/home-manager:703 msgid "Unknown command: %s" msgstr "" diff --git a/modules/home-environment.nix b/modules/home-environment.nix index edfbd23cb..af32cc50b 100644 --- a/modules/home-environment.nix +++ b/modules/home-environment.nix @@ -585,21 +585,8 @@ in else '' if ! $DRY_RUN_CMD nix-env -i ${cfg.path} ; then - cat <\n" "Language-Team: LANGUAGE \n" @@ -33,10 +33,66 @@ msgstr "" msgid "No change so reusing latest profile generation %s" msgstr "" -#: modules/home-environment.nix:633 +#: modules/home-environment.nix:589 +msgid "" +"Oops, nix-env failed to install your new Home Manager profile!\n" +"\n" +"Perhaps there is a conflict with a package that was installed using\n" +"\"nix-env -i\"? Try running\n" +"\n" +" nix-env -q\n" +"\n" +"and if there is a conflicting package you can remove it with\n" +"\n" +" nix-env -e {package name}\n" +"\n" +"Then try activating your Home Manager configuration again." +msgstr "" + +#: modules/home-environment.nix:620 msgid "Activating %s" msgstr "" -#: modules/lib-bash/activation-init.sh:53 +#: modules/lib-bash/activation-init.sh:30 +msgid "Sanity checking oldGenNum and oldGenPath" +msgstr "" + +#: modules/lib-bash/activation-init.sh:33 +msgid "" +"The previous generation number and path are in conflict! These\n" +"must be either both empty or both set but are now set to\n" +"\n" +" '%s' and '%s'\n" +"\n" +"If you don't mind losing previous profile generations then\n" +"the easiest solution is probably to run\n" +"\n" +" rm %s/home-manager*\n" +" rm %s/current-home\n" +"\n" +"and trying home-manager switch again. Good luck!" +msgstr "" + +#: modules/lib-bash/activation-init.sh:50 msgid "Starting Home Manager activation" msgstr "" + +#: modules/lib-bash/activation-init.sh:54 +msgid "Sanity checking Nix" +msgstr "" + +#: modules/lib-bash/activation-init.sh:60 +msgid "This is a dry run" +msgstr "" + +#: modules/lib-bash/activation-init.sh:63 +msgid "This is a live run" +msgstr "" + +#: modules/lib-bash/activation-init.sh:68 +msgid "Using Nix version: %s" +msgstr "" + +#: modules/lib-bash/activation-init.sh:71 +msgid "Activation variables:" +msgstr ""