From 6bd5679429b60d40c4c833833a43707aae2de13c Mon Sep 17 00:00:00 2001
From: Marliana Lara Select which groups to create automatically. " +
- $rootScope.BRAND_NAME + " will create group names similar to the following examples based on the options selected: If blank, all groups above are created except Instance ID. Provide a comma-separated list of filter expressions. " +
- "Hosts are imported to " + $rootScope.BRAND_NAME + " when ANY of the filters match. View the Describe Instances documentation " +
- "for a complete list of supported filters. " + i18n._("Select which groups to create automatically. ") +
+ $rootScope.BRAND_NAME + i18n._(" will create group names similar to the following examples based on the options selected:") + " " + i18n._("If blank, all groups above are created except") + "" + i18n._("Instance ID") + ". " + i18n._("Provide a comma-separated list of filter expressions. ") +
+ i18n._("Hosts are imported to ") + $rootScope.BRAND_NAME + i18n._(" when ") + "" + i18n._("ANY") + "" + i18n._(" of the filters match.") + " " + i18n._("View the ") + "" + i18n._("Describe Instances documentation") + " " +
+ i18n._("for a complete list of supported filters.") + " Select which groups to create automatically. " +
- $rootScope.BRAND_NAME + " will create group names similar to the following examples based on the options selected: If blank, all groups above are created except Instance ID. Provide a comma-separated list of filter expressions. " +
- "Hosts are imported to " + $rootScope.BRAND_NAME + " when ANY of the filters match. " + i18n._("Select which groups to create automatically. ") +
+ $rootScope.BRAND_NAME + i18n._(" will create group names similar to the following examples based on the options selected:") + " " + i18n._("If blank, all groups above are created except") + "" + i18n._("Instance ID") + ". " + i18n._("Provide a comma-separated list of filter expressions. ") +
+ i18n._("Hosts are imported to ") + $rootScope.BRAND_NAME + i18n._(" when ") + "" + i18n._("ANY") + "" + i18n._(" of the filters match.") + " View the Describe Instances documentation " +
- "for a complete list of supported filters. " + i18n._("View the ") + "" + i18n._("Describe Instances documentation") + " " +
+ i18n._("for a complete list of supported filters.") + " " + i18n._("Select the inventory file to be synced by this source. You can select from the dropdown or enter a file within the input.") + " " + i18n._("Select the inventory file to be synced by this source. " +
+ "You can select from the dropdown or enter a file within the input.") + " Provide environment variables to pass to the custom inventory script. Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two. " + i18n._("Provide environment variables to pass to the custom inventory script.") + " " + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + " View JSON examples at www.json.org View YAML examples at docs.ansible.com " + i18n._("View JSON examples at ") + 'www.json.org " + i18n._("View YAML examples at ") + 'docs.ansible.com Override variables found in ec2.ini and used by the inventory update script. For a detailed description of these variables " +
+ awPopOver: " " + i18n._("Override variables found in ec2.ini and used by the inventory update script. For a detailed description of these variables ") +
"" +
- "view ec2.ini in the Ansible github repo. Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two." +
- "
\n" +
- "tag-key=TowerManaged
\n" +
- "Limit to hosts using either key pair:
\n" +
- "key-name=staging, key-name=production
\n" +
- "Limit to hosts where the Name tag begins with test:
\n" +
- "tag:Name=test*
\n" +
- "" +
+ "
\n" +
+ "tag-key=TowerManaged
\n" +
+ i18n._("Limit to hosts using either key pair:") + "
\n" +
+ "key-name=staging, key-name=production
\n" +
+ i18n._("Limit to hosts where the Name tag begins with ") + "" + i18n._("test") + ":
\n" +
+ "tag:Name=test*
\n" +
+ "" +
- "
\n" +
+
+ $scope.groupByPopOver = "" +
+ "
\n" +
"tag-key=TowerManaged
\n" +
- "Limit to hosts using either key pair:
\n" +
+ i18n._("Limit to hosts using either key pair:") + "
\n" +
"key-name=staging, key-name=production
\n" +
- "Limit to hosts where the Name tag begins with test:
\n" +
+ i18n._("Limit to hosts where the Name tag begins with ") + "" + i18n._("test") + ":
\n" +
"tag:Name=test*
\n" +
- "
\n" +
+ awPopOver: "
\n" +
"{
\n" +
- "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
\n" +
+ i18n._("YAML:") + "
\n" +
"---
\n" +
- '
somevar: somevalue
password: magic
\n" +
+ i18n._("view ec2.ini in the Ansible github repo.") + "
" + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + + i18n._("JSON:") + "{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + - 'View YAML examples at docs.ansible.com
', + "" + i18n._("View JSON examples at ") + 'www.json.org
' + + "" + i18n._("View YAML examples at ") + 'docs.ansible.com
', dataContainer: 'body', subForm: 'sourceSubForm' }, @@ -236,18 +237,18 @@ return { rows: 6, 'default': '---', parseTypeName: 'envParseType', - dataTitle: "Source Variables", + dataTitle: i18n._("Source Variables"), dataPlacement: 'right', - awPopOver: "Override variables found in vmware.ini and used by the inventory update script. For a detailed description of these variables " + + awPopOver: "
" + i18n._("Override variables found in vmware.ini and used by the inventory update script. For a detailed description of these variables ") + "" + - "view vmware_inventory.ini in the Ansible github repo.
" + - "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + - "JSON:" + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + + i18n._("JSON:") + "{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + - 'View YAML examples at docs.ansible.com
', + "" + i18n._("View JSON examples at ") + 'www.json.org
' + + "" + i18n._("View YAML examples at ") + 'docs.ansible.com
', dataContainer: 'body', subForm: 'sourceSubForm' }, @@ -260,18 +261,18 @@ return { rows: 6, 'default': '---', parseTypeName: 'envParseType', - dataTitle: "Source Variables", + dataTitle: i18n._("Source Variables"), dataPlacement: 'right', - awPopOver: "Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration " + + awPopOver: "
" + i18n._("Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration ") + "" + - "view openstack.yml in the Ansible github repo.
" + - "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + - "JSON:" + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + + i18n._("JSON:") + "{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + - 'View YAML examples at docs.ansible.com
', + "" + i18n._("View JSON examples at ") + 'www.json.org
' + + "" + i18n._("View YAML examples at ") + 'docs.ansible.com
', dataContainer: 'body', subForm: 'sourceSubForm' }, @@ -284,18 +285,18 @@ return { rows: 6, 'default': '---', parseTypeName: 'envParseType', - dataTitle: "Source Variables", + dataTitle: i18n._("Source Variables"), dataPlacement: 'right', - awPopOver: "Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration " + + awPopOver: "
" + i18n._("Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration ") + "" + - "view openstack.yml in the Ansible github repo.
" + - "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + - "JSON:" + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + + i18n._("JSON:") + "{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + - 'View YAML examples at docs.ansible.com
', + "" + i18n._("View JSON examples at ") + 'www.json.org
' + + "" + i18n._("View YAML examples at ") + 'docs.ansible.com
', dataContainer: 'body', subForm: 'sourceSubForm' }, @@ -308,18 +309,18 @@ return { rows: 6, 'default': '---', parseTypeName: 'envParseType', - dataTitle: "Source Variables", + dataTitle: i18n._("Source Variables"), dataPlacement: 'right', - awPopOver: "Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration " + + awPopOver: "
" + i18n._("Override variables found in openstack.yml and used by the inventory update script. For an example variable configuration ") + "" + - "view openstack.yml in the Ansible github repo.
" + - "Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.
" + - "JSON:" + i18n._("Enter variables using either JSON or YAML syntax. Use the radio button to toggle between the two.") + "
" + + i18n._("JSON:") + "{\n" + - "YAML:
\"somevar\": \"somevalue\",
\"password\": \"magic\"
}
---\n" + - '
somevar: somevalue
password: magic
View JSON examples at www.json.org
' + - 'View YAML examples at docs.ansible.com
', + "" + i18n._("View JSON examples at ") + 'www.json.org
' + + "" + i18n._("View YAML examples at ") + 'docs.ansible.com
', dataContainer: 'body', subForm: 'sourceSubForm' }, @@ -348,9 +349,8 @@ return { label: i18n._('Overwrite'), type: 'checkbox', ngShow: "source.value !== '' && source.value !== null", - awPopOver: 'If checked, all child groups and hosts not found on the external source will be deleted from ' + - 'the local inventory.
When not checked, local child hosts and groups not found on the external source will ' + - 'remain untouched by the inventory update process.
', + awPopOver: "" + i18n._("If checked, all child groups and hosts not found on the external source will be deleted from the local inventory.") + '
' + + i18n._("When not checked, local child hosts and groups not found on the external source will remain untouched by the inventory update process.") + "
", dataTitle: i18n._('Overwrite'), dataContainer: 'body', dataPlacement: 'right', @@ -361,9 +361,8 @@ return { label: i18n._('Overwrite Variables'), type: 'checkbox', ngShow: "source.value !== '' && source.value !== null", - awPopOver: 'If checked, all variables for child groups and hosts will be removed and replaced by those ' + - 'found on the external source.
When not checked, a merge will be performed, combining local variables with ' + - 'those found on the external source.
', + awPopOver: "" + i18n._("If checked, all variables for child groups and hosts will be removed and replaced by those found on the external source.") + '
' + + i18n._("When not checked, a merge will be performed, combining local variables with those found on the external source.") + "
", dataTitle: i18n._('Overwrite Variables'), dataContainer: 'body', dataPlacement: 'right', @@ -374,8 +373,8 @@ return { label: i18n._('Update on Launch'), type: 'checkbox', ngShow: "source.value !== '' && source.value !== null", - awPopOver: 'Each time a job runs using this inventory, refresh the inventory from the selected source before ' + - 'executing job tasks.
', + awPopOver: "" + i18n._("Each time a job runs using this inventory, " + + "refresh the inventory from the selected source before executing job tasks.") + "
", dataTitle: i18n._('Update on Launch'), dataContainer: 'body', dataPlacement: 'right', @@ -386,9 +385,9 @@ return { label: i18n._('Update on Project Change'), type: 'checkbox', ngShow: "source.value === 'scm'", - awPopOver: 'After every project update where the SCM revision changes, refresh the inventory ' + - 'from the selected source before executing job tasks. This is intended for ' + - 'static content, like the Ansible inventory .ini file format.
', + awPopOver: "" + i18n._("After every project update where the SCM revision changes, " + + "refresh the inventory from the selected source before executing job tasks. " + + "This is intended for static content, like the Ansible inventory .ini file format.") + "
", dataTitle: i18n._('Update on Project Update'), dataContainer: 'body', dataPlacement: 'right', @@ -406,9 +405,9 @@ return { ngShow: "source && source.value !== '' && update_on_launch", spinner: true, "default": 0, - awPopOver: 'Time in seconds to consider an inventory sync to be current. During job runs and callbacks the task system will ' + - 'evaluate the timestamp of the latest sync. If it is older than Cache Timeout, it is not considered current, ' + - 'and a new inventory sync will be performed.
', + awPopOver: "" + i18n._("Time in seconds to consider an inventory sync to be current. " + + "During job runs and callbacks the task system will evaluate the timestamp of the latest sync. " + + "If it is older than Cache Timeout, it is not considered current, and a new inventory sync will be performed.") + "
", dataTitle: i18n._('Cache Timeout'), dataPlacement: 'right', dataContainer: "body",