Skip to content

Commit

Permalink
Add translations to core package
Browse files Browse the repository at this point in the history
  • Loading branch information
clefebvre committed Feb 26, 2020
1 parent 7ab8ed6 commit 20be77a
Show file tree
Hide file tree
Showing 113 changed files with 87,816 additions and 5 deletions.
13 changes: 13 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
all: buildmo

buildmo:
@echo "Building the mo files"
# WARNING: the second sed below will only works correctly with the languages that don't contain "-"
for file in `ls po/*.po`; do \
lang=`echo $$file | sed 's@po/@@' | sed 's/\.po//' | sed 's/live-installer-//'`; \
install -d usr/share/locale/$$lang/LC_MESSAGES/; \
msgfmt -o usr/share/locale/$$lang/LC_MESSAGES/live-installer.mo $$file; \
done \

clean:
rm -rf usr/share/locale
Loading

0 comments on commit 20be77a

Please sign in to comment.