Skip to content

Commit bf10b08

Browse files
author
ook37
committed
linguas newline
1 parent efba4da commit bf10b08

File tree

2 files changed

+21
-2
lines changed

2 files changed

+21
-2
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ SHELL := /usr/bin/env bash
33
all: install
44

55
install:
6-
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
6+
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
77
install -Dm755 rhino-pkg -t $(DESTDIR)/usr/bin/

po/LINGUAS

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,20 @@
1-
ar bn de enm es fr hi id ie it ka ko nl pt_BR ro ru sv uk ur zh_CN
1+
ar
2+
bn
3+
de
4+
enm
5+
es
6+
fr
7+
hi
8+
id
9+
ie
10+
it
11+
ka
12+
ko
13+
nl
14+
pt_BR
15+
ro
16+
ru
17+
sv
18+
uk
19+
ur
20+
zh_CN

0 commit comments

Comments
 (0)