Skip to content

Commit

Permalink
linguas newline
Browse files Browse the repository at this point in the history
  • Loading branch information
ook37 committed Aug 18, 2024
1 parent efba4da commit bf10b08
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,5 @@ SHELL := /usr/bin/env bash
all: install

install:
read -r -a linguas < po/LINGUAS && for i in "$${linguas[@]}"; do mkdir -p $(DESTDIR)/usr/share/locale/"$${i}"/LC_MESSAGES/ && msgfmt -o $(DESTDIR)/usr/share/locale/"$${i}"/LC_MESSAGES/rhino-pkg.mo po/"$${i}".po; done
mapfile -t linguas <po/LINGUAS && for i in "$${linguas[@]}"; do mkdir -p $(DESTDIR)/usr/share/locale/"$${i}"/LC_MESSAGES/ && msgfmt -o $(DESTDIR)/usr/share/locale/"$${i}"/LC_MESSAGES/rhino-pkg.mo po/"$${i}".po; done
install -Dm755 rhino-pkg -t $(DESTDIR)/usr/bin/
21 changes: 20 additions & 1 deletion po/LINGUAS
Original file line number Diff line number Diff line change
@@ -1 +1,20 @@
ar bn de enm es fr hi id ie it ka ko nl pt_BR ro ru sv uk ur zh_CN
ar
bn
de
enm
es
fr
hi
id
ie
it
ka
ko
nl
pt_BR
ro
ru
sv
uk
ur
zh_CN

0 comments on commit bf10b08

Please sign in to comment.