/**
* <p>
- * \83^\83C\83g\83\8b: \82³\82«\82ã\82Î\82·
+ * タイトル: さきゅばす
* </p>
*
* <p>
- * \90à\96¾: \83j\83R\83j\83R\93®\89æ\82Ì\93®\89æ\82ð\83R\83\81\83\93\83g\82Â\82«\82Å\95Û\91¶
+ * 説明: ニコニコ動画の動画をコメントつきで保存
* </p>
*
* <p>
- * \92\98\8dì\8c : Copyright (c) 2007 PSI
+ * 著作権: Copyright (c) 2007 PSI
* </p>
*
* <p>
- * \89ï\8eÐ\96¼:
+ * 会社名:
* </p>
*
- * @author \96¢\93ü\97Í
+ * @author 未入力
* @version 1.0
*/
public class MainFrame extends JFrame {
private static final long serialVersionUID = 2564486741331062989L;
- public static final String VERSION = "1.22r NicoBrowser\8ag\92£ 1.4.4";
+ public static final String VERSION = "1.22r NicoBrowser拡張 1.4.4";
public static final Image WinIcon = Toolkit.getDefaultToolkit().createImage(saccubus.MainFrame.class.getResource(
"icon32.png"));
- // TODO GUI\82ª\96³\82¢\82½\82ß\83t\83B\81[\83\8b\83h\82É\95Û\8e\9d.
+ // TODO GUIが無いためフィールドに保持.
private File tempDir;
JPanel contentPane;
BorderLayout borderLayout1 = new BorderLayout();
JPanel VideoInfoPanel = new JPanel();
JTextField VideoID_TextField = new JTextField();
JButton DoButton = new JButton();
- public static final String DoButtonDefString = "\95Ï\8a·";
- public static final String DoButtonStopString = "\92â\8e~";
- public static final String DoButtonWaitString = "\91Ò\8b@";
+ public static final String DoButtonDefString = "変換";
+ public static final String DoButtonStopString = "停止";
+ public static final String DoButtonWaitString = "待機";
JPanel UserInfoPanel = new JPanel();
GridBagLayout gridBagLayout3 = new GridBagLayout();
- // \83\86\81[\83U\90Ý\92è
+ // ユーザ設定
JLabel mailAddressLabel = new JLabel();
JTextField mailAddressField = new JTextField();
JLabel passwordLabel = new JLabel();
}
/**
- * \83R\83\93\83|\81[\83l\83\93\83g\82Ì\8f\89\8aú\89»\81B
+ * コンポーネントの初期化。
*
* @throws java.lang.Exception
*/
gridBagConstraints72.gridwidth = 1;
gridBagConstraints72.gridy = 6;
ShadowKindLabel = new JLabel();
- ShadowKindLabel.setText("\89e\82Ì\8eí\97Þ");
+ ShadowKindLabel.setText("影の種類");
ShadowKindLabel.setDisplayedMnemonic(KeyEvent.VK_UNDEFINED);
GridBagConstraints gridBagConstraints71 = new GridBagConstraints(1, 0, 1, 1, 0.0, 0.0, GridBagConstraints.CENTER,
GridBagConstraints.NONE, new Insets(0, 0, 0, 0), 0, 6);
gridBagConstraints66.gridwidth = 2;
gridBagConstraints66.gridy = 1;
ViewCommentLabel = new JLabel();
- ViewCommentLabel.setText("\95\\8e¦\83R\83\81\83\93\83g\90\94");
+ ViewCommentLabel.setText("表示コメント数");
GridBagConstraints gridBagConstraints65 = new GridBagConstraints();
gridBagConstraints65.fill = GridBagConstraints.HORIZONTAL;
gridBagConstraints65.gridy = 1;
gridBagConstraints56.anchor = GridBagConstraints.WEST;
gridBagConstraints56.gridy = 2;
ExtOptionLabel = new JLabel();
- ExtOptionLabel.setText("\8fo\97Í\93®\89æ\82Ì\8ag\92£\8eq");
+ ExtOptionLabel.setText("出力動画の拡張子");
GridBagConstraints gridBagConstraints55 = new GridBagConstraints();
gridBagConstraints55.gridx = 0;
gridBagConstraints55.fill = GridBagConstraints.HORIZONTAL;
contentPane = (JPanel) this.getContentPane();
contentPane.setLayout(borderLayout1);
setSize(new Dimension(400, 450));
- setTitle("\82³\82«\82ã\82Î\82· " + VERSION);
+ setTitle("さきゅばす " + VERSION);
this.addWindowListener(new MainFrame_this_windowAdapter(this));
statusBar.setText(" ");
- jMenuFile.setText("\83t\83@\83C\83\8b");
- jMenuFileExit.setText("\8fI\97¹");
+ jMenuFile.setText("ファイル");
+ jMenuFileExit.setText("終了");
jMenuFileExit.addActionListener(new MainFrame_jMenuFileExit_ActionAdapter(
this));
- jMenuHelp.setText("\83w\83\8b\83v");
- jMenuHelpAbout.setText("\83o\81[\83W\83\87\83\93\8fî\95ñ");
+ jMenuHelp.setText("ヘルプ");
+ jMenuHelpAbout.setText("バージョン情報");
jMenuHelpAbout.addActionListener(new MainFrame_jMenuHelpAbout_ActionAdapter(
this));
VideoInfoPanel.setLayout(gridBagLayout1);
DoButton.setText(DoButtonDefString);
DoButton.addActionListener(new MainFrame_DoButton_actionAdapter(this));
SavingInfoTabPanel.setLayout(new GridLayout());
- UserInfoPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "\83\86\81[\83U\90Ý\92è"));
+ UserInfoPanel.setBorder(BorderFactory.createTitledBorder(BorderFactory.createEtchedBorder(), "ユーザ設定"));
UserInfoPanel.setLayout(gridBagLayout3);
- mailAddressLabel.setText("\83\81\81[\83\8b\83A\83h\83\8c\83X");
- passwordLabel.setText("\83p\83X\83\8f\81[\83h");
+ mailAddressLabel.setText("メールアドレス");
+ passwordLabel.setText("パスワード");
setListenerToSavePanelButton();
FFMpegTabPanel.setLayout(gridBagLayout6);
PathSettingPanel.setBorder(BorderFactory.createTitledBorder(
- BorderFactory.createEtchedBorder(), "\83v\83\8d\83O\83\89\83\80\82Ì\88Ê\92u\82Ì\90Ý\92è"));
+ BorderFactory.createEtchedBorder(), "プログラムの位置の設定"));
PathSettingPanel.setLayout(gridBagLayout7);
FFmpegPathLabel.setText("FFmpeg");
- SettingFFmpegPathButton.setText("\8eQ\8fÆ");
+ SettingFFmpegPathButton.setText("参照");
SettingFFmpegPathButton.addActionListener(new MainFrame_SettingFFmpegPathButton_actionAdapter(
this));
- VhookPathLabel.setText("\8ag\92£vhook\83\89\83C\83u\83\89\83\8a");
- SettingVhookPathButton.setText("\8eQ\8fÆ");
+ VhookPathLabel.setText("拡張vhookライブラリ");
+ SettingVhookPathButton.setText("参照");
SettingVhookPathButton.addActionListener(new MainFrame_SettingVhookPathButton_actionAdapter(
this));
VhookSettingPanel.setLayout(gridBagLayout8);
VhookSettingPanel.setBorder(BorderFactory.createTitledBorder(
- BorderFactory.createEtchedBorder(), "\8ag\92£vhook\83\89\83C\83u\83\89\83\8a\82Ì\90Ý\92è"));
+ BorderFactory.createEtchedBorder(), "拡張vhookライブラリの設定"));
FFmpegSettingPanel.setBorder(BorderFactory.createTitledBorder(
- BorderFactory.createEtchedBorder(), "FFmpeg\82Ì\90Ý\92è"));
+ BorderFactory.createEtchedBorder(), "FFmpegの設定"));
FFmpegSettingPanel.setLayout(gridBagLayout9);
- FontPathLabel.setText("\83t\83H\83\93\83g\83p\83X");
- SettingFontPathButton.setText("\8eQ\8fÆ");
+ FontPathLabel.setText("フォントパス");
+ SettingFontPathButton.setText("参照");
SettingFontPathButton.addActionListener(new MainFrame_SettingFontPathButton_actionAdapter(
this));
- showConvVideoCheckBox.setText("\95Ï\8a·\92\86\82Ì\89æ\91\9c\82ð\95\\8e¦\82·\82é");
- inputOptionLabel.setText("\93ü\97Í\83I\83v\83V\83\87\83\93");
- outputOptionLabel.setText("\8fo\97Í\83I\83v\83V\83\87\83\93");
- mainOptionLabel.setText("\83\81\83C\83\93\83I\83v\83V\83\87\83\93");
- FontIndexLabel.setText("\83t\83H\83\93\83g\94Ô\8d\86");
+ showConvVideoCheckBox.setText("変換中の画像を表示する");
+ inputOptionLabel.setText("入力オプション");
+ outputOptionLabel.setText("出力オプション");
+ mainOptionLabel.setText("メインオプション");
+ FontIndexLabel.setText("フォント番号");
VideoID_Label.setText("URL/ID");
- WayBackLabel.setText("\89ß\8b\8e\83\8d\83O");
+ WayBackLabel.setText("過去ログ");
OpPanel.setLayout(new GridBagLayout());
BasicInfoTabPanel.setLayout(gridBagLayout12);
OpPanel.add(WayBackLabel, gridBagConstraints69);
OpPanel.add(WayBackField, gridBagConstraints70);
- mainTabbedPane.add(BasicInfoTabPanel, "\8aî\96{\90Ý\92è");
- mainTabbedPane.add(SavingInfoTabPanel, "\95Û\91¶\90Ý\92è");
- mainTabbedPane.add(FFMpegTabPanel, "\93®\89æ\90Ý\92è");
- mainTabbedPane.addTab("\95Ï\8a·\90Ý\92è", null, getConvertingSettingPanel(), null);
+ mainTabbedPane.add(BasicInfoTabPanel, "基本設定");
+ mainTabbedPane.add(SavingInfoTabPanel, "保存設定");
+ mainTabbedPane.add(FFMpegTabPanel, "動画設定");
+ mainTabbedPane.addTab("変換設定", null, getConvertingSettingPanel(), null);
SavingInfoTabPanel.add(savePanel);
BasicInfoTabPanel.add(UserInfoPanel, gridBagConstraints7);
BasicInfoTabPanel.add(getProxyInfoPanel(), gridBagConstraints6);
}
/**
- * \95Û\91¶\90Ý\92è\83p\83l\83\8b\93à\82Ì\83{\83^\83\93\82É\83A\83N\83V\83\87\83\93\83\8a\83X\83i\82ð\8a\84\82è\93\96\82Ä\82é.
+ * 保存設定パネル内のボタンにアクションリスナを割り当てる.
*/
private void setListenerToSavePanelButton() {
ActionListener al;
}
/**
- * \83e\83L\83X\83g\83t\83B\81[\83\8b\83h\82É\91Î\82µ\83h\83\8d\83b\83v\82ð\8ds\82Á\82½\8fê\8d\87\82É\83t\83@\83C\83\8b\82à\82µ\82\82Í\83f\83B\83\8c\83N\83g\83\8a\82Ì\95¶\8e\9a\97ñ\82ð\90Ý\92è\82Å\82«\82é\82æ\82¤\82É\82·\82é.
- * @param c \90Ý\92è\91Î\8fÛ\82Ì\83e\83L\83X\83g\83t\83B\81[\83\8b\83h\83I\83u\83W\83F\83N\83g.
- * @param isDir \83f\83B\83\8c\83N\83g\83\8a\82ð\90Ý\92è\82·\82é\8fê\8d\87\82Ítrue, \83t\83@\83C\83\8b\82Ì\8fê\8d\87\82Ífalse.
- * @return \83h\83\8d\83b\83v\83^\81[\83Q\83b\83g(\97p\93r\96³\82µ).
+ * テキストフィールドに対しドロップを行った場合にファイルもしくはディレクトリの文字列を設定できるようにする.
+ * @param c 設定対象のテキストフィールドオブジェクト.
+ * @param isDir ディレクトリを設定する場合はtrue, ファイルの場合はfalse.
+ * @return ドロップターゲット(用途無し).
*/
private DropTarget addTarget(JTextField c, boolean isDir) {
return new DropTarget(c, DnDConstants.ACTION_COPY, new FileDropTarget(
}
/**
- * \90Ý\92è\82ð\89æ\96Ê\82É\94½\89f\82·\82é.
- * @param setting \94½\89f\82·\82é\90Ý\92è.
+ * 設定を画面に反映する.
+ * @param setting 反映する設定.
*/
private void setSetting(SProperties setting) {
- // \8aî\96{\90Ý\92è
+ // 基本設定
final BasicSetting basic = setting.getBasicSetting();
tempDir = basic.getTempDir();
mailAddressField.setText(basic.getUser().getMail());
passwordField.setText(basic.getUser().getPassword());
- // \83v\83\8d\83L\83V\8aÖ\98A
+ // プロキシ関連
useProxyCheckBox.setSelected(basic.isProxyUse());
proxyTextField.setText(basic.getProxyHost());
int proxy_port = basic.getProxyPort();
proxyPortTextField.setText("");
}
- // \95Û\91¶\90Ý\92è - \93ü\97Í\93®\89æ
+ // 保存設定 - 入力動画
final InputVideoSetting inVideo = setting.getInputVideoSetting();
JRadioButton activeButton;
switch (inVideo.getProcessKind()) {
videoSaveInfoPanel.getSaveFolderRadioButton().setSelected(videoFixName);
videoSaveInfoPanel.getNibrFileField().setText(inVideo.getNicoBrowserFile().getPath());
- // \95Û\91¶\90Ý\92è - \93ü\97Í\83R\83\81\83\93\83g
+ // 保存設定 - 入力コメント
final InputCommentSetting inputComment = setting.getInputCommentSetting();
savePanel.getSavingCommentCheckBox().setSelected(inputComment.getProcessKind());
savePanel.getCommentSavedFileField().setText(inputComment.getFile().getPath());
savePanel.getCommentSaveFileRadioButton().setSelected(!commentFixName);
savePanel.getCommentSaveFolderRadioButton().setSelected(commentFixName);
- // \93\8a\8de\8eÒ\83R\83\81\83\93\83g
+ // 投稿者コメント
InputTcommentSetting tcom = setting.getInputTcommentSetting();
savePanel.setTcommentDownload(tcom.getProcessKind());
savePanel.setTcommentDelete(tcom.isDeleteAfterConvert());
savePanel.setTcommentDirectoryName(tcom.getFolder().getPath());
savePanel.setTcommentFileName(tcom.getFile().getPath());
- // \95Û\91¶\90Ý\92è - \8fo\97Í\83R\83\81\83\93\83g\95t\82«\93®\89æ
+ // 保存設定 - 出力コメント付き動画
final OutputVideoSetting outputVideo = setting.getOutputVideoSetting();
savePanel.getSavingConvertedVideoCheckBox().setSelected(outputVideo.getProcessKind());
savePanel.getAddCommentCheckBox().setSelected(outputVideo.isAddComment());
savePanel.getConvSaveFileRadioButton().setSelected(!convFixName);
savePanel.getConvSaveFolderRadioButton().setSelected(convFixName);
- // \93®\89æ\90Ý\92è
+ // 動画設定
final MovieSetting movie = setting.getMovieSetting();
ffmpegPathField.setText(movie.getFfmpeg().toString());
vhookPathField.setText(movie.getVhook().toString());
inputOptionField.setText(movie.getFfmpegOption().getInOption());
FFmpegOptionModel.reload(movie.getOptionFile());
- // \95Ï\8a·\90Ý\92è
+ // 変換設定
final ConvertSetting conv = setting.getConvertSetting();
disableVhookCheckBox.setSelected(conv.isVhookDisabled());
viewCommentField.setText(Integer.toString(conv.getMaxNumOfComment()));
}
/**
- * [\83t\83@\83C\83\8b|\8fI\97¹] \83A\83N\83V\83\87\83\93\82ª\8eÀ\8ds\82³\82ê\82Ü\82µ\82½\81B
+ * [ファイル|終了] アクションが実行されました。
*
* @param actionEvent
* ActionEvent
}
/**
- * [\83w\83\8b\83v|\83o\81[\83W\83\87\83\93\8fî\95ñ] \83A\83N\83V\83\87\83\93\82ª\8eÀ\8ds\82³\82ê\82Ü\82µ\82½\81B
+ * [ヘルプ|バージョン情報] アクションが実行されました。
*
* @param actionEvent
* ActionEvent
dlg.setVisible(true);
}
- /* \95Ï\8a·\81E\95Û\91¶\82·\82é */
+ /* 変換・保存する */
private Converter Converter = null;
private JLabel inputOptionLabel = new JLabel();
private JTextField inputOptionField = new JTextField();
private JTextField ngWordTextField = null;
private JLabel NGIDLabel = null;
private JTextField ngIdTextField = null;
- // \83v\83\8d\83L\83V\90Ý\92è
+ // プロキシ設定
private JPanel ProxyInfoPanel = null;
private JCheckBox useProxyCheckBox = null;
private JLabel proxyLabel = null;
} catch (Exception ex) {
String text = ex.getMessage();
if (StringUtils.isEmpty(text)) {
- text = "\97\\8aú\82µ\82È\82¢\83G\83\89\81[\82Ì\82½\82ß\92\86\92f\82µ\82Ü\82µ\82½\81B";
+ text = "予期しないエラーのため中断しました。";
}
ex.printStackTrace();
statusBar.setText(text);
}
- } else { /* \8aJ\8en\82µ\82Ä\82¢\82é\82Ì\82Å\81A\83X\83g\83b\83v\82·\82é\81B */
+ } else { /* 開始しているので、ストップする。 */
final ConvertStopFlag flag = Converter.getStopFlag();
- if (!flag.needStop()) { /* \82Ü\82¾\83X\83g\83b\83v\82µ\82Ä\82¢\82È\82¢\81B */
+ if (!flag.needStop()) { /* まだストップしていない。 */
flag.requestStop();
}
}
private void executeConvert() throws IOException {
String url;
- // NicoBrowser\83t\83@\83C\83\8b\82ð\97\98\97p\82·\82é\8fê\8d\87\82Í\81A\83t\83@\83C\83\8b\96¼\82©\82ç\83r\83f\83IID\82ð\93Á\92è.
+ // NicoBrowserファイルを利用する場合は、ファイル名からビデオIDを特定.
if (videoSaveInfoPanel.getVideoUseNiBrButton().isSelected()) {
try {
String fileName = videoSaveInfoPanel.getNibrFileField().getText();
url = "";
}
} catch (Exception ex) {
- JOptionPane.showMessageDialog(this, ex.getMessage(), "\83G\83\89\81[", JOptionPane.ERROR_MESSAGE);
+ JOptionPane.showMessageDialog(this, ex.getMessage(), "エラー", JOptionPane.ERROR_MESSAGE);
return;
}
} else {
}
- /* FFmpeg\82Ö\82Ì\83p\83X */
+ /* FFmpegへのパス */
public void SettingFFmpegPathButton_actionPerformed(ActionEvent e) {
- showSaveDialog("FFmpeg\82Ö\82Ì\83p\83X", ffmpegPathField, false, false);
+ showSaveDialog("FFmpegへのパス", ffmpegPathField, false, false);
}
public void SettingVhookPathButton_actionPerformed(ActionEvent e) {
- showSaveDialog("\8ag\92£vhook\83\89\83C\83u\83\89\83\8a\82Ö\82Ì\83p\83X", vhookPathField, false, false);
+ showSaveDialog("拡張vhookライブラリへのパス", vhookPathField, false, false);
}
public void SettingFontPathButton_actionPerformed(ActionEvent e) {
- showSaveDialog("\83t\83H\83\93\83g\82Ö\82Ì\83p\83X", fontPathField, false, false);
+ showSaveDialog("フォントへのパス", fontPathField, false, false);
}
public void this_windowClosing(WindowEvent e) {
gridBagConstraints2.insets = new Insets(0, 5, 5, 0);
gridBagConstraints2.gridy = 0;
NGWordLavel = new JLabel();
- NGWordLavel.setText("NG\83\8f\81[\83h");
+ NGWordLavel.setText("NGワード");
NGWordSettingPanel = new JPanel();
NGWordSettingPanel.setLayout(new GridBagLayout());
NGWordSettingPanel.setBorder(BorderFactory.createTitledBorder(null,
- "NG\83\8f\81[\83h\81EID\90Ý\92è"));
+ "NGワード・ID設定"));
NGWordSettingPanel.add(NGWordLavel, gridBagConstraints2);
NGWordSettingPanel.add(getNGWordTextField(), gridBagConstraints3);
NGWordSettingPanel.add(NGIDLabel, gridBagConstraints4);
gridBagConstraints10.insets = new Insets(5, 5, 5, 5);
gridBagConstraints10.gridy = 2;
proxyPortLabel = new JLabel();
- proxyPortLabel.setText("\83|\81[\83g\94Ô\8d\86");
+ proxyPortLabel.setText("ポート番号");
GridBagConstraints gridBagConstraints9 = new GridBagConstraints();
gridBagConstraints9.fill = GridBagConstraints.BOTH;
gridBagConstraints9.gridy = 1;
gridBagConstraints8.anchor = GridBagConstraints.EAST;
gridBagConstraints8.gridy = 1;
proxyLabel = new JLabel();
- proxyLabel.setText("\83v\83\8d\83L\83V");
+ proxyLabel.setText("プロキシ");
ProxyInfoPanel = new JPanel();
ProxyInfoPanel.setLayout(new GridBagLayout());
ProxyInfoPanel.setBorder(BorderFactory.createTitledBorder(null,
- "\83v\83\8d\83L\83V\90Ý\92è"));
+ "プロキシ設定"));
ProxyInfoPanel.add(proxyLabel, gridBagConstraints8);
ProxyInfoPanel.add(getProxyTextField(), gridBagConstraints9);
ProxyInfoPanel.add(proxyPortLabel, gridBagConstraints10);
private JCheckBox getUseProxyCheckBox() {
if (useProxyCheckBox == null) {
useProxyCheckBox = new JCheckBox();
- useProxyCheckBox.setText("\83v\83\8d\83L\83V\82ð\8eg\82¤");
+ useProxyCheckBox.setText("プロキシを使う");
useProxyCheckBox.setName("useProxyCheckBox");
}
return useProxyCheckBox;
private JCheckBox getFixFontSizeCheckBox() {
if (fixFontSizeCheckBox == null) {
fixFontSizeCheckBox = new JCheckBox();
- fixFontSizeCheckBox.setText("\83t\83H\83\93\83g\83T\83C\83Y\82ð\89æ\96Ê\82É\82 \82í\82¹\82Ä\8e©\93®\92²\90®\82·\82é");
+ fixFontSizeCheckBox.setText("フォントサイズを画面にあわせて自動調整する");
fixFontSizeCheckBox.setName("fixFontSizeCheckBox");
}
return fixFontSizeCheckBox;
private JCheckBox getOpaqueCommentCheckBox() {
if (opaqueCommentCheckBox == null) {
opaqueCommentCheckBox = new JCheckBox();
- opaqueCommentCheckBox.setText("\91S\82Ä\82Ì\83R\83\81\83\93\83g\82ð\95s\93§\96¾\82É\82·\82é");
+ opaqueCommentCheckBox.setText("全てのコメントを不透明にする");
opaqueCommentCheckBox.setName("opaqueCommentCheckBox");
}
return opaqueCommentCheckBox;
FFmpegOptionComboBox.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
- if (FFmpegOptionModel.isFile()) {// \83t\83@\83C\83\8b
+ if (FFmpegOptionModel.isFile()) {// ファイル
extOptionField.setEnabled(false);
mainOptionField.setEnabled(false);
inputOptionField.setEnabled(false);
outputOptionField.setEnabled(false);
- } else {// \83t\83@\83C\83\8b\82Å\82È\82¢
+ } else {// ファイルでない
extOptionField.setEnabled(true);
mainOptionField.setEnabled(true);
inputOptionField.setEnabled(true);
private JButton getFFmpegOptionReloadButton() {
if (FFmpegOptionReloadButton == null) {
FFmpegOptionReloadButton = new JButton();
- FFmpegOptionReloadButton.setText("\8dX\90V");
+ FFmpegOptionReloadButton.setText("更新");
FFmpegOptionReloadButton.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent e) {
private JCheckBox getNotUseVhookCheckBox() {
if (disableVhookCheckBox == null) {
disableVhookCheckBox = new JCheckBox();
- disableVhookCheckBox.setText("\8ag\92£vhook\83\89\83C\83u\83\89\83\8a\82ð\96³\8cø\82É\82·\82é\81i\83f\83o\83b\83O\97p\81j");
+ disableVhookCheckBox.setText("拡張vhookライブラリを無効にする(デバッグ用)");
disableVhookCheckBox.setName("disableVhookCheckBox");
}
return disableVhookCheckBox;
} catch (NumberFormatException e) {
proxyPort = -1;
}
- // TODO \8dì\8bÆ\97p\83f\83B\83\8c\83N\83g\83\8a\82Ì\90Ý\92èGUI\96³\82µ
+ // TODO 作業用ディレクトリの設定GUI無し
return new BasicSetting(tempDir, mail, pass, proxyUse, proxyHost, proxyPort);
}
}
/**
- * \89æ\96Ê\93ü\97Í\92l\82©\82ç\93\8a\8de\8eÒ\83R\83\81\83\93\83g\90Ý\92è\82ð\8dì\90¬\82·\82é.
- * @return \8dì\90¬\82µ\82½\93\8a\8de\8eÒ\83R\83\81\83\93\83g\90Ý\92è.
+ * 画面入力値から投稿者コメント設定を作成する.
+ * @return 作成した投稿者コメント設定.
*/
private InputTcommentSetting getTcommentSetting() {
boolean down = savePanel.isTcommentDownload();
boolean isDir;
if (source == panel.getShowSavingVideoFolderDialogButton()) {
- title = "\93®\89æ\82Ì\95Û\91¶\90æ(\83t\83H\83\8b\83_)";
+ title = "動画の保存先(フォルダ)";
field = panel.getVideoSavedFolderField();
isSave = true;
isDir = true;
} else if (source == panel.getShowSavingVideoFileDialogButton()) {
- title = "\93®\89æ\82Ì\95Û\91¶\90æ(\83t\83@\83C\83\8b)";
+ title = "動画の保存先(ファイル)";
field = panel.getVideoSavedFileField();
isSave = true;
isDir = false;
} else if (source == panel.getNibrFileChooserButton()) {
- title = "NicoBrowser\83t\83@\83C\83\8b\91I\91ð";
+ title = "NicoBrowserファイル選択";
field = panel.getNibrFileField();
isSave = false;
isDir = false;
boolean isSave;
boolean isDir;
if (source == savePanel.getShowSavingCommentFolderDialogButton()) {
- title = "\83R\83\81\83\93\83g\82Ì\95Û\91¶\90æ(\83t\83H\83\8b\83_)";
+ title = "コメントの保存先(フォルダ)";
field = savePanel.getCommentSavedFolderField();
isSave = true;
isDir = true;
} else if (source == savePanel.getShowSavingCommentFileDialogButton()) {
- title = "\83R\83\81\83\93\83g\82Ì\95Û\91¶\90æ(\83t\83@\83C\83\8b)";
+ title = "コメントの保存先(ファイル)";
field = savePanel.getCommentSavedFileField();
isSave = true;
isDir = false;
boolean isSave;
boolean isDir;
if (source == savePanel.getShowSavingConvertedVideoFolderDialogButton()) {
- title = "\83R\83\81\83\93\83g\95t\82«\93®\89æ\82Ì\95Û\91¶\90æ(\83t\83H\83\8b\83_)";
+ title = "コメント付き動画の保存先(フォルダ)";
field = savePanel.getConvertedVideoSavedFolderField();
isSave = true;
isDir = true;
} else if (source == savePanel.getShowSavingConvertedVideoFileDialogButton()) {
- title = "\83R\83\81\83\93\83g\95t\82«\93®\89æ\82Ì\95Û\91¶\90æ(\83t\83@\83C\83\8b)";
+ title = "コメント付き動画の保存先(ファイル)";
field = savePanel.getConvertedVideoSavedFileField();
isSave = true;
isDir = false;