File tree Expand file tree Collapse file tree 8 files changed +11
-11
lines changed
workshop/assessment/rubric Expand file tree Collapse file tree 8 files changed +11
-11
lines changed Original file line number Diff line number Diff line change @@ -52,7 +52,7 @@ class OverrideLangTask {
5252 plainid = exp . join ( '.' ) ;
5353 }
5454
55- const component_slashes = component . replace ( '_' , '/' ) ;
55+ const component_slashes = component . replace ( / _ / g , '/' ) ;
5656
5757 switch ( type ) {
5858 case 'core' :
@@ -82,15 +82,15 @@ class OverrideLangTask {
8282 }
8383
8484 const paths = Object . keys ( files ) ;
85- gulp . src ( paths , { allowEmpty : true } )
85+ gulp . src ( paths )
8686 . pipe ( slash ( ) )
87- . pipe ( through ( function ( destFile ) {
87+ . pipe ( through ( function ( destFile ) {
8888 const oldContents = self . readFile ( destFile ) ;
8989 destFile . contents = self . jsonFile ( oldContents , files [ destFile . path ] ) ;
9090
9191 this . emit ( 'data' , destFile ) ;
9292 } ) )
93- . pipe ( gulp . dest ( ( data ) => data . base , { overwrite : true } ) )
93+ . pipe ( gulp . dest ( ( data ) => data . base , { overwrite : true } ) )
9494 . on ( 'end' , done ) ;
9595 }
9696
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " Feedback comments"
3- }
3+ }
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " Annotate PDF"
3- }
3+ }
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " File feedback"
3- }
3+ }
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " Submission comments"
3- }
3+ }
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " File submissions"
3- }
3+ }
Original file line number Diff line number Diff line change 11{
22 "pluginname" : " Online text submissions" ,
33 "wordlimitexceeded" : " The word limit for this assignment is {{$a.limit}} words and you are attempting to submit {{$a.count}} words. Please review your submission and try again."
4- }
4+ }
Original file line number Diff line number Diff line change 11{
22 "dimensionnumber" : " Criterion {{$a}}" ,
33 "mustchooseone" : " You have to select one of these items"
4- }
4+ }
You can’t perform that action at this time.
0 commit comments