|
|
|
@ -27,10 +27,8 @@ public class VideoAction extends UpdateAction
|
|
|
|
|
public void actionPerformed(ActionEvent arg0) |
|
|
|
|
{ |
|
|
|
|
String url; |
|
|
|
|
if (Locale.US.equals(GeneralContext.getLocale())) { |
|
|
|
|
if (GeneralContext.getLocale().equals(Locale.US)) { |
|
|
|
|
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"); |
|
|
|
|
} |
|
|
|
|