mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
* src/scm/path.scm (gnc:locale-prefixes): () -> '().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5642 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
parent
013a2f69df
commit
f6ae2a7f0f
@ -17,8 +17,8 @@
|
||||
|
||||
(define (gnc:locale-prefixes)
|
||||
(let* ((locale (setlocale LC_MESSAGES))
|
||||
(strings (cond ((not (string? locale)) ())
|
||||
((equal? locale "C") ())
|
||||
(strings (cond ((not (string? locale)) '())
|
||||
((equal? locale "C") '())
|
||||
((<= (string-length locale) 2) (list locale))
|
||||
(else (list (substring locale 0 2) locale)))))
|
||||
(reverse (cons "C" strings))))
|
||||
|
Loading…
Reference in New Issue
Block a user