mirror of
https://github.com/OpenNebula/one.git
synced 2025-01-03 01:17:41 +03:00
parent
2b0f530865
commit
3de55bef62
@ -13,16 +13,16 @@
|
|||||||
* See the License for the specific language governing permissions and *
|
* See the License for the specific language governing permissions and *
|
||||||
* limitations under the License. *
|
* limitations under the License. *
|
||||||
* ------------------------------------------------------------------------- */
|
* ------------------------------------------------------------------------- */
|
||||||
import { string, boolean, ObjectSchema, lazy } from 'yup'
|
import { ObjectSchema, boolean, lazy, string } from 'yup'
|
||||||
|
|
||||||
|
import { HYPERVISORS, INPUT_TYPES, T } from 'client/constants'
|
||||||
import {
|
import {
|
||||||
Field,
|
Field,
|
||||||
arrayToOptions,
|
arrayToOptions,
|
||||||
|
disableFields,
|
||||||
filterFieldsByHypervisor,
|
filterFieldsByHypervisor,
|
||||||
getObjectSchemaFromFields,
|
getObjectSchemaFromFields,
|
||||||
disableFields,
|
|
||||||
} from 'client/utils'
|
} from 'client/utils'
|
||||||
import { T, INPUT_TYPES, HYPERVISORS } from 'client/constants'
|
|
||||||
|
|
||||||
const { vcenter, lxc, kvm } = HYPERVISORS
|
const { vcenter, lxc, kvm } = HYPERVISORS
|
||||||
const CUSTOM_KEYMAP_VALUE = 'custom'
|
const CUSTOM_KEYMAP_VALUE = 'custom'
|
||||||
@ -58,6 +58,7 @@ const KEYMAP_VALUES = {
|
|||||||
ru: T.Russian,
|
ru: T.Russian,
|
||||||
sl: T.Slovenian,
|
sl: T.Slovenian,
|
||||||
es: T.SpanishEs,
|
es: T.SpanishEs,
|
||||||
|
'ca-es': T.SpanishCatalan,
|
||||||
sv: T.Swedish,
|
sv: T.Swedish,
|
||||||
th: T.Thai,
|
th: T.Thai,
|
||||||
tr: T.Turkish,
|
tr: T.Turkish,
|
||||||
|
@ -1102,6 +1102,7 @@ module.exports = {
|
|||||||
Slovenian: 'Slovenian',
|
Slovenian: 'Slovenian',
|
||||||
SpanishEs: 'Spanish (Spain)',
|
SpanishEs: 'Spanish (Spain)',
|
||||||
SpanishLatam: 'Spanish (Latin American)',
|
SpanishLatam: 'Spanish (Latin American)',
|
||||||
|
SpanishCatalan: 'Spanish (Catalan)',
|
||||||
Swedish: 'Swedish',
|
Swedish: 'Swedish',
|
||||||
Thai: 'Thai',
|
Thai: 'Thai',
|
||||||
Turkish: 'Turkish',
|
Turkish: 'Turkish',
|
||||||
|
Loading…
Reference in New Issue
Block a user