Add German language localizations.
This commit is contained in:
committed by
Gareth Latty
parent
219a5b2baa
commit
4670403b60
@@ -350,3 +350,5 @@ type MdString
|
||||
| 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.
|
||||
| German -- The name of the German formal language ("Sie").
|
||||
| GermanInformal -- The name of the german informal language ("Du").
|
||||
|
||||
@@ -32,6 +32,8 @@ import MassiveDecks.Strings.Languages.En as EnLang
|
||||
import MassiveDecks.Strings.Languages.It as ItLang
|
||||
import MassiveDecks.Strings.Languages.Model exposing (..)
|
||||
import MassiveDecks.Strings.Languages.PtBR as PtBRLang
|
||||
import MassiveDecks.Strings.Languages.De as DeLang
|
||||
import MassiveDecks.Strings.Languages.DeXInformal as DeXInformalLang
|
||||
import MassiveDecks.Strings.Render as Render
|
||||
import MassiveDecks.Strings.Translation as Translation
|
||||
import MassiveDecks.Util.Maybe as Maybe
|
||||
@@ -46,6 +48,8 @@ languages =
|
||||
[ En
|
||||
, It
|
||||
, PtBR
|
||||
, De
|
||||
, DeXInformal
|
||||
]
|
||||
|
||||
|
||||
@@ -210,3 +214,9 @@ pack language =
|
||||
|
||||
PtBR ->
|
||||
PtBRLang.pack
|
||||
|
||||
De ->
|
||||
DeLang.pack
|
||||
|
||||
DeXInformal ->
|
||||
DeXInformalLang.pack
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -1198,6 +1198,12 @@ translate mdString =
|
||||
BrazilianPortuguese ->
|
||||
[ Text "Portuguese (Brazilian)" ]
|
||||
|
||||
German ->
|
||||
[ Text "German (Formal)" ]
|
||||
|
||||
GermanInformal ->
|
||||
[ Text "German (Informal)" ]
|
||||
|
||||
|
||||
an : Maybe Int -> String
|
||||
an amount =
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
module MassiveDecks.Strings.Languages.It exposing (pack)
|
||||
|
||||
{- Italian translation -}
|
||||
{-| Italian translation
|
||||
-}
|
||||
|
||||
import MassiveDecks.Card.Source.BuiltIn.Model as BuiltIn
|
||||
import MassiveDecks.Card.Source.Model as Source
|
||||
@@ -1237,6 +1238,12 @@ translate mdString =
|
||||
BrazilianPortuguese ->
|
||||
[ Text "Portoghese (Brasiliano)" ]
|
||||
|
||||
German ->
|
||||
[ Text "Tedesco (formale)" ]
|
||||
|
||||
GermanInformal ->
|
||||
[ Text "Tedesco (informale)" ]
|
||||
|
||||
|
||||
an : Maybe Int -> String
|
||||
an amount =
|
||||
|
||||
@@ -12,6 +12,8 @@ type Language
|
||||
= En
|
||||
| It
|
||||
| PtBR
|
||||
| De
|
||||
| DeXInformal
|
||||
|
||||
|
||||
{-| It makes sense to apply the language and pass around the function, so we give that a nice name.
|
||||
|
||||
@@ -1217,6 +1217,12 @@ translate mdString =
|
||||
BrazilianPortuguese ->
|
||||
[ Text "Português (Brasileiro)" ]
|
||||
|
||||
German ->
|
||||
[ Text "Alemão (formal)" ]
|
||||
|
||||
GermanInformal ->
|
||||
[ Text "Alemão (informal)" ]
|
||||
|
||||
|
||||
an : Maybe Int -> String
|
||||
an amount =
|
||||
|
||||
Reference in New Issue
Block a user