mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
[c-interface] deprecate gnc:make-string-database
This commit is contained in:
@@ -78,6 +78,8 @@
|
|||||||
;; translated with gettext.
|
;; translated with gettext.
|
||||||
(define (gnc:make-string-database)
|
(define (gnc:make-string-database)
|
||||||
(define string-hash (make-hash-table))
|
(define string-hash (make-hash-table))
|
||||||
|
(issue-deprecation-warning "gnc:make-string-database is deprecate. record \
|
||||||
|
translatable strings with N_ and G_.")
|
||||||
(lambda args
|
(lambda args
|
||||||
(match args
|
(match args
|
||||||
(('lookup key) (G_ (hash-ref string-hash key)))
|
(('lookup key) (G_ (hash-ref string-hash key)))
|
||||||
|
|||||||
Reference in New Issue
Block a user