Browse Source

Merge pull request #900 in DESIGN/design from ~HADES/design:release/10.0 to final/10.0

* commit '816b00638cf8c871318655b6ab0bff47f4e120cf':
  REPORT-16567 添加台版教学视频链接
final/10.0
Kara 6 years ago
parent
commit
b742adab83
  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)
{
String url;
if (GeneralContext.getLocale().equals(Locale.US)) {
if (Locale.US.equals(GeneralContext.getLocale())) {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video.en");
} else if (Locale.TAIWAN.equals(GeneralContext.getLocale())) {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video.tw");
} else {
url = CloudCenter.getInstance().acquireUrlByKind("bbs.video");
}

Loading…
Cancel
Save