pika-first-setup/makepot

9 lines
224 B
Plaintext
Raw Permalink Normal View History

#! /bin/bash
set -e
for i in po/*.po
do
2024-02-18 13:26:36 +01:00
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