Skip to content

Commit

Permalink
Fix default
Browse files Browse the repository at this point in the history
  • Loading branch information
anddimario committed Feb 7, 2013
1 parent 6c7d091 commit ae32695
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 64 deletions.
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# MuContent

Based on ExpressJs for create websites in Node.Js
Based on ExpressJs for create multisite, multilanguage and modular web application with Node.Js
Google Group: http://groups.google.com/group/mucontent

Features (see module list too):
Expand Down
35 changes: 3 additions & 32 deletions sites/default/locales/en.js
@@ -1,42 +1,13 @@
module.exports = {
"errors": {
"wrongEmail": "Wrong email",
"missingTag": "Missing Tag",
"missingTitle": "Missing Title",
"wrongNameLength": "Name min then 4 or max than 20",
"wrongPasswordLength": "Password min then 4 or max than 20",
"streetEmpty": "Street is empty",
"cityEmpty": "City is empty",
"routeEmpty": "Start point is empty",
"notFound": "Not found",
"done": "Done",
"removed": "Removed",
"alreadyExists": "The record already exists",
"errorRemoved": "Record not removed, contact the site admin",
"wrongPasswordChar": "Password must be alphanumeric",
"incorrectComment": "Comment can't be empty and max 100 character",
"emptyRole": "Role can't be undefined",
"wrongType": "The file type must be jpg, png or gif",
"exceededSize": "Limit size for file is 1MB"
},
"error50x": "Sorry Error 50x",
"error40x": "Sorry Error 40x",
"registration": "Registration",
"profile": "Profile",
"us": "About us",
"myPage": "My Page",
"logout": "Logout",
"error50x": "Sorry, error 50x",
"error40x": "Sorry, error 40x",
"language": "Language",
"signin": "Sign In",
"welcome": "Welcome",
"objects": "Objects",
"term": "Service terms",
"objects": "Objects",
"categories": ["Choose Category-", "Post-post", "Product-product"],
"send": "Send",
"search": "Search",
"you": "You and ",
"object": "Object",
"dont_follow": "Don't follow!",
"follow": "Follow!"
"send": "Send",
};
31 changes: 1 addition & 30 deletions sites/default/locales/it.js
@@ -1,42 +1,13 @@
module.exports = {
"errors": {
"wrongEmail": "Email errata",
"missingTag": "Tag mancanti",
"missingTitle": "Titolo mancante",
"wrongNameLength": "Nome min then 4 or max than 20",
"wrongPasswordLength": "Password minimo 4 massimo 20 caratteri",
"streetEmpty": "Strada non inserita",
"cityEmpty": "Città non inserita",
"routeEmpty": "Punto di partenza non inserito",
"notFound": "Non trovato",
"done": "Fatto",
"removed": "Rimosso",
"alreadyExists": "Il record già esiste",
"errorRemoved": "Record non rimosso a causa di qualche errore, contattare gli amministratori",
"wrongPasswordChar": "Password alfanumerica",
"incorrectComment": "Commento non può essere vuoto o superiore ai 100 caratteri",
"emptyRole": "Definisci il tuo ruolo",
"wrongType": "Il file dev essere jpg, png r gif",
"exceededSize": "Limite dimensione file 1MB"
},
"error50x": "Scusa, errore 50x",
"error40x": "Scusa, errore 40x",
"registration": "Registrazione",
"profile": "Profilo",
"us": "Noi",
"myPage": "La mai vetrina",
"logout": "Disconnettiti",
"language": "Lingua",
"signin": "Collegati",
"welcome": "Benvenuto",
"objects": "Oggetti",
"term": "Termini Servizio",
"objects": "Oggetti",
"categories": ["Scegli la Categoria-", "Post-post", "Product-product"],
"send": "Invia",
"search": "Cerca",
"you": "Tu ed altri ",
"object": "Oggetto",
"dont_follow": "Non seguire!",
"follow": "Segui!"
"send": "Invia",
};
2 changes: 1 addition & 1 deletion sites/default/views/layout.hbs
Expand Up @@ -49,7 +49,7 @@
<div class="container">
<div class='alert fade in'>
{{! ALERT: use ../session.language because language is outside the message array }}
<a class='close' data-dismiss='alert' href='#'>&times;</a>{{#each message}} {{translate msg ../session.language}}<br> {{/each}}
<a class='close' data-dismiss='alert' href='#'>&times;</a>{{#each message}} {{translate msg ../session.language ../mapping}}<br> {{/each}}
</div>
</div>
{{/if}}
Expand Down

0 comments on commit ae32695

Please sign in to comment.