diff options
author | Holger Wansing <hwansing@mailbox.org> | 2020-04-05 19:05:56 +0200 |
---|---|---|
committer | Holger Wansing <hwansing@mailbox.org> | 2020-04-05 19:05:56 +0200 |
commit | 16f237ebc54a06e615670ca0d9ed0438d8572d76 (patch) | |
tree | d851b244b60db7cf9202048c82222f1803cccea8 | |
parent | 3a50ed68fee2e7d433dad908ef77b4f7902f00a4 (diff) | |
download | installation-guide-16f237ebc54a06e615670ca0d9ed0438d8572d76.zip |
Add a script for updating all po and pot files after changings in English
-rw-r--r-- | doc/translations_po.txt | 2 | ||||
-rwxr-xr-x | scripts/refresh-all-po-pot-files.sh | 30 |
2 files changed, 32 insertions, 0 deletions
diff --git a/doc/translations_po.txt b/doc/translations_po.txt index 25a8e4a0e..4c75c5b87 100644 --- a/doc/translations_po.txt +++ b/doc/translations_po.txt @@ -66,6 +66,8 @@ NOTE Doing this manually may result in git conflicts when you next 'git pull' with the repository. The preferred method is to just wait until your PO files are updated for you. +Hint: For refreshing all po and pot files in one rush, one can use the +./scripts/refresh-all-po-pot-files.sh script. Building the manual yourself diff --git a/scripts/refresh-all-po-pot-files.sh b/scripts/refresh-all-po-pot-files.sh new file mode 100755 index 000000000..0cd789378 --- /dev/null +++ b/scripts/refresh-all-po-pot-files.sh @@ -0,0 +1,30 @@ +#!/bin/sh +# Refresh all po|pot files from English + +cd .. +./scripts/merge_xml en +./scripts/update_pot +./scripts/update_po ca +./scripts/update_po cs +./scripts/update_po da +./scripts/update_po de +./scripts/update_po el +./scripts/update_po es +./scripts/update_po fi +./scripts/update_po fr +./scripts/update_po hu +./scripts/update_po it +./scripts/update_po ja +./scripts/update_po ko +./scripts/update_po nb +./scripts/update_po nl +./scripts/update_po nn +./scripts/update_po pt +./scripts/update_po ro +./scripts/update_po ru +./scripts/update_po sv +./scripts/update_po tl +./scripts/update_po uk +./scripts/update_po vi +./scripts/update_po zh_CN +./scripts/update_po zh_TW |