pika-installer-gtk4/makepot

9 lines
224 B
Plaintext
Raw Normal View History

2024-02-18 18:28:14 +01:00
#! /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