提交 7d14d704 编写于 作者: P Piotr Bryk

Merge pull request #781 from taimir/i18n-localize2

Localization of the DeployFromSettings page
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE translationbundle>
<translationbundle lang="en">
<translation id="8895655645940102616" key="MSG_DEPLOY_APP_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help text for the &quot;App name&quot; on the deploy page.">An 'app' label with this value will be added to the Replication Controller and Service that get deployed.</translation>
<translation id="1629323405372811987" key="MSG_NAMESPACE_CREATE_DIALOG_TITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Create namespace dialog title. The message appears at the top of the dialog box.">Create a new namespace</translation>
<translation id="7894572953642738628" key="MSG_NAMESPACE_CREATE_DIALOG_SUBTITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Create namespace dialog subtitle. Appears right below the title.">The new namespace will be added to the cluster</translation>
<translation id="2275990529199837995" key="MSG_NAMESPACE_NAME_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label 'Namespace name', which appears as a placeholder in an empty input field in the create namespace dialog.">Namespace name</translation>
......@@ -24,4 +23,48 @@
<translation id="413516354763358070" key="MSG_IMAGE_PULL_SECRET_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is put on the 'Create' button in the image pull secret creation dialog.">Create</translation>
<translation id="919509716730095946" key="MSG_IMAGE_PULL_SECRET_CANCEL_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is put on the 'Cancel' button in the image pull secret creation dialog.">Cancel</translation>
<translation id="7394607899033025775" key="MSG_IMAGE_PULL_SECRET_LEARN_MORE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is used as a 'Learn more' link text in the image pull secret creation dialog">Learn more</translation>
<translation id="1793717928958070981" key="MSG_DEPLOY_SETTINGS_APP_NAME_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label 'App name', which appears as a placeholder in an empty input field on the deploy from settings page.">App name</translation>
<translation id="3276121341298527731" key="MSG_DEPLOY_SETTINGS_APP_NAME_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that app name input on the deploy from settings page is required.">Application name is required.</translation>
<translation id="505533707285230105" key="MSG_DEPLOY_SETTINGS_APP_NAME_ALREADY_EXISTS_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears as warning when the user has typed in an app name that already exists. The text is followed by a specific namespace name.">Replication controller or service with this name already exists within namespace</translation>
<translation id="3379471811475022108" key="MSG_DEPLOY_SETTINGS_APP_NAME_PATTERN_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears when the app name input on the deploy from settings page does not match the expected pattern.">Application name must start with a lowercase letter and contain only lowercase letters, numbers, and '-' between words.</translation>
<translation id="7213646373445455290" key="MSG_DEPLOY_SETTINGS_APP_NAME_MAX_LENGTH_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears when the typed in app name on the deploy from settings page exceeds the maximal allowed length.">Name must be up to <ph name="MAX_LENGTH" /> characters long.</translation>
<translation id="9171860855281312734" key="MSG_DEPLOY_SETTINGS_APP_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the `App name` input on the deploy from settings page.">An 'app' label with this value will be added to the Replication Controller and Service that get deployed.</translation>
<translation id="7401526670608603194" key="MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is used as a 'Learn more' link text on the deploy from settings page.">Learn more</translation>
<translation id="2384273649400241565" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Container image&quot;, which appears as a placeholder in an empty input field for a container image on the deploy from settings page.">Container image</translation>
<translation id="5045196368183048329" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the container image input on the deploy from settings page is required.">Container image is required</translation>
<translation id="3987564063412539284" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_INVALID_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in container image is invalid. This text must end with a colon.">Container image is invalid:</translation>
<translation id="4875656272464452077" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User helpfor the container image input on the deploy from settings page.">Enter the URL of a public image on any registry, or a private image hosted on Docker Hub or Google Container Registry.</translation>
<translation id="5828613424792759380" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Number of pods&quot;, which appears as a placeholder in an empty input field for the number of pods on the deploy from settings page.">Number of pods</translation>
<translation id="7055060476996275018" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the &quot;number of pods&quot; input on the deploy from settings page is required.">Number of pods is required</translation>
<translation id="4777433913081542666" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_MIN_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the number of pods on the deploy from settings page must be at least 1.">Number of pods must be at least 1</translation>
<translation id="6564510320385038864" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_HIGH_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears as a warning when the user has specified a really high number of pods on the deploy from settings page.">Setting high number of pods may cause performance issues of the cluster and Dashboard UI.</translation>
<translation id="3826796659710276505" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;number of pods&quot; input on the deploy from settings page.">A Replication Controller will be created to maintain the desired number of pods across your cluster.</translation>
<translation id="5840124104405813335" key="MSG_DEPLOY_SETTINGS_PORT_MAPPINGS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;port mappings&quot; input on the deploy from settings page.">Ports are optional. If specified, a Service will be created mapping the Port (incoming) to a target Port seen by the container.</translation>
<translation id="6786987831997820485" key="MSG_DEPLOY_SETTINGS_SERVICE_DNS_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help, tells the user what the DNS name of his deployed service (on the deploy page) is going to be. The actual name will follow, so this text must end with a colon.">The internal DNS name for this Service will be:</translation>
<translation id="8124619641904856564" key="MSG_DEPLOY_SETTINGS_DESCRIPTION_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Description&quot;, which appears as a placeholder in the empty description input on the deploy from settings page.">Description</translation>
<translation id="892968281959586271" key="MSG_DEPLOY_SETTINGS_DESCRIPTION_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Description&quot; input on the deploy from settings page.">The description will be added as an annotation to the Replication Controller and displayed in the application's details.</translation>
<translation id="215841056414165502" key="MSG_DEPLOY_SETTINGS_LABELS_TITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Title of the labels input section on the deploy from settings page.">Labels</translation>
<translation id="302338638356502088" key="MSG_DEPLOY_SETTINGS_LABELS_KEY_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Key&quot; for the key input fields, in the labels section on the deploy from settings page.">Key</translation>
<translation id="4605907629737798248" key="MSG_DEPLOY_SETTINGS_LABELS_VALUE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Value&quot; for the value input fields, in the labels section on the deploy from settings page.">Value</translation>
<translation id="7004903789599705230" key="MSG_DEPLOY_SETTINGS_LABELS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Labels&quot; section on the deploy from settings page.">The specified labels will be applied to the created Replication Controller, Service (if any) and Pods. Common labels include release, environment, tier, partition and track.</translation>
<translation id="9130827171778144236" key="MSG_DEPLOY_SETTINGS_NAMESPACE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Namespace&quot; label, for the namespace selection box on the deploy from settings page.">Namespace</translation>
<translation id="1799676332581487715" key="MSG_DEPLOY_SETTINGS_NAMESPACE_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text appears in the namespace selection box on the deploy from settings page, and acts as a button. Clicking it creates a new namespace.">Create a new namespace...</translation>
<translation id="5947931806556909716" key="MSG_DEPLOY_SETTINGS_NAMESPACE_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the namespace selection on the deploy from settings page.">Namespaces let you partition resources into logically named groups.</translation>
<translation id="7821863265656538668" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Image Pull Secret&quot;, which appears as a placeholder in the image pull secret selection box on the deploy from settings page.">Image Pull Secret</translation>
<translation id="6045084755231450864" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text appears in the image pull secret selection box on the deploy from settings page and acts as a button. Pressing it creates a new image pull secret.">Create a new secret...</translation>
<translation id="5111944609518832752" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Image Pull Secret&quot; selection box on the deploy from settings page.">The specified image could require a pull secret credential if it is private. You may choose an existing secret or create a new one.</translation>
<translation id="4718361914515511196" key="MSG_DEPLOY_SETTINGS_CPU_REQUIREMENT_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;CPU requirement&quot;, which appears as a placeholder for the cpu input on the deploy from settings page.">CPU requirement (cores)</translation>
<translation id="6710871378232724793" key="MSG_DEPLOY_SETTINGS_CPU_NOT_A_NUMBER_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in CPU cores count on the deploy page is not a number.">CPU requirement must be given as a valid number.</translation>
<translation id="5490209057800683483" key="MSG_DEPLOY_SETTINGS_CPU_NEGATIVE_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in number of CPU cores (on the deploy page) cannot be negative.">CPU requirement must be given as a positive number.</translation>
<translation id="6150169179901412462" key="MSG_DEPLOY_SETTINGS_MEMORY_REQUIREMENT_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Memory requirement&quot;, which appears as a placeholder for the memory input on the deploy from settings page.">Memory requirement (MiB)</translation>
<translation id="6950575202934220010" key="MSG_DEPLOY_SETTINGS_MEMORY_NOT_A_NUMBER_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in memory on the deploy page is not a number.">Memory requirement must be given as a valid number.</translation>
<translation id="7214715359451365159" key="MSG_DEPLOY_SETTINGS_MEMORY_NEGATIVE_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in memory (on the deploy page) cannot be negative.">Memory requirement must be given as a positive number.</translation>
<translation id="8647847835448929594" key="MSG_DEPLOY_SETTINGS_CPU_MEM_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the memory and cpu requirement inputs on the deploy from settings page.">You can specify minimum CPU and memory requirements for the container.</translation>
<translation id="2530547307291673869" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run command&quot; (a noun, not a verb), which serves as a placeholder for the 'Command' input on the deploy from settings page.">Run command</translation>
<translation id="8947217119676480958" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_ARGUMENTS_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run command arguments&quot;, which serves as a placeholder for the command arguments input on the deploy from settings page.">Run command arguments</translation>
<translation id="9059859689383003906" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Run command&quot; input on the deploy from settings page.">By default, your containers run the selected image's default entrypoint command. You can use the command options to override the default.</translation>
<translation id="4152187354482757329" key="MSG_DEPLOY_SETTINGS_RUN_AS_PRIVILEGED_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run as privileged&quot; for the corresponding checkbox on the deploy from settings page.">Run as privileged</translation>
<translation id="4426583640675024823" key="MSG_DEPLOY_SETTINGS_RUN_PRIVILEGED_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Run as privileged&quot; checkbox input on the deploy from settings page.">Processes in privileged containers are equivalent to processes running as root on the host.</translation>
<translation id="7560440547757208994" key="MSG_DEPLOY_SETTINGS_ENV_VARIABLES_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Environment variables&quot; section on the deploy from settings page.">Environment variables available for use in the container. Values can reference other variables using $(VAR_NAME) syntax.</translation>
<translation id="7026295428726247109" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_INT_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the number of pods on the deploy from settings page must be non-negative or integer.">Number of pods must be a positive integer</translation>
</translationbundle>
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE translationbundle>
<translationbundle lang="ja">
<translation id="8895655645940102616" key="MSG_DEPLOY_APP_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help text for the &quot;App name&quot; on the deploy page.">An 'app' label with this value will be added to the Replication Controller and Service that get deployed.</translation>
<translation id="1629323405372811987" key="MSG_NAMESPACE_CREATE_DIALOG_TITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Create namespace dialog title. The message appears at the top of the dialog box.">Create a new namespace</translation>
<translation id="7894572953642738628" key="MSG_NAMESPACE_CREATE_DIALOG_SUBTITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Create namespace dialog subtitle. Appears right below the title.">The new namespace will be added to the cluster</translation>
<translation id="2275990529199837995" key="MSG_NAMESPACE_NAME_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label 'Namespace name', which appears as a placeholder in an empty input field in the create namespace dialog.">Namespace name</translation>
......@@ -24,4 +23,48 @@
<translation id="413516354763358070" key="MSG_IMAGE_PULL_SECRET_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is put on the 'Create' button in the image pull secret creation dialog.">Create</translation>
<translation id="919509716730095946" key="MSG_IMAGE_PULL_SECRET_CANCEL_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is put on the 'Cancel' button in the image pull secret creation dialog.">Cancel</translation>
<translation id="7394607899033025775" key="MSG_IMAGE_PULL_SECRET_LEARN_MORE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is used as a 'Learn more' link text in the image pull secret creation dialog">Learn more</translation>
<translation id="1793717928958070981" key="MSG_DEPLOY_SETTINGS_APP_NAME_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label 'App name', which appears as a placeholder in an empty input field on the deploy from settings page.">App name</translation>
<translation id="3276121341298527731" key="MSG_DEPLOY_SETTINGS_APP_NAME_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that app name input on the deploy from settings page is required.">Application name is required.</translation>
<translation id="505533707285230105" key="MSG_DEPLOY_SETTINGS_APP_NAME_ALREADY_EXISTS_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears as warning when the user has typed in an app name that already exists. The text is followed by a specific namespace name.">Replication controller or service with this name already exists within namespace</translation>
<translation id="3379471811475022108" key="MSG_DEPLOY_SETTINGS_APP_NAME_PATTERN_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears when the app name input on the deploy from settings page does not match the expected pattern.">Application name must start with a lowercase letter and contain only lowercase letters, numbers, and '-' between words.</translation>
<translation id="7213646373445455290" key="MSG_DEPLOY_SETTINGS_APP_NAME_MAX_LENGTH_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears when the typed in app name on the deploy from settings page exceeds the maximal allowed length.">Name must be up to <ph name="MAX_LENGTH" /> characters long.</translation>
<translation id="9171860855281312734" key="MSG_DEPLOY_SETTINGS_APP_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the `App name` input on the deploy from settings page.">An 'app' label with this value will be added to the Replication Controller and Service that get deployed.</translation>
<translation id="7401526670608603194" key="MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text is used as a 'Learn more' link text on the deploy from settings page.">Learn more</translation>
<translation id="2384273649400241565" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Container image&quot;, which appears as a placeholder in an empty input field for a container image on the deploy from settings page.">Container image</translation>
<translation id="5045196368183048329" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the container image input on the deploy from settings page is required.">Container image is required</translation>
<translation id="3987564063412539284" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_INVALID_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in container image is invalid. This text must end with a colon.">Container image is invalid:</translation>
<translation id="4875656272464452077" key="MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User helpfor the container image input on the deploy from settings page.">Enter the URL of a public image on any registry, or a private image hosted on Docker Hub or Google Container Registry.</translation>
<translation id="5828613424792759380" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Number of pods&quot;, which appears as a placeholder in an empty input field for the number of pods on the deploy from settings page.">Number of pods</translation>
<translation id="7055060476996275018" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_REQUIRED_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the &quot;number of pods&quot; input on the deploy from settings page is required.">Number of pods is required</translation>
<translation id="4777433913081542666" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_MIN_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the number of pods on the deploy from settings page must be at least 1.">Number of pods must be at least 1</translation>
<translation id="6564510320385038864" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_HIGH_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears as a warning when the user has specified a really high number of pods on the deploy from settings page.">Setting high number of pods may cause performance issues of the cluster and Dashboard UI.</translation>
<translation id="3826796659710276505" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;number of pods&quot; input on the deploy from settings page.">A Replication Controller will be created to maintain the desired number of pods across your cluster.</translation>
<translation id="5840124104405813335" key="MSG_DEPLOY_SETTINGS_PORT_MAPPINGS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;port mappings&quot; input on the deploy from settings page.">Ports are optional. If specified, a Service will be created mapping the Port (incoming) to a target Port seen by the container.</translation>
<translation id="6786987831997820485" key="MSG_DEPLOY_SETTINGS_SERVICE_DNS_NAME_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help, tells the user what the DNS name of his deployed service (on the deploy page) is going to be. The actual name will follow, so this text must end with a colon.">The internal DNS name for this Service will be:</translation>
<translation id="8124619641904856564" key="MSG_DEPLOY_SETTINGS_DESCRIPTION_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Description&quot;, which appears as a placeholder in the empty description input on the deploy from settings page.">Description</translation>
<translation id="892968281959586271" key="MSG_DEPLOY_SETTINGS_DESCRIPTION_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Description&quot; input on the deploy from settings page.">The description will be added as an annotation to the Replication Controller and displayed in the application's details.</translation>
<translation id="215841056414165502" key="MSG_DEPLOY_SETTINGS_LABELS_TITLE" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Title of the labels input section on the deploy from settings page.">Labels</translation>
<translation id="302338638356502088" key="MSG_DEPLOY_SETTINGS_LABELS_KEY_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Key&quot; for the key input fields, in the labels section on the deploy from settings page.">Key</translation>
<translation id="4605907629737798248" key="MSG_DEPLOY_SETTINGS_LABELS_VALUE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Value&quot; for the value input fields, in the labels section on the deploy from settings page.">Value</translation>
<translation id="7004903789599705230" key="MSG_DEPLOY_SETTINGS_LABELS_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Labels&quot; section on the deploy from settings page.">The specified labels will be applied to the created Replication Controller, Service (if any) and Pods. Common labels include release, environment, tier, partition and track.</translation>
<translation id="9130827171778144236" key="MSG_DEPLOY_SETTINGS_NAMESPACE_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Namespace&quot; label, for the namespace selection box on the deploy from settings page.">Namespace</translation>
<translation id="1799676332581487715" key="MSG_DEPLOY_SETTINGS_NAMESPACE_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text appears in the namespace selection box on the deploy from settings page, and acts as a button. Clicking it creates a new namespace.">Create a new namespace...</translation>
<translation id="5947931806556909716" key="MSG_DEPLOY_SETTINGS_NAMESPACE_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the namespace selection on the deploy from settings page.">Namespaces let you partition resources into logically named groups.</translation>
<translation id="7821863265656538668" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Image Pull Secret&quot;, which appears as a placeholder in the image pull secret selection box on the deploy from settings page.">Image Pull Secret</translation>
<translation id="6045084755231450864" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_CREATE_ACTION" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="The text appears in the image pull secret selection box on the deploy from settings page and acts as a button. Pressing it creates a new image pull secret.">Create a new secret...</translation>
<translation id="5111944609518832752" key="MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Image Pull Secret&quot; selection box on the deploy from settings page.">The specified image could require a pull secret credential if it is private. You may choose an existing secret or create a new one.</translation>
<translation id="4718361914515511196" key="MSG_DEPLOY_SETTINGS_CPU_REQUIREMENT_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;CPU requirement&quot;, which appears as a placeholder for the cpu input on the deploy from settings page.">CPU requirement (cores)</translation>
<translation id="6710871378232724793" key="MSG_DEPLOY_SETTINGS_CPU_NOT_A_NUMBER_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in CPU cores count on the deploy page is not a number.">CPU requirement must be given as a valid number.</translation>
<translation id="5490209057800683483" key="MSG_DEPLOY_SETTINGS_CPU_NEGATIVE_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in number of CPU cores (on the deploy page) cannot be negative.">CPU requirement must be given as a positive number.</translation>
<translation id="6150169179901412462" key="MSG_DEPLOY_SETTINGS_MEMORY_REQUIREMENT_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Memory requirement&quot;, which appears as a placeholder for the memory input on the deploy from settings page.">Memory requirement (MiB)</translation>
<translation id="6950575202934220010" key="MSG_DEPLOY_SETTINGS_MEMORY_NOT_A_NUMBER_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in memory on the deploy page is not a number.">Memory requirement must be given as a valid number.</translation>
<translation id="7214715359451365159" key="MSG_DEPLOY_SETTINGS_MEMORY_NEGATIVE_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the typed in memory (on the deploy page) cannot be negative.">Memory requirement must be given as a positive number.</translation>
<translation id="8647847835448929594" key="MSG_DEPLOY_SETTINGS_CPU_MEM_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the memory and cpu requirement inputs on the deploy from settings page.">You can specify minimum CPU and memory requirements for the container.</translation>
<translation id="2530547307291673869" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run command&quot; (a noun, not a verb), which serves as a placeholder for the 'Command' input on the deploy from settings page.">Run command</translation>
<translation id="8947217119676480958" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_ARGUMENTS_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run command arguments&quot;, which serves as a placeholder for the command arguments input on the deploy from settings page.">Run command arguments</translation>
<translation id="9059859689383003906" key="MSG_DEPLOY_SETTINGS_RUN_COMMAND_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Run command&quot; input on the deploy from settings page.">By default, your containers run the selected image's default entrypoint command. You can use the command options to override the default.</translation>
<translation id="4152187354482757329" key="MSG_DEPLOY_SETTINGS_RUN_AS_PRIVILEGED_LABEL" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Label &quot;Run as privileged&quot; for the corresponding checkbox on the deploy from settings page.">Run as privileged</translation>
<translation id="4426583640675024823" key="MSG_DEPLOY_SETTINGS_RUN_PRIVILEGED_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Run as privileged&quot; checkbox input on the deploy from settings page.">Processes in privileged containers are equivalent to processes running as root on the host.</translation>
<translation id="7560440547757208994" key="MSG_DEPLOY_SETTINGS_ENV_VARIABLES_USER_HELP" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="User help for the &quot;Environment variables&quot; section on the deploy from settings page.">Environment variables available for use in the container. Values can reference other variables using $(VAR_NAME) syntax.</translation>
<translation id="7026295428726247109" key="MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_INT_WARNING" source="/home/mirchev/go_workspace/src/github.com/kubernetes/dashboard/.tmp/serve/app-dev.js" desc="Appears to tell the user that the number of pods on the deploy from settings page must be non-negative or integer.">Number of pods must be a positive integer</translation>
</translationbundle>
\ No newline at end of file
......@@ -16,7 +16,7 @@ limitations under the License.
<kd-help-section>
<md-input-container class="md-block" md-is-error="ctrl.isNameError()">
<label>App name</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_LABEL}}</label>
<div>
<input ng-model="ctrl.name" name="name" namespace="ctrl.namespace" required
ng-pattern="ctrl.namePattern"
......@@ -26,72 +26,71 @@ limitations under the License.
ng-class="{'kd-deploy-form-progress-show': ctrl.form.name.$pending}">
</md-progress-linear>
<ng-messages for="ctrl.form.name.$error" role="alert" multiple>
<ng-message when="required">Application name is required.</ng-message>
<ng-message when="required">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_REQUIRED_WARNING}}</ng-message>
<ng-message when="uniqueName">
Replication controller or service with this name already exists within namespace
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_ALREADY_EXISTS_WARNING}}
<i>{{ctrl.namespace}}</i>.
</ng-message>
<ng-message when="pattern">
Application name must start with a lowercase letter and contain only lowercase letters,
numbers, and '-' between words.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_PATTERN_WARNING}}
</ng-message>
<ng-message when="maxlength">
Name must be up to {{ctrl.nameMaxLength}} characters long.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_MAX_LENGTH_WARNING}}
</ng-message>
</ng-messages>
</div>
</md-input-container>
<kd-user-help>
{{ctrl.MSG_DEPLOY_APP_NAME_USER_HELP}}
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_APP_NAME_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/labels/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
<kd-help-section>
<md-input-container class="md-block">
<label>Container image</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_LABEL}}</label>
<input ng-model="ctrl.containerImage" name="containerImage" required
ng-model-options="{ updateOn: 'default blur', debounce: { 'default': 500, 'blur': 0 } }"
kd-valid-imagereference invalid-image-error-message="ctrl.containerImageErrorMessage">
<ng-messages for="ctrl.form.containerImage.$error" role="alert" multiple>
<ng-message when="required">Container image is required.</ng-message>
<ng-message when="required">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_REQUIRED_WARNING}}</ng-message>
<ng-message when="validImageReference">
Container image is invalid: {{ ctrl.containerImageErrorMessage }}
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_INVALID_WARNING}} {{ ctrl.containerImageErrorMessage }}
</ng-message>
</ng-messages>
</md-input-container>
<kd-user-help>
Enter the URL of a public image on any registry, or a private image hosted on Docker Hub or
Google Container Registry.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/images/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
<kd-help-section>
<md-input-container class="md-block">
<label>Number of pods</label>
<label>{{ctrl.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_LABEL}}</label>
<input ng-model="ctrl.replicas" type="number" required min="1" name="replicas"
kd-validate="integer" kd-warn-threshold="100" kd-warn-threshold-bind="showWarning">
<ng-messages for="ctrl.form.replicas.$error" role="alert" multiple>
<ng-message when="required">Number of pods is required.</ng-message>
<ng-message when="number, kdValidInteger">Number of pods must be a positive integer.</ng-message>
<ng-message when="min">Number of pods must be at least 1.</ng-message>
<ng-message when="required">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_REQUIRED_WARNING}}</ng-message>
<ng-message when="number, kdValidInteger">
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_INT_WARNING}}
</ng-message>
<ng-message when="min">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_MIN_WARNING}}</ng-message>
</ng-messages>
<span class="kd-warn-threshold" ng-show="showWarning">
Setting high number of pods may cause performance issues of the cluster and Dashboard UI.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_HIGH_WARNING}}
</span>
</md-input-container>
<kd-user-help>
A Replication Controller will be created to maintain the desired number of pods across your
cluster.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/replication-controller/" target="_blank"
tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -101,13 +100,12 @@ limitations under the License.
is-external="ctrl.isExternal">
</kd-port-mappings>
<kd-user-help>
Ports are optional. If specified, a Service will be created mapping the Port (incoming) to a
target Port seen by the container.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_PORT_MAPPINGS_USER_HELP}}
<span ng-if="ctrl.name">
The internal DNS name for this Service will be: <span class="kd-emphasized">{{ctrl.name}}</span>.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_SERVICE_DNS_NAME_USER_HELP}} <span class="kd-emphasized">{{ctrl.name}}</span>.
</span>
<a href="http://kubernetes.io/docs/user-guide/services/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -116,22 +114,21 @@ limitations under the License.
<div ng-show="ctrl.isMoreOptionsEnabled()">
<kd-help-section>
<md-input-container>
<label>Description</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_DESCRIPTION_LABEL}}</label>
<textarea ng-model="ctrl.description"></textarea>
</md-input-container>
<kd-user-help>
The description will be added as an annotation to the Replication Controller and displayed in
the application's details.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_DESCRIPTION_USER_HELP}}
</kd-user-help>
</kd-help-section>
<kd-help-section>
<div layout="column">
<div class="kd-label-title md-body-2">Labels</div>
<div class="kd-label-title md-body-2">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LABELS_TITLE}}</div>
<div layout="row" class="kd-label-header-row">
<div flex="45">Key</div>
<div flex="45">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LABELS_KEY_LABEL}}</div>
<div flex="5"></div>
<div flex="40">Value</div>
<div flex="40">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LABELS_VALUE_LABEL}}</div>
</div>
<div ng-repeat="label in ctrl.labels">
<kd-deploy-label layout="row" flex="auto" label="label" labels="ctrl.labels">
......@@ -140,51 +137,49 @@ limitations under the License.
</div>
<kd-user-help>
The specified labels will be applied to the created Replication Controller, Service (if any)
and Pods. Common labels include release, environment, tier, partition and track.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LABELS_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/labels/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
<kd-help-section>
<md-input-container class="md-block">
<label>Namespace</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NAMESPACE_LABEL}}</label>
<md-select ng-model="ctrl.namespace" ng-click="ctrl.resetImagePullSecret()" required>
<md-option ng-repeat="namespace in ctrl.namespaces" ng-value="namespace">
{{namespace}}
</md-option>
<md-option ng-click="ctrl.handleNamespaceDialog($event)">
Create a new namespace...
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NAMESPACE_CREATE_ACTION}}
</md-option>
</md-select>
</md-input-container>
<kd-user-help>
Namespaces let you partition resources into logically named groups.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_NAMESPACE_USER_HELP}}
<a href="http://kubernetes.io/docs/admin/namespaces/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
<kd-help-section>
<md-input-container class="md-block">
<label>Image Pull Secret</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_LABEL}}</label>
<md-select ng-model="ctrl.imagePullSecret" ng-click="ctrl.getSecrets(ctrl.namespace)">
<md-option ng-repeat="secret in ctrl.secrets" ng-value="secret">
{{secret}}
</md-option>
<md-option ng-click="ctrl.handleCreateSecretDialog($event)">
Create a new secret...
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_CREATE_ACTION}}
</md-option>
</md-select>
</md-input-container>
<kd-user-help>
The specified image could require a pull secret credential if it is private. You may choose an
existing secret or create a new one.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/secrets/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -192,27 +187,27 @@ limitations under the License.
<kd-help-section>
<div layout="row">
<md-input-container flex="auto" >
<label>CPU requirement (cores)</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CPU_REQUIREMENT_LABEL}}</label>
<input ng-model="ctrl.cpuRequirement" type="number" name="cpuRequirement" min="0">
<ng-messages for="ctrl.form.cpuRequirement.$error" role="alert" multiple>
<ng-message when="number">CPU requirement must be given as a valid number.</ng-message>
<ng-message when="min">CPU requirement must be given as a positive number.</ng-message>
<ng-message when="number">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CPU_NOT_A_NUMBER_WARNING}}</ng-message>
<ng-message when="min">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CPU_NEGATIVE_WARNING}}</ng-message>
</ng-messages>
</md-input-container>
<div flex="5"></div>
<md-input-container flex="auto" >
<label>Memory requirement (MiB)</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_MEMORY_REQUIREMENT_LABEL}}</label>
<input ng-model="ctrl.memoryRequirement" type="number" name="memoryRequirement" min="0">
<ng-messages for="ctrl.form.memoryRequirement.$error" role="alert" multiple>
<ng-message when="number">Memory requirement must be given as a valid number.</ng-message>
<ng-message when="min">Memory requirement must be given as a positive number.</ng-message>
<ng-message when="number">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_MEMORY_NOT_A_NUMBER_WARNING}}</ng-message>
<ng-message when="min">{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_MEMORY_NEGATIVE_WARNING}}</ng-message>
</ng-messages>
</md-input-container>
</div>
<kd-user-help>
You can specify minimum CPU and memory requirements for the container.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_CPU_MEM_USER_HELP}}
<a href="http://kubernetes.io/docs/admin/limitrange/" target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -220,21 +215,20 @@ limitations under the License.
<kd-help-section>
<div>
<md-input-container class="md-block">
<label>Run command</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_RUN_COMMAND_LABEL}}</label>
<input ng-model="ctrl.containerCommand">
</md-input-container>
<md-input-container class="md-block">
<label>Run command arguments</label>
<label>{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_RUN_COMMAND_ARGUMENTS_LABEL}}</label>
<input ng-model="ctrl.containerCommandArgs">
</md-input-container>
</div>
<kd-user-help>
By default, your containers run the selected image's default entrypoint command. You can
use the command options to override the default.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_RUN_COMMAND_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/containers/" target="_blank"
tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -242,14 +236,14 @@ limitations under the License.
<kd-help-section>
<div class="md-block">
<md-checkbox ng-model="ctrl.runAsPrivileged" class="md-primary">
Run as privileged
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_RUN_AS_PRIVILEGED_LABEL}}
</md-checkbox>
</div>
<kd-user-help>
Processes in privileged containers are equivalent to processes running as root on the host.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_RUN_PRIVILEGED_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/pods/#privileged-mode-for-pod-containers"
target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......@@ -258,11 +252,10 @@ limitations under the License.
<kd-environment-variables variables="ctrl.variables">
</kd-environment-variables>
<kd-user-help>
Environment variables available for use in the container. Values can reference other variables
using $(VAR_NAME) syntax.
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_ENV_VARIABLES_USER_HELP}}
<a href="http://kubernetes.io/docs/user-guide/configuring-containers/#environment-variables-and-variable-expansion"
target="_blank" tabindex="-1">
Learn more <i class="material-icons">open_in_new</i>
{{::ctrl.i18n.MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION}} <i class="material-icons">open_in_new</i>
</a>
</kd-user-help>
</kd-help-section>
......
......@@ -174,9 +174,10 @@ export default class DeployFromSettingsController {
/** @private {!md.$dialog} */
this.mdDialog_ = $mdDialog;
/** @export {string} @desc User help text for the "App name" on the deploy page. */
this.MSG_DEPLOY_APP_NAME_USER_HELP = goog.getMsg(
`An 'app' label with this value will be added to the Replication Controller and Service that get deployed.`);
/**
* @export
*/
this.i18n = i18n;
}
/**
......@@ -373,3 +374,161 @@ export default class DeployFromSettingsController {
*/
switchMoreOptions() { this.detail.showMoreOptions_ = !this.detail.showMoreOptions_; }
}
const i18n = {
/** @export {string} @desc Label 'App name', which appears as a placeholder in an empty input field on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_APP_NAME_LABEL: goog.getMsg(`App name`),
/** @export {string} @desc Appears to tell the user that app name input on the deploy from settings page is required.*/
MSG_DEPLOY_SETTINGS_APP_NAME_REQUIRED_WARNING: goog.getMsg(`Application name is required.`),
/** @export {string} @desc Appears as warning when the user has typed in an app name that already exists. The text is followed by a specific namespace name. */
MSG_DEPLOY_SETTINGS_APP_NAME_ALREADY_EXISTS_WARNING: goog.getMsg(
`Replication controller or service with this name already exists within namespace`),
/** @export {string} @desc Appears when the app name input on the deploy from settings page does not match the expected pattern. */
MSG_DEPLOY_SETTINGS_APP_NAME_PATTERN_WARNING: goog.getMsg(
`Application name must start with a lowercase letter and contain only lowercase letters, numbers, and '-' between words.`),
/** @export {string} @desc Appears when the typed in app name on the deploy from settings page exceeds the maximal allowed length. */
MSG_DEPLOY_SETTINGS_APP_NAME_MAX_LENGTH_WARNING:
goog.getMsg(`Name must be up to {$maxLength} characters long.`, {
maxLength: '24',
}),
/** @export {string} @desc User help for the `App name` input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_APP_NAME_USER_HELP: goog.getMsg(
`An 'app' label with this value will be added to the Replication Controller and Service that get deployed.`),
/** @export {string} @desc The text is used as a 'Learn more' link text on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_LEARN_MORE_ACTION: goog.getMsg('Learn more'),
/** @export {string} @desc Label "Container image", which appears as a placeholder in an empty input field for a container image on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_LABEL: goog.getMsg(`Container image`),
/** @export {string} @desc Appears to tell the user that the container image input on the deploy from settings page is required.*/
MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_REQUIRED_WARNING: goog.getMsg(`Container image is required`),
/** @export {string} @desc Appears to tell the user that the typed in container image is invalid. This text must end with a colon. */
MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_INVALID_WARNING: goog.getMsg(`Container image is invalid:`),
/** @export {string} @desc User helpfor the container image input on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_CONTAINER_IMAGE_USER_HELP: goog.getMsg(
`Enter the URL of a public image on any registry, or a private image hosted on Docker Hub or Google Container Registry.`),
/** @export {string} @desc Label "Number of pods", which appears as a placeholder in an empty input field for the number of pods on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_LABEL: goog.getMsg(`Number of pods`),
/** @export {string} @desc Appears to tell the user that the "number of pods" input on the deploy from settings page is required. */
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_REQUIRED_WARNING: goog.getMsg(`Number of pods is required`),
/** @export {string} @desc Appears to tell the user that the number of pods on the deploy from settings page must be non-negative or integer. */
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_INT_WARNING:
goog.getMsg(`Number of pods must be a positive integer`),
/** @export {string} @desc Appears to tell the user that the number of pods on the deploy from settings page must be at least 1. */
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_MIN_WARNING: goog.getMsg(`Number of pods must be at least 1`),
/** @export {string} @desc Appears as a warning when the user has specified a really high number of pods on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_HIGH_WARNING: goog.getMsg(
`Setting high number of pods may cause performance issues of the cluster and Dashboard UI.`),
/** @export {string} @desc User help for the "number of pods" input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_NUMBER_OF_PODS_USER_HELP: goog.getMsg(
`A Replication Controller will be created to maintain the desired number of pods across your cluster.`),
/** @export {string} @desc User help for the "port mappings" input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_PORT_MAPPINGS_USER_HELP: goog.getMsg(
`Ports are optional. If specified, a Service will be created mapping the Port (incoming) to a target Port seen by the container.`),
/** @export {string} @desc User help, tells the user what the DNS name of his deployed service (on the deploy page) is going to be. The actual name will follow, so this text must end with a colon. */
MSG_DEPLOY_SETTINGS_SERVICE_DNS_NAME_USER_HELP:
goog.getMsg(`The internal DNS name for this Service will be:`),
/** @export {string} @desc Label "Description", which appears as a placeholder in the empty description input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_DESCRIPTION_LABEL: goog.getMsg(`Description`),
/** @export {string} @desc User help for the "Description" input on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_DESCRIPTION_USER_HELP: goog.getMsg(
`The description will be added as an annotation to the Replication Controller and displayed in the application's details.`),
/** @export {string} @desc Title of the labels input section on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_LABELS_TITLE: goog.getMsg(`Labels`),
/** @export {string} @desc Label "Key" for the key input fields, in the labels section on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_LABELS_KEY_LABEL: goog.getMsg(`Key`),
/** @export {string} @desc Label "Value" for the value input fields, in the labels section on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_LABELS_VALUE_LABEL: goog.getMsg(`Value`),
/** @export {string} @desc User help for the "Labels" section on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_LABELS_USER_HELP: goog.getMsg(
`The specified labels will be applied to the created Replication Controller, Service (if any) and Pods. Common labels include release, environment, tier, partition and track.`),
/** @export {string} @desc Label "Namespace" label, for the namespace selection box on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_NAMESPACE_LABEL: goog.getMsg(`Namespace`),
/** @export {string} @desc The text appears in the namespace selection box on the deploy from settings page, and acts as a button. Clicking it creates a new namespace. */
MSG_DEPLOY_SETTINGS_NAMESPACE_CREATE_ACTION: goog.getMsg(`Create a new namespace...`),
/** @export {string} @desc User help for the namespace selection on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_NAMESPACE_USER_HELP:
goog.getMsg(`Namespaces let you partition resources into logically named groups.`),
/** @export {string} @desc Label "Image Pull Secret", which appears as a placeholder in the image pull secret selection box on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_LABEL: goog.getMsg(`Image Pull Secret`),
/** @export {string} @desc The text appears in the image pull secret selection box on the deploy from settings page and acts as a button. Pressing it creates a new image pull secret.*/
MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_CREATE_ACTION: goog.getMsg(`Create a new secret...`),
/** @export {string} @desc User help for the "Image Pull Secret" selection box on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_IMAGE_PULL_SECRET_USER_HELP: goog.getMsg(
`The specified image could require a pull secret credential if it is private. You may choose an existing secret or create a new one.`),
/** @export {string} @desc Label "CPU requirement", which appears as a placeholder for the cpu input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_CPU_REQUIREMENT_LABEL: goog.getMsg(`CPU requirement (cores)`),
/** @export {string} @desc Appears to tell the user that the typed in CPU cores count on the deploy page is not a number. */
MSG_DEPLOY_SETTINGS_CPU_NOT_A_NUMBER_WARNING:
goog.getMsg(`CPU requirement must be given as a valid number.`),
/** @export {string} @desc Appears to tell the user that the typed in number of CPU cores (on the deploy page) cannot be negative. */
MSG_DEPLOY_SETTINGS_CPU_NEGATIVE_WARNING:
goog.getMsg(`CPU requirement must be given as a positive number.`),
/** @export {string} @desc Label "Memory requirement", which appears as a placeholder for the memory input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_MEMORY_REQUIREMENT_LABEL: goog.getMsg(`Memory requirement (MiB)`),
/** @export {string} @desc Appears to tell the user that the typed in memory on the deploy page is not a number. */
MSG_DEPLOY_SETTINGS_MEMORY_NOT_A_NUMBER_WARNING:
goog.getMsg(`Memory requirement must be given as a valid number.`),
/** @export {string} @desc Appears to tell the user that the typed in memory (on the deploy page) cannot be negative. */
MSG_DEPLOY_SETTINGS_MEMORY_NEGATIVE_WARNING:
goog.getMsg(`Memory requirement must be given as a positive number.`),
/** @export {string} @desc User help for the memory and cpu requirement inputs on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_CPU_MEM_USER_HELP:
goog.getMsg(`You can specify minimum CPU and memory requirements for the container.`),
/** @export {string} @desc Label "Run command" (a noun, not a verb), which serves as a placeholder for the 'Command' input on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_RUN_COMMAND_LABEL: goog.getMsg(`Run command`),
/** @export {string} @desc Label "Run command arguments", which serves as a placeholder for the command arguments input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_RUN_COMMAND_ARGUMENTS_LABEL: goog.getMsg(`Run command arguments`),
/** @export {string} @desc User help for the "Run command" input on the deploy from settings page.*/
MSG_DEPLOY_SETTINGS_RUN_COMMAND_USER_HELP: goog.getMsg(
`By default, your containers run the selected image's default entrypoint command. You can use the command options to override the default.`),
/** @export {string} @desc Label "Run as privileged" for the corresponding checkbox on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_RUN_AS_PRIVILEGED_LABEL: goog.getMsg(`Run as privileged`),
/** @export {string} @desc User help for the "Run as privileged" checkbox input on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_RUN_PRIVILEGED_USER_HELP: goog.getMsg(
`Processes in privileged containers are equivalent to processes running as root on the host.`),
/** @export {string} @desc User help for the "Environment variables" section on the deploy from settings page. */
MSG_DEPLOY_SETTINGS_ENV_VARIABLES_USER_HELP: goog.getMsg(
`Environment variables available for use in the container. Values can reference other variables using $(VAR_NAME) syntax.`),
};
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册