Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
yotta
/
pictogram
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
60
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
e4c687a3
authored
Jun 25, 2019
by
Arturo Montejo Ráez
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
fixed issue #487
parent
a30990d1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
3 deletions
sails/src/api/models/Grid.js
sails/src/config/locales/en-gb.json
sails/src/config/locales/es-es.json
sails/src/api/models/Grid.js
View file @
e4c687a3
...
...
@@ -91,7 +91,9 @@ module.exports = {
// check picto has expressions associated in student language
if
(
picto
.
expressions
.
length
==
0
||
picto
.
expressions
[
0
].
text
.
length
==
0
)
return
next_cb
();
stuPicto
.
attributes
.
expression
=
sails
.
__
({
phrase
:
'undef_label'
,
locale
:
student
.
lang
});
// check picto image is available
picto
.
imageFileExists
(
function
(
found
)
{
...
...
sails/src/config/locales/en-gb.json
View file @
e4c687a3
...
...
@@ -15,5 +15,6 @@
"tutor_office_request"
:
"{{{ name }}}, with email {{{ email }}}, is requesting to be linked as tutor/father/mother to any of your students."
,
"Welcome"
:
"Welcome"
,
"welcome_msg1"
:
"Welcome to Pictogram, {{{ name }}}!"
,
"welcome_msg2"
:
"Your account is now active. You can proceed to"
"welcome_msg2"
:
"Your account is now active. You can proceed to"
,
"undef_label"
:
"WARNING: specify English expression"
}
sails/src/config/locales/es-es.json
View file @
e4c687a3
...
...
@@ -15,5 +15,6 @@
"tutor_office_request"
:
"El/la tutor/a/padre/madre {{{ name }}}, con correo electrónico {{{ email }}}, pide ser asociado a algún estudiante."
,
"Welcome"
:
"Bienvenido"
,
"welcome_msg1"
:
"¡Bienvenido a Pictogram, {{{ name }}}!"
,
"welcome_msg2"
:
"Su cuenta está ahora activa, por lo que puede"
"welcome_msg2"
:
"Su cuenta está ahora activa, por lo que puede"
,
"undef_label"
:
"ATENCIÓN: Especifique expresión en español"
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment