You've already forked linuxdeploy
mirror of
https://github.com/encounter/linuxdeploy.git
synced 2026-03-30 11:18:58 -07:00
Temporarily allow localization brackets in key names
Must be revised when introducing proper localization support.
This commit is contained in:
@@ -101,7 +101,10 @@ namespace linuxdeploy {
|
||||
(c >= 'A' && c <= 'Z') ||
|
||||
(c >= 'a' && c <= 'z') ||
|
||||
(c >= '0' && c <= '9') ||
|
||||
(c == '-')
|
||||
(c == '-') ||
|
||||
// FIXME: remove this hack after introducing localization support to
|
||||
// conform to desktop file spec again
|
||||
(c == '[') || (c == ']')
|
||||
))
|
||||
throw ParseError("Key contains invalid character " + std::string{c});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user