]> git.ipfire.org Git - thirdparty/gettext.git/commit
xgettext: Ruby: Make the --omit-header option work.
authorBruno Haible <bruno@clisp.org>
Wed, 11 Sep 2024 12:09:24 +0000 (14:09 +0200)
committerBruno Haible <bruno@clisp.org>
Wed, 11 Sep 2024 12:09:24 +0000 (14:09 +0200)
commit0d8116e3e87cf105e73a5557be156a1fb29b23fc
tree5725dd089f20634dffcd2c6043e003a9688db51a
parentcef65d39eb422917ddbd51174c577c741f0c5fd3
xgettext: Ruby: Make the --omit-header option work.

* gettext-tools/src/x-ruby.c (is_not_header): New function.
(extract_ruby): If --omit-header is specified, remove the header entry at the
end.
gettext-tools/src/x-ruby.c