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
["Invalid name"] = "Nom d'utilisateur invalide"
67 map
["Password"] = "Mot de passe"
68 map
["Passwords must be composed of at least 6 characters."] = "Le mot de passe doit avoir au moins 6 charactères."
69 map
["Email"] = "Courriel"
70 map
["Login"] = "Se connecter"
71 map
["Logout"] = "Se déconnecter"
72 map
["Signup"] = "Créer un compte"
75 map
["Follow"] = "Suivre"
76 map
["Unfollow"] = "Ne plus suivre"
77 map
["Search"] = "Rechercher"
78 map
["Favorites: %0"] = "Favoris: %0"
79 map
["No favorites yet"] = "Pas de favoris"
80 map
["List followed"] = "Personnes suivies"
81 map
["List followers"] = "Personnes vous suivant"
84 map
["Review %0"] = "Évaluer %0"
85 map
["%0★ %1 reviews"] = "%0★ %1 avis"
86 map
["No reviews yet"] = "Aucun avis"
87 map
[", friends: %0☆ %1 reviews"] = ", amis: %0☆ %1 avis"
88 map
[" (New)"] = " (Nouveau)"
89 map
["Similar to %0."] = "Similaire à %0."
90 map
["Favorite beer on the menu."] = "Bière préférée sur le menu."
91 map
["Favorite of %0"] = "Préférée de %0"
94 map
["Notify when a friend checks in"] = "Lorsqu'un ami est sur place"
95 map
["Show the menu every work day"] = "Menu journalier en semaine"
96 map
["Notify when there are new beers"] = "Lorsqu'il y a de nouvelles bières"
97 map
["Share checkins with your friends"] = "Partager lorsque vous êtes sur place"
98 map
["Passing by the Benelux?"] = "De passage au Bénélux?"