1 # This file is part of NIT ( http://www.nitlanguage.org ).
3 # Licensed under the Apache License, Version 2.0 (the "License");
4 # you may not use this file except in compliance with the License.
5 # You may obtain a copy of the License at
7 # http://www.apache.org/licenses/LICENSE-2.0
9 # Unless required by applicable law or agreed to in writing, software
10 # distributed under the License is distributed on an "AS IS" BASIS,
11 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 # See the License for the specific language governing permissions and
14 # Support for translating the app to different languages, implements French
18 # Translate `self` according to the current language `sys.lang`
21 var lang
= sys
.lang_map
22 if lang
== null then return to_s
24 if lang
.keys
.has
(self) then return lang
[self]
26 print
"Translation miss ({sys.lang}): {self}"
32 # Name of the language in use
35 # Translation map for the language in use
36 var lang_map
: nullable Map[Text, String] = null
39 # Set French as the current language
42 var map
= new Map[Text, String]
45 map
["Welcome %0"] = "Bienvenue %0"
46 map
["Welcome"] = "Bienvenue"
47 map
["Beer Menu"] = "Menu de bières"
48 map
["View all"] = "Menu complet"
49 map
["Preferences"] = "Préférences"
50 map
["Friends"] = "Amis"
51 map
["Manage"] = "Gérer"
52 map
["Events"] = "Événements"
53 map
["Loading..."] = "Chargement..."
54 map
["Login or signup"] = "S'authentifier"
55 map
["On location?"] = "Sur place?"
56 map
["Leaving?"] = "Vous quittez?"
59 map
["Account options"] = "Options du compte"
60 map
["Share options"] = "Options de partage"
61 map
["Notifications options"] = "Options de notification"
62 map
["Please login"] = "Veuillez vous identifier"
63 map
["Welcome %0!"] = "Bienvenue %0!"
64 map
["Logged in as %0"] = "Connecté en tant que %0"
65 map
["Username"] = "Nom d'utilisateur"
66 map
["Password"] = "Mot de passe"
67 map
["Repeat password"] = "Répéter le mot de passe"
68 map
["Email"] = "Courriel"
69 map
["Login"] = "Se connecter"
70 map
["Loging in..."] = "Authentification..."
71 map
["Logout"] = "Se déconnecter"
72 map
["Signup"] = "Créer un compte"
73 map
["Signing up..."] = "Création du compte..."
75 map
["Passwords must be composed of at least 6 characters."] = "Le mot de passe doit avoir au moins 6 charactères."
76 map
["Fill the following fields to sign up."] = "Remplissez les champs suivants pour créer un compte."
78 map
["Passwords do not match."] = "Les mots de passe ne correspondent pas."
79 map
["Invalid username."] = "Nom d'utilisateur invalide."
80 map
["Invalid password."] = "Mot de passe invalide."
81 map
["Username already in use."] = "Le nom d'utilisateur est déjà réservé."
82 map
["Invalid username and password combination."] = "La combinaison de nom et mot de passe n'est pas reconnue."
85 map
["Follow"] = "Suivre"
86 map
["Unfollow"] = "Ne plus suivre"
87 map
["Search"] = "Rechercher"
88 map
["Favorites: %0"] = "Favoris: %0"
89 map
["No favorites yet"] = "Pas de favoris"
90 map
["List followed"] = "Personnes suivies"
91 map
["List followers"] = "Personnes vous suivant"
94 map
["Review %0"] = "Évaluer %0"
95 map
["%0★ %1 reviews"] = "%0★ %1 avis"
96 map
["No reviews yet"] = "Aucun avis"
97 map
[", friends: %0☆ %1 reviews"] = ", amis: %0☆ %1 avis"
98 map
[" (New)"] = " (Nouveau)"
99 map
["Similar to %0."] = "Similaire à %0."
100 map
["Favorite beer on the menu."] = "Bière préférée sur le menu."
101 map
["Favorite of %0"] = "Préférée de %0"
104 map
["Notify when a friend checks in"] = "Lorsqu'un ami est sur place"
105 map
["Show the menu every work day"] = "Menu journalier en semaine"
106 map
["Notify when there are new beers"] = "Lorsqu'il y a de nouvelles bières"
107 map
["Share checkins with your friends"] = "Partager lorsque vous êtes sur place"
108 map
["Passing by the Benelux?"] = "De passage au Bénélux?"