Skip to content

Commit 8f4bccf

Browse files
committed
add template aliases
1 parent 08ecc0b commit 8f4bccf

29 files changed

Lines changed: 77 additions & 6 deletions

src/livecodes/i18n/locales/en/translation.lokalise.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2612,6 +2612,14 @@
26122612
"notes": "",
26132613
"translation": "C++ (Wasm) Starter"
26142614
},
2615+
"templates.starter.csharp-wasm": {
2616+
"notes": "",
2617+
"translation": "C# (Wasm) Starter"
2618+
},
2619+
"templates.starter.d3": {
2620+
"notes": "",
2621+
"translation": "D3 Starter"
2622+
},
26152623
"templates.starter.daisyui": {
26162624
"notes": "",
26172625
"translation": "daisyUI Starter"
@@ -2716,6 +2724,10 @@
27162724
"notes": "",
27172725
"translation": "Perl Starter"
27182726
},
2727+
"templates.starter.phaser": {
2728+
"notes": "",
2729+
"translation": "Phaser Starter"
2730+
},
27192731
"templates.starter.php": {
27202732
"notes": "",
27212733
"translation": "PHP Starter"
@@ -2740,6 +2752,10 @@
27402752
"notes": "",
27412753
"translation": "Python Starter"
27422754
},
2755+
"templates.starter.python-wasm": {
2756+
"notes": "",
2757+
"translation": "Python (Wasm) Starter"
2758+
},
27432759
"templates.starter.r": {
27442760
"notes": "",
27452761
"translation": "R Starter"

src/livecodes/i18n/locales/en/translation.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1001,6 +1001,8 @@ const translation = {
10011001
commonlisp: 'Common Lisp Starter',
10021002
cpp: 'C++ Starter',
10031003
'cpp-wasm': 'C++ (Wasm) Starter',
1004+
'csharp-wasm': 'C# (Wasm) Starter',
1005+
d3: 'D3 Starter',
10041006
daisyui: 'daisyUI Starter',
10051007
diagrams: 'Diagrams Starter',
10061008
fennel: 'Fennel Starter',
@@ -1027,12 +1029,14 @@ const translation = {
10271029
minizinc: 'MiniZinc Starter',
10281030
ocaml: 'Ocaml Starter',
10291031
perl: 'Perl Starter',
1032+
phaser: 'Phaser Starter',
10301033
php: 'PHP Starter',
10311034
'php-wasm': 'PHP (Wasm) Starter',
10321035
postgresql: 'PostgreSQL Starter',
10331036
preact: 'Preact Starter',
10341037
prolog: 'Prolog Starter',
10351038
python: 'Python Starter',
1039+
'python-wasm': 'Python (Wasm) Starter',
10361040
r: 'R Starter',
10371041
react: 'React Starter',
10381042
'react-native': 'React Native Starter',

src/livecodes/templates/starter/angular-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const angularStarter: Template = {
44
name: 'angular',
5+
aliases: ['ng'],
56
title: window.deps.translateString('templates.starter.angular', 'Angular Starter'),
67
thumbnail: 'assets/templates/angular.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/assemblyscript-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const assemblyscriptStarter: Template = {
44
name: 'assemblyscript',
5+
aliases: ['as'],
56
title: window.deps.translateString('templates.starter.assemblyscript', 'AssemblyScript Starter'),
67
thumbnail: 'assets/templates/assemblyscript.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/bootstrap-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const bootstrapStarter: Template = {
44
name: 'bootstrap',
5+
aliases: ['bs'],
56
title: window.deps.translateString('templates.starter.bootstrap', 'Bootstrap Starter'),
67
thumbnail: 'assets/templates/bootstrap.svg',
78
activeEditor: 'markup',

src/livecodes/templates/starter/clojurescript-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const clojurescriptStarter: Template = {
44
name: 'clojurescript',
5+
aliases: ['cljs'],
56
title: window.deps.translateString('templates.starter.clojurescript', 'ClojureScript Starter'),
67
thumbnail: 'assets/templates/cljs.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/coffeescript-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const coffeescriptStarter: Template = {
44
name: 'coffeescript',
5+
aliases: ['coffee'],
56
title: window.deps.translateString('templates.starter.coffeescript', 'CoffeeScript Starter'),
67
thumbnail: 'assets/templates/coffeescript.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/commonlisp-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const commonlispStarter: Template = {
44
name: 'commonlisp',
5+
aliases: ['lisp'],
56
title: window.deps.translateString('templates.starter.commonlisp', 'Common Lisp Starter'),
67
thumbnail: 'assets/templates/commonlisp.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/cpp-starter.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import type { Template } from '../../models';
22

33
export const cppStarter: Template = {
44
name: 'cpp',
5+
aliases: ['c++'],
56
title: window.deps.translateString('templates.starter.cpp', 'C++ Starter'),
67
thumbnail: 'assets/templates/cpp.svg',
78
activeEditor: 'script',

src/livecodes/templates/starter/cpp-wasm-starter.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import type { Template } from '../../models';
22

33
export const cppWasmStarter: Template = {
44
name: 'cpp-wasm',
5-
aliases: ['clang'],
5+
aliases: ['clang', 'c++-wasm'],
66
title: window.deps.translateString('templates.starter.cpp-wasm', 'C++ (Wasm) Starter'),
77
thumbnail: 'assets/templates/cpp.svg',
88
activeEditor: 'script',

0 commit comments

Comments
 (0)