pika-first-setup/makepot
Ward from fusion-voyager-3 f2f54fef4a Fix makepot in dpkg
2024-02-18 15:26:36 +03:00

9 lines
224 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-first-setup-gtk4.mo
done