Mercurial > vim
view pixmaps/gen-inline-pixbufs.sh @ 32509:ec4e725ab8cd v9.0.1586
patch 9.0.1586: error for using two messages with ngettext() differing in "%"
Commit: https://github.com/vim/vim/commit/78ee62563ea940086f094150f0356e38f780c580
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun May 28 18:39:55 2023 +0100
patch 9.0.1586: error for using two messages with ngettext() differing in "%"
Problem: Checking translations gives an error for using two messages with
ngettext() that differ in "%" items.
Solution: Adjust the check script to tolerate omitting one "%" item.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 28 May 2023 19:45:04 +0200 |
parents | d4faa2c5211b |
children |
line wrap: on
line source
#! /bin/sh prefix=stock_ list= for file in "$@"; do name=$(echo "$file" | sed 's|-|_|g; s|^.*/||; s|\..*$||') list="$list $prefix$name $file" done gdk-pixbuf-csource --raw --static --build-list $list