mirror of
https://github.com/redstrate/Astra.git
synced 2025-04-20 19:57:45 +00:00
Allow library descriptions to be translated
This commit is contained in:
parent
d266b41fea
commit
d644e2dbc4
1 changed files with 3 additions and 3 deletions
|
@ -50,12 +50,12 @@ int main(int argc, char *argv[])
|
||||||
QUrl(QStringLiteral("https://redstrate.com/rss-image.png")));
|
QUrl(QStringLiteral("https://redstrate.com/rss-image.png")));
|
||||||
about.setHomepage(QStringLiteral("https://xiv.zone/astra"));
|
about.setHomepage(QStringLiteral("https://xiv.zone/astra"));
|
||||||
about.addComponent(QStringLiteral("physis"),
|
about.addComponent(QStringLiteral("physis"),
|
||||||
QStringLiteral("Library to access FFXIV data"),
|
i18n("Library to access FFXIV data"),
|
||||||
QString::fromLatin1(physis_get_physis_version()),
|
QString::fromLatin1(physis_get_physis_version()),
|
||||||
QStringLiteral("https://xiv.zone/physis"),
|
QStringLiteral("https://xiv.zone/physis"),
|
||||||
KAboutLicense::GPL_V3);
|
KAboutLicense::GPL_V3);
|
||||||
about.addComponent(QStringLiteral("libphysis"),
|
about.addComponent(QStringLiteral("libphysis"),
|
||||||
QStringLiteral("C bindings for physis"),
|
i18n("C bindings for physis"),
|
||||||
QString::fromLatin1(physis_get_libphysis_version()),
|
QString::fromLatin1(physis_get_libphysis_version()),
|
||||||
QStringLiteral("https://git.sr.ht/~redstrate/libphysis"),
|
QStringLiteral("https://git.sr.ht/~redstrate/libphysis"),
|
||||||
KAboutLicense::GPL_V3);
|
KAboutLicense::GPL_V3);
|
||||||
|
@ -70,7 +70,7 @@ int main(int argc, char *argv[])
|
||||||
QCommandLineParser parser;
|
QCommandLineParser parser;
|
||||||
about.setupCommandLine(&parser);
|
about.setupCommandLine(&parser);
|
||||||
|
|
||||||
QCommandLineOption steamOption(QStringLiteral("steam"), QStringLiteral("Used for booting the launcher from Steam."), QStringLiteral("verb"));
|
QCommandLineOption steamOption(QStringLiteral("steam"), QString(), QStringLiteral("verb"));
|
||||||
steamOption.setFlags(QCommandLineOption::HiddenFromHelp);
|
steamOption.setFlags(QCommandLineOption::HiddenFromHelp);
|
||||||
parser.addOption(steamOption);
|
parser.addOption(steamOption);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue