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

feat (*): Add i18n support #2534

Open
wants to merge 23 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
json cocntent ordering
stherrienaspnet committed Apr 5, 2017

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit 5b163fae04ccdf07ca1f80c6e33ecb10450505ad
90 changes: 45 additions & 45 deletions templates/app/client/components/i18n(i18nSupport)/locale-en.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{
"HOME":"Home",
"TITLE":"Hello, Hello!",
"WELCOME_MSG": "Kick-start your next web app with Angular Fullstack",
"FEATURES":"Features",
"SIGN_UP":"Sign up",
"LOGIN":"Login",
"REAL_TIME_SYNC_MSG": "Syncs in realtime across clients",
"ADD_NEW":"Add New",
"ADD_NEW_THING_HERE":"Add a new thing here.",
"LOGOUT":"Logout",
"ADMIN":"Admin",
"PASSWORD":"Password",
"EMAIL":"Email",
"ENTER_EMAIL_PASSWORD_MSG":"Please enter your email and password.",
"ENTER_VALID_EMAIL_MSG":"Please enter a valid email.",
"REGISTER":"Register",
"ADMIN_ACCOUNT_IS_MSG":"Admin account is ",
"ACCOUNT_RESET_MSG":"Accounts are reset on server restart from ",
"DEFAUL_ACCOUNT_MSG":"Default account is ",
"NAME":"Name",
"NAME_REQUIRED_MSG":"A name is required",
"CONFIRM_PASSWORD":"Confirm Password",
"PASSWORDS_MATCH_MSG":"Passwords must match.",
"PASSWORD_LENGTH_MSG":"Password must be at least 3 characters.",
"ADMIN_RESTRICT_MSG":"The delete user and user index api routes are restricted to users with the 'admin' role.",
"HELLO":"Hello",
"CHANGE_PASSWORD":"Change Password",
"CURRENT_PASSWORD":"Current Password",
"NEW_PASSWORD":"New Password",
"CONFIRM_NEW_PASSWORD":"Confirm New Password",
"SAVE_CHANGES":"Save changes",
"DOCUMENTATION":"Documentation",
"CHAT_ON_GITTER":"Chat on Gitter",
"ISSUES":"Issues",
"DONATION_MSG":"Donate to our Open Collective",
"EMAIL_IN_USE_MSG":"The specified email address is already in use.",
"EMAIL_INVALID_FORMAT_MSG":"Doesn't look like a valid email.",
"EMAIL_QUESTION_MSG":"What's your email address?",
"PASSWORD_INVALID_MSG":"This password is not correct.",
"EMAIL_UNREGISTRED_MSG":"This email is not registered." ,
"CONNECT_WITH_FACEBOOK":"Connect with Facebook",
"CONNECT_WITH_GOOGLE_PLUS":"Connect with Google+",
"CONNECT_WITH_TWITTER":"Connect with Twitter"
}
{
"ACCOUNT_RESET_MSG": "Accounts are reset on server restart from ",
"ADD_NEW": "Add New",
"ADD_NEW_THING_HERE": "Add a new thing here.",
"ADMIN": "Admin",
"ADMIN_ACCOUNT_IS_MSG": "Admin account is ",
"ADMIN_RESTRICT_MSG": "The delete user and user index api routes are restricted to users with the 'admin' role.",
"CHANGE_PASSWORD": "Change Password",
"CHAT_ON_GITTER": "Chat on Gitter",
"CONFIRM_NEW_PASSWORD": "Confirm New Password",
"CONFIRM_PASSWORD": "Confirm Password",
"CONNECT_WITH_FACEBOOK": "Connect with Facebook",
"CONNECT_WITH_GOOGLE_PLUS": "Connect with Google+",
"CONNECT_WITH_TWITTER": "Connect with Twitter",
"CURRENT_PASSWORD": "Current Password",
"DEFAUL_ACCOUNT_MSG": "Default account is ",
"DOCUMENTATION": "Documentation",
"DONATION_MSG": "Donate to our Open Collective",
"EMAIL": "Email",
"EMAIL_INVALID_FORMAT_MSG": "Doesn't look like a valid email.",
"EMAIL_IN_USE_MSG": "The specified email address is already in use.",
"EMAIL_QUESTION_MSG": "What's your email address?",
"EMAIL_UNREGISTRED_MSG": "This email is not registered.",
"ENTER_EMAIL_PASSWORD_MSG": "Please enter your email and password.",
"ENTER_VALID_EMAIL_MSG": "Please enter a valid email.",
"FEATURES": "Features",
"HELLO": "Hello",
"HOME": "Home",
"ISSUES": "Issues",
"LOGIN": "Login",
"LOGOUT": "Logout",
"NAME": "Name",
"NAME_REQUIRED_MSG": "A name is required",
"NEW_PASSWORD": "New Password",
"PASSWORD": "Password",
"PASSWORDS_MATCH_MSG": "Passwords must match.",
"PASSWORD_INVALID_MSG": "This password is not correct.",
"PASSWORD_LENGTH_MSG": "Password must be at least 3 characters.",
"REAL_TIME_SYNC_MSG": "Syncs in realtime across clients",
"REGISTER": "Register",
"SAVE_CHANGES": "Save changes",
"SIGN_UP": "Sign up",
"TITLE": "Hello, Hello!",
"WELCOME_MSG": "Kick-start your next web app with Angular Fullstack"
}
90 changes: 45 additions & 45 deletions templates/app/client/components/i18n(i18nSupport)/locale-fr.json
Original file line number Diff line number Diff line change
@@ -1,45 +1,45 @@
{
"HOME":"Accueil",
"TITLE":"Bonjour, Bonjour!",
"WELCOME_MSG": "Démarrez votre prochaine application Web avec Angular Fullstack",
"FEATURES":"Caractéristiques",
"SIGN_UP":"Inscription",
"LOGIN":"Connection",
"REAL_TIME_SYNC_MSG": "Synchronisation en temps réel sur les clients",
"ADD_NEW":"Ajouter",
"ADD_NEW_THING_HERE":"Ajouter un nouvel item ici.",
"LOGOUT":"Déconnection",
"ADMIN":"Administration",
"PASSWORD":"Mot de passe",
"EMAIL":"Courriel",
"ENTER_EMAIL_PASSWORD_MSG":"Veuillez saisir votre adresse courriel et votre mot de passe.",
"ENTER_VALID_EMAIL_MSG":"Veuillez saisir une adresse courriel valide.",
"REGISTER":"Enregistrer",
"ADMIN_ACCOUNT_IS_MSG":"Le compte administrateur est ",
"ACCOUNT_RESET_MSG":"Les comptes sont réinitialisés au redémarrage du serveur à partir de ",
"DEFAUL_ACCOUNT_MSG":"Le compte par défaut est ",
"NAME":"Nom",
"NAME_REQUIRED_MSG":"Un nom est requis",
"CONFIRM_PASSWORD":"Confirmation du mot de passe",
"PASSWORDS_MATCH_MSG":"Les mots de passe doivent correspondre.",
"PASSWORD_LENGTH_MSG":"Le mot de passe doit contenir au moins 3 caractères.",
"ADMIN_RESTRICT_MSG":"Les routes d'api 'user index' et 'delete user' sont limités aux utilisateurs ayant le rôle 'admin'.",
"HELLO":"Bonjour",
"CHANGE_PASSWORD":"Modification du mot de passe",
"CURRENT_PASSWORD":"Mot de passe actuel",
"NEW_PASSWORD":"Nouveau mot de passe",
"CONFIRM_NEW_PASSWORD":"Confirmer le nouveau mot de passe",
"SAVE_CHANGES":"Savegarder les changements",
"DOCUMENTATION":"Documentation",
"CHAT_ON_GITTER":"Clavarder sur Gitter",
"ISSUES":"Anomalies",
"DONATION_MSG":"Faire un don à notre collectif ouvert",
"EMAIL_IN_USE_MSG":"L'adresse courriel spécifiée est déjà utilisée.",
"EMAIL_INVALID_FORMAT_MSG":"Ca ne ressemble pas à un courriel valide.",
"EMAIL_QUESTION_MSG":"Quelle est votre adresse courriel?",
"PASSWORD_INVALID_MSG":"Ce mot de passe est incorrect.",
"EMAIL_UNREGISTRED_MSG":"Ce courriel n'est pas enregistré.",
"CONNECT_WITH_FACEBOOK":"Se connecter avec Facebook",
"CONNECT_WITH_GOOGLE_PLUS":"Se connecter avec Google+",
"CONNECT_WITH_TWITTER":"Se connecter avec Twitter"
}
{
"ACCOUNT_RESET_MSG": "Les comptes sont réinitialisés au redémarrage du serveur à partir de ",
"ADD_NEW": "Ajouter",
"ADD_NEW_THING_HERE": "Ajouter un nouvel item ici.",
"ADMIN": "Administration",
"ADMIN_ACCOUNT_IS_MSG": "Le compte administrateur est ",
"ADMIN_RESTRICT_MSG": "Les routes d'api 'user index' et 'delete user' sont limités aux utilisateurs ayant le rôle 'admin'.",
"CHANGE_PASSWORD": "Modification du mot de passe",
"CHAT_ON_GITTER": "Clavarder sur Gitter",
"CONFIRM_NEW_PASSWORD": "Confirmer le nouveau mot de passe",
"CONFIRM_PASSWORD": "Confirmation du mot de passe",
"CONNECT_WITH_FACEBOOK": "Se connecter avec Facebook",
"CONNECT_WITH_GOOGLE_PLUS": "Se connecter avec Google+",
"CONNECT_WITH_TWITTER": "Se connecter avec Twitter",
"CURRENT_PASSWORD": "Mot de passe actuel",
"DEFAUL_ACCOUNT_MSG": "Le compte par défaut est ",
"DOCUMENTATION": "Documentation",
"DONATION_MSG": "Faire un don à notre collectif ouvert",
"EMAIL": "Courriel",
"EMAIL_INVALID_FORMAT_MSG": "Ca ne ressemble pas à un courriel valide.",
"EMAIL_IN_USE_MSG": "L'adresse courriel spécifiée est déjà utilisée.",
"EMAIL_QUESTION_MSG": "Quelle est votre adresse courriel?",
"EMAIL_UNREGISTRED_MSG": "Ce courriel n'est pas enregistré.",
"ENTER_EMAIL_PASSWORD_MSG": "Veuillez saisir votre adresse courriel et votre mot de passe.",
"ENTER_VALID_EMAIL_MSG": "Veuillez saisir une adresse courriel valide.",
"FEATURES": "Caractéristiques",
"HELLO": "Bonjour",
"HOME": "Accueil",
"ISSUES": "Anomalies",
"LOGIN": "Connection",
"LOGOUT": "Déconnection",
"NAME": "Nom",
"NAME_REQUIRED_MSG": "Un nom est requis",
"NEW_PASSWORD": "Nouveau mot de passe",
"PASSWORD": "Mot de passe",
"PASSWORDS_MATCH_MSG": "Les mots de passe doivent correspondre.",
"PASSWORD_INVALID_MSG": "Ce mot de passe est incorrect.",
"PASSWORD_LENGTH_MSG": "Le mot de passe doit contenir au moins 3 caractères.",
"REAL_TIME_SYNC_MSG": "Synchronisation en temps réel sur les clients",
"REGISTER": "Enregistrer",
"SAVE_CHANGES": "Savegarder les changements",
"SIGN_UP": "Inscription",
"TITLE": "Bonjour, Bonjour!",
"WELCOME_MSG": "Démarrez votre prochaine application Web avec Angular Fullstack"
}