From: Andrew Dunbar (hippietrail@yahoo.com)
Date: Tue Sep 10 2002 - 21:44:07 EDT
--- "Michael D. Pritchett" <mpritchett@attglobal.net>
wrote:
>
> Toolbar strings are moved to the string files. This
> is in preparation for moving to a gettext mode. All
> ap_TB_LabelSet_xx-XX.h are deprecated and will be
> removed from HEAD shortly.
Does this mean we now have 1 or 2 files with i10n
strings? We used to have .strings, labelset, and
toolbarset.
At one point we had one Russian file using one
encoding and another Russian file using another
encoding. I have a feeling this was fixed at some
point but we have to be sure when merging l10n files
that we're not accidentally creating a single file
with two encodings. So watch out (:
> Adding of new toolbars items can be accomplished by
> updating the
> ap_Toolbar_Id_List.h and the appropriate
> TOOLBAR_LABEL_<ID>
> TOOLBAR_STATUSLINE_<ID> and TOOLBAR_TOOLTIP_<ID> in
> the ap_String_Id.h
> file.
>
> Default icons are mapped from ID tag to the icons
> string name in ap_Toolbar_Iconmap.h Language
> specific icons are mapped by ID_LANG.
There's another tiny issue related to this that came
up on an i18n list recently. Sometimes icons are
needed which are bidi dependent - so a good system
will know to look for right-to-left icons in any
right-
to-left locale. Our current system is good but would
need seperate icons for Hebrew, Yiddish, Arabic,
Farsi,
Urdu, etc. I have no idea if we yet have any icons
which would be affected.
> This should shrink the executable by ~150kb.
>
> I will update the xx-XX.strings files shortly with
> strings from the
> TB_LabelSet headers.
Cool!
Andrew Dunbar.
> Cheers!
>
>
> Michael D. Pritchett
>
> Added Files
> src/wp/ap/xp/ap_Toolbar_Id_List.h
> src/wp/ap/xp/ap_Toolbar_Iconmap.h
>
> Modified Files
> src/af/xap/xp/xap_Toolbar_LabelSet.h
> src/wp/ap/xp/ap_String_Id.h
> src/wp/ap/xp/ap_Toolbar_Icons.cpp
> src/wp/ap/xp/ap_Toolbar_Id.h
> src/wp/ap/xp/ap_Toolbar_LabelSet.cpp
>
=====
http://linguaphile.sourceforge.net/cgi-bin/translator.pl http://www.abisource.com
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com
This archive was generated by hypermail 2.1.4 : Tue Sep 10 2002 - 21:47:29 EDT