namespace PT renamed to pt
This commit is contained in:
@@ -88,7 +88,7 @@ public:
|
||||
bool IsKey(const std::wstring & key, bool try_default_too = true) const;
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
bool IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool try_default_too = true);
|
||||
|
||||
// checking whether there is a 'key' in the lang_id language
|
||||
@@ -97,7 +97,7 @@ public:
|
||||
bool IsKey(const std::wstring & key, size_t lang_id, bool try_default_too = true) const;
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
bool IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
size_t lang_id, bool try_default_too = true);
|
||||
|
||||
// returning a value for a specific key
|
||||
@@ -107,7 +107,7 @@ public:
|
||||
const std::wstring & Get(const std::wstring & key, size_t lang_id, bool try_default_too = true) const;
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
const std::wstring & Get(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
const std::wstring & Get(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool try_default_too = true);
|
||||
|
||||
template<typename ... Types>
|
||||
@@ -232,7 +232,7 @@ private:
|
||||
std::vector<size_t> locale_indices;
|
||||
|
||||
// messages vector<via language>
|
||||
std::vector<PT::Space> locale_tab;
|
||||
std::vector<pt::Space> locale_tab;
|
||||
|
||||
// default locale index (index to locale_indexes)
|
||||
size_t default_lang;
|
||||
@@ -240,7 +240,7 @@ private:
|
||||
// current locale index (index to locale_indexes)
|
||||
size_t current_lang;
|
||||
|
||||
PT::WPatternReplacer pattern_replacer;
|
||||
pt::WPatternReplacer pattern_replacer;
|
||||
|
||||
|
||||
// vectors of characters substitution (sort by 'from')
|
||||
@@ -250,8 +250,8 @@ private:
|
||||
std::vector<SubstItem> subst_sort; // local characters for comparison
|
||||
|
||||
|
||||
PT::Space temp_space;
|
||||
PT::SpaceParser loc_parser;
|
||||
pt::Space temp_space;
|
||||
pt::SpaceParser loc_parser;
|
||||
std::string locale_filea;
|
||||
std::string file_name;
|
||||
std::wstring key_str;
|
||||
@@ -262,7 +262,7 @@ private:
|
||||
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
bool Locale::IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool Locale::IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool try_default_too)
|
||||
{
|
||||
key.to_string(key_str);
|
||||
@@ -271,7 +271,7 @@ bool Locale::IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_si
|
||||
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
bool Locale::IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool Locale::IsKey(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
size_t lang_id, bool try_default_too)
|
||||
{
|
||||
key.to_string(key_str);
|
||||
@@ -281,7 +281,7 @@ bool Locale::IsKey(const PT::TextStreamBase<char_type, stack_size, heap_block_si
|
||||
|
||||
|
||||
template<typename char_type, size_t stack_size, size_t heap_block_size>
|
||||
const std::wstring & Locale::Get(const PT::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
const std::wstring & Locale::Get(const pt::TextStreamBase<char_type, stack_size, heap_block_size> & key,
|
||||
bool try_default_too)
|
||||
{
|
||||
key.to_string(key_str);
|
||||
|
||||
Reference in New Issue
Block a user