Skip to content

Commit b797233

Browse files
committed
Add --localhost-tld option to empty web F# template
1 parent 4cd8fbe commit b797233

18 files changed

+55
-0
lines changed

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/dotnetcli.host.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@
2727
"NoHttps": {
2828
"longName": "no-https",
2929
"shortName": ""
30+
},
31+
"LocalhostTld": {
32+
"longName": "localhost-tld",
33+
"shortName": ""
3034
}
3135
},
3236
"usageExamples": [

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/ide.host.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,13 @@
33
"order": 101,
44
"icon": "ide/icon.ico",
55
"supportsDocker": true,
6+
"symbolInfo": [
7+
{
8+
"id": "LocalhostTld",
9+
"isVisible": true,
10+
"persistenceScope": "shared",
11+
"persistenceScopeName": "Microsoft"
12+
}
13+
],
614
"disableHttpsSymbol": "NoHttps"
715
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.cs.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Cíl net10.0",
1212
"symbols/skipRestore/description": "Pokud se tato možnost zadá, přeskočí automatické obnovení projektu při vytvoření.",
1313
"symbols/NoHttps/description": "Určuje, jestli se má protokol HTTPS vypnout. Tato možnost platí jenom v případě, že se pro --auth nepoužívají Individual, IndividualB2C, SingleOrg ani MultiOrg.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "Obnoví balíčky NuGet vyžadované tímto projektem.",
1517
"postActions/restore/manualInstructions/default/text": "Spustit dotnet restore"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.de.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Ziel.-NET10.0",
1212
"symbols/skipRestore/description": "Wenn angegeben, wird die automatische Wiederherstellung des Projekts beim Erstellen übersprungen.",
1313
"symbols/NoHttps/description": "Ob HTTPS deaktiviert werden soll. Diese Option gilt nur, wenn Individual, IndividualB2C, SingleOrg oder MultiOrg nicht für --auth verwendet werden.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "„NuGet-Pakete“ wiederherstellen, die für dieses Projekt erforderlich sind.",
1517
"postActions/restore/manualInstructions/default/text": "„dotnet restore“ ausführen"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.en.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Target net10.0",
1212
"symbols/skipRestore/description": "If specified, skips the automatic restore of the project on create.",
1313
"symbols/NoHttps/description": "Whether to turn off HTTPS. This option only applies if Individual, IndividualB2C, SingleOrg, or MultiOrg aren't used for --auth.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "Restore NuGet packages required by this project.",
1517
"postActions/restore/manualInstructions/default/text": "Run 'dotnet restore'"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.es.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Destino net10.0",
1212
"symbols/skipRestore/description": "Si se especifica, se omite la restauración automática del proyecto durante la creación.",
1313
"symbols/NoHttps/description": "Si se va a desactivar HTTPS. Esta opción solo se aplica si Individual, IndividualB2C, SingleOrg o MultiOrg no se usan para --auth.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "Restaure los paquetes NuGet necesarios para este proyecto.",
1517
"postActions/restore/manualInstructions/default/text": "Ejecutar \"dotnet restore\""
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.fr.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Net10.0 cible",
1212
"symbols/skipRestore/description": "S’il est spécifié, ignore la restauration automatique du projet lors de la création.",
1313
"symbols/NoHttps/description": "Indique s’il faut désactiver HTTPS. Cette option s’applique uniquement si Individual, IndividualB2C, SingleOrg ou MultiOrg ne sont pas utilisés pour --auth.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "Restaurez les packages NuGet requis par ce projet.",
1517
"postActions/restore/manualInstructions/default/text": "Exécuter « dotnet restore »"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.it.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "Destinazione net10.0",
1212
"symbols/skipRestore/description": "Se specificato, ignora il ripristino automatico del progetto durante la creazione.",
1313
"symbols/NoHttps/description": "Indica se disattivare HTTPS. Questa opzione si applica solo se Individual, IndividualB2C, SingleOrg o MultiOrg non vengono usati per --auth.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "Ripristina i pacchetti NuGet richiesti da questo progetto.",
1517
"postActions/restore/manualInstructions/default/text": "Esegui 'dotnet restore'"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.ja.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "ターゲット net10.0",
1212
"symbols/skipRestore/description": "指定した場合、作成時にプロジェクトの自動復元がスキップされます。",
1313
"symbols/NoHttps/description": "HTTPS をオフにするかどうか。このオプションは、Individual、IndividualB2C、SingleOrg、または MultiOrg が --auth に使用されていない場合にのみ適用されます。",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "このプロジェクトに必要な NuGet パッケージを復元します。",
1517
"postActions/restore/manualInstructions/default/text": "'dotnet restore' を実行する"
1618
}

src/ProjectTemplates/Web.ProjectTemplates/content/EmptyWeb-FSharp/.template.config/localize/templatestrings.ko.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@
1111
"symbols/Framework/choices/net10.0/description": "대상 net10.0",
1212
"symbols/skipRestore/description": "지정된 경우, 프로젝트 생성 시 자동 복원을 건너뜁니다.",
1313
"symbols/NoHttps/description": "HTTPS를 끌지 여부입니다. 이 옵션은 Individual, IndividualB2C, SingleOrg 또는 MultiOrg가 --auth에 사용되지 않는 경우에만 적용됩니다.",
14+
"symbols/LocalhostTld/displayName": "Use the .localhost TLD in the aplication URL",
15+
"symbols/LocalhostTld/description": "Whether to combine the project name with the .localhost TLD in the application URL for local development, e.g. https://myapp.localhost:12345.",
1416
"postActions/restore/description": "이 프로젝트에 필요한 NuGet 패키지를 복원합니다.",
1517
"postActions/restore/manualInstructions/default/text": "'dotnet restore' 실행"
1618
}

0 commit comments

Comments
 (0)