[pacman-dev] [PATCH] Update POTFILES.in for libalpm and pacman

Dan McGee dpmcgee at gmail.com
Fri Mar 15 10:29:53 EDT 2013


On Fri, Mar 15, 2013 at 7:36 AM, Allan McRae <allan at archlinux.org> wrote:
> Be complete with files listed. Comment out files where code is used
> or heavily based on other projects so will never have translatable
> strings.
>
> Signed-off-by: Allan McRae <allan at archlinux.org>
> ---
Looks good to me.

>
> BAH!  The change of importance here is the addition of src/pacman/check.c
> which has a few strings in it...  Sorry translators, I will be uploading
> po file with these strings tomorrow.
>
>  lib/libalpm/po/POTFILES.in | 5 +++++
>  src/pacman/po/POTFILES.in  | 4 ++++
>  2 files changed, 9 insertions(+)
>
> diff --git a/lib/libalpm/po/POTFILES.in b/lib/libalpm/po/POTFILES.in
> index 49e9da1..7f4c297 100644
> --- a/lib/libalpm/po/POTFILES.in
> +++ b/lib/libalpm/po/POTFILES.in
> @@ -6,6 +6,7 @@ lib/libalpm/add.c
>  lib/libalpm/alpm.c
>  #lib/libalpm/alpm_list.c
>  lib/libalpm/backup.c
> +#lib/libaplm/base64.c
>  lib/libalpm/be_local.c
>  lib/libalpm/be_package.c
>  lib/libalpm/be_sync.c
> @@ -16,6 +17,7 @@ lib/libalpm/deps.c
>  lib/libalpm/diskspace.c
>  lib/libalpm/dload.c
>  lib/libalpm/error.c
> +lib/libalpm/graph.c
>  lib/libalpm/group.c
>  lib/libalpm/handle.c
>  lib/libalpm/log.c
> @@ -23,6 +25,9 @@ lib/libalpm/log.c
>  lib/libalpm/package.c
>  lib/libalpm/pkghash.c
>  lib/libalpm/remove.c
> +#lib/libalpm/sha2.c
>  lib/libalpm/sync.c
>  lib/libalpm/trans.c
>  lib/libalpm/util.c
> +#lib/libalpm/util-common.c
> +#lib/libalpm/version.c
> diff --git a/src/pacman/po/POTFILES.in b/src/pacman/po/POTFILES.in
> index 37abd6c..4c3b358 100644
> --- a/src/pacman/po/POTFILES.in
> +++ b/src/pacman/po/POTFILES.in
> @@ -1,7 +1,10 @@
>  # List of source files with translatable strings
> +# If a file is commented out, it is because it shouldn't have any
> +# translatable strings
>
>  # pacman frontend source files
>  src/pacman/callback.c
> +src/pacman/check.c
>  src/pacman/conf.c
>  src/pacman/database.c
>  src/pacman/deptest.c
> @@ -12,3 +15,4 @@ src/pacman/remove.c
>  src/pacman/sync.c
>  src/pacman/upgrade.c
>  src/pacman/util.c
> +#src/pacman/util-common.c
> --
> 1.8.2


More information about the pacman-dev mailing list