-
Notifications
You must be signed in to change notification settings - Fork 191
updateElements
- _language
- actionButtonText
- informationButtonText
- mainContentHeader
- mainContentNote
- mainContentSubHeader
- mainContentText
- mainHeader
- primaryQuitButtonText
- secondaryQuitButtonText
- subHeader
- Example (JSON)
- Example (Mobile Configuration) - not currently implemented
The targeted language locale for the user interface.
Note: For a list of locales, please run the following command in Terminal: /usr/bin/locale -a
Modifies the actionButton, also known as the Update Device
button
Modifies the informationButton, also known as the More Info
button
Modifies the mainContentHeader. This is the Your device will restart during this update
text.
Modifies the mainContentNote. This is the Important Notes
text.
Modifies the mainContentSubHeader. This is the Updates can take around 30 minutes to complete
text.
Modifies the mainContentText. This is the A fully up-to-date device is required to ensure that IT can your accurately protect your device.\n\nIf you do not update your device, you may lose access to some items necessary for your day-to-day tasks.\n\nTo begin the update, simply click on the button below and follow the provided steps.
text.
Note: The python version of Nudge required three paragraphs. With the Swift version, this is no longer necessary. Simply pass two newlines (\n\n
) to start a new paragraph. You can have as many or as few as you want, with the only limitation being window space.
Modifies the mainHeader. This is the Your device requires a security update
text.
Modifies the primaryQuitButton, also known as the Later
button
Modifies the secondaryQuitButton, also known as the I understand
button
Modifies the subHeader. This is the A friendly reminder from your local IT team
text.
{
"userInterface": {
"updateElements": [
{
"_language": "es",
"actionButtonText": "Actualizar dispositivo",
"informationButtonText": "Más información",
"mainContentHeader": "Su dispositivo se reiniciará durante esta actualización",
"mainContentNote": "Notas importantes",
"mainContentSubHeader": "Las actualizaciones pueden tardar unos 30 minutos en completarse",
"mainContentText": "Se requiere un dispositivo completamente actualizado para garantizar que IT pueda proteger su dispositivo con precisión.\n\nSi no actualiza su dispositivo, es posible que pierda el acceso a algunos elementos necesarios para sus tareas diarias.\n\nPara comenzar la actualización, simplemente haga clic en el botón de abajo y siga los pasos proporcionados.",
"mainHeader": "Tu dispositivo requiere una actualización de seguridad",
"primaryQuitButtonText": "Más tarde",
"secondaryQuitButtonText": "Entiendo",
"subHeader": "Un recordatorio amistoso de su equipo de IT local"
}
]
}
}
TODO: