i18n: copywriting for show in directory feature

This commit is contained in:
Gary Wang 2022-02-09 00:04:58 +08:00
parent 9e1b10831a
commit d51eb796b9
No known key found for this signature in database
GPG Key ID: 5D30A4F15EA78760

View File

@ -87,7 +87,16 @@ void ActionManager::retranslateUi(MainWindow *mainWindow)
actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr)); actionToggleProtectMode->setText(QCoreApplication::translate("MainWindow", "Protected mode", nullptr));
actionSettings->setText(QCoreApplication::translate("MainWindow", "Configure...", nullptr)); actionSettings->setText(QCoreApplication::translate("MainWindow", "Configure...", nullptr));
actionHelp->setText(QCoreApplication::translate("MainWindow", "Help", nullptr)); actionHelp->setText(QCoreApplication::translate("MainWindow", "Help", nullptr));
actionLocateInFileManager->setText("Open Containing Folder"); // TODO: what should it called? #ifdef Q_OS_WIN
actionLocateInFileManager->setText(
QCoreApplication::translate(
"MainWindow", "Show in File Explorer",
"File Explorer is the name of explorer.exe under Windows"
)
);
#else
actionLocateInFileManager->setText(QCoreApplication::translate("MainWindow", "Show in directory", nullptr));
#endif // Q_OS_WIN
actionProperties->setText(QCoreApplication::translate("MainWindow", "Properties", nullptr)); actionProperties->setText(QCoreApplication::translate("MainWindow", "Properties", nullptr));
actionQuitApp->setText(QCoreApplication::translate("MainWindow", "Quit", nullptr)); actionQuitApp->setText(QCoreApplication::translate("MainWindow", "Quit", nullptr));
} }