Skip to content

Commit

Permalink
Corrects spelling of "programatic" and "programing"
Browse files Browse the repository at this point in the history
  • Loading branch information
gingi committed Jan 27, 2023
1 parent ee1f66d commit 9adfb33
Show file tree
Hide file tree
Showing 66 changed files with 86 additions and 86 deletions.
4 changes: 2 additions & 2 deletions i18n/resources.de.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@
"profile-button.profile": "Profil",
"profile-button.settings": "Einstellungen",
"profile-button.viewLogs": "Logs anzeigen",
"programatic-usage.authenticationType": "Authentifizierungstyp",
"programatic-usage.credentials": "Anmeldeinformationen",
"programmatic-usage.authenticationType": "Authentifizierungstyp",
"programmatic-usage.credentials": "Anmeldeinformationen",
"rerun-task-form.action": "Erneut ausführen",
"resource-permission-button.none": "NONE",
"resource-permission-button.permission": "Berechtigung",
Expand Down
4 changes: 2 additions & 2 deletions i18n/resources.es.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@
"profile-button.settings": "Configuración",
"profile-button.viewLogs": "Ver registros",
"profile-button.viewTheme": "Ver colores del tema",
"programatic-usage.authenticationType": "Tipo de autenticación",
"programatic-usage.credentials": "Credenciales",
"programmatic-usage.authenticationType": "Tipo de autenticación",
"programmatic-usage.credentials": "Credenciales",
"rerun-task-form.action": "Volver a ejecutar",
"rerun-task-form.title": "Volver a ejecutar tarea",
"resource-permission-button.giveRole": "Papel de dar {rol}",
Expand Down
4 changes: 2 additions & 2 deletions i18n/resources.fr.json
Original file line number Diff line number Diff line change
Expand Up @@ -154,8 +154,8 @@
"profile-button.settings": "Paramètres",
"profile-button.thirdPartyNotices": "Avis de tiers",
"profile-button.viewTheme": "Couleurs de thème d’affichage",
"programatic-usage.authenticationType": "Type d'authentification ",
"programatic-usage.credentials": "Informations d'identification",
"programmatic-usage.authenticationType": "Type d'authentification ",
"programmatic-usage.credentials": "Informations d'identification",
"rerun-task-form.action": "Réexécuter",
"rerun-task-form.title": "Réexécuter la tâche",
"resource-permission-button.none": "Aucun(e)",
Expand Down
8 changes: 4 additions & 4 deletions i18n/resources.it.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,10 +120,10 @@
"profile-button.settings": "Impostazioni",
"profile-button.viewLogs": "Visualizza i log",
"profile-button.viewTheme": "Mostra colori del tema",
"programatic-usage.authenticationType": "Tipo di autenticazione",
"programatic-usage.credentials": "Credenziali",
"programatic-usage.setup": "setup",
"programatic-usage.title": "Credenziali ed esempi di codice per questo account batch",
"programmatic-usage.authenticationType": "Tipo di autenticazione",
"programmatic-usage.credentials": "Credenziali",
"programmatic-usage.setup": "setup",
"programmatic-usage.title": "Credenziali ed esempi di codice per questo account batch",
"rerun-task-form.action": "Riesegui",
"rerun-task-form.subtitle": "Questo eliminerà il task e ne creerà uno nuovo con lo stesso id.",
"rerun-task-form.title": "Riesegui attività",
Expand Down
8 changes: 4 additions & 4 deletions i18n/resources.ja.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@
"profile-button.thirdPartyNotices": "サードパーティ通知",
"profile-button.viewLogs": "ログの表示",
"profile-button.viewTheme": "テーマカラーの表示",
"programatic-usage.authenticationType": "認証の種類",
"programatic-usage.credentials": "資格情報",
"programatic-usage.setup": "セットアップ",
"programatic-usage.title": "資格情報とこのバッチ アカウントのコード サンプル",
"programmatic-usage.authenticationType": "認証の種類",
"programmatic-usage.credentials": "資格情報",
"programmatic-usage.setup": "セットアップ",
"programmatic-usage.title": "資格情報とこのバッチ アカウントのコード サンプル",
"rerun-task-form.action": "再実行",
"rerun-task-form.subtitle": "タスクを削除し、同じ id で新しいタスクを作成します。",
"rerun-task-form.title": "タスクの再実行",
Expand Down
8 changes: 4 additions & 4 deletions i18n/resources.ko.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,10 +207,10 @@
"profile-button.thirdPartyNotices": "제 3자 통지",
"profile-button.viewLogs": "로그 보기",
"profile-button.viewTheme": "테마 색상 보기",
"programatic-usage.authenticationType": "인증 유형",
"programatic-usage.credentials": "자격 증명",
"programatic-usage.setup": "설치",
"programatic-usage.title": "이 배치 계정의 자격증명 및 코드샘플",
"programmatic-usage.authenticationType": "인증 유형",
"programmatic-usage.credentials": "자격 증명",
"programmatic-usage.setup": "설치",
"programmatic-usage.title": "이 배치 계정의 자격증명 및 코드샘플",
"rerun-task-form.action": "재실행",
"rerun-task-form.subtitle": "이렇게 하면 작업이 삭제되고 동일한 ID로 새 작업이 생성됩니다.",
"rerun-task-form.title": "작업 재실행",
Expand Down
8 changes: 4 additions & 4 deletions i18n/resources.pt-BR.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@
"profile-button.thirdPartyNotices": "Anúncios de terceiros",
"profile-button.viewLogs": "Exibição de Logs",
"profile-button.viewTheme": "Exibição de cores de tema",
"programatic-usage.authenticationType": "Tipo de autenticação",
"programatic-usage.credentials": "Credenciais",
"programatic-usage.setup": "Configuração",
"programatic-usage.title": "Credenciais e exemplos de código para esta conta de lote",
"programmatic-usage.authenticationType": "Tipo de autenticação",
"programmatic-usage.credentials": "Credenciais",
"programmatic-usage.setup": "Configuração",
"programmatic-usage.title": "Credenciais e exemplos de código para esta conta de lote",
"rerun-task-form.action": "Reexecutar",
"rerun-task-form.subtitle": "Isto irá excluir a tarefa e criar uma nova com o mesmo id.",
"rerun-task-form.title": "Reexecutar tarefa",
Expand Down
6 changes: 3 additions & 3 deletions i18n/resources.pt.json
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,9 @@
"profile-button.settings": "Definições",
"profile-button.thirdPartyNotices": "Avisos de terceiros",
"profile-button.viewLogs": "Ver Registos",
"programatic-usage.authenticationType": "Tipo de autenticação",
"programatic-usage.credentials": "Credenciais",
"programatic-usage.setup": "Configuração",
"programmatic-usage.authenticationType": "Tipo de autenticação",
"programmatic-usage.credentials": "Credenciais",
"programmatic-usage.setup": "Configuração",
"rerun-task-form.action": "Voltar a executar",
"resource-permission-button.none": "Nenhum",
"resource-permission-button.removeAccess": "Remover acesso",
Expand Down
4 changes: 2 additions & 2 deletions i18n/resources.ru.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@
"pool-picker.reset": "Сброс",
"profile-button.profile": "Профиль",
"profile-button.settings": "Параметры",
"programatic-usage.authenticationType": "Тип проверки подлинности",
"programatic-usage.credentials": "Учетные данные",
"programmatic-usage.authenticationType": "Тип проверки подлинности",
"programmatic-usage.credentials": "Учетные данные",
"resource-permission-button.none": "NONE",
"resource-permission-button.permission": "Разрешение",
"settings.general": "Общее",
Expand Down
8 changes: 4 additions & 4 deletions i18n/resources.zh-Hans.json
Original file line number Diff line number Diff line change
Expand Up @@ -216,10 +216,10 @@
"profile-button.thirdPartyNotices": "第三方通知",
"profile-button.viewLogs": "查看日志",
"profile-button.viewTheme": "查看主题颜色",
"programatic-usage.authenticationType": "身份验证类型",
"programatic-usage.credentials": "凭据",
"programatic-usage.setup": "设置",
"programatic-usage.title": "这批帐户的凭据和代码示例",
"programmatic-usage.authenticationType": "身份验证类型",
"programmatic-usage.credentials": "凭据",
"programmatic-usage.setup": "设置",
"programmatic-usage.title": "这批帐户的凭据和代码示例",
"rerun-task-form.action": "重新运行",
"rerun-task-form.subtitle": "这将删除该任务并创建一个具有相同ID的新任务。",
"rerun-task-form.title": "重新运行任务",
Expand Down
6 changes: 3 additions & 3 deletions i18n/resources.zh-Hant.json
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@
"profile-button.report": "回報 bug 或功能請求",
"profile-button.settings": "設定",
"profile-button.viewLogs": "查看日誌",
"programatic-usage.authenticationType": "驗證類型",
"programatic-usage.credentials": "認證",
"programmatic-usage.authenticationType": "驗證類型",
"programmatic-usage.credentials": "認證",
"resource-permission-button.giveRole": "給 {role} 角色",
"resource-permission-button.none": "",
"resource-permission-button.permission": "使用權限",
Expand All @@ -88,4 +88,4 @@
"task-resource-files.fileMode": "檔案模式",
"user-account-picker.password": "密碼",
"user-account-picker.username": "使用者名稱"
}
}
4 changes: 2 additions & 2 deletions src/app/components/account/account.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ import { AccountCostCardComponent } from "./details/account-cost-card";
import { AccountMonitoringSectionComponent } from "./details/account-monitoring-section";
import { AccountQuotasCardComponent } from "./details/account-quotas-card";
import { AccountSummaryCardComponent } from "./details/account-summary-card";
import { ProgramaticUsageModule } from "./details/programatic-usage";
import { ProgrammaticUsageModule } from "./details/programmatic-usage";
import { StorageAccountCardComponent } from "./details/storage-account-card";
import { AccountHomeComponent } from "./home";
import { AccountMonitoringModule } from "./monitoring";
Expand All @@ -33,7 +33,7 @@ const modules = [
AccountBrowseModule,
AccountMonitoringModule,
PoolBaseModule,
ProgramaticUsageModule,
ProgrammaticUsageModule,
PoolGraphsModule,
];

Expand Down
4 changes: 2 additions & 2 deletions src/app/components/account/action/account-commands.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Injectable, Injector } from "@angular/core";
import {
COMMAND_LABEL_ICON, DialogService, EntityCommand, EntityCommands, Permission, SidebarManager,
} from "@batch-flask/ui";
import { ProgramaticUsageComponent } from "app/components/account/details/programatic-usage";
import { ProgrammaticUsageComponent } from "app/components/account/details/programmatic-usage";
import { BatchAccount, BatchAccountProvisingState, LocalBatchAccount } from "app/models";
import { BatchAccountService } from "app/services";
import { EditLocalBatchAccountComponent } from "./add";
Expand Down Expand Up @@ -83,7 +83,7 @@ export class BatchAccountCommands extends EntityCommands<BatchAccount> {
}

private _showKeys(account: BatchAccount) {
const ref = this.dialogService.open(ProgramaticUsageComponent);
const ref = this.dialogService.open(ProgrammaticUsageComponent);
ref.componentInstance.accountId = account.id;
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { ChangeDetectionStrategy, Component, Input } from "@angular/core";
import { ElectronShell } from "@batch-flask/electron";
import { DialogService } from "@batch-flask/ui/dialogs";
import { CredentialType, ProgramaticUsageComponent } from "../programatic-usage";
import { CredentialType, ProgrammaticUsageComponent } from "../programmatic-usage";

import "./getting-started-card.scss";

Expand All @@ -20,7 +20,7 @@ export class GettingStartedCardComponent {
}

public openPage(src: string, credType: CredentialType) {
const ref = this.dialogService.open(ProgramaticUsageComponent);
const ref = this.dialogService.open(ProgrammaticUsageComponent);
ref.componentInstance.accountId = this.accountId;
ref.componentInstance.pickCredentialType(credType);
ref.componentInstance.pickType(src);
Expand Down
3 changes: 0 additions & 3 deletions src/app/components/account/details/programatic-usage/index.ts

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { ChangeDetectionStrategy, ChangeDetectorRef, Component, EventEmitter, In
import { ArmBatchAccount } from "app/models";
import { AADApplication, PasswordCredential } from "app/models/ms-graph";
import { ServicePrincipalService } from "app/services/ms-graph";
import { AADCredential } from "../programatic-usage.component";
import { AADCredential } from "../programmatic-usage.component";
import { AppCreatedEvent } from "./create-new-aad-app";

import "./aad-credentials-picker.scss";
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * from "./programmatic-usage.component";
export * from "./aad-credentials-picker";
export * from "./programmatic-usage.module";
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { BatchAccountService, StorageAccountService } from "app/services";
import { StorageAccountKeysService } from "app/services/storage";
import { SharedKeyCredentials } from "./shared-key-credentials.model";

import "./programatic-usage.scss";
import "./programmatic-usage.scss";

export enum CredentialType {
SharedKey = "shared-key",
Expand All @@ -19,11 +19,11 @@ export interface AADCredential {
}

@Component({
selector: "bl-programatic-usage",
templateUrl: "programatic-usage.html",
selector: "bl-programmatic-usage",
templateUrl: "programmatic-usage.html",
changeDetection: ChangeDetectionStrategy.OnPush,
})
export class ProgramaticUsageComponent {
export class ProgrammaticUsageComponent {
@ViewChild("tabs", { static: false }) public tabs: VTabGroupComponent;
public CredentialType = CredentialType;
public account: BatchAccount;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="header">
<h1>
{{'programatic-usage.title' | i18n}}
{{'programmatic-usage.title' | i18n}}
</h1>

<div class="credential-type-picker">
{{'programatic-usage.authenticationType' | i18n}}
<bl-select [placeholder]="'programatic-usage.authenticationType' | i18n" [ngModel]="pickedCredentialType" (ngModelChange)="pickCredentialType($event)">
{{'programmatic-usage.authenticationType' | i18n}}
<bl-select [placeholder]="'programmatic-usage.authenticationType' | i18n" [ngModel]="pickedCredentialType" (ngModelChange)="pickCredentialType($event)">
<bl-option [value]="CredentialType.SharedKey" label="Shared key"></bl-option>
<bl-option [value]="CredentialType.AAD" label="Azure AD"></bl-option>
</bl-select>
Expand All @@ -15,11 +15,11 @@ <h1>
<bl-vtab id="credentials">
<div tabLabel>
<div>
{{'programatic-usage.credentials' | i18n}}
{{'programmatic-usage.credentials' | i18n}}
</div>
<div *ngIf="pickedCredentialType === CredentialType.AAD && !aadCredentials" class="aad-needs-setup-creds" aria-live="polite"
matTooltip="Pick an application and generate a key to have the templates filled with the correct informations">
<i class="fa fa-warning"></i>{{'programatic-usage.setup' | i18n}}
<i class="fa fa-warning"></i>{{'programmatic-usage.setup' | i18n}}
</div>

</div>
Expand All @@ -45,52 +45,52 @@ <h1>
<div tabLabel>
Python
</div>
<bl-programing-sample target="python"
<bl-programming-sample target="python"
[account]="account"
[credentialType]="pickedCredentialType"
[sharedKeyCredentials]="sharedKeyCredentials"
[aadCredentials]="aadCredentials"></bl-programing-sample>
[aadCredentials]="aadCredentials"></bl-programming-sample>
</bl-vtab>
<bl-vtab id="csharp">
<div tabLabel aria-label="C Sharp">
<!-- This is needed so it reads C Sharp and not C Number https://dev.azure.com/azurebatch/BatchExplorer/_workitems/edit/144 -->
<span aria-hidden="true">C#</span>
</div>
<bl-programing-sample target="csharp"
<bl-programming-sample target="csharp"
[account]="account"
[credentialType]="pickedCredentialType"
[sharedKeyCredentials]="sharedKeyCredentials"
[aadCredentials]="aadCredentials"></bl-programing-sample>
[aadCredentials]="aadCredentials"></bl-programming-sample>
</bl-vtab>

<bl-vtab id="nodejs">
<div tabLabel>
Node.js
</div>
<bl-programing-sample target="nodejs"
<bl-programming-sample target="nodejs"
[account]="account"
[credentialType]="pickedCredentialType"
[sharedKeyCredentials]="sharedKeyCredentials"
[aadCredentials]="aadCredentials"></bl-programing-sample>
[aadCredentials]="aadCredentials"></bl-programming-sample>
</bl-vtab>
<bl-vtab id="aztk">
<div tabLabel>
Aztk
</div>
<bl-programing-sample target="aztk"
<bl-programming-sample target="aztk"
[account]="account"
[credentialType]="pickedCredentialType"
[sharedKeyCredentials]="sharedKeyCredentials"
[aadCredentials]="aadCredentials"></bl-programing-sample>
[aadCredentials]="aadCredentials"></bl-programming-sample>
</bl-vtab>
<bl-vtab id="doAzureParallel">
<div tabLabel>
doAzureParallel
</div>
<bl-programing-sample target="doAzureParallel"
<bl-programming-sample target="doAzureParallel"
[account]="account"
[credentialType]="pickedCredentialType"
[sharedKeyCredentials]="sharedKeyCredentials"
[aadCredentials]="aadCredentials"></bl-programing-sample>
[aadCredentials]="aadCredentials"></bl-programming-sample>
</bl-vtab>
</bl-vtab-group>
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
programatic-usage:
programmatic-usage:
title: Credentials and code samples for this Batch account
authenticationType: Authentication type
credentials: Credentials
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import {
GenerateAADAppSecretComponent,
ResourcePermissionButtonComponent,
} from "./aad-credentials-picker";
import { ProgramaticUsageComponent } from "./programatic-usage.component";
import { ProgramingSampleComponent } from "./programing-sample";
import { ProgrammaticUsageComponent } from "./programmatic-usage.component";
import { ProgrammingSampleComponent } from "./programming-sample";

const privateComponents = [
AADCredentialsPickerComponent,
Expand All @@ -17,11 +17,11 @@ const privateComponents = [
ResourcePermissionButtonComponent,
AADAppSecretPickerComponent,
CreateNewAadAppComponent,
ProgramingSampleComponent,
ProgrammingSampleComponent,
];

const publicComponents = [
ProgramaticUsageComponent,
ProgrammaticUsageComponent,
];

const modules = [
Expand All @@ -38,10 +38,10 @@ const modules = [
...publicComponents,
],
entryComponents: [
ProgramaticUsageComponent,
ProgrammaticUsageComponent,
],
imports: modules,
})
export class ProgramaticUsageModule {
export class ProgrammaticUsageModule {

}
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@import "app/styles/variables";

bl-programatic-usage {
bl-programmatic-usage {
display: block;
$header-height: 50px;
position: relative;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from "./programming-sample.component";
Loading

0 comments on commit 9adfb33

Please sign in to comment.