From 74e220677ac2cb1bef16d0f62092d56db6f62e1d Mon Sep 17 00:00:00 2001 From: EuAndreh Date: Wed, 4 Nov 2020 17:38:20 -0300 Subject: Add all code blocks to translation po files --- .../LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po | 43 ++++++++++++++++++++++ 1 file changed, 43 insertions(+) (limited to 'locale/pt/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po') diff --git a/locale/pt/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po b/locale/pt/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po index 79c420a..6cdd685 100644 --- a/locale/pt/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po +++ b/locale/pt/LC_MESSAGES/_pastebins/2018-07-25-nix-exps.po @@ -8,3 +8,46 @@ msgid "" "layout: pastebin\n" "lang: en" msgstr "" + +msgid "" +"let\n" +" pkgsOriginal = import {};\n" +" pkgsSrc = pkgsOriginal.fetchzip {\n" +" url = \"https://github.com/NixOS/nixpkgs/archive/18.03.zip\";\n" +" sha256 = \"0hk4y2vkgm1qadpsm4b0q1vxq889jhxzjx3ragybrlwwg54mzp4f\";\n" +" };\n" +" pkgs = import (pkgsSrc) {};\n" +" stdenv = pkgs.stdenv;\n" +"\n" +" # Taken from:\n" +" # http://www.cs.yale.edu/homes/lucas.paul/posts/2017-04-10-hakyll-on-nix.html\n" +" websiteBuilder = pkgs.stdenv.mkDerivation {\n" +" name = \"website-builder\";\n" +" src = ./hakyll;\n" +" phases = \"unpackPhase buildPhase\";\n" +" buildInputs = [\n" +" (pkgs.haskellPackages.ghcWithPackages (p: with p; [ hakyll ]))\n" +" ];\n" +" buildPhase = ''\n" +" mkdir -p $out/bin\n" +" ghc -O2 -dynamic --make Main.hs -o $out/bin/generate-site\n" +" '';\n" +" };\n" +"in rec {\n" +" euandrehWebsite = stdenv.mkDerivation rec {\n" +" name = \"euandreh-website\";\n" +" src = ./site;\n" +" phases = \"unpackPhase buildPhase\";\n" +" # version = \"0.1\";\n" +" buildInputs = [ websiteBuilder ];\n" +" buildPhase = ''\n" +" export LOCALE_ARCHIVE=\"${pkgs.glibcLocales}/lib/locale/locale-archive\";\n" +" export LANG=en_US.UTF-8\n" +" generate-site build\n" +"\n" +" mkdir $out\n" +" cp -r _site/* $out\n" +" '';\n" +" };\n" +"}\n" +msgstr "" -- cgit v1.2.3