1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-27 05:29:46 +01:00

home-manager: add some i18n context

This commit is contained in:
Robert Helgesson 2023-04-11 22:43:52 +02:00
parent 013948ddf6
commit 6e57fc4705
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
3 changed files with 37 additions and 31 deletions

View file

@ -187,6 +187,7 @@ function setFlakeAttribute() {
function doInspectOption() {
setFlakeAttribute
if [[ -v FLAKE_CONFIG_URI ]]; then
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
_iError "Can't inspect options of a flake configuration"
exit 1
fi
@ -443,6 +444,7 @@ EOF
function doInstantiate() {
setFlakeAttribute
if [[ -v FLAKE_CONFIG_URI ]]; then
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
_i "Can't instantiate a flake configuration" >&2
exit 1
fi
@ -696,6 +698,7 @@ function newsReadIdsFile() {
function buildNews() {
setFlakeAttribute
if [[ -v FLAKE_CONFIG_URI ]]; then
# translators: Here "flake" is a noun that refers to the Nix Flakes feature.
_iError "Sorry, this command is not yet supported in flake setup" >&2
exit 1
fi

View file

@ -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: 2023-04-10 13:49+0200\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@ -39,33 +39,34 @@ msgstr ""
msgid "Could not find suitable profile directory, tried %s and %s"
msgstr ""
#: home-manager/home-manager:190
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
#: home-manager/home-manager:191
msgid "Can't inspect options of a flake configuration"
msgstr ""
#: home-manager/home-manager:252 home-manager/home-manager:275
#: home-manager/home-manager:970
#: home-manager/home-manager:253 home-manager/home-manager:276
#: home-manager/home-manager:973
msgid "%s: unknown option '%s'"
msgstr ""
#: home-manager/home-manager:257 home-manager/home-manager:971
#: home-manager/home-manager:258 home-manager/home-manager:974
msgid "Run '%s --help' for usage help"
msgstr ""
#: home-manager/home-manager:283 home-manager/home-manager:382
#: home-manager/home-manager:284 home-manager/home-manager:383
msgid "The file %s already exists, leaving it unchanged..."
msgstr ""
#: home-manager/home-manager:285 home-manager/home-manager:384
#: home-manager/home-manager:286 home-manager/home-manager:385
msgid "Creating %s..."
msgstr ""
#: home-manager/home-manager:426
#: home-manager/home-manager:427
msgid "Creating initial Home Manager generation..."
msgstr ""
#. translators: The "%s" specifier will be replaced by a file path.
#: home-manager/home-manager:431
#: home-manager/home-manager:432
msgid ""
"All done! The home-manager tool should now be installed and you can edit\n"
"\n"
@ -76,7 +77,7 @@ msgid ""
msgstr ""
#. translators: The "%s" specifier will be replaced by a URL.
#: home-manager/home-manager:436
#: home-manager/home-manager:437
msgid ""
"Uh oh, the installation failed! Please create an issue at\n"
"\n"
@ -85,11 +86,12 @@ msgid ""
"if the error seems to be the fault of Home Manager."
msgstr ""
#: home-manager/home-manager:446
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
#: home-manager/home-manager:448
msgid "Can't instantiate a flake configuration"
msgstr ""
#: home-manager/home-manager:519
#: home-manager/home-manager:521
msgid ""
"There is %d unread and relevant news item.\n"
"Read it by running the command \"%s news\"."
@ -99,76 +101,77 @@ msgid_plural ""
msgstr[0] ""
msgstr[1] ""
#: home-manager/home-manager:533
#: home-manager/home-manager:535
msgid "Unknown \"news.display\" setting \"%s\"."
msgstr ""
#: home-manager/home-manager:540
#: home-manager/home-manager:542
#, sh-format
msgid "Please set the $EDITOR environment variable"
msgstr ""
#: home-manager/home-manager:555
#: home-manager/home-manager:557
msgid "Cannot run build in read-only directory"
msgstr ""
#: home-manager/home-manager:639
#: home-manager/home-manager:641
msgid "No generation with ID %s"
msgstr ""
#: home-manager/home-manager:641
#: home-manager/home-manager:643
msgid "Cannot remove the current generation %s"
msgstr ""
#: home-manager/home-manager:643
#: home-manager/home-manager:645
msgid "Removing generation %s"
msgstr ""
#: home-manager/home-manager:662
#: home-manager/home-manager:664
msgid "No generations to expire"
msgstr ""
#: home-manager/home-manager:673
#: home-manager/home-manager:675
msgid "No home-manager packages seem to be installed."
msgstr ""
#: home-manager/home-manager:699
#. translators: Here "flake" is a noun that refers to the Nix Flakes feature.
#: home-manager/home-manager:702
msgid "Sorry, this command is not yet supported in flake setup"
msgstr ""
#: home-manager/home-manager:736
#: home-manager/home-manager:739
msgid "Unknown argument %s"
msgstr ""
#: home-manager/home-manager:752
#: home-manager/home-manager:755
msgid "This will remove Home Manager from your system."
msgstr ""
#: home-manager/home-manager:755
#: home-manager/home-manager:758
msgid "This is a dry run, nothing will actually be uninstalled."
msgstr ""
#: home-manager/home-manager:759
#: home-manager/home-manager:762
msgid "Really uninstall Home Manager?"
msgstr ""
#: home-manager/home-manager:765
#: home-manager/home-manager:768
msgid "Switching to empty Home Manager configuration..."
msgstr ""
#: home-manager/home-manager:792
#: home-manager/home-manager:795
msgid "Yay!"
msgstr ""
#: home-manager/home-manager:797
#: home-manager/home-manager:800
msgid "Home Manager is uninstalled but your home.nix is left untouched."
msgstr ""
#: home-manager/home-manager:1008
#: home-manager/home-manager:1011
msgid "expire-generations expects one argument, got %d."
msgstr ""
#: home-manager/home-manager:1030
#: home-manager/home-manager:1033
msgid "Unknown command: %s"
msgstr ""

View file

@ -8,7 +8,7 @@ msgid ""
msgstr ""
"Project-Id-Version: Home Manager Modules\n"
"Report-Msgid-Bugs-To: https://github.com/nix-community/home-manager/issues\n"
"POT-Creation-Date: 2023-04-10 13:49+0200\n"
"POT-Creation-Date: 2023-04-11 22:44+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"