Merge pull request #5058 from fujiwarat/i18n-5

Fix i18n typo
This commit is contained in:
Jared Tabor
2017-01-31 12:54:06 -08:00
committed by GitHub
5 changed files with 26 additions and 17 deletions

View File

@@ -18,6 +18,9 @@ export default ['i18n', function(i18n) {
name: 'inventory_script', name: 'inventory_script',
basePath: 'inventory_scripts', basePath: 'inventory_scripts',
stateTree: 'inventoryScripts', stateTree: 'inventoryScripts',
// I18N for "CREATE INVENTORY_SCRIPT"
// on /#/inventory_scripts/add
breadcrumbName: i18n._('INVENTORY SCRIPT'),
showActions: true, showActions: true,
fields: { fields: {

View File

@@ -8,7 +8,7 @@
<div class="License-field--label" translate>License</div> <div class="License-field--label" translate>License</div>
<div class="License-field--content"> <div class="License-field--content">
<span class="License-greenText" ng-show='compliant'><i class="fa fa-circle License-greenText"></i><translate>Valid License</translate></span> <span class="License-greenText" ng-show='compliant'><i class="fa fa-circle License-greenText"></i><translate>Valid License</translate></span>
<span class="License-redText" ng-show='!compliant'><i class="fa fa-circle License-redText"></i><translate>Invalid License</transalte></span> <span class="License-redText" ng-show='!compliant'><i class="fa fa-circle License-redText"></i><translate>Invalid License</translate></span>
</div> </div>
</div> </div>
<div class="License-field"> <div class="License-field">

View File

@@ -8,9 +8,9 @@
<div class="PortalMode-filterHolder"> <div class="PortalMode-filterHolder">
<div class="btn-group PortalMode-filter"> <div class="btn-group PortalMode-filter">
<button ng-class="{'btn-primary ': activeFilter == 'user', <button ng-class="{'btn-primary ': activeFilter == 'user',
'btn-default' : activeFilter != 'user' }" ng-click='filterUser()' class="btn btn-xs">My Jobs</button> 'btn-default' : activeFilter != 'user' }" ng-click='filterUser()' class="btn btn-xs" translate>My Jobs</button>
<button ng-class="{'btn-primary' : activeFilter == 'all', <button ng-class="{'btn-primary' : activeFilter == 'all',
'btn-default' : activeFilter != 'all'}" ng-click='filterAll()' class="btn btn-xs">All Jobs</button> 'btn-default' : activeFilter != 'all'}" ng-click='filterAll()' class="btn btn-xs" translate>All Jobs</button>
</div> </div>
<div class="PortalMode-refresh"> <div class="PortalMode-refresh">
<button id="refresh_btn" aw-tool-tip="Refresh the page" data-placement="top" class="btn List-buttonDefault" ng-click="refresh()" ng-show="socketStatus == 'error'"> <button id="refresh_btn" aw-tool-tip="Refresh the page" data-placement="top" class="btn List-buttonDefault" ng-click="refresh()" ng-show="socketStatus == 'error'">

View File

@@ -36,9 +36,13 @@
</span> </span>
</div> </div>
<div class="Paginate-total page-label" ng-hide="dataCount === 0"> <div class="Paginate-total page-label" ng-hide="dataCount === 0">
<!-- TODO: Move the ITEMS line into paginate.directive.js
so that i18n.sprintf("A of B") can be used but
it seems $sce.trustAsHtml() does not work with html tag.
-->
<span translate>ITEMS&nbsp; <span translate>ITEMS&nbsp;
<span>{{dataRange}}</span> <span>{{dataRange}}</span>
<span translate>of {{dataCount()}}</span> <span>of {{dataCount()}}</span>
</span> </span>
</div> </div>
</div> </div>

View File

@@ -233,6 +233,7 @@ msgstr ""
#: client/src/lists/AllJobs.js:16 #: client/src/lists/AllJobs.js:16
#: client/src/portal-mode/portal-mode-jobs.partial.html:7 #: client/src/portal-mode/portal-mode-jobs.partial.html:7
#: client/src/portal-mode/portal-mode-layout.partial.html:12
msgid "All Jobs" msgid "All Jobs"
msgstr "" msgstr ""
@@ -628,8 +629,8 @@ msgstr ""
msgid "Credentials are only shared within an organization. Assign credentials to an organization to delegate credential permissions. The organization cannot be edited after credentials are assigned." msgid "Credentials are only shared within an organization. Assign credentials to an organization to delegate credential permissions. The organization cannot be edited after credentials are assigned."
msgstr "" msgstr ""
#: client/src/inventory-scripts/inventory-scripts.form.js:50 #: client/src/inventory-scripts/inventory-scripts.form.js:53
#: client/src/inventory-scripts/inventory-scripts.form.js:60 #: client/src/inventory-scripts/inventory-scripts.form.js:63
msgid "Custom Script" msgid "Custom Script"
msgstr "" msgstr ""
@@ -738,7 +739,7 @@ msgstr ""
#: client/src/forms/Users.js:143 #: client/src/forms/Users.js:143
#: client/src/forms/Users.js:168 #: client/src/forms/Users.js:168
#: client/src/forms/Workflows.js:41 #: client/src/forms/Workflows.js:41
#: client/src/inventory-scripts/inventory-scripts.form.js:32 #: client/src/inventory-scripts/inventory-scripts.form.js:35
#: client/src/inventory-scripts/inventory-scripts.list.js:25 #: client/src/inventory-scripts/inventory-scripts.list.js:25
#: client/src/lists/Credentials.js:34 #: client/src/lists/Credentials.js:34
#: client/src/lists/PortalJobTemplates.js:29 #: client/src/lists/PortalJobTemplates.js:29
@@ -799,7 +800,7 @@ msgstr ""
msgid "Download Output" msgid "Download Output"
msgstr "" msgstr ""
#: client/src/inventory-scripts/inventory-scripts.form.js:58 #: client/src/inventory-scripts/inventory-scripts.form.js:61
msgid "Drag and drop your custom inventory script file here or create one in the field to import your custom inventory." msgid "Drag and drop your custom inventory script file here or create one in the field to import your custom inventory."
msgstr "" msgstr ""
@@ -1309,6 +1310,10 @@ msgstr ""
msgid "INVENTORIES" msgid "INVENTORIES"
msgstr "" msgstr ""
#: client/src/inventory-scripts/inventory-scripts.form.js:23
msgid "INVENTORY SCRIPT"
msgstr ""
#: client/src/helpers/ActivityStream.js:44 #: client/src/helpers/ActivityStream.js:44
#: client/src/inventory-scripts/main.js:66 #: client/src/inventory-scripts/main.js:66
msgid "INVENTORY SCRIPTS" msgid "INVENTORY SCRIPTS"
@@ -1330,11 +1335,11 @@ msgstr ""
msgid "IRC Server Port" msgid "IRC Server Port"
msgstr "" msgstr ""
#: client/src/shared/paginate/paginate.partial.html:39 #: client/src/shared/paginate/paginate.partial.html:43
msgid "" msgid ""
"ITEMS&nbsp;\n" "ITEMS&nbsp;\n"
" <span>{{dataRange}}</span>\n" " <span>{{dataRange}}</span>\n"
" <span translate=\"\">of {{dataCount()}}</span>" " <span>of {{dataCount()}}</span>"
msgstr "" msgstr ""
#: client/src/login/authenticationServices/timer.factory.js:157 #: client/src/login/authenticationServices/timer.factory.js:157
@@ -1694,6 +1699,7 @@ msgid "Module Args"
msgstr "" msgstr ""
#: client/src/portal-mode/portal-mode-jobs.partial.html:4 #: client/src/portal-mode/portal-mode-jobs.partial.html:4
#: client/src/portal-mode/portal-mode-layout.partial.html:10
msgid "My Jobs" msgid "My Jobs"
msgstr "" msgstr ""
@@ -1738,7 +1744,7 @@ msgstr ""
#: client/src/forms/Users.js:165 #: client/src/forms/Users.js:165
#: client/src/forms/Users.js:190 #: client/src/forms/Users.js:190
#: client/src/forms/Workflows.js:34 #: client/src/forms/Workflows.js:34
#: client/src/inventory-scripts/inventory-scripts.form.js:25 #: client/src/inventory-scripts/inventory-scripts.form.js:28
#: client/src/inventory-scripts/inventory-scripts.list.js:20 #: client/src/inventory-scripts/inventory-scripts.list.js:20
#: client/src/lists/AllJobs.js:45 #: client/src/lists/AllJobs.js:45
#: client/src/lists/CompletedJobs.js:43 #: client/src/lists/CompletedJobs.js:43
@@ -1979,7 +1985,7 @@ msgstr ""
#: client/src/forms/Users.js:59 #: client/src/forms/Users.js:59
#: client/src/forms/Workflows.js:47 #: client/src/forms/Workflows.js:47
#: client/src/forms/Workflows.js:53 #: client/src/forms/Workflows.js:53
#: client/src/inventory-scripts/inventory-scripts.form.js:37 #: client/src/inventory-scripts/inventory-scripts.form.js:40
#: client/src/inventory-scripts/inventory-scripts.list.js:30 #: client/src/inventory-scripts/inventory-scripts.list.js:30
#: client/src/lists/Inventories.js:52 #: client/src/lists/Inventories.js:52
#: client/src/lists/Teams.js:35 #: client/src/lists/Teams.js:35
@@ -2726,7 +2732,7 @@ msgstr ""
msgid "Schedules" msgid "Schedules"
msgstr "" msgstr ""
#: client/src/inventory-scripts/inventory-scripts.form.js:59 #: client/src/inventory-scripts/inventory-scripts.form.js:62
msgid "Script must begin with a hashbang sequence: i.e.... %s" msgid "Script must begin with a hashbang sequence: i.e.... %s"
msgstr "" msgstr ""
@@ -3567,10 +3573,6 @@ msgstr ""
msgid "name" msgid "name"
msgstr "" msgstr ""
#: client/src/shared/paginate/paginate.partial.html:41
msgid "of {{dataCount()}}"
msgstr ""
#: client/src/access/rbac-multiselect/permissionsTeams.list.js:25 #: client/src/access/rbac-multiselect/permissionsTeams.list.js:25
msgid "organization" msgid "organization"
msgstr "" msgstr ""