提交 5ee9ab54 编写于 作者: J Jesse Glick

Merge pull request #760 from mpapo/JENKINS-17416

JENKINS-17416 - Improve Wipe Out Workspace label
......@@ -23,3 +23,4 @@
delete=Delete {0}
delete.confirm=Are you sure about deleting the {0} \u2018{1}\u2019?
wipe.out.confirm=Are you sure about wiping out the workspace?
Wipe\ Out\ Workspace=Wipe Out Current Workspace
\ No newline at end of file
......@@ -24,7 +24,7 @@ Build\ scheduled=Ejecuci\u00f3n agendada
Changes=Cambios
Configure=Configurar
Status=Estado
Wipe\ Out\ Workspace=Limpiar el Espacio de trabajo
Wipe\ Out\ Workspace=Limpiar el Espacio de trabajo corriente
Workspace=Espacio de trabajo
delete=Borrar {0}
View\ Configuration=Ver la configuraci\u00f3n
......
......@@ -27,5 +27,5 @@ Workspace=Espace de travail
delete=Supprimer ce {0}
Configure=Configurer
Build\ scheduled=Construction programm\u00e9e
Wipe\ Out\ Workspace=Effacer le r\u00e9pertoire de travail
Wipe\ Out\ Workspace=Effacer le r\u00e9pertoire de travail courant
wipe.out.confirm=Voulez-vous vraiment effacer le r\u00e9pertoire de travail?
......@@ -55,6 +55,7 @@ import java.io.File;
import java.util.Collections;
import java.util.HashMap;
import java.util.Map;
import java.util.ResourceBundle;
import java.util.Set;
import java.util.concurrent.Future;
import org.apache.commons.io.FileUtils;
......@@ -127,7 +128,8 @@ public class AbstractProjectTest extends HudsonTestCase {
page = (HtmlPage)page.getFirstAnchorByText("Workspace").click();
try {
page.getFirstAnchorByText("Wipe Out Workspace");
String wipeOutLabel = ResourceBundle.getBundle("hudson/model/AbstractProject/sidepanel").getString("Wipe Out Workspace");
page.getFirstAnchorByText(wipeOutLabel);
fail("shouldn't find a link");
} catch (ElementNotFoundException e) {
// OK
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册