Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ADD] French translation #559

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
1 change: 1 addition & 0 deletions client/src/elm/MassiveDecks/Strings.elm
Original file line number Diff line number Diff line change
Expand Up @@ -421,3 +421,4 @@ type MdString
| Indonesian -- The name of the Indonesian language.
| Spanish -- The name of the Spanish language.
| Korean -- The name of the Korean language.
| French -- The name of the French language.
5 changes: 5 additions & 0 deletions client/src/elm/MassiveDecks/Strings/Languages.elm
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ import MassiveDecks.Strings.Languages.De as DeLang
import MassiveDecks.Strings.Languages.DeXInformal as DeXInformalLang
import MassiveDecks.Strings.Languages.En as EnLang
import MassiveDecks.Strings.Languages.Es as EsLang
import MassiveDecks.Strings.Languages.Fr as FrLang
import MassiveDecks.Strings.Languages.Id as IdLang
import MassiveDecks.Strings.Languages.It as ItLang
import MassiveDecks.Strings.Languages.Ko as KoLang
Expand All @@ -57,6 +58,7 @@ languages =
, Id
, Es
, Ko
, Fr
]


Expand Down Expand Up @@ -234,3 +236,6 @@ pack language =

Ko ->
KoLang.pack

Fr ->
FrLang.pack
4 changes: 3 additions & 1 deletion client/src/elm/MassiveDecks/Strings/Languages/De.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1380,10 +1380,12 @@ translate _ mdString =
Spanish ->
[ Text "Spanisch" ]


Korean ->
[ Text "Koreanisch" ]

French ->
[ Text "Französisch" ]

an : Maybe Int -> String
an amount =
case amount of
Expand Down
3 changes: 3 additions & 0 deletions client/src/elm/MassiveDecks/Strings/Languages/DeXInformal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1381,6 +1381,9 @@ translate _ mdString =
Korean ->
[ Text "Koreanisch" ]

French ->
[ Text "Französisch" ]


an : Maybe Int -> String
an amount =
Expand Down
4 changes: 4 additions & 0 deletions client/src/elm/MassiveDecks/Strings/Languages/En/Internal.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1311,6 +1311,9 @@ translate _ mdString =

BrazilianPortuguese ->
[ Text "Portuguese (Brazilian)" ]

French ->
[ Text "French" ]

German ->
[ Text "German (Formal)" ]
Expand All @@ -1332,6 +1335,7 @@ translate _ mdString =




{- Private -}


Expand Down
3 changes: 3 additions & 0 deletions client/src/elm/MassiveDecks/Strings/Languages/Es.elm
Original file line number Diff line number Diff line change
Expand Up @@ -1363,6 +1363,9 @@ translate _ mdString =
Korean ->
[ Text "Coreano" ]

French ->
[ Text "Francés" ]

raw : MdString -> Translation.Result never
raw =
Raw Nothing
Expand Down
Loading