diff --git a/languages/PineapplePictures.ts b/languages/PineapplePictures.ts index 6e7114d..35e9524 100644 --- a/languages/PineapplePictures.ts +++ b/languages/PineapplePictures.ts @@ -35,7 +35,7 @@ MainWindow - + File url list is empty @@ -66,47 +66,80 @@ - + Stay on top - - + + Protected mode - + + Configure... + + + + Help - + Launch application with image file path as argument to load the file. - + Drag and drop image file onto the window is also supported. - + Context menu option explanation: - + Make window stay on top of all other windows. - + Avoid close window accidentally. (eg. by double clicking the window) + + SettingsDialog + + + Do nothing + + + + + Close the window + + + + + Toggle maximize + + + + + Stay on top when start-up + + + + + Double-click behavior + + + main diff --git a/languages/PineapplePictures_zh_CN.ts b/languages/PineapplePictures_zh_CN.ts index a0e1998..ffa707f 100644 --- a/languages/PineapplePictures_zh_CN.ts +++ b/languages/PineapplePictures_zh_CN.ts @@ -35,7 +35,7 @@ MainWindow - + File url list is empty 文件 URL 列表为空 @@ -70,47 +70,80 @@ - + Stay on top 总在最前 - - + + Protected mode 保护模式 - + + Configure... + 设置... + + + Help 帮助 - + Launch application with image file path as argument to load the file. 以图片文件的路径作为参数运行程序即可直接打开图片文件。 - + Drag and drop image file onto the window is also supported. 也支持拖放图片文件到窗口内来加载图片。 - + Context menu option explanation: 菜单项说明: - + Make window stay on top of all other windows. 使窗口始终至于其它非置顶窗口上方。 - + Avoid close window accidentally. (eg. by double clicking the window) 避免窗口意外关闭。(如:不小心双击了窗口触发了关闭窗口行为) + + SettingsDialog + + + Do nothing + 什么也不做 + + + + Close the window + 关闭窗口 + + + + Toggle maximize + 最大化窗口 + + + + Stay on top when start-up + 启动时保持窗口总在最前 + + + + Double-click behavior + 双击时的行为 + + main diff --git a/settingsdialog.cpp b/settingsdialog.cpp index f4b830a..4ea1750 100644 --- a/settingsdialog.cpp +++ b/settingsdialog.cpp @@ -41,7 +41,7 @@ SettingsDialog::SettingsDialog(QWidget *parent) Settings::instance()->setDoubleClickBehavior(static_cast(index)); }); - setMinimumSize(200,50); // FIXME: use minimumSizeHint() instead? + this->setMinimumSize(300, 61); // not sure why it complain "Unable to set geometry" } SettingsDialog::~SettingsDialog()