Merge pull request #1811 from albertgasset/MOBILE-2915
MOBILE-2915 rating: Change string "No rating" to "None"
This commit is contained in:
		
						commit
						0f7fe1e8c2
					
				@ -1599,7 +1599,6 @@
 | 
				
			|||||||
  "core.rating.aggregatemax": "moodle",
 | 
					  "core.rating.aggregatemax": "moodle",
 | 
				
			||||||
  "core.rating.aggregatemin": "moodle",
 | 
					  "core.rating.aggregatemin": "moodle",
 | 
				
			||||||
  "core.rating.aggregatesum": "moodle",
 | 
					  "core.rating.aggregatesum": "moodle",
 | 
				
			||||||
  "core.rating.norating": "local_moodlemobileapp",
 | 
					 | 
				
			||||||
  "core.rating.noratings": "moodle",
 | 
					  "core.rating.noratings": "moodle",
 | 
				
			||||||
  "core.rating.rating": "moodle",
 | 
					  "core.rating.rating": "moodle",
 | 
				
			||||||
  "core.rating.ratings": "moodle",
 | 
					  "core.rating.ratings": "moodle",
 | 
				
			||||||
 | 
				
			|||||||
@ -1599,7 +1599,6 @@
 | 
				
			|||||||
    "core.rating.aggregatemax": "Maximum rating",
 | 
					    "core.rating.aggregatemax": "Maximum rating",
 | 
				
			||||||
    "core.rating.aggregatemin": "Minimum rating",
 | 
					    "core.rating.aggregatemin": "Minimum rating",
 | 
				
			||||||
    "core.rating.aggregatesum": "Sum of ratings",
 | 
					    "core.rating.aggregatesum": "Sum of ratings",
 | 
				
			||||||
    "core.rating.norating": "No rating",
 | 
					 | 
				
			||||||
    "core.rating.noratings": "No ratings submitted",
 | 
					    "core.rating.noratings": "No ratings submitted",
 | 
				
			||||||
    "core.rating.rating": "Rating",
 | 
					    "core.rating.rating": "Rating",
 | 
				
			||||||
    "core.rating.ratings": "Ratings",
 | 
					    "core.rating.ratings": "Ratings",
 | 
				
			||||||
 | 
				
			|||||||
@ -72,7 +72,7 @@ export class CoreRatingRateComponent implements OnChanges {
 | 
				
			|||||||
        // Add "No rating" item to the scale.
 | 
					        // Add "No rating" item to the scale.
 | 
				
			||||||
        if (!this.scale.items[0] || this.scale.items[0].value != CoreRatingProvider.UNSET_RATING) {
 | 
					        if (!this.scale.items[0] || this.scale.items[0].value != CoreRatingProvider.UNSET_RATING) {
 | 
				
			||||||
            this.scale.items.unshift({
 | 
					            this.scale.items.unshift({
 | 
				
			||||||
                name: this.translate.instant('core.rating.norating'),
 | 
					                name: this.translate.instant('core.none'),
 | 
				
			||||||
                value: CoreRatingProvider.UNSET_RATING
 | 
					                value: CoreRatingProvider.UNSET_RATING
 | 
				
			||||||
            });
 | 
					            });
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
				
			|||||||
@ -4,7 +4,6 @@
 | 
				
			|||||||
    "aggregatemax": "Maximum rating",
 | 
					    "aggregatemax": "Maximum rating",
 | 
				
			||||||
    "aggregatemin": "Minimum rating",
 | 
					    "aggregatemin": "Minimum rating",
 | 
				
			||||||
    "aggregatesum": "Sum of ratings",
 | 
					    "aggregatesum": "Sum of ratings",
 | 
				
			||||||
    "norating": "No rating",
 | 
					 | 
				
			||||||
    "noratings": "No ratings submitted",
 | 
					    "noratings": "No ratings submitted",
 | 
				
			||||||
    "rating": "Rating",
 | 
					    "rating": "Rating",
 | 
				
			||||||
    "ratings": "Ratings"
 | 
					    "ratings": "Ratings"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user