mirror of
https://github.com/ansible/awx.git
synced 2026-01-21 22:48:02 -03:30
Moves locales out of src and into build dir. Changes npm commands from extract/compile to extract-strings/compile-strings
This commit is contained in:
parent
356ad06d74
commit
6adcac85a6
3
.gitignore
vendored
3
.gitignore
vendored
@ -1,2 +1,3 @@
|
||||
node_modules/
|
||||
coverage/
|
||||
coverage/
|
||||
build/locales/_build
|
||||
@ -1,5 +1,5 @@
|
||||
{
|
||||
"localeDir": "src/locales/",
|
||||
"localeDir": "build/locales/",
|
||||
"srcPathDirs": ["src/"],
|
||||
"format": "po"
|
||||
}
|
||||
|
||||
@ -8,8 +8,8 @@
|
||||
"test": "jest --watch --coverage",
|
||||
"lint": "./node_modules/eslint/bin/eslint.js src/**/*.js src/**/*.jsx",
|
||||
"add-locale": "lingui add-locale",
|
||||
"extract": "lingui extract",
|
||||
"compile": "lingui compile"
|
||||
"extract-strings": "lingui extract",
|
||||
"compile-strings": "lingui compile"
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
|
||||
@ -1,222 +0,0 @@
|
||||
{
|
||||
"Primary Navigation": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
180
|
||||
]
|
||||
]
|
||||
},
|
||||
"Views": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
187
|
||||
]
|
||||
]
|
||||
},
|
||||
"Dashboard": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
191
|
||||
]
|
||||
]
|
||||
},
|
||||
"Jobs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
195
|
||||
],
|
||||
[
|
||||
"src/App.jsx",
|
||||
287
|
||||
]
|
||||
]
|
||||
},
|
||||
"Schedules": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
199
|
||||
]
|
||||
]
|
||||
},
|
||||
"Portal Mode": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
203
|
||||
]
|
||||
]
|
||||
},
|
||||
"Resources": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
209
|
||||
]
|
||||
]
|
||||
},
|
||||
"Templates": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
213
|
||||
]
|
||||
]
|
||||
},
|
||||
"Credentials": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
217
|
||||
]
|
||||
]
|
||||
},
|
||||
"Projects": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
221
|
||||
]
|
||||
]
|
||||
},
|
||||
"Inventories": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
225
|
||||
]
|
||||
]
|
||||
},
|
||||
"Inventory Scripts": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
229
|
||||
]
|
||||
]
|
||||
},
|
||||
"Access": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
235
|
||||
]
|
||||
]
|
||||
},
|
||||
"Organizations": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
239
|
||||
]
|
||||
]
|
||||
},
|
||||
"Users": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
243
|
||||
]
|
||||
]
|
||||
},
|
||||
"Teams": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
247
|
||||
]
|
||||
]
|
||||
},
|
||||
"Administration": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
253
|
||||
]
|
||||
]
|
||||
},
|
||||
"Credential Types": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
257
|
||||
]
|
||||
]
|
||||
},
|
||||
"Notifications": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
261
|
||||
]
|
||||
]
|
||||
},
|
||||
"Management Jobs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
265
|
||||
]
|
||||
]
|
||||
},
|
||||
"Instance Groups": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
269
|
||||
]
|
||||
]
|
||||
},
|
||||
"Integrations": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
273
|
||||
]
|
||||
]
|
||||
},
|
||||
"Settings": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
279
|
||||
]
|
||||
]
|
||||
},
|
||||
"Authentication": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
283
|
||||
]
|
||||
]
|
||||
},
|
||||
"System": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
291
|
||||
]
|
||||
]
|
||||
},
|
||||
"User Interface": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
295
|
||||
]
|
||||
]
|
||||
},
|
||||
"License": {
|
||||
"origin": [
|
||||
[
|
||||
"src/App.jsx",
|
||||
299
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
{
|
||||
"Copyright 2018 Red Hat, Inc.": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/About.jsx",
|
||||
78
|
||||
]
|
||||
]
|
||||
},
|
||||
"Brand Image": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/About.jsx",
|
||||
80
|
||||
]
|
||||
]
|
||||
},
|
||||
"AboutModal Logo": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/About.jsx",
|
||||
82
|
||||
]
|
||||
]
|
||||
},
|
||||
"Ansible Version": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/About.jsx",
|
||||
100
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,74 +0,0 @@
|
||||
{
|
||||
"Select all": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
128
|
||||
]
|
||||
]
|
||||
},
|
||||
"Search text input": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
157
|
||||
]
|
||||
]
|
||||
},
|
||||
"Search": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
163
|
||||
]
|
||||
]
|
||||
},
|
||||
"Sort": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
199
|
||||
]
|
||||
]
|
||||
},
|
||||
"Expand": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
207
|
||||
]
|
||||
]
|
||||
},
|
||||
"Collapse": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
212
|
||||
]
|
||||
]
|
||||
},
|
||||
"Delete": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
220
|
||||
],
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
221
|
||||
]
|
||||
]
|
||||
},
|
||||
"Add": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
227
|
||||
],
|
||||
[
|
||||
"src/components/DataListToolbar/DataListToolbar.jsx",
|
||||
228
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
{
|
||||
"Help": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/HelpDropdown.jsx",
|
||||
26
|
||||
]
|
||||
]
|
||||
},
|
||||
"About": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/HelpDropdown.jsx",
|
||||
32
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Logout": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/LogoutButton.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
{
|
||||
"Per Page": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
153
|
||||
]
|
||||
]
|
||||
},
|
||||
"{itemMin} - {itemMax} of {count}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
158
|
||||
]
|
||||
]
|
||||
},
|
||||
"First": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
164
|
||||
]
|
||||
]
|
||||
},
|
||||
"Previous": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
173
|
||||
]
|
||||
]
|
||||
},
|
||||
"Page <0/> of {pageCount}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
184
|
||||
]
|
||||
]
|
||||
},
|
||||
"Page Number": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
187
|
||||
]
|
||||
]
|
||||
},
|
||||
"Next": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
207
|
||||
]
|
||||
]
|
||||
},
|
||||
"Last": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/Pagination/Pagination.jsx",
|
||||
216
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Tower Brand Image": {
|
||||
"origin": [
|
||||
[
|
||||
"src/components/TowerLogo/TowerLogo.jsx",
|
||||
48
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Applications": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Applications.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Authentication Settings": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/AuthSettings.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Credential Types": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/CredentialTypes.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Credentials": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Credentials.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Dashboard": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Dashboard.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Instance Groups": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/InstanceGroups.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Inventories": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Inventories.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Inventory Scripts": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/InventoryScripts.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Jobs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Jobs.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Jobs Settings": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/JobsSettings.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"License": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/License.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
{
|
||||
"Welcome to Ansible Tower! Please Sign In.": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Login.jsx",
|
||||
70
|
||||
]
|
||||
]
|
||||
},
|
||||
"Username": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Login.jsx",
|
||||
73
|
||||
]
|
||||
]
|
||||
},
|
||||
"Password": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Login.jsx",
|
||||
76
|
||||
]
|
||||
]
|
||||
},
|
||||
"Invalid username or password. Please try again.": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Login.jsx",
|
||||
80
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Management Jobs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/ManagementJobs.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Notification Templates": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/NotificationTemplates.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
{
|
||||
"> edit": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationBreadcrumb.jsx",
|
||||
53
|
||||
]
|
||||
]
|
||||
},
|
||||
"> add": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationBreadcrumb.jsx",
|
||||
60
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,66 +0,0 @@
|
||||
{
|
||||
"deleting {currentTab} association with orgs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
67
|
||||
]
|
||||
]
|
||||
},
|
||||
"confirm removal of {currentTab}/cancel and go back to {currentTab} view.": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
69
|
||||
]
|
||||
]
|
||||
},
|
||||
"adding {currentTab}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
76
|
||||
]
|
||||
]
|
||||
},
|
||||
"save/cancel and go back to {currentTab} view": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
78
|
||||
]
|
||||
]
|
||||
},
|
||||
"{currentTab} detail view": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
85
|
||||
]
|
||||
]
|
||||
},
|
||||
"add {currentTab}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
87
|
||||
]
|
||||
]
|
||||
},
|
||||
"delete {currentTab}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
91
|
||||
]
|
||||
]
|
||||
},
|
||||
"Organization detail tabs": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationDetail.jsx",
|
||||
99
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,18 +0,0 @@
|
||||
{
|
||||
"edit view": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationEdit.jsx",
|
||||
20
|
||||
]
|
||||
]
|
||||
},
|
||||
"save/cancel and go back to view": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationEdit.jsx",
|
||||
22
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,34 +0,0 @@
|
||||
{
|
||||
"select organization {itemId}": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationListItem.jsx",
|
||||
30
|
||||
]
|
||||
]
|
||||
},
|
||||
"Users": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationListItem.jsx",
|
||||
50
|
||||
]
|
||||
]
|
||||
},
|
||||
"Teams": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationListItem.jsx",
|
||||
58
|
||||
]
|
||||
]
|
||||
},
|
||||
"Admins": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/components/OrganizationListItem.jsx",
|
||||
66
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Organization Add": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organization.add.jsx",
|
||||
15
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Organizations": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organization.view.jsx",
|
||||
62
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,46 +0,0 @@
|
||||
{
|
||||
"Name": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
30
|
||||
]
|
||||
]
|
||||
},
|
||||
"Modified": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
31
|
||||
]
|
||||
]
|
||||
},
|
||||
"Created": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
32
|
||||
]
|
||||
]
|
||||
},
|
||||
"Organizations": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
189
|
||||
],
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
195
|
||||
]
|
||||
]
|
||||
},
|
||||
"Organizations List": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Organizations/views/Organizations.list.jsx",
|
||||
211
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"My View": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Portal.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Projects": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Projects.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Schedules": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Schedules.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"System Settings": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/SystemSettings.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Teams": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Teams.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Templates": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Templates.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"User Interface Settings": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/UISettings.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
@ -1,10 +0,0 @@
|
||||
{
|
||||
"Users": {
|
||||
"origin": [
|
||||
[
|
||||
"src/pages/Users.jsx",
|
||||
17
|
||||
]
|
||||
]
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user