Commit b251bd7b authored by alexandre's avatar alexandre

External translation file

parent b593b306
;
window.W = window.W || {};
W.lang = W.lang || {};
W.lang.en = {
"Adresse": "",
"Aide": "Help",
"Annuler": "Cancel",
"À propos": "About",
"au moins": "at least",
"Auteur de la partition": "Score author",
// "Auteur de la perfomance": "",
"Auteur de la performance": "Performance author",
"Axe": "Axis",
"Bienvenue": "Welcome",
"choisir": "choose",
// "Code": "",
// "Commandement": "",
// "Condition": "",
"Créer": "Create",
"Créer une nouvelle partition": "Create a new score",
"Destination": "Destination",
"Dupliquer": "Duplicate",
"Durée": "Length",
"éditer": "Edit",
"Éditer": "Edit",
// "Effectif": "",
// "effectuer l’axe": "",
"Enregistrer": "Save",
"En savoir plus": "Further inforrmation",
"entre": "between",
"Etes-vous sur de vouloir vous deconnecter?": "Are you sure you want to disconnect",
"exactement": "exactly",
"Export": "Export",
"Genre": "Genre",
// "indeterminé": "undefined",
"indéterminé": "undefined",
"Indications": "Indications",
"Langue": "Language",
// "Mise": "",
"Modifié le": "Modified on",
"Partitions": "Scores",
"Partitions existantes": "Existing score",
"Partitions mises à jour récemment": "Recently updated scores",
"performeurs": "performers",
"performeur(s)": "performer(s)",
"Prescription": "",
"Présentation": "",
"Publié le": "Published on",
"rechercher": "search",
"S'inscrire": "Register",
"Se connecter": "Log in",
"Se déconnecter": "Log out",
"Supprimer": "Delete",
"Tags": "Tags",
"Terme": "",
"Titre": "Title",
"Traduction": "Translation",
"Transcription": "Transcription",
"Type": "Type",
"Type de partition": "Score type",
"Un logiciel pour noter l’action performée, développé par W": "A software for scoring performed action, developed by W",
"Welcome": "Bienvenue",
}
......@@ -33,23 +33,27 @@ window.W = window.W || {};
}
});
// Dictionnaires
W.lang = {
"fr": {
"Bienvenue": "Bienvenue",
"Axe": "axe",
"Condition": "condition",
"Terme": "terme",
"Adresse": "adresse",
},
"en": {
"Bienvenue": "Welcome",
"Axe": "axis",
"Condition": "condition",
"Terme": "term",
"Adresse": "address"
},
};
// // Dictionnaires
// window.W = window.W || {};
// W.lang = W.lang || {};
// W.lang = {
// "fr": {
// "Bienvenue": "Bienvenue",
// "Axe": "axe",
// "Condition": "condition",
// "Terme": "terme",
// "Adresse": "adresse",
// },
// "en": {
// "Bienvenue": "Welcome",
// "Axe": "axis",
// "Condition": "condition",
// "Terme": "term",
// "Adresse": "address"
// },
// };
// Récupérer la langue du navigateur
var userLanguage = navigator.language;
......
......@@ -127,6 +127,7 @@
<script src="{% static 'playground/vendors/jquery-ui.min.js' %}"></script>
<script src="{% static 'playground/vendors/jquery.mjs.nestedSortable.js' %}"></script>
<script src="{% static 'playground/js/en.js' %}"></script>
<script src="{% static 'playground/js/extendedTemplate.js' %}"></script>
<script src="{% static 'playground/js/models.js' %}"></script>
<script src="{% static 'playground/js/collections.js' %}"></script>
......
......@@ -21,7 +21,7 @@
<li><a href="#" class="btn-logout"><%- t('Se déconnecter') %></a></li>
<% } else { %>
<li><a href="#" class="btn-login"><%- t('Se connecter') %></a></li>
<li><a href="#" class="btn-register">S'inscrire<%- t('Se connecter') %></a></li>
<li><a href="#" class="btn-register"><%- t('S\'inscrire') %></a></li>
<% } %>
</ul>
</nav>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment