File tree Expand file tree Collapse file tree 4 files changed +24
-24
lines changed Expand file tree Collapse file tree 4 files changed +24
-24
lines changed Original file line number Diff line number Diff line change 1
- textualization = {
2
- hello : "Hallo {firstname} {lastname}"
3
- } ;
1
+ ( {
2
+ hello : "Hallo {firstname} {lastname}"
3
+ } )
Original file line number Diff line number Diff line change 1
- textualization = {
2
- sum : "The result of the operation {operation} is {result}" ,
3
- inbox : "You Have {mails} mensajes" ,
4
- hello : "Hi {firstname} {lastname}"
5
- } ;
1
+ ( {
2
+ sum : "The result of the operation {operation} is {result}" ,
3
+ inbox : "You Have {mails} mensajes" ,
4
+ hello : "Hi {firstname} {lastname}"
5
+ } )
Original file line number Diff line number Diff line change 1
- textualization = {
2
- sum : "El resultado de tu operación {operation} es {result}" ,
3
- inbox : [
4
- "No tienes mensajes" , //hello
5
- "Tienes un solo mensaje" ,
6
- "Tienes {$num} mensajes"
7
- ] ,
8
- magic : "El texto {texto} al reves es: ·{params.texto.split('').reverse().join('')}·" ,
9
- hello : "Hola {firstname} {lastname}" ,
10
- func : function ( ) {
11
- var square = param * param ;
12
- return "El cuadrado de {param} es " + square ;
13
- }
14
- } ;
1
+ ( {
2
+ sum : "El resultado de tu operación {operation} es {result}" ,
3
+ inbox : [
4
+ "No tienes mensajes" , //hello
5
+ "Tienes un solo mensaje" ,
6
+ "Tienes {$num} mensajes"
7
+ ] ,
8
+ magic : "El texto {texto} al reves es: ·{params.texto.split('').reverse().join('')}·" ,
9
+ hello : "Hola {firstname} {lastname}" ,
10
+ func : function ( ) {
11
+ var square = param * param ;
12
+ return "El cuadrado de {param} es " + square ;
13
+ }
14
+ } )
Original file line number Diff line number Diff line change @@ -150,11 +150,11 @@ describe("Textualization -----",function(){
150
150
lastname : "Simpson"
151
151
} ;
152
152
153
- console . log ( i18n . heap ) ;
153
+ // console.log(i18n.heap);
154
154
155
155
test
156
156
. value ( i18n ( "i18nSampleLoad.hello" , user , "de" ) )
157
- . is ( "i18nSampleLoad.hello " )
157
+ . is ( "Hallo Homer Simpson " )
158
158
} )
159
159
160
160
} )
You can’t perform that action at this time.
0 commit comments