mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-19 06:50:07 +03:00
parent
1a6f26632c
commit
c17f67ba53
@ -44,7 +44,7 @@ oneprovision_optional_create_command: ''
|
||||
# de_CH: 'German (Switzerland)'
|
||||
# de: 'German'
|
||||
# el_GR: 'Greek (Greece)'
|
||||
# en_US: 'English'
|
||||
# en: 'English'
|
||||
# es_ES: 'Spanish'
|
||||
# et_EE: 'Estonian'
|
||||
# fa_IR: 'Persian (Iran)'
|
||||
|
@ -78,7 +78,7 @@ const translate = (str = '', values) => {
|
||||
const context = useContext(TranslateContext)
|
||||
let key = str
|
||||
|
||||
if (context?.hash[key]) {
|
||||
if (context?.hash?.[key]) {
|
||||
key = context.hash[key]
|
||||
}
|
||||
|
||||
|
@ -16,7 +16,7 @@
|
||||
import { defaultApps, defaultAppName } from 'server/utils/constants/defaults'
|
||||
|
||||
export const JWT_NAME = 'FireedgeToken'
|
||||
export const DEFAULT_LANGUAGE = 'en_US'
|
||||
export const DEFAULT_LANGUAGE = 'en'
|
||||
|
||||
export const BY = {
|
||||
text: 'OpenNebula',
|
||||
|
@ -116,7 +116,7 @@ const defaults = {
|
||||
de_CH: 'German (Switzerland)',
|
||||
de: 'German',
|
||||
el_GR: 'Greek (Greece)',
|
||||
en_US: 'English',
|
||||
en: 'English',
|
||||
es_ES: 'Spanish',
|
||||
et_EE: 'Estonian',
|
||||
fa_IR: 'Persian (Iran)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user