Browse Source

REPORT-16567 添加台版教学视频链接

final/10.0
Hades 6 years ago
parent
commit
816b00638c
  1. 4
      designer-base/src/main/java/com/fr/design/actions/community/VideoAction.java

4
designer-base/src/main/java/com/fr/design/actions/community/VideoAction.java

@ -27,8 +27,10 @@ public class VideoAction extends UpdateAction
public void actionPerformed(ActionEvent arg0) public void actionPerformed(ActionEvent arg0)
{ {
String url; String url;
if (GeneralContext.getLocale().equals(Locale.US)) { if (Locale.US.equals(GeneralContext.getLocale())) {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video.en"); url = CloudCenter.getInstance().acquireUrlByKind("bbs.video.en");
} else if (Locale.TAIWAN.equals(GeneralContext.getLocale())) {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video.tw");
} else { } else {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video"); url = CloudCenter.getInstance().acquireUrlByKind("bbs.video");
} }

Loading…
Cancel
Save