pika-welcome/makepot
Ward from fusion-voyager-3 1222b00218 Setup Project
2024-02-24 00:28:26 +03:00

9 lines
215 B
Bash
Executable File

#! /bin/bash
set -e
for i in po/*.po
do
mkdir -p "$1"/"$(echo $i | cut -d"/" -f2 | cut -d"." -f1)"/LC_MESSAGES
msgfmt -v $i -o "$1"/"$(echo $i | cut -d"/" -f2 | cut -d"." -f1)"/LC_MESSAGES/pika-welcome.mo
done