mirror of
https://github.com/nasa/openmct.git
synced 2024-12-23 23:12:23 +00:00
Normalize "OK" to uppercase in all dialogs; (#3850)
Co-authored-by: Jamie V <jamie.j.vigliotta@nasa.gov>
This commit is contained in:
parent
aebb5df611
commit
979ba77c8e
@ -235,7 +235,7 @@ define(['lodash'], function (_) {
|
|||||||
message: `Warning! This action will remove this item from the Display Layout. Do you want to continue?`,
|
message: `Warning! This action will remove this item from the Display Layout. Do you want to continue?`,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Ok',
|
label: 'OK',
|
||||||
emphasis: 'true',
|
emphasis: 'true',
|
||||||
callback: function () {
|
callback: function () {
|
||||||
removeItem(getAllTypes(selection));
|
removeItem(getAllTypes(selection));
|
||||||
|
@ -97,7 +97,7 @@ function ToolbarProvider(openmct) {
|
|||||||
message: `This action will remove this frame from this Flexible Layout. Do you want to continue?`,
|
message: `This action will remove this frame from this Flexible Layout. Do you want to continue?`,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Ok',
|
label: 'OK',
|
||||||
emphasis: 'true',
|
emphasis: 'true',
|
||||||
callback: function () {
|
callback: function () {
|
||||||
deleteFrameAction(primary.context.frameId);
|
deleteFrameAction(primary.context.frameId);
|
||||||
@ -162,7 +162,7 @@ function ToolbarProvider(openmct) {
|
|||||||
message: 'This action will permanently delete this container from this Flexible Layout',
|
message: 'This action will permanently delete this container from this Flexible Layout',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Ok',
|
label: 'OK',
|
||||||
emphasis: 'true',
|
emphasis: 'true',
|
||||||
callback: function () {
|
callback: function () {
|
||||||
removeContainer(containerId);
|
removeContainer(containerId);
|
||||||
|
@ -181,7 +181,7 @@ export default {
|
|||||||
message: `This action will remove this tab from the Tabs Layout. Do you want to continue?`,
|
message: `This action will remove this tab from the Tabs Layout. Do you want to continue?`,
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Ok',
|
label: 'OK',
|
||||||
emphasis: 'true',
|
emphasis: 'true',
|
||||||
callback: () => {
|
callback: () => {
|
||||||
this.composition.remove(childDomainObject);
|
this.composition.remove(childDomainObject);
|
||||||
|
@ -288,7 +288,7 @@ export default {
|
|||||||
message: 'Any unsaved changes will be lost. Are you sure you want to continue?',
|
message: 'Any unsaved changes will be lost. Are you sure you want to continue?',
|
||||||
buttons: [
|
buttons: [
|
||||||
{
|
{
|
||||||
label: 'Ok',
|
label: 'OK',
|
||||||
emphasis: true,
|
emphasis: true,
|
||||||
callback: () => {
|
callback: () => {
|
||||||
this.openmct.editor.cancel().then(() => {
|
this.openmct.editor.cancel().then(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user