diff options
author | Chyla Zbigniew <chyla@src.gnome.org> | 2001-09-03 04:09:16 +0800 |
---|---|---|
committer | Chyla Zbigniew <chyla@src.gnome.org> | 2001-09-03 04:09:16 +0800 |
commit | 93b7d2115608f5dc055b3260c293451a1d71de8a (patch) | |
tree | f5f4a62f3d76f88a0f72a53a89046650c450ed35 /addressbook/gui/widgets/e-minicard-view.h | |
parent | abef6d7dad98ca785fc93f21f67fcf6ba5435ff2 (diff) | |
download | gsoc2013-evolution-93b7d2115608f5dc055b3260c293451a1d71de8a.tar.gz gsoc2013-evolution-93b7d2115608f5dc055b3260c293451a1d71de8a.tar.zst gsoc2013-evolution-93b7d2115608f5dc055b3260c293451a1d71de8a.zip |
I18n fixes (mainly making buttons on the right side less Anglocentric :-)
* backend/ebook/e-card-simple.c
(field_data): Marked "name" and "short_name" fields for translation.
(e_card_simple_get_name, e_card_simple_get_short_name): Return
localized version of the name (using U_() macro).
* gui/contact-editor/e-contact-editor.c (set_entry_changed_signals):
Connect "changed" signal from "entry-web" entry to widget_changed.
(changing this field wasn't making "Save and Close" button sensitive)
* gui/widgets/Makefile.am (glade_DATA): Removed alphabet.glade.
* gui/widgets/e-addressbook-view.c
(button_labels, button_letters): New strings containing a list of
labels and "values" of all buttons placed on the right side of the
addressbook view (intended for localization).
(struct LetterClosure): Changed the type of letter field to gunichar.
(e_utf8_split): New function, similar to g_strsplit, but operates on
UTF-8 strings.
(jump_to_letter): Don't hardcode letters, build queries dynamically
using UTF-8 and localized letters stored in button_letters.
(connect_button): Removed.
(create_alphabet): Don't use glade file, build buttons manually using
(localized) labels from button_labels. Use (localized) values from
button_letters when creating LetterClosure.
* gui/widgets/e-minicard-view-widget.[ch]
(e_minicard_view_widget_jump_to_letter): Changed the type of the
second argument from char to gunichar.
* gui/widgets/e-minicard-view.c
(compare_to_utf_str): Renamed from compare_to_letter, now operates on
UTF-8 string.
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar + conversion to UTF-8 string.
* gui/widgets/e-minicard-view.h
(e_minicard_view_jump_to_letter): Changed the type of the second
argument from char to gunichar.
svn path=/trunk/; revision=12563
Diffstat (limited to 'addressbook/gui/widgets/e-minicard-view.h')
-rw-r--r-- | addressbook/gui/widgets/e-minicard-view.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/addressbook/gui/widgets/e-minicard-view.h b/addressbook/gui/widgets/e-minicard-view.h index 5c7065fe1d..b735cc1ea7 100644 --- a/addressbook/gui/widgets/e-minicard-view.h +++ b/addressbook/gui/widgets/e-minicard-view.h @@ -25,6 +25,7 @@ #include <gal/widgets/e-reflow.h> #include <gal/widgets/e-selection-model-simple.h> +#include <gal/unicode/gunicode.h> #include "addressbook/backend/ebook/e-book.h" #include "e-addressbook-reflow-adapter.h" @@ -90,7 +91,7 @@ void e_minicard_view_remove_selection (EMinicardView *view, EBookCallback cb, gpointer closure); void e_minicard_view_jump_to_letter (EMinicardView *view, - char letter); + gunichar letter); #ifdef __cplusplus } |