You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# ===============================================
|
|
|
|
# LOCALIZATION
|
|
|
|
# ===============================================
|
|
|
|
|
|
|
|
extend type Query {
|
|
|
|
locales: [LocalizationLocale]
|
|
|
|
localeStrings(locale: String!): JSON
|
|
|
|
}
|
|
|
|
|
|
|
|
extend type Mutation {
|
|
|
|
downloadLocale(
|
|
|
|
locale: String!
|
|
|
|
): DefaultResponse
|
|
|
|
|
|
|
|
updateLocale(
|
|
|
|
locale: String!
|
|
|
|
autoUpdate: Boolean!
|
|
|
|
namespacing: Boolean!
|
|
|
|
namespaces: [String]!
|
|
|
|
): DefaultResponse
|
|
|
|
}
|
|
|
|
|
|
|
|
# -----------------------------------------------
|
|
|
|
# TYPES
|
|
|
|
# -----------------------------------------------
|
|
|
|
|
|
|
|
type LocalizationLocale {
|
|
|
|
completeness: Int
|
|
|
|
code: String
|
|
|
|
createdAt: Date
|
|
|
|
installDate: Date
|
|
|
|
isInstalled: Boolean
|
|
|
|
isRTL: Boolean
|
|
|
|
name: String
|
|
|
|
nativeName: String
|
|
|
|
region: String
|
|
|
|
script: String
|
|
|
|
updatedAt: Date
|
|
|
|
}
|