| Summary: | plasmapkg doesn't work for languages in which package types have capital letters | ||
|---|---|---|---|
| Product: | [Unmaintained] plasma4 | Reporter: | Eckhart Wörner <ewoerner> |
| Component: | general | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | agostinelli, aseigo, asraniel |
| Priority: | NOR | Keywords: | junior-jobs |
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Debian testing | ||
| OS: | Unspecified | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
Fixed in r1139060 |
Version: (using KDE 4.4.1) Installed from: Debian testing/unstable Packages If a package type translation contains a capital letter, like "Plasmoid", plasmapkg fails to interpret it correctly. main.cpp: const QString type = args->getOption("type").toLower(); [...] if (type == i18n("plasmoid") || type == "plasmoid") { The error is in the assumption that i18n("plasmoid") is lowercase (same applies to all other types as well).