Skip to content

Commit bf76246

Browse files
author
Karol Kanski
committedFeb 4, 2013
[JENKINS-16555] Create iframe portlet - i18n
1 parent f268d13 commit bf76246

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎src/main/java/hudson/plugins/view/dashboard/core/IframePortlet.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import hudson.model.Descriptor;
55
import hudson.model.Job;
66
import hudson.plugins.view.dashboard.DashboardPortlet;
7+
import hudson.plugins.view.dashboard.Messages;
78

89
import java.util.Iterator;
910

@@ -68,7 +69,7 @@ public static class DescriptorImpl extends Descriptor<DashboardPortlet> {
6869

6970
@Override
7071
public String getDisplayName() {
71-
return "Iframe Portlet";
72+
return Messages.Dashboard_IframePortlet();
7273
}
7374
}
7475

‎src/main/resources/hudson/plugins/view/dashboard/Messages.properties

+2-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,5 @@ Dashboard.Total=total
2020
Dashboard.Date=date
2121
Dashboard.Count=count
2222
Dashboard.SlavesStatistics=Slaves statistics
23-
Dashboard.Image=Image
23+
Dashboard.Image=Image
24+
Dashboard.IframePortlet=Iframe Portlet

0 commit comments

Comments
 (0)
Please sign in to comment.