Skip to content

Commit

Permalink
(aura) Warning for no sudo matches pacman output - fixes #422
Browse files Browse the repository at this point in the history
  • Loading branch information
fosskers committed Oct 16, 2016
1 parent bd18491 commit f20e20d
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions aura/src/Aura/Languages.hs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Filip Brcic | Serbian

{-
Copyright 2012, 2013, 2014 Colin Woodbury <[email protected]>
Copyright 2012 - 2016 Colin Woodbury <[email protected]>
This file is part of Aura.
Expand All @@ -41,9 +41,10 @@ along with Aura. If not, see <http://www.gnu.org/licenses/>.

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)

---

Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f20e20d

Please sign in to comment.