diff --git a/core/src/main/resources/hudson/widgets/BuildHistoryWidget/entries.properties b/core/src/main/resources/hudson/widgets/BuildHistoryWidget/entries.properties new file mode 100644 index 000000000000..5e590c383636 --- /dev/null +++ b/core/src/main/resources/hudson/widgets/BuildHistoryWidget/entries.properties @@ -0,0 +1 @@ +confirm=Are you sure you want to cancel the queued run of {0}? diff --git a/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly index 215cb4d54a33..42212f858367 100644 --- a/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly +++ b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.jelly @@ -61,8 +61,8 @@ THE SOFTWARE.
- - + +
diff --git a/core/src/main/resources/hudson/widgets/HistoryWidget/entry.properties b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.properties new file mode 100644 index 000000000000..6aa3af4cc19b --- /dev/null +++ b/core/src/main/resources/hudson/widgets/HistoryWidget/entry.properties @@ -0,0 +1 @@ +confirm=Are you sure you want to abort {0}? diff --git a/core/src/main/resources/lib/hudson/buildCaption.jelly b/core/src/main/resources/lib/hudson/buildCaption.jelly index 80478e98d12c..73610d33f1ec 100644 --- a/core/src/main/resources/lib/hudson/buildCaption.jelly +++ b/core/src/main/resources/lib/hudson/buildCaption.jelly @@ -37,7 +37,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/lib/hudson/buildCaption.properties b/core/src/main/resources/lib/hudson/buildCaption.properties new file mode 100644 index 000000000000..6aa3af4cc19b --- /dev/null +++ b/core/src/main/resources/lib/hudson/buildCaption.properties @@ -0,0 +1 @@ +confirm=Are you sure you want to abort {0}? diff --git a/core/src/main/resources/lib/hudson/executors.jelly b/core/src/main/resources/lib/hudson/executors.jelly index 99c4c5b77eb2..86f12dffc496 100644 --- a/core/src/main/resources/lib/hudson/executors.jelly +++ b/core/src/main/resources/lib/hudson/executors.jelly @@ -110,7 +110,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/lib/hudson/executors.properties b/core/src/main/resources/lib/hudson/executors.properties index 76d77a195cdc..3d8ebc248ea3 100644 --- a/core/src/main/resources/lib/hudson/executors.properties +++ b/core/src/main/resources/lib/hudson/executors.properties @@ -1 +1,2 @@ -Computers=master{0,choice,0#|1# + {0,number} computer ({1} of {2} executors)|1< + {0,number} computers ({1} of {2} executors)} \ No newline at end of file +Computers=master{0,choice,0#|1# + {0,number} computer ({1} of {2} executors)|1< + {0,number} computers ({1} of {2} executors)} +confirm=Are you sure you want to abort {0}? diff --git a/core/src/main/resources/lib/hudson/queue.jelly b/core/src/main/resources/lib/hudson/queue.jelly index 1bc26d34cf7c..d66122f799ac 100644 --- a/core/src/main/resources/lib/hudson/queue.jelly +++ b/core/src/main/resources/lib/hudson/queue.jelly @@ -91,7 +91,7 @@ THE SOFTWARE. - + diff --git a/core/src/main/resources/lib/hudson/queue.properties b/core/src/main/resources/lib/hudson/queue.properties index d7b2a594e5da..fc5be8a60a9e 100644 --- a/core/src/main/resources/lib/hudson/queue.properties +++ b/core/src/main/resources/lib/hudson/queue.properties @@ -1,3 +1,4 @@ Build\ Queue=Build Queue{0,choice,0#|0< ({0,number})} Filtered\ Build\ Queue=Filtered Build Queue{0,choice,0#|0< ({0,number})} -WaitingFor=Waiting for {0} \ No newline at end of file +WaitingFor=Waiting for {0} +confirm=Are you sure you want to cancel the queued run of {0}? diff --git a/core/src/main/resources/lib/layout/stopButton.jelly b/core/src/main/resources/lib/layout/stopButton.jelly index 4d19c004f464..4fc6b6a127f6 100644 --- a/core/src/main/resources/lib/layout/stopButton.jelly +++ b/core/src/main/resources/lib/layout/stopButton.jelly @@ -33,8 +33,20 @@ THE SOFTWARE. Alt text for image. + + If defined, the user will be asked for confirmation first, and the value will be used as question. + - - - + + + + + + + + + + + +