dot/.local/share/gnome-shell/extensions/cpupower@mko-sl.de/scripts/update-translations.sh

11 lines
204 B
Bash
Executable File

#!/bin/bash
set -e
for po in locale/*.po
do
lang="${po%.po}"
mkdir -p "${lang/_??/}/LC_MESSAGES"
"${MSGFMT}" --output "${lang/_??/}/LC_MESSAGES/gnome-shell-extension-cpupower.mo" "$po"
done