Start repository

This commit is contained in:
tips-of-mine
2025-05-31 10:03:48 +02:00
commit 194322c9fc
57 changed files with 14723 additions and 0 deletions

18
tools/update_po.sh Normal file
View File

@ -0,0 +1,18 @@
#!/bin/bash
# Update PO files from POT template for GLPI CVE Plugin
# Define variables
POTFILE=plugin_cve.pot
BASEDIR=../locales
# For each PO file
for pofile in ${BASEDIR}/*.po; do
# Get language code
lang=$(basename "$pofile" .po)
echo "Updating $lang..."
# Update PO file from template
msgmerge --update --no-fuzzy-matching --backup=off ${pofile} ${BASEDIR}/${POTFILE}
done
echo "PO files update completed"