From dbdc1810cd4daef23fa63dc4fa7dfc165292be19 Mon Sep 17 00:00:00 2001 From: Sam El-Husseini <16690124+samelhusseini@users.noreply.github.com> Date: Wed, 30 May 2018 15:42:37 -0700 Subject: [PATCH] Add copyright text (#667) --- fieldeditors/field_music.ts | 2 +- pxtarget.json | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/fieldeditors/field_music.ts b/fieldeditors/field_music.ts index ac3759e1..96e5f751 100644 --- a/fieldeditors/field_music.ts +++ b/fieldeditors/field_music.ts @@ -240,7 +240,7 @@ export class FieldMusic extends pxtblockly.FieldImages implements Blockly.FieldC this.stopSounds(); } - private createTextNode_(content: string) { + protected createTextNode_(content: string) { const category = this.parseCategory(content); let text = content.substr(content.indexOf(' ') + 1); text = text.length > 15 ? text.substr(0, 12) + "..." : text; diff --git a/pxtarget.json b/pxtarget.json index b9ab6825..7c9518d8 100644 --- a/pxtarget.json +++ b/pxtarget.json @@ -98,6 +98,7 @@ "betaUrl": "https://makecode.legoeducation.com/about", "driveDisplayName": "EV3", "boardName": "LEGO® MINDSTORMS® Education EV3", + "copyrightText": "LEGO, the LEGO logo, MINDSTORMS and the MINDSTORMS EV3 logo are trademarks and/ or copyrights of the LEGO Group. ©2018 The LEGO Group. All rights reserved.", "crowdinProject": "kindscript", "selectLanguage": true, "availableLocales": [