Debian Codegraph @

po/fetch-po

raw
1 #! /bin/sh
2 # Script for fetching the PO files, produced by translators, from a
3 # translations project's site on the internet, to the current directory.
4 #
5 # Copyright (C) 2025 Free Software Foundation, Inc.
6 # This file is free software; the Free Software Foundation gives
7 # unlimited permission to use, copy, distribute, and modify it.
8
9 # Usage: ./fetch-po
10 #
11 # This script is invoked from two locations:
12 # 1. From the script that fetches auxiliary files that are omitted from
13 # the version control repository of this package, typically called
14 # 'autopull.sh' or 'bootstrap --pull' or similar.
15 # 2. From the Makefile in the po/ directory, target 'fetch-po'.
16
17 # There are two ways to implement this script:
18 #
19 # In packages whose translators commit their PO files directly into
20 # the version control of the package, or where a translations project's
21 # daemon does this automatically on behalf of the translators, this
22 # script does not do anything.
23 echo "fetch-po: Nothing to do."
24 #
25 # In packages where the translations are collected by a translation project,
26 # use a 'po-fetch' invocation.
27 # See 'po-fetch --help' for the possible arguments.
28 # If you want the fetched PO files to be added into the version control of
29 # the package, use the option '--git'; otherwise, don't use this option.
30 #po-fetch ...