mirror of
git://sourceware.org/git/glibc.git
synced 2025-03-07 13:28:05 +08:00
Regenerate libc.pot.
Enhance scripts/list-sources.sh to search glibc-ports for translatable strings. (backported from trunk)
This commit is contained in:
parent
91fdff8d85
commit
e0ca0a0f76
@ -1,3 +1,8 @@
|
|||||||
|
2012-06-24 Carlos O'Donell <carlos@systemhalted.org>
|
||||||
|
|
||||||
|
* scripts/list-sources.sh: Scan PORTS for translations.
|
||||||
|
* po/libc.pot: Regenerated.
|
||||||
|
|
||||||
2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
|
2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
|
||||||
|
|
||||||
* po/Makefile (libc.pot): Use UTF-8 charset.
|
* po/Makefile (libc.pot): Use UTF-8 charset.
|
||||||
|
1059
po/libc.pot
1059
po/libc.pot
File diff suppressed because it is too large
Load Diff
@ -11,8 +11,21 @@ esac
|
|||||||
|
|
||||||
if [ -r .git/HEAD ]; then
|
if [ -r .git/HEAD ]; then
|
||||||
|
|
||||||
exec ${GIT:-git} ls-files
|
# List files for glibc core.
|
||||||
|
${GIT:-git} ls-files
|
||||||
|
# List files for glibc ports.
|
||||||
|
ports="ports"
|
||||||
|
if [ -d "$PWD/$ports" ]; then
|
||||||
|
cd "$PWD/$ports"
|
||||||
|
${GIT:-git} ls-files | sed -e "s,^,$ports/,g"
|
||||||
|
else
|
||||||
|
# We expect the glibc-ports directory to be symlinked as PORTS.
|
||||||
|
# The glibc release manager will run this script as part of libc.pot
|
||||||
|
# regeneration and should ensure the symlink to PORTS is setup.
|
||||||
|
echo >&2 "WARNING: No \"$ports\" directory found. Expected glibc-ports"\
|
||||||
|
"source directory to be symlinked as \"$ports\" directory."
|
||||||
|
fi
|
||||||
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo >&2 'Cannot list sources without some version control system in use.'
|
echo >&2 'Cannot list sources without some version control system in use.'
|
||||||
|
Loading…
Reference in New Issue
Block a user