From f20e20d7c5337b0dbbc536307ff4d90d5394b46f Mon Sep 17 00:00:00 2001 From: Colin Woodbury Date: Sat, 15 Oct 2016 21:30:56 -0700 Subject: [PATCH] (aura) Warning for no sudo matches pacman output - fixes #422 --- aura/src/Aura/Languages.hs | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/aura/src/Aura/Languages.hs b/aura/src/Aura/Languages.hs index a0ba62f5e..a04df35c9 100644 --- a/aura/src/Aura/Languages.hs +++ b/aura/src/Aura/Languages.hs @@ -20,7 +20,7 @@ Filip Brcic | Serbian {- -Copyright 2012, 2013, 2014 Colin Woodbury +Copyright 2012 - 2016 Colin Woodbury This file is part of Aura. @@ -41,9 +41,10 @@ along with Aura. If not, see . module Aura.Languages where -import Aura.Colour.Text (cyan, green, red, blue, yellow, magenta, bForeground) import qualified Data.Map.Lazy as Map (Map, (!), fromList, toList, mapWithKey) -import Data.Monoid +import Data.Monoid + +import Aura.Colour.Text (cyan, green, red, blue, yellow, magenta, bForeground) --- @@ -225,7 +226,7 @@ mustBeRoot_1 = let sudo = bt "sudo" in \case Serbian -> "Морате да користите " <> sudo <> " за ову радњу." Norwegian -> "Du må bruke " <> sudo <> " for det." Indonesia -> "Anda harus menggunakan " <> sudo <> " untuk melakukannya." - _ -> "You have to use " <> sudo <> " for that." + _ -> "You cannot perform this operation unless you are root." ----------------------- -- Aura/Build functions