Files
Stirling-PDF/scripts/replace_translation_line.sh
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

11 lines
252 B
Bash
Raw Normal View History

2024-09-15 10:01:33 -07:00
#!/bin/bash
translation_key="pdfToPDFA.credit"
old_value="qpdf"
new_value="liibreoffice"
2024-09-15 10:01:33 -07:00
for file in ../app/core/src/main/resources/messages_*.properties; do
2024-09-15 10:01:33 -07:00
sed -i "/^$translation_key=/s/$old_value/$new_value/" "$file"
echo "Updated $file"
done