diff options
| author | Mark Oteiza | 2017-09-09 23:12:47 -0400 |
|---|---|---|
| committer | Mark Oteiza | 2017-09-09 23:14:07 -0400 |
| commit | e716538911227e1bedb48978b8025106abce3734 (patch) | |
| tree | 36562fd1fdc41b0f0957d14a429ccabe09569287 /test/data | |
| parent | 3ef0c1648488c18f71b266bea2f3bfa8dbc68c98 (diff) | |
| download | emacs-e716538911227e1bedb48978b8025106abce3734.tar.gz emacs-e716538911227e1bedb48978b8025106abce3734.zip | |
Avoid looking at localized strings
* lisp/xdg.el (xdg-desktop-read-group): Add condition to catch
localized strings.
* test/lisp/xdg-tests.el (xdg-desktop-parsing): Add test to ensure
parsing l10n strings doesn't error but is essentially a no-op.
Diffstat (limited to 'test/data')
| -rw-r--r-- | test/data/xdg/l10n.desktop | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/data/xdg/l10n.desktop b/test/data/xdg/l10n.desktop new file mode 100644 index 00000000000..42da83910da --- /dev/null +++ b/test/data/xdg/l10n.desktop | |||
| @@ -0,0 +1,5 @@ | |||
| 1 | # localized strings | ||
| 2 | [Desktop Entry] | ||
| 3 | Comment=Cheers | ||
| 4 | Comment[en_US@piglatin]=Eerschay | ||
| 5 | Comment[sv]=Skål | ||