regexxer r623 - in trunk: . po src ui



Author: daniel
Date: 2007-01-11 03:09:34 +0000 (Thu, 11 Jan 2007)
New Revision: 623
ViewCVS link: http://svn.gnome.org/viewcvs/regexxer?rev=623&view=rev

Removed:
   trunk/po/en.po
Modified:
   trunk/ChangeLog
   trunk/po/ChangeLog
   trunk/po/LINGUAS
   trunk/po/POTFILES.in
   trunk/po/ar.po
   trunk/po/bg.po
   trunk/po/ca.po
   trunk/po/cs.po
   trunk/po/de.po
   trunk/po/en_CA.po
   trunk/po/en_GB.po
   trunk/po/es.po
   trunk/po/eu.po
   trunk/po/fi.po
   trunk/po/fr.po
   trunk/po/gu.po
   trunk/po/hu.po
   trunk/po/it.po
   trunk/po/ja.po
   trunk/po/ne.po
   trunk/po/nl.po
   trunk/po/pa.po
   trunk/po/pl.po
   trunk/po/pt.po
   trunk/po/pt_BR.po
   trunk/po/rw.po
   trunk/po/sl.po
   trunk/po/sq.po
   trunk/po/sr.po
   trunk/po/sr Latn po
   trunk/po/sv.po
   trunk/po/ta.po
   trunk/po/uk.po
   trunk/po/vi.po
   trunk/po/zh_CN.po
   trunk/po/zh_HK.po
   trunk/po/zh_TW.po
   trunk/src/filebuffer.cc
   trunk/src/filetree.cc
   trunk/src/mainwindow.cc
   trunk/src/pcreshell.cc
   trunk/src/prefdialog.cc
   trunk/src/stringutils.cc
   trunk/src/stringutils.h
   trunk/ui/mainwindow.glade
   trunk/ui/prefdialog.glade
   trunk/ui/regexxer.schemas.in
Log:
* src/filebuffer.cc (FileBuffer::create_with_error_message): Use
UTF-8 encoded typographically correct apostrophe in the title
string.
* src/filetree.cc (FileTree::find_recursively): Replace call to
Util::filename_to_utf8_fallback() by Glib::filename_display_name().
(FileTree::find_fill_dirstack): Likewise.
(FileTree::save_file_at_iter): Use UTF-8 encoded typographically
correct quote characters in the error message string.
(FileTree::load_file_with_fallback): Likewise.

* src/pcreshell.cc (throw_regex_error): New function to throw a
Pcre::Error exception with a properly formatted error message.
(Pcre::Pattern::Pattern): Use throw_regex_error().

* src/prefdialog.cc (PrefDialog::on_entry_fallback_activate):
Use proper Unicode quotes in error message string.

* src/mainwindow.cc (MainWindow::initialize): Run the search
automatically only if also a filename pattern has been specified
on the command line.
(MainWindow::confirm_quit_request): Use proper Unicode apostrophe
in the error message.
(MainWindow::on_find_files): Likewise.  Also remove the code to
format an error message for regex exceptions, as Pcre::Error now
already carries a user-friendly message.
(MainWindow::set_title_filename): Replace calls to
Util::filename_to_utf8_fallback() by Glib::filename_display_name().

* src/stringutils.{cc,h} (Util::shell_pattern_to_regex): Minor
optimization twiddling.
(Util::substitute_references): Likewise.
(Util::filename_to_utf8_fallback): Remove function, as we can
now simply use Glib::filename_display_name() instead.
(Util::convert_to_ascii): Remove; no longer used anywhere.
(Util::shorten_pathname): Use G_IS_DIR_SEPARATOR() instead of
comparing against G_DIR_SEPARATOR directly.  Necessary because
on win32 both '/' and '\' are accepted as directory separators.

* ui/regexxer.schemas.in: Reformat and use proper Unicode quotes
and apostrophes.
* ui/prefdialog.glade: Likewise.  Also remove some property
specifications which assigned default values anyway.
* ui/mainwindow.glade: As above, strip pointless property settings.

* en.po: Remove English "translation" as proper Unicode quotes and
apostrophes are now used directly in the untranslated messages.
* LINGUAS: Remove "en" from list.
* POTFILES.in: Prepend [encoding: UTF-8] to list of files.





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]