forked from pool/gettext-runtime
This commit is contained in:
parent
14a11c6abd
commit
4e2a0ac722
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 12:52:23 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- Remove rather than %exclude not packaged files
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 13:11:43 CEST 2008 - kukuk@suse.de
|
||||
|
||||
|
@ -26,7 +26,7 @@ License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 96
|
||||
Release: 97
|
||||
Summary: Native Language Support (NLS) for C#
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -122,6 +122,15 @@ rm -rf $RPM_BUILD_ROOT/%{_datadir}/*
|
||||
mkdir -p $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
|
||||
mv examples $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
|
||||
mv csharpdoc $RPM_BUILD_ROOT/%{_defaultdocdir}/%{name}
|
||||
# exclude files packaged via other spec files
|
||||
rm -Rf $RPM_BUILD_ROOT/%_bindir
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/lib*
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/hostname
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/project-id
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/urlget
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/user-email
|
||||
rm -Rf $RPM_BUILD_ROOT/%_includedir
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/preloadable_libintl.so
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -129,91 +138,8 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%doc %{_defaultdocdir}/%{name}
|
||||
%exclude %_bindir
|
||||
%exclude %_libdir/lib*
|
||||
%exclude %_libdir/gettext/hostname
|
||||
%exclude %_libdir/gettext/project-id
|
||||
%exclude %_libdir/gettext/urlget
|
||||
%exclude %_libdir/gettext/user-email
|
||||
%exclude %_includedir
|
||||
%exclude %_libdir/preloadable_libintl.so
|
||||
%_libdir/GNU.Gettext.dll
|
||||
%_libdir/gettext/msgfmt.net.exe
|
||||
%_libdir/gettext/msgunfmt.net.exe
|
||||
|
||||
%changelog
|
||||
* Tue Oct 14 2008 kukuk@suse.de
|
||||
- Never install files in %%check section
|
||||
- Disable autoconf/libtool tests
|
||||
* Mon Oct 13 2008 kukuk@suse.de
|
||||
- Fix autoreconf call
|
||||
* Sun May 18 2008 pth@suse.de
|
||||
- Fix segmentation fault in msgmerge (bnc#391372).
|
||||
* Tue Dec 04 2007 pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 pth@suse.de
|
||||
- Remove the patch for disabling a test.
|
||||
* Fri Nov 16 2007 pth@suse.de
|
||||
- Don't run the testsuite.
|
||||
* Thu Nov 15 2007 pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Wed Oct 31 2007 mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Fri Aug 10 2007 bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 bk@suse.de
|
||||
- re-enable make check
|
||||
* Tue Jul 10 2007 pth@suse.de
|
||||
- Split .NET/Mono support into a package with its own spec
|
||||
to avoid making the base gettext package dependent on mono(-devel).
|
||||
|
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jul 27 12:52:06 CEST 2009 - rguenther@suse.de
|
||||
|
||||
- Remove rather than %exclude not packaged files.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Oct 14 13:14:11 CEST 2008 - kukuk@suse.de
|
||||
|
||||
|
@ -25,7 +25,7 @@ License: LGPL v2.1 or later
|
||||
Group: Development/Tools/Other
|
||||
AutoReqProv: on
|
||||
Version: 0.17
|
||||
Release: 108
|
||||
Release: 109
|
||||
Summary: Java Support for Native Language Support (NLS)
|
||||
PreReq: %{install_info_prereq}
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
@ -129,6 +129,13 @@ diff %{SOURCE3} . || {
|
||||
END
|
||||
}
|
||||
ls -l $RPM_BUILD_ROOT/%_datadir
|
||||
# exclude files packaged via other spec files
|
||||
rm -rf $RPM_BUILD_ROOT/%_prefix/bin
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/lib*
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/hostname
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/project-id
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/urlget
|
||||
rm -f $RPM_BUILD_ROOT/%_libdir/gettext/user-email
|
||||
|
||||
%clean
|
||||
rm -rf $RPM_BUILD_ROOT
|
||||
@ -136,108 +143,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root)
|
||||
%{_defaultdocdir}/%{name}
|
||||
%exclude %_prefix/bin
|
||||
%exclude %_libdir/lib*
|
||||
%exclude %_libdir/gettext/hostname
|
||||
%exclude %_libdir/gettext/project-id
|
||||
%exclude %_libdir/gettext/urlget
|
||||
%exclude %_libdir/gettext/user-email
|
||||
%_libdir/gettext/gnu.gettext.DumpResource
|
||||
%_libdir/gettext/gnu.gettext.GetURL
|
||||
|
||||
%changelog
|
||||
* Tue Oct 14 2008 kukuk@suse.de
|
||||
- Never install files in %%check section
|
||||
- Disable autoconf/libtool tests
|
||||
* Mon Oct 13 2008 kukuk@suse.de
|
||||
- Fix autoreconf call
|
||||
* Sun May 18 2008 pth@suse.de
|
||||
- Fix segmentation fault in msgmerge (bnc#391372).
|
||||
* Tue Dec 04 2007 pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 pth@suse.de
|
||||
- Remove the patch for disabling a test.
|
||||
* Fri Nov 16 2007 pth@suse.de
|
||||
- Don't run the testsuite.
|
||||
* Thu Nov 15 2007 pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Reorder installation flow because libgettextlib is needed for the
|
||||
gettext-tools stuf.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Wed Oct 31 2007 mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Mon Sep 03 2007 pth@suse.de
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
* Fri Aug 10 2007 bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 bk@suse.de
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java documentation from gettext to this package
|
||||
- hardlink duplicate example files in documentation
|
||||
* Fri Apr 20 2007 pth@suse.de
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
* Fri Mar 30 2007 pth@suse.de
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- Sync .spec files
|
||||
* Tue Mar 20 2007 rguenther@suse.de
|
||||
- Remove unused expat BuildRequires.
|
||||
* Wed Jan 31 2007 pth@suse.de
|
||||
- Reference 0.16 .spec file
|
||||
- fix spec file
|
||||
* Tue Jan 16 2007 pth@suse.de
|
||||
- Update to gettext 0.16
|
||||
* Mon Sep 18 2006 rguenther@suse.de
|
||||
- New package to host gettext java tools GetURL and DumpResource.
|
||||
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Jul 23 16:23:44 CEST 2009 - ke@suse.de
|
||||
|
||||
- Synch po-mode.el with version from gettext CVS; for details, see the
|
||||
beginning of po-mode-cvs-2009-07-23.patch.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Feb 7 18:32:57 CET 2009 - schwab@suse.de
|
||||
|
||||
|
@ -21,12 +21,12 @@
|
||||
Name: gettext-runtime
|
||||
%define pacname gettext
|
||||
Version: 0.17
|
||||
Release: 63
|
||||
Release: 64
|
||||
BuildRequires: gcc-c++ perl-libintl-perl tcl
|
||||
# To get an updated linkdupes.sh (in case there are new dupes), temproarily enable:
|
||||
#BuildRequires: fdupes
|
||||
Url: http://www.gnu.org/software/gettext/
|
||||
License: GPL v3 or later; LGPL v2.0 or later
|
||||
License: GPL v3 or later ; LGPL v2.0 or later
|
||||
Group: Development/Tools/Other
|
||||
# bug437293
|
||||
%ifarch ppc64
|
||||
@ -55,6 +55,7 @@ Patch9: gettext-needlessly_init_vars.patch
|
||||
Patch10: gettext-open_missing_mode.patch
|
||||
Patch11: gettext-typo_to_segfault.patch
|
||||
Patch12: gettext-0.17-no-autoconf-tests.diff
|
||||
Patch13: po-mode-cvs-2009-07-23.patch
|
||||
|
||||
%description
|
||||
This package contains the intl library as well as tools that ease the
|
||||
@ -114,6 +115,7 @@ Authors:
|
||||
%patch10
|
||||
%patch11
|
||||
%patch12
|
||||
%patch13 -p1
|
||||
pushd gettext-tools/misc
|
||||
tar xfz archive.tar.gz
|
||||
find . -name gettext.m4,v -print0 | xargs -0 perl -spi -e 's/\(int\) /\(long\) /g'
|
||||
@ -273,396 +275,3 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%_datadir/aclocal/*
|
||||
|
||||
%changelog
|
||||
* Sat Feb 07 2009 schwab@suse.de
|
||||
- Rebuild broken info file.
|
||||
* Tue Jan 13 2009 olh@suse.de
|
||||
- obsolete old -XXbit packages (bnc#437293)
|
||||
* Tue Oct 14 2008 kukuk@suse.de
|
||||
- Never install files in %%check section
|
||||
- Disable autoconf/libtool tests
|
||||
* Mon Oct 13 2008 kukuk@suse.de
|
||||
- Fix autoreconf call
|
||||
* Sun May 18 2008 pth@suse.de
|
||||
- Fix segmentation fault in msgmerge (bnc#391372).
|
||||
- Get rid of %%run_ldconfig
|
||||
* Wed May 07 2008 coolo@suse.de
|
||||
- provide gettext-<arch> too
|
||||
* Tue Apr 29 2008 cthiel@suse.de
|
||||
- obsolete gettext-<arch> via baselibs.conf
|
||||
* Thu Apr 10 2008 ro@suse.de
|
||||
- added baselibs.conf file to build xxbit packages
|
||||
for multilib support
|
||||
* Tue Jan 22 2008 pth@suse.de
|
||||
- Define version before using it.
|
||||
- Fix Provides and Obsoletes for gettext-tools
|
||||
* Tue Jan 15 2008 pth@suse.de
|
||||
- Update rpmlintrc.
|
||||
* Tue Dec 04 2007 pth@suse.de
|
||||
- Add patch from upstreams to add the missing mode for the open call.
|
||||
* Fri Nov 23 2007 pth@suse.de
|
||||
- Reenable msgmerge-compendium-5 now that gcc has been fixed.
|
||||
- Change Provides/Obsoletes to match guidelines
|
||||
- Add Comment as to when the rename happened.
|
||||
* Thu Nov 15 2007 pth@suse.de
|
||||
- Rename packages: gettext -> gettext-runtime and
|
||||
gettext-devel -> gettext->tools
|
||||
Packaging closely follows uptream recommendation with a few
|
||||
exceptions.
|
||||
- Initialize variable to shut up gcc.
|
||||
- Disable msgmerge-compendium-5 for now.
|
||||
- Update to 0.17:
|
||||
* License:
|
||||
The gettext related programs and tools are now licensed under the GPL
|
||||
version 3, instead of the GPL version 2.
|
||||
* PO file format:
|
||||
The Project-Id-Version field in the header entry may now already be filled
|
||||
in the POT file. In this case, the translators don't need to fill it in.
|
||||
xgettext has new options --package-name and --package-version that allow
|
||||
to specify the package name and version from a Makefile.
|
||||
* Colorized PO files:
|
||||
The msgcat program has new options --color and --style that produce a
|
||||
colorized PO file output, where keywords, strings, comments, or format
|
||||
directives can be highlighted. See the documentation section
|
||||
"Highlighting parts of PO files" for more info.
|
||||
* gettextize now has a --po-dir option that allows several PO directories to
|
||||
be updated all together.
|
||||
* Programming languages support:
|
||||
- Contexts (msgctxt) are now also supported for Java and C#.
|
||||
- C# with Qt: The support for Qt format strings has been updated for Qt 4.
|
||||
- C++ with KDE:
|
||||
xgettext has a new option --kde that triggers the recognition and marking
|
||||
of KDE 4 format strings.
|
||||
* Autoconf macros:
|
||||
- A new macro AM_XGETTEXT_OPTION can be used as an alternative to modifying
|
||||
po/Makevars.
|
||||
* libgettextpo library:
|
||||
- New functions are available for querying the list of supported format
|
||||
types.
|
||||
- The functions po_message_comments and po_message_extracted_comments
|
||||
return a multiline string where each line no longer starts with a
|
||||
redundant space. The leading space in every comment line is now stripped
|
||||
while reading the PO file.
|
||||
- Conversely, when you pass a multiline string to the function
|
||||
po_message_set_comments or po_message_set_extracted_comments, you normally
|
||||
don't pass a space at the beginning of each line, because such spaces are
|
||||
no longer trimmed during output.
|
||||
* Documentation:
|
||||
- The "Users" chapter has been completely rewritten.
|
||||
- New section "Highlighting parts of PO files".
|
||||
- A complete example showing the use of GNU gettext in Java with the Qt/Jambi
|
||||
GUI toolkit has been added.
|
||||
- Add tcl and perl-libintl-perl to BuildRequires (testsuite needs
|
||||
them).
|
||||
- Remove call to gl_AC_TYPE_LONG_LONG from libasprintf's
|
||||
configure.ac
|
||||
* Mon Nov 05 2007 rguenther@suse.de
|
||||
- Fix ordering of gettext.changes entries.
|
||||
* Wed Oct 31 2007 mrueckert@suse.de
|
||||
- renamed rpmlintrc to gettext-rpmlintrc and added it to the spec
|
||||
as source 1
|
||||
* Mon Sep 03 2007 pth@suse.de
|
||||
- Incorporate upstream patch that correctly fixes the expat
|
||||
dynloading code (http://savannah.gnu.org/bugs/?19585).
|
||||
* Wed Aug 15 2007 coolo@suse.de
|
||||
- do not set the version to 0.16.1
|
||||
* Fri Aug 10 2007 bk@suse.de
|
||||
- Update to gettext 0.16.1, required by GnuPG 2.0.5
|
||||
* Thu Aug 09 2007 bk@suse.de
|
||||
- apply the fixes from gettext-0.16.1, noticeable changes:
|
||||
* gettext.m4: changequote instead of pairs of brackets
|
||||
* add a few function protoypes and update polish translations
|
||||
- extract missing ycp comments (fix from upstream maintainer, #287150)
|
||||
- re-enable make check to identify possible toolchain bugs
|
||||
- move java and csharp documentation to gettext-{java,csharp}
|
||||
- hardlink duplicate example files in documentation
|
||||
* Fri May 25 2007 ro@suse.de
|
||||
- added rpmlintrc for gettext-devel (examples executable)
|
||||
* Fri Apr 20 2007 pth@suse.de
|
||||
- Make inclusion of expat.h independent of dynamic loading so
|
||||
that XML_MAJOR_VERSION is actually defined (#264110).
|
||||
* Fri Mar 30 2007 pth@suse.de
|
||||
- Fix use of uninitialized variables.
|
||||
- Set CXXFLAGS to get C++ code compiled with RPM_BUILD_OPTS
|
||||
- sync .spec files
|
||||
* Thu Mar 29 2007 rguenther@suse.de
|
||||
- Add site-lisp directories to package.
|
||||
* Tue Mar 20 2007 rguenther@suse.de
|
||||
- Remove unused expat BuildRequires.
|
||||
* Wed Mar 07 2007 rguenther@suse.de
|
||||
- Add cvs Requires to gettext-devel as autopoint requires it.
|
||||
* Tue Jan 16 2007 pth@suse.de
|
||||
- Update to gettext 0.16
|
||||
* Interoperability with automake-1.10.
|
||||
* msgmerge has a new option --previous that has the effect of saving the
|
||||
previous msgid of message when making them fuzzy.
|
||||
* msgcmp now ignores fuzzy and untranslated messages in the PO file.
|
||||
* gettextize, when invoked without --intl option, now installs only the .m4
|
||||
files that are needed.
|
||||
* gettextize no longer creates symbolic links by default; it makes file copies
|
||||
instead.
|
||||
* Autoconf macros:
|
||||
- The gettext autoconf macros now require autoconf 2.52 or newer.
|
||||
- New autoconf macro AM_GNU_GETTEXT_INTL_SUBDIR
|
||||
- A new autoconf macro AM_GNU_GETTEXT_NEED is added.
|
||||
* The libgettextpo library no longer exports symbols that could clash with
|
||||
symbols of the application that uses it.
|
||||
* Mon Sep 18 2006 rguenther@suse.de
|
||||
- Build java tools from a separate spec file gettext-java.
|
||||
- Remove gcc-java and gcc-objc build dependencies.
|
||||
* Tue Sep 05 2006 rguenther@suse.de
|
||||
- Remove build dependency on emacs.
|
||||
- Remove install dependency on libstdc++-devel for gettext-devel.
|
||||
* Wed Jul 26 2006 ke@suse.de
|
||||
- Version 0.15:
|
||||
* Enhance PO file format. Messages constrained to a certain context
|
||||
are possible. The syntax is:
|
||||
msgctxt "context"
|
||||
msgid "original"
|
||||
msgstr "translation"
|
||||
The xgettext program can be told through the --keyword flag which
|
||||
function/macro argument has the role of a context. It also supports
|
||||
the GNOME glib convention to specify the context and original string
|
||||
in the same string literal: "context|original".
|
||||
The (non-public) include file gettext.h defines macros pgettext, dpgettext
|
||||
etc. that take a context argument.
|
||||
For more information, see the node "Contexts" in the manual.
|
||||
* msgfmt's format string checking is now stricter in the presence of plural
|
||||
forms.
|
||||
* Enhancements to msggrep, xgettext, msgmerge (much faster now!).
|
||||
* New program recode-sr-latin, that converts Serbian text from
|
||||
the Cyrillic script to the Latin script.
|
||||
* Programming languages support:
|
||||
- C++ with Boost:
|
||||
- Python: xgettext now recognizes the source encoding from a
|
||||
"coding:" comment among the first two lines. The default encoding
|
||||
is now ASCII, no longer ISO-8859-1.
|
||||
* libgettextpo library: Incompatible change with the error handler
|
||||
type passed to functions.
|
||||
- Remove strict aliasing patch which seems to be obsolete because of
|
||||
code changes.
|
||||
- Require expat, but still no-op?
|
||||
* Wed Jan 25 2006 mls@suse.de
|
||||
- converted neededforbuild to BuildRequires
|
||||
* Tue Jan 03 2006 sbrabec@suse.cz
|
||||
- Fixed info installation scriptlets (#141183).
|
||||
- Use %%doc, where appropriate.
|
||||
- Moved autosprintf.info to devel subpackage.
|
||||
- Move emacs-lisp files to main package.
|
||||
- Fixed devel splitting and requirements.
|
||||
* Mon Sep 19 2005 mmj@suse.de
|
||||
- Update to 0.14.5
|
||||
- Fix strict aliasing issues
|
||||
* Sat Apr 16 2005 schwab@suse.de
|
||||
- Move libgettextsrc-*.so and libgettextlib-*.so to main package as needed
|
||||
by msgfmt.
|
||||
* Thu Apr 14 2005 kukuk@suse.de
|
||||
- Move msgfmt into main package for LSB support
|
||||
* Tue Apr 05 2005 mmj@suse.de
|
||||
- Fix documentation packaging
|
||||
* Mon Apr 04 2005 schwab@suse.de
|
||||
- Remove the stupid casts.
|
||||
* Mon Apr 04 2005 mmj@suse.de
|
||||
- Introduce incredibly gross hack to make sure (int) casts are
|
||||
changed to (long)
|
||||
- Update to gettext-0.14.3
|
||||
- Move many files to the -devel package, trying to conform with
|
||||
gettext authors recommendation of split runtime/tools [#66614]
|
||||
* Wed Feb 09 2005 mmj@suse.de
|
||||
- Revise the tmp file race patch:
|
||||
- Make umask not so strict [#50437]
|
||||
- Use mktemp in more places
|
||||
* Tue Jan 11 2005 schwab@suse.de
|
||||
- Fix placement of po-mode-line-entry in mode-line-format for CVS Emacs.
|
||||
* Thu Nov 25 2004 mmj@suse.de
|
||||
- add fixes for tmp file races [#47724]
|
||||
* Mon Oct 18 2004 ro@suse.de
|
||||
- locale-rename: no -> nb
|
||||
* Tue Apr 20 2004 mmj@suse.de
|
||||
- Add autoreconf -fi
|
||||
* Tue Mar 02 2004 mmj@suse.de
|
||||
- Update to 0.14.1 [#34491] including:
|
||||
- C#: xgettext now also supports C#.
|
||||
- Bugfixes
|
||||
* Sat Jan 10 2004 adrian@suse.de
|
||||
- add %%run_ldconfig
|
||||
* Fri Jan 09 2004 schwab@suse.de
|
||||
- Fix makefiles.
|
||||
* Fri Dec 19 2003 pthomas@suse.de
|
||||
- Update to 0.13
|
||||
- New languages support: shell, Perl, PHP ObjectiveC,
|
||||
the special format strings used in the gcc sources and
|
||||
C++ with Qt.
|
||||
- Complete examples for all supported programing languages
|
||||
added to the documentation.
|
||||
* Tue Dec 09 2003 kukuk@suse.de
|
||||
- Don't build PDF docu
|
||||
- Remove lots of obsolete packages from neededforbuild
|
||||
* Tue Jun 17 2003 pthomas@suse.de
|
||||
- Update to 0.12.1
|
||||
* Thu Apr 24 2003 ro@suse.de
|
||||
- fix install_info --delete call and move from preun to postun
|
||||
* Thu Feb 06 2003 kukuk@suse.de
|
||||
- Use install-info macros
|
||||
* Thu Aug 08 2002 pthomas@suse.de
|
||||
- Update to 0.11.5
|
||||
From NEWS: Bug fixes in the gettext.m4 autoconf macros.
|
||||
- Remove patches obsoleted by the update and adapt those
|
||||
still needed.
|
||||
* Fri Jul 26 2002 schwab@suse.de
|
||||
- Fix filelist.
|
||||
- Install missing m4 macros.
|
||||
- Remove interaction in gettextize.
|
||||
- Fix unwanted expansion in AM_PO_SUBDIRS.
|
||||
* Fri Jul 26 2002 pthomas@suse.de
|
||||
- Update to gettext 0.11.4
|
||||
- The tools now know about the ISO C 99 <inttypes.h> format
|
||||
string directive macros PRId64, PRIxMAX etc.
|
||||
- remove patches obsoleted by this new version
|
||||
* Wed Jul 24 2002 ke@suse.de
|
||||
- Remove texinfo.tex from source files and make use of texinfo.tex
|
||||
provided by the system.
|
||||
- Install gettext.pdf under $RPM_BUILD_ROOT.
|
||||
* Tue Jul 23 2002 schwab@suse.de
|
||||
- Update to gettext 0.11.3.
|
||||
- Force checking for division by zero.
|
||||
* Tue Jul 09 2002 schwab@suse.de
|
||||
- Fix autoload for po-mode.
|
||||
* Thu Jun 13 2002 meissner@suse.de
|
||||
- mark msgfmt-6 as SKIP, division by 0 is not exactly well defined.
|
||||
* Tue May 21 2002 ke@suse.de
|
||||
- suse-start-po-mode.el: Load po-compat if "po-find-file-coding-system"
|
||||
doesn't come with stock Emacs.
|
||||
* Thu Apr 25 2002 pthomas@suse.de
|
||||
- Update to 0.11.2.
|
||||
From NEWS:
|
||||
- Bug fixes in the gettext.m4 autoconf macros.
|
||||
- New documentation section: Preparing Translatable Strings.
|
||||
- xgettext now also supports Python, Tcl, Awk and Glade.
|
||||
- msgfmt can create (and msgunfmt can dump) Tcl message catalogs.
|
||||
- msggrep has a new option -C that allows to search for strings
|
||||
in translator comments.
|
||||
- Run gettext testsuite.
|
||||
* Wed Apr 03 2002 schwab@suse.de
|
||||
- Move suse-start-po-mode.el here from po-utils.
|
||||
- Remove ia64 workaround.
|
||||
* Thu Mar 28 2002 pthomas@suse.de
|
||||
- Use %%{_libdir}
|
||||
* Mon Feb 18 2002 pthomas@suse.de
|
||||
- Update %%files.
|
||||
* Mon Feb 04 2002 pthomas@suse.de
|
||||
- Update to 0.11
|
||||
This is a major update with lots of new features and new tools.
|
||||
- Integrate a patch from Bruno Haible to make libtool regard
|
||||
DESTDIR when installing.
|
||||
- Don't use the included libintl but rather the one in libc.
|
||||
- Build dynamically linked binaries.
|
||||
- Added the current texinfo.tex as otherwise gettext.pdf won't build.
|
||||
* Fri Feb 01 2002 ro@suse.de
|
||||
- changed neededforbuild <libpng> to <libpng-devel-packages>
|
||||
* Wed Oct 31 2001 kukuk@suse.de
|
||||
- Include manual pages
|
||||
* Tue Oct 30 2001 kukuk@suse.de
|
||||
- Update to 0.10.40
|
||||
* Mon Aug 27 2001 ke@suse.de
|
||||
- Update German translation from UMontreal Translation Project.
|
||||
- Make sure to compile and install 'po-mode'.
|
||||
* Fri May 11 2001 pthomas@suse.de
|
||||
- Update to 0.10.37.
|
||||
Remove manual.diff as most of the fixes have been incorporated.
|
||||
* Wed May 09 2001 cstein@suse.de
|
||||
- repacked sources with bzip2
|
||||
* Thu Apr 12 2001 pthomas@suse.de
|
||||
- Don't list directories shared with other packages in
|
||||
spec file.
|
||||
* Mon Apr 09 2001 pthomas@suse.de
|
||||
- Update to 0.10.36
|
||||
- Drop msghack patch
|
||||
- Improve gettext manual ( hopefully :)
|
||||
- Now provides po-mode.el
|
||||
* Thu Mar 08 2001 ke@suse.de
|
||||
- Use more rpm macros.
|
||||
- Build and install a printable manual (PDF).
|
||||
* Fri Mar 02 2001 schwab@suse.de
|
||||
- Compile with -O1 on ia64 to work around compiler bug.
|
||||
* Tue Sep 19 2000 pthomas@suse.de
|
||||
- add patch from Bruno Haible. This allows statically linking
|
||||
programs with libintl.a on glibc systems.
|
||||
* Tue Jun 20 2000 pthomas@suse.de
|
||||
- xgettext.c: format YCP automatically set for .ycp extension
|
||||
- gettext.spec: allow building on systems where gettext.m4 etc.
|
||||
are installed.
|
||||
* Thu Jun 15 2000 pthomas@suse.de
|
||||
- add patches from Paul Eggert needed for NLS in gcc
|
||||
- add patch from Martin v. Loewis to allow searching
|
||||
inside of #define
|
||||
* Fri May 05 2000 kukuk@suse.de
|
||||
- Fix Bug 2812
|
||||
- Add DESTDIR to intl/Makefile.in and po/Makefile.in.in
|
||||
- Use BuildRoot
|
||||
* Mon May 01 2000 ke@suse.de
|
||||
- Add msghack from RH's package: gettext-0.10.35-hacks.patch
|
||||
* Wed Apr 26 2000 kukuk@suse.de
|
||||
- Fix configure call (add %%{_target_cpu} macro)
|
||||
* Thu Apr 06 2000 bk@suse.de
|
||||
- replace config.{guess,sub} against config update macro for s390
|
||||
* Thu Feb 03 2000 schwab@suse.de
|
||||
- Update config.{guess,sub} to latest version.
|
||||
* Fri Jan 28 2000 schwab@suse.de
|
||||
- Do not even try to install po-mode.el.
|
||||
* Tue Jan 25 2000 kukuk@suse.de
|
||||
- Fix permissions of locale dirs.
|
||||
- Move /usr/info -> /usr/share/info.
|
||||
- Remove po-mode, now in extra package.
|
||||
* Mon Dec 13 1999 schwab@suse.de
|
||||
- Remove libintl.a from file list, everything is in libc.
|
||||
* Tue Nov 30 1999 schwab@suse.de
|
||||
- Add format checking for YCP strings.
|
||||
- Don't declare getline and getdelim.
|
||||
* Sat Nov 13 1999 kukuk@suse.de
|
||||
- Clean up spec file and old, obsolete patches
|
||||
* Fri Oct 15 1999 aj@suse.de
|
||||
- Handle \v.
|
||||
* Tue Oct 12 1999 kettner@suse.de
|
||||
- patched for use with YaST2 YCP scripts, new option
|
||||
--language=YCP
|
||||
* Sat Oct 09 1999 ro@suse.de
|
||||
- fixed to build on any arch
|
||||
* Mon Sep 13 1999 bs@suse.de
|
||||
- ran old prepare_spec on spec file to switch to new prepare_spec.
|
||||
* Sun Aug 15 1999 ke@suse.de
|
||||
- update po-mode.el.
|
||||
* Thu Mar 11 1999 kukuk@suse.de
|
||||
- don't link against libintl.a on glibc systems
|
||||
* Sun Feb 14 1999 ke@suse.de
|
||||
- update po-mode.el.
|
||||
* Thu Jan 07 1999 ro@suse.de
|
||||
- respect alpha in specfile
|
||||
* Thu Jan 07 1999 ro@suse.de
|
||||
- don't redeclare getline
|
||||
* Mon Dec 07 1998 florian@suse.de
|
||||
- update to gettext 0.10.35
|
||||
* Mon Dec 07 1998 bs@suse.de
|
||||
- added locale.alias to file list for libc5 systems.
|
||||
* Thu Nov 26 1998 bs@suse.de
|
||||
- skipped /usr/share/locale/locale.alias from file list (is in localedb)
|
||||
* Fri Sep 11 1998 ro@suse.de
|
||||
- switch detection of GLIBC to automake
|
||||
* Thu Aug 13 1998 bs@suse.de
|
||||
- added export LC_CTYPE to build an install section in spec file.
|
||||
* Wed Aug 12 1998 ke@suse.de
|
||||
- new po-mode.el from
|
||||
http://www.iro.umontreal.ca/contrib/po/po-mode/po-mode.el
|
||||
- and install po-mode.el.
|
||||
* Fri Jun 19 1998 ro@suse.de
|
||||
- dirty hack should at least work now
|
||||
* Fri Jun 19 1998 bs@suse.de
|
||||
- don't include libintl.h if glibc is used.
|
||||
did it with a dirty hack. Will be done better in a while.
|
||||
* Mon Mar 09 1998 ro@suse.de
|
||||
- added some documentation
|
||||
* Thu Feb 05 1998 florian@suse.de
|
||||
- add missing m4 macro files in /usr/share/aclocal
|
||||
* Fri Oct 10 1997 florian@suse.de
|
||||
- update to version 0.10.32
|
||||
* Wed Jan 22 1997 florian@suse.de
|
||||
- update to version 0.10.26
|
||||
|
218
po-mode-cvs-2009-07-23.patch
Normal file
218
po-mode-cvs-2009-07-23.patch
Normal file
@ -0,0 +1,218 @@
|
||||
2008-08-13 Sven Joachim <svenjoac@gmx.de>
|
||||
|
||||
* po-mode.el (po-check-file-header): Use forward-line with
|
||||
negative argument instead of previous-line.
|
||||
(po-add-attribute): Use forward-line instead of next-line.
|
||||
|
||||
2008-05-25 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* po-mode.el (po-replace-revision-date): Return nil.
|
||||
Patch by Kobayashi Noritada <nori1@dolphin.c.u-tokyo.ac.jp>.
|
||||
|
||||
2008-05-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* po-mode.el (po-team-name-to-code): Add Beja. Remove Adangme, Banda,
|
||||
Batak. Update Scottish Gaelic, Central Khmer, Romansh.
|
||||
|
||||
2008-05-07 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
Fix editing of plural forms.
|
||||
* po-mode.el (po-mode-version-string): Bump to 2.11.
|
||||
(po-any-msgstr-block-regexp): Must start with msgstr or msgstr[0];
|
||||
needed for re-search-backward.
|
||||
(po-get-msgstr-flavor): Set the point to po-start-of-msgstr-form, not
|
||||
to the beginning of the line.
|
||||
Reported by Stéphane Raimbault <stephane.raimbault@gmail.com>.
|
||||
|
||||
2007-12-02 Bruno Haible <bruno@clisp.org>
|
||||
|
||||
* po-mode.el: Use modern backquote syntax.
|
||||
Report and patch by Agustin Martin <agmartin@debian.org> via
|
||||
Santiago Vila <sanvila@unex.es>.
|
||||
--- gettext-0.17/gettext-tools/misc/po-mode.el 2007-10-18 01:27:56.000000000 +0200
|
||||
+++ gettext/gettext-tools/misc/po-mode.el 2008-08-14 10:34:09.000000000 +0200
|
||||
@@ -1,28 +1,26 @@
|
||||
;;; po-mode.el -- major mode for GNU gettext PO files
|
||||
|
||||
-;; Copyright (C) 1995-1999, 2000-2002, 2005-2007 Free Software Foundation, Inc.
|
||||
+;; Copyright (C) 1995-1999, 2000-2002, 2005-2008 Free Software Foundation, Inc.
|
||||
|
||||
-;; Authors: François Pinard <pinard@iro.umontreal.ca>
|
||||
+;; Authors: François Pinard <pinard@iro.umontreal.ca>
|
||||
;; Greg McGary <gkm@magilla.cichlid.com>
|
||||
;; Keywords: i18n gettext
|
||||
;; Created: 1995
|
||||
|
||||
;; This file is part of GNU gettext.
|
||||
|
||||
-;; GNU gettext is free software; you can redistribute it and/or modify
|
||||
+;; This program is free software: you can redistribute it and/or modify
|
||||
;; it under the terms of the GNU General Public License as published by
|
||||
-;; the Free Software Foundation; either version 2, or (at your option)
|
||||
-;; any later version.
|
||||
+;; the Free Software Foundation; either version 3 of the License, or
|
||||
+;; (at your option) any later version.
|
||||
|
||||
-;; GNU gettext is distributed in the hope that it will be useful,
|
||||
+;; This program is distributed in the hope that it will be useful,
|
||||
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||
;; GNU General Public License for more details.
|
||||
|
||||
;; You should have received a copy of the GNU General Public License
|
||||
-;; along with GNU Emacs; see the file COPYING. If not, write to the
|
||||
-;; Free Software Foundation, 51 Franklin Street, Fifth Floor,
|
||||
-;; Boston, MA 02110-1301, USA.
|
||||
+;; along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
;;; Commentary:
|
||||
|
||||
@@ -64,7 +62,7 @@
|
||||
|
||||
;;; Code:
|
||||
|
||||
-(defconst po-mode-version-string "2.1" "\
|
||||
+(defconst po-mode-version-string "2.11" "\
|
||||
Version number of this version of po-mode.el.")
|
||||
|
||||
;;; Emacs portability matters - part I.
|
||||
@@ -101,7 +99,7 @@
|
||||
(defmacro defgroup (&rest args)
|
||||
nil)
|
||||
(defmacro defcustom (var value doc &rest args)
|
||||
- (` (defvar (, var) (, value) (, doc))))))
|
||||
+ `(defvar ,var ,value ,doc))))
|
||||
|
||||
;;; Customisation.
|
||||
|
||||
@@ -188,7 +186,6 @@
|
||||
("(Afan) Oromo" . "om")
|
||||
("Abkhazian" . "ab")
|
||||
("Achinese" . "ace")
|
||||
- ("Adangme" . "ad")
|
||||
("Afar" . "aa")
|
||||
("Afrikaans" . "af")
|
||||
("Akan" . "ak")
|
||||
@@ -208,10 +205,9 @@
|
||||
("Balinese" . "ban")
|
||||
("Baluchi" . "bal")
|
||||
("Bambara" . "bm")
|
||||
- ("Banda" . "bad")
|
||||
("Bashkir" . "ba")
|
||||
("Basque" . "eu")
|
||||
- ("Batak" . "btk")
|
||||
+ ("Beja" . "bej")
|
||||
("Belarusian" . "be")
|
||||
("Bemba" . "bem")
|
||||
("Bengali" . "bn")
|
||||
@@ -228,6 +224,7 @@
|
||||
("Burmese" . "my")
|
||||
("Catalan" . "ca")
|
||||
("Cebuano" . "ceb")
|
||||
+ ("Central Khmer" . "km")
|
||||
("Chamorro" . "ch")
|
||||
("Chechen" . "ce")
|
||||
("Chinese" . "zh")
|
||||
@@ -302,7 +299,7 @@
|
||||
("Kashmiri" . "ks")
|
||||
("Kashubian" . "csb")
|
||||
("Kazakh" . "kk")
|
||||
- ("Khmer" . "km")
|
||||
+ ("Khmer" . "km") ; old name
|
||||
("Kikuyu" . "ki")
|
||||
("Kimbundu" . "kmb")
|
||||
("Kinyarwanda" . "rw")
|
||||
@@ -369,7 +366,7 @@
|
||||
("Old English" . "ang")
|
||||
("Oriya" . "or")
|
||||
("Ossetian" . "os")
|
||||
- ("Páez" . "pbb")
|
||||
+ ("Páez" . "pbb")
|
||||
("Pali" . "pi")
|
||||
("Pampanga" . "pam")
|
||||
("Pangasinan" . "pag")
|
||||
@@ -380,8 +377,9 @@
|
||||
("Punjabi" . "pa")
|
||||
("Quechua" . "qu")
|
||||
("Rajasthani" . "raj")
|
||||
- ("Rhaeto-Roman" . "rm")
|
||||
+ ("Rhaeto-Roman" . "rm") ; old name
|
||||
("Romanian" . "ro")
|
||||
+ ("Romansh" . "rm")
|
||||
("Russian" . "ru")
|
||||
("Samoan" . "sm")
|
||||
("Sango" . "sg")
|
||||
@@ -389,7 +387,8 @@
|
||||
("Santali" . "sat")
|
||||
("Sardinian" . "sc")
|
||||
("Sasak" . "sas")
|
||||
- ("Scots" . "gd")
|
||||
+ ("Scots" . "gd") ; old name
|
||||
+ ("Scottish Gaelic" . "gd")
|
||||
("Serbian" . "sr")
|
||||
("Serer" . "srr")
|
||||
("Sesotho" . "st")
|
||||
@@ -1011,7 +1010,7 @@
|
||||
"Regexp matching a whole msgid field, whether obsolete or not.")
|
||||
|
||||
(defvar po-any-msgstr-block-regexp
|
||||
- "^\\(#~[ \t]*\\)?msgstr.*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\(\\(#~[ \t]*\\)?msgstr\\[[0-9]\\].*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\)*"
|
||||
+ "^\\(#~[ \t]*\\)?msgstr\\([ \t]\\|\\[0\\]\\).*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\(\\(#~[ \t]*\\)?msgstr\\[[0-9]\\].*\n\\(\\(#~[ \t]*\\)?\".*\n\\)*\\)*"
|
||||
"Regexp matching a whole msgstr or msgstr[] field, whether obsolete or not.")
|
||||
|
||||
(defvar po-any-msgstr-form-regexp
|
||||
@@ -1343,7 +1342,7 @@
|
||||
(progn
|
||||
;; There is at least one entry.
|
||||
(goto-char (match-beginning 0))
|
||||
- (previous-line 1)
|
||||
+ (forward-line -1)
|
||||
(setq end-of-header (match-end 0))
|
||||
(if (looking-at "msgid \"\"\n")
|
||||
;; There is indeed a PO file header.
|
||||
@@ -1353,7 +1352,7 @@
|
||||
;; This is an oldish header. Replace it all.
|
||||
(goto-char end-of-header)
|
||||
(while (> (point) (point-min))
|
||||
- (previous-line 1)
|
||||
+ (forward-line -1)
|
||||
(insert "#~ ")
|
||||
(beginning-of-line))
|
||||
(beginning-of-line)
|
||||
@@ -1392,7 +1391,9 @@
|
||||
zone "\\n\"")
|
||||
t t))))
|
||||
(message ""))
|
||||
- (message (_"PO-Revision-Date should be adjusted..."))))
|
||||
+ (message (_"PO-Revision-Date should be adjusted...")))
|
||||
+ ;; Return nil to indicate that the buffer has not yet been saved.
|
||||
+ nil)
|
||||
|
||||
;;; Handling span of entry, entry type and entry attributes.
|
||||
|
||||
@@ -1497,7 +1498,7 @@
|
||||
(insert ", " name)))
|
||||
(skip-chars-forward "\n")
|
||||
(while (eq (following-char) ?#)
|
||||
- (next-line 1))
|
||||
+ (forward-line 1))
|
||||
(insert "#, " name "\n")))))
|
||||
|
||||
(defun po-delete-attribute (name)
|
||||
@@ -1893,7 +1894,7 @@
|
||||
|
||||
(defun po-get-msgstr-flavor ()
|
||||
"Helper function to detect msgstr and msgstr[] variants."
|
||||
- (beginning-of-line)
|
||||
+ (goto-char po-start-of-msgstr-form)
|
||||
(re-search-forward "^\\(#~[ \t]*\\)?\\(msgstr\\(\\[[0-9]\\]\\)?\\)")
|
||||
(match-string 2))
|
||||
|
||||
@@ -3450,6 +3451,7 @@
|
||||
;; Hey Emacs!
|
||||
;; Local Variables:
|
||||
;; indent-tabs-mode: nil
|
||||
+;; coding: utf-8
|
||||
;; End:
|
||||
|
||||
;;; po-mode.el ends here
|
Loading…
Reference in New Issue
Block a user