rewritten: public interface in TemplatesFunctions::Locale
added a default parameter bool try_default_too = true to some methods: Get(), IsKey() added more methods for accessing by an internal index git-svn-id: svn://ttmath.org/publicrep/winix/trunk@854 e52654a7-88a9-db11-a3e9-0013d4bc506e
This commit is contained in:
@@ -397,14 +397,14 @@ void winix_locale_tab(Info & i)
|
||||
void winix_locale_tab_id(Info & i)
|
||||
{
|
||||
if( locale_id < locale.Size() )
|
||||
i.out << Toi(locale.GetByIndex(L"winix_locale_id", locale_id));
|
||||
i.out << Toi(locale.GetByIndex(L"winix_locale_id", locale_id, false));
|
||||
}
|
||||
|
||||
|
||||
void winix_locale_tab_name(Info & i)
|
||||
{
|
||||
if( locale_id < locale.Size() )
|
||||
i.out << locale.GetByIndex(L"locale_name", locale_id);
|
||||
i.out << locale.GetByIndex(L"locale_name", locale_id, false);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user