Added Brazilian Portuguese translation

This commit is contained in:
Felipe Matheus
2020-04-04 16:30:50 +01:00
committed by Gareth Latty
parent 65bdb38910
commit f0c96c8428
6 changed files with 1175 additions and 0 deletions
+1
View File
@@ -313,3 +313,4 @@ type MdString
| English -- The name of the English language (no specific dialect).
| BritishEnglish -- The name of the British dialect of the English language.
| Italian -- The name of the Italian language.
| BrazilianPortuguese -- The name of the Brazilian dialect of the Portuguese language.
@@ -26,6 +26,7 @@ import MassiveDecks.Model exposing (Shared)
import MassiveDecks.Strings exposing (MdString(..))
import MassiveDecks.Strings.Languages.En as EnLang
import MassiveDecks.Strings.Languages.It as ItLang
import MassiveDecks.Strings.Languages.PtBR as PtBRLang
import MassiveDecks.Strings.Languages.Model exposing (..)
import MassiveDecks.Strings.Render as Render
import MassiveDecks.Strings.Translation as Translation
@@ -40,6 +41,7 @@ languages : List Language
languages =
[ En
, It
, PtBR
]
@@ -169,3 +171,6 @@ pack language =
It ->
ItLang.pack
PtBR ->
PtBRLang.pack
@@ -1071,6 +1071,9 @@ translate mdString =
Italian ->
[ Text "Italian" ]
BrazilianPortuguese ->
[ Text "Portuguese (Brazilian)" ]
an : Maybe Int -> String
an amount =
@@ -1087,6 +1087,9 @@ translate mdString =
Italian ->
[ Text "Italiano" ]
BrazilianPortuguese ->
[ Text "Portoghese (Brasiliano)" ]
an : Maybe Int -> String
an amount =
@@ -11,6 +11,7 @@ import MassiveDecks.Strings exposing (MdString)
type Language
= En
| It
| PtBR
{-| It makes sense to apply the language and pass around the function, so we give that a nice name.
File diff suppressed because it is too large Load Diff