Skip to content

Commit

Permalink
Include recognised installed locales in status
Browse files Browse the repository at this point in the history
  • Loading branch information
wardle committed Oct 23, 2022
1 parent f2910be commit be3ee05
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/com/eldrix/hermes/core.clj
Original file line number Diff line number Diff line change
Expand Up @@ -760,6 +760,7 @@
(log/info "Status information for database at '" root "'...")
(merge
{:installed-releases (map :term (store/get-release-information st))}
{:installed-locales (->> (lang/installed-language-reference-sets st) keys (map #(.toLanguageTag ^Locale %)))}
(when installed-refsets? {:installed-refsets (->> (store/get-installed-reference-sets st)
(map #(store/get-fully-specified-name st %))
(sort-by :term)
Expand Down

0 comments on commit be3ee05

Please sign in to comment.