Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
GNOME
gtk
Commits
2fe5a448
Commit
2fe5a448
authored
Nov 21, 2000
by
Robert Brady
Browse files
Prepare for tarball-of-po-files.
parent
ac22e4f8
Changes
2
Hide whitespace changes
Inline
Side-by-side
po/ChangeLog
View file @
2fe5a448
2000-11-21 Robert Brady <robert@suse.co.uk>
* update.pl: Allow a parameter to specify the name of the .pot
file to generate. (for stats).
2000-11-12 Robert Brady <robert@suse.co.uk>
* *.po: Convert them all to UTF-8. Rename Chinese .po's so
...
...
po/update.pl
View file @
2fe5a448
...
...
@@ -44,13 +44,19 @@ if ($LANG=~/^-(.)*/){
elsif
(
$LANG
eq
"
--pot
"
||
"
$LANG
"
eq
"
-P
"){
print
"
Building the
$PACKAGE
.pot ...
";
shift
;
$REALPACKAGE
=
shift
;
if
(
!
$REALPACKAGE
)
{
$REALPACKAGE
=
$PACKAGE
;
}
print
"
Building the
$REALPACKAGE
.pot ...
";
$b
=
"
xgettext --default-domain
\
=
$PACKAGE
--directory
\
=
\
.
\
.
"
.
"
--add-comments --keyword
\
=
\
_ --keyword
\
=N
\
_
"
.
"
--files-from
\
=
\
.
\
/POTFILES
\
.in
";
$b1
=
"
test
\
! -f
$PACKAGE
\
.po
\
|
\
|
\
( rm -f
\
.
\
/
$PACKAGE
\
.pot
"
.
"
&& mv
$PACKAGE
\
.po
\
.
\
/
$PACKAGE
\
.pot
\
)
";
.
"
&& mv
$PACKAGE
\
.po
\
.
\
/
$
REAL
PACKAGE
\
.pot
\
)
";
`
$b
`;
`
$b1
`;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment