-- Copyright (C) 2009 Andrejs Sisojevs <andrejs.sisojevs@nextmail.ru>
-- 
-- All rights reserved.
-- 
-- For license and copyright information, see the file COPYRIGHT

--------------------------------------------------------------------------
--------------------------------------------------------------------------

INSERT INTO tpls (pclt_id) VALUES('TRUE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'TRUE', 'ДА');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'TRUE', 'TRUE');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'TRUE','one');
INSERT INTO tpls (pclt_id) VALUES('FALSE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'FALSE', 'НЕТ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'FALSE', 'FALSE');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'FALSE','##|TRUE##|');

INSERT INTO tpls (pclt_id) VALUES('MAYBE_A');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'MAYBE_A', '@@|maybe_cnstr@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'MAYBE_A', '@@|maybe_cnstr@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'MAYBE_A','##|TRUE##|');
INSERT INTO tpls (pclt_id) VALUES('MAYBE_JUST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'MAYBE_JUST', '@@|a@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'MAYBE_JUST', '@@|a@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'MAYBE_JUST','##|MAYBE_A##|');
INSERT INTO tpls (pclt_id) VALUES('MAYBE_NOTHING');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'MAYBE_NOTHING', 'ничего');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'MAYBE_NOTHING', 'nothing');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'MAYBE_NOTHING','##|MAYBE_A##|');

INSERT INTO tpls (pclt_id) VALUES('LLEXCPT');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'LLEXCPT', 'Программное исключение, детали: "@@|excpt_msg@@|"');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'LLEXCPT', 'Program exception, details: "@@|excpt_msg@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (1,'LLEXCPT','1000');

INSERT INTO tpls (pclt_id) VALUES('EMAIL_RECEPIENT_NAME');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'EMAIL_RECEPIENT_NAME', 'Имя получателя: @@|recepient_name@@|. ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'EMAIL_RECEPIENT_NAME', 'Recepient name: @@|recepient_name@@|. ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (3,'EMAIL_RECEPIENT_NAME','1000');
INSERT INTO tpls (pclt_id) VALUES('EMAIL_RECEPIENT_EMADDR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'EMAIL_RECEPIENT_EMADDR', 'Э-Почтовый адрес получателя: @@|recepient_addr@@|. ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'EMAIL_RECEPIENT_EMADDR', 'Recepient email address: @@|recepient_addr@@|. ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (3,'EMAIL_RECEPIENT_EMADDR','##|EMAIL_RECEPIENT_NAME##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_LIST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_LIST', '##|E_PCLT_P2TE_LIST_PREFIX##|\n@@|errors_list@@|\n##|E_PCLT_P2TE_LIST_POSTFIX##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_LIST', '##|E_PCLT_P2TE_LIST_PREFIX##|\n@@|errors_list@@|\n##|E_PCLT_P2TE_LIST_POSTFIX##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_LIST','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_LIST_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_LIST_PREFIX', '----СЛЕЛУЮЩИЕ-ОШИБКИ-ВОЗНИКЛИ-ПРИ-ГЕНЕРАЦИИ-СООБЩЕНИЙ ИЗ-ШАБЛОНОВ----\n');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_LIST_PREFIX', '----FOLLOWING-ERRORS-OCCURED-WHEN-GENERATING-MESSAGES-FROM-TEMPLATES----------\n');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_LIST_PREFIX','##|E_PCLT_P2TE_LIST##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_LIST_POSTFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_LIST_POSTFIX', '\n----------------\n----ОШИБКИ-ГЕНЕРАТОРА-СООБЩЕНИЙ-[END]----------\n');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_LIST_POSTFIX', '\n----------------\n----MESSAGES-GENERATOR-ERRORS-[END]----------\n');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_LIST_POSTFIX','##|E_PCLT_P2TE_LIST##|');

INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM', '##|PARSER_SSM_PREFIX##|@@|parser_ssm_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM', '##|PARSER_SSM_PREFIX##|@@|parser_ssm_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM_PREFIX', 'Маркер разделения секторов:');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM_PREFIX', 'Sector separation marker: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM_PREFIX','##|PARSER_SSM##|');
INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM_BEGIN');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM_BEGIN', 'начало ввода');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM_BEGIN', 'input beginning');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM_BEGIN','##|PARSER_SSM##|');
INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM_EOF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM_EOF', 'конец ввода');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM_EOF', 'input ending');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM_EOF','##|PARSER_SSM##|');
INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM_INNER');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM_INNER', 'маркер #@@|sm_idx@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM_INNER', 'marker #@@|sm_idx@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM_INNER','##|PARSER_SSM##|');
INSERT INTO tpls (pclt_id) VALUES('PARSER_SSM_ERR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PARSER_SSM_ERR', 'ошибка "@@|smse@@|"');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PARSER_SSM_ERR', 'error "@@|smse@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PARSER_SSM_ERR','##|PARSER_SSM##|');

INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE', '##|E_PARSER_SMSE_PREFIX##|@@|parser_smse_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE', '##|E_PARSER_SMSE_PREFIX##|@@|parser_smse_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_PREFIX', 'Произошла ошибка при грамматическом разборе маркированого текста. Ошибка маркирования:');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_PREFIX', 'An error occured when parsing a marked text. Marking failed: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_PREFIX','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_INPUTAFTEREOF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_INPUTAFTEREOF', 'ввод после конца ввода');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_INPUTAFTEREOF', 'input is not allowed after EOF');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_INPUTAFTEREOF','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_BEGINNIGINMID');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_BEGINNIGINMID', 'начало вводе не в начале');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_BEGINNIGINMID', 'beginning is allowed to occur only as the first input marker');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_BEGINNIGINMID','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_OVERLAPMARK');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_OVERLAPMARK', 'пересекающиеся маркированые регионы не допускаются');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_OVERLAPMARK', 'the marking strategy doesn''t allow overlapping marked text chunks');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_OVERLAPMARK','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_UNSUPMARKSEQ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_UNSUPMARKSEQ', 'неподдерживаемая последовательность маркеров (активный предыдущий маркер -> текущий маркер): @@|prev_active_sm@@| -> @@|cur_sm@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_UNSUPMARKSEQ', 'the marking strategy does''t support markers sequence (active previous separator marker -> current separator marker): @@|prev_active_sm@@| -> @@|cur_sm@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_UNSUPMARKSEQ','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_UNFINWHENEOF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_UNFINWHENEOF', 'ввод оканчивается незакрытым маркированым регионом (индекс маркера: @@|sm_idx@@|)');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_UNFINWHENEOF', 'input ends with unclosed chunk of text (marker index: @@|sm_idx@@|)');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_UNFINWHENEOF','##|E_PARSER_SMSE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PARSER_SMSE_BADCHAR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PARSER_SMSE_BADCHAR', 'поток символов застопорился из-за недопустимого символа');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PARSER_SMSE_BADCHAR', 'input flow stopped due to occurrence of unallowed character');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PARSER_SMSE_BADCHAR','##|E_PARSER_SMSE##|');

INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL', '##|PCLT_SDL_PREFIX##|@@|pclt_sdl_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL', '##|PCLT_SDL_PREFIX##|@@|pclt_sdl_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL','5000');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL_PREFIX', 'Уровень детализации отображения сообщения из шаблона: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL_PREFIX', 'Show detalization level from a message template:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL_PREFIX','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL_INFBIG');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL_INFBIG', 'бесконечно большой ("@@|sdl_m@@|")');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL_INFBIG', 'infinitely big ("@@|sdl_m@@|")');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL_INFBIG','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL_ZERO');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL_ZERO', 'ноль ("@@|sdl_m@@|")');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL_ZERO', 'zero ("@@|sdl_m@@|")');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL_ZERO','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL_ONE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL_ONE', 'единица ("@@|sdl_m@@|")');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL_ONE', 'one ("@@|sdl_m@@|")');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL_ONE','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDL_NUM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDL_NUM', 'номер: "@@|sdl_m@@|"');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDL_NUM', 'numeric: "@@|sdl_m@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDL_NUM','##|PCLT_SDL##|');

INSERT INTO tpls (pclt_id) VALUES('PCLT_SDLM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDLM', '##|PCLT_SDLM_PREFIX##|@@|pclt_sdlm_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDLM', '##|PCLT_SDLM_PREFIX##|@@|pclt_sdlm_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDLM','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDLM_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDLM_PREFIX', 'Контекст уровня детализации отображения сообщения: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDLM_PREFIX', 'Show detalization level usage:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDLM_PREFIX','##|PCLT_SDLM##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDLM_ALLOC');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDLM_ALLOC', 'дозволенный получателю сообщения');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDLM_ALLOC', 'allowed to message reader');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDLM_ALLOC','##|PCLT_SDLM##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_SDLM_REQ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_SDLM_REQ', 'требуемый для отоброжения');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_SDLM_REQ', 'required for message representation');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_SDLM_REQ','##|PCLT_SDLM##|');

INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL', '##|PCLT_PSDL_PREFIX##| @@|psdl@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL', '##|PCLT_PSDL_PREFIX##| @@|psdl@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL','##|PCLT_SDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL_PREFIX', 'Уровень детализации отображения сообщения из шаблона (определённый при шаблоне, как минимальный необходимый для отображения сообщения): ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL_PREFIX', 'Show detalization level from a message template (specified by the template, as a required minimum for message representation):');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL_PREFIX','##|PCLT_PSDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL_SDL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL_SDL', '@@|sdl@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL_SDL', '@@|sdl@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL_SDL','##|PCLT_PSDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL_CMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL_CMPST', 'такой же, как для шаблона ''@@|tpl_id@@|''');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL_CMPST', 'the same, as specified for template ''@@|tpl_id@@|''');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL_CMPST','##|PCLT_PSDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL_PARAMCMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL_PARAMCMPST', 'такой же, как для шаблона, который должен быть под параметром ''@@|param_name@@|''');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL_PARAMCMPST', 'the same, as specified for template, that is to be put under parameter ''@@|param_name@@|''');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL_PARAMCMPST','##|PCLT_PSDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_PSDL_ERR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_PSDL_ERR', 'ошибка определения уровня (''@@|err_details@@|'')');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_PSDL_ERR', 'SDL specification error (''@@|err_details@@|'')');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_PSDL_ERR','##|PCLT_PSDL##|');

INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER', '##|PCLT_MARKER_PREFIX##|@@|pclt_marker_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER', '##|PCLT_MARKER_PREFIX##|@@|pclt_marker_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER','##|PARSER_SSM##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER_PREFIX', 'PCST маркер:');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER_PREFIX', 'PCST marker: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER_PREFIX','##|PCLT_MARKER##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER_PLAINTXT');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER_PLAINTXT', 'обычный текст');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER_PLAINTXT', 'plain text');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER_PLAINTXT','##|PCLT_MARKER##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER_PARAM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER_PARAM', 'параметр');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER_PARAM', 'parameter');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER_PARAM','##|PCLT_MARKER##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER_COMPOSITE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER_COMPOSITE', 'композит');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER_COMPOSITE', 'composite');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER_COMPOSITE','##|PCLT_MARKER##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_MARKER_UNSUP');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_MARKER_UNSUP', 'неподдерживаемый маркер "@@|ssm@@|"');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_MARKER_UNSUP', 'unsupported marker "@@|ssm@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_MARKER_UNSUP','##|PCLT_MARKER##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_PLLF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_PLLF', '##|E_PCLT_PLLF_PREFIX##|@@|pclt_pllf_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_PLLF', '##|E_PCLT_PLLF_PREFIX##|@@|pclt_pllf_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_PLLF','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_PLLF_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_PLLF_PREFIX', 'Произошла ошибка в результате применения парсера, который разделяет обычный текст, параметры и композиты:');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_PLLF_PREFIX', 'An error occurred when applying parser, that separates plain text, parameters and composites: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_PLLF_PREFIX','##|E_PCLT_PLLF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_PLLF_UNEXP');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_PLLF_UNEXP', 'парсер вернул ненормальное состояние "@@|parse_result_str@@|"');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_PLLF_UNEXP', 'parser returned an unexpected state "@@|parse_result_str@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_PLLF_UNEXP','##|E_PCLT_PLLF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_PLLF_BADSSM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_PLLF_BADSSM', 'плохой маркер у куска текста (позиция: @@|chunk_idx@@|): @@|ssm@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_PLLF_BADSSM', 'bad chunk marker (position: @@|chunk_idx@@|): @@|ssm@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_PLLF_BADSSM','##|E_PCLT_PLLF##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_DRLNE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_DRLNE', '##|E_PCLT_DRLNE_PREFIX##|@@|pclt_drlne_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_DRLNE', '##|E_PCLT_DRLNE_PREFIX##|@@|pclt_drlne_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_DRLNE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_DRLNE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_DRLNE_PREFIX', 'Произошла ошибка во время окончательной нормализации [требований к уровням детализации для отображения]: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_DRLNE_PREFIX', 'An error occured during normalization of detalization level requirements (DRL) of message templetes:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_DRLNE_PREFIX','##|E_PCLT_DRLNE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_DRLNE_CYCL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_DRLNE_CYCL', 'обнаружен ссылочный композиционный цикл. Буфер композитов: @@|buf@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_DRLNE_CYCL', 'compositional referential cycle detected. Composites buffer: @@|buf@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_DRLNE_CYCL','##|E_PCLT_DRLNE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_DRLNE_BADREF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_DRLNE_BADREF', 'не получается определить требование к уровню детализации шаблона (ИД: @@|red_id@@|), на который ссылается шаблон, чей ИД - @@|rer_id@@|. Шаблон на который ссылка — отсутствует.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_DRLNE_BADREF', 'couldn''t determine the DRL of referenced template (ID: @@|red_id@@|), referenced by a composite (ID: @@|rer_id@@|) DRL. Referenced template is missing.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_DRLNE_BADREF','##|E_PCLT_DRLNE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_CCYCL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_CCYCL', 'обнаружен композиционный цикл в шаблоне сообщения (ИД: @@|tpl_id@@|), буфер композиций: @@|buf@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_CCYCL', 'a composition cycle detected in a message template (ID: @@|tpl_id@@|), compositions path buffer: @@|buf@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_CCYCL','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_MISSINGCOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_MISSINGCOMPST', 'композит (ИД: @@|red_id@@|) в каталоге отсутствует');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_MISSINGCOMPST', 'a composite (ID: @@|red_id@@|) is missing in catalog');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_MISSINGCOMPST','##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_MISSINGCOMPSTBYRER');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_MISSINGCOMPSTBYRER', '##|E_PCLT_COMMONS_MISSINGCOMPST##|. На недостающий композит ссылается шаблон (ИД: @@|rer_id@@|)');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_MISSINGCOMPSTBYRER', '##|E_PCLT_COMMONS_MISSINGCOMPST##|. The missing composite is required by the message template (ID: @@|rer_id@@|)');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_MISSINGCOMPSTBYRER','##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_TDLIM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_TDLIM', 'шаблон (ИД: @@|tpl_id@@|) на основном языке не дан, но дан для др. языков. ДЛЯ ВСЕХ ЯЗЫКОВ данный шаблон будет отвергнут');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_TDLIM', 'A message template (ID: @@|tpl_id@@|) in default language is missing (while persisting for other languages). FOR ALL LANGUAGES the message template will be discarded');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_TDLIM','##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_DLTCPSDFOON');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_DLTCPSDFOON', 'шаблон (ИД: @@|tpl_id@@|) - его множества параметров и композитов отличаются для основного языка и для НЕосновного языка «@@|lng@@|». Версия шаблона на НЕосновном языке отвергнута (если такая строгость вас неустраивает, подрегулируйте параметр <StrictOrient_ofParamsAndCmpsts_onDfltLngTplsSets> в конфигурации каталога)');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_DLTCPSDFOON', 'A message template''s (ID: @@|tpl_id@@|) sets of subcomposites and parameters differs for default and nondefault languages (''@@|lng@@|''). The template version for this nondefault language WILL BE DISCARDED (if such strictness doesn''t fit your needs, change catalog configuration parameter <StrictOrient_ofParamsAndCmpsts_onDfltLngTplsSets>)');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_DLTCPSDFOON','##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_UNIQUEVIOL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_UNIQUEVIOL', 'в локализуемом шаблоне (ИД: @@|tpl_id@@|), уже присутствует версия на языках @@|lng_list@@|, - языковые версии шаблона на этих языках добавить нельзя (не выкинув старые версии)');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_UNIQUEVIOL', 'the localizeble template (ID: @@|tpl_id@@|) is already localized in languages @@|lng_list@@|, - new localizations'' versions can''t be added (without throwing away old ones)');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_UNIQUEVIOL','##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_COMMONS_DIFFSDLS');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_COMMONS_DIFFSDLS', 'при сложении локализуемых шаблонов (ИД: @@|tpl_id@@|) обнаружено расхождение в их требованиях к уровню детализации необходимому для отображения. Требуемые уровни (прибавляемы шаблоном / шаблоном аккумулятором): @@|add_sdl@@|/@@|main_sdl@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_COMMONS_DIFFSDLS', 'when adding up two localizables of one ID ("@@|tpl_id@@|") an inconsistency shows up - required show-detalization-levels differs for them. Required levels (of added tpl / of accumulator tpl): @@|add_sdl@@|/@@|main_sdl@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_COMMONS_DIFFSDLS','##|E_PCLT_COMMONS_CCYCL##|');

INSERT INTO tpls (pclt_id) VALUES('PCLT_ESDL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_ESDL', '##|PCLT_ESDL_PREFIX##|@@|pclt_esdl_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_ESDL', '##|PCLT_ESDL_PREFIX##|@@|pclt_esdl_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_ESDL','##|PCLT_PSDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_ESDL_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_ESDL_PREFIX', 'Причина ошибочности данного уровня детализации отображения сообщения: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_ESDL_PREFIX', 'Error in definition of level of detalization of representation:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_ESDL_PREFIX','##|PCLT_ESDL##|');
INSERT INTO tpls (pclt_id) VALUES('PCLT_ESDL_UNREAD');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'PCLT_ESDL_UNREAD', 'задан нечитаемый уровень. ##|PCLT_SDLM##| Текст заданого: "@@|sdle_raw_inp@@|" ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'PCLT_ESDL_UNREAD', 'unreadable level specified. ##|PCLT_SDLM##| Input: "@@|sdle_raw_inp@@|"');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'PCLT_ESDL_UNREAD','##|PCLT_ESDL##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE', '##|E_PCLT_RPCSCE_PREFIX##|@@|pclt_rpcsce_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE', '##|E_PCLT_RPCSCE_PREFIX##|@@|pclt_rpcsce_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_PREFIX', 'Произошла ошибка при чтении/формировании каталога шаблонов стандартных локализуемых детализуемых сообщений: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_PREFIX', 'An error occured during formation of standard messages templates catalog:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_PREFIX','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_CCYCL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_CCYCL', '##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_CCYCL', '##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_CCYCL','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_MISSINGCOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_MISSINGCOMPST','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_UNPARSABLECOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_UNPARSABLECOMPST', 'композит (ИД: @@|red_id@@|), на который ссылается шаблон (ИД: @@|rer_id@@|), наличествует во входе на формирование каталога, но (этот требуемый шаблон) не парсится');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_UNPARSABLECOMPST', 'a composite (ID: @@|red_id@@|) required by the message template (ID: @@|rer_id@@|) is found in raw data for catalog, but parsing it failed');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_UNPARSABLECOMPST','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_DFLTLNGPARSEFAIL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL', 'шаблон (ИД: @@|tpl_id@@|) на основном языке не парсится без ошибок. @@|if_not_parsed@@|Список ошибок выданый парсером: @@|ll_errs_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL', 'a message template (ID: @@|tpl_id@@|) in default language is parsed (separation on composites, parameters and plain text) with errors. @@|if_not_parsed@@|Parse error(s): @@|ll_errs_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_DFLTLNGPARSEFAIL_C');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL_C', 'ДЛЯ ВСЕХ ЯЗЫКОВ данный шаблон будет отвергнут. ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL_C', 'FOR ALL LANGUAGES the message template will be discarded. ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_DFLTLNGPARSEFAIL_C','##|E_PCLT_RPCSCE_DFLTLNGPARSEFAIL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_TDLIM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_TDLIM', '##|E_PCLT_COMMONS_TDLIM##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_TDLIM', '##|E_PCLT_COMMONS_TDLIM##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_TDLIM','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL', 'шаблон (ИД: @@|tpl_id@@|) на НЕосновном языке (''@@|lng@@|'') не парсится без ошибок. @@|if_not_parsed@@|Список ошибок выданый парсером: @@|ll_errs_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL', 'a message template (ID: @@|tpl_id@@|) in nondefault language (''@@|lng@@|'') is parsed (separation on composites, parameters and plain text) with errors. @@|if_not_parsed@@|Parse error(s): @@|ll_errs_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL_C');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL_C', 'Для данного языка этот шаблон будет отвергнут. ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL_C', 'The message template for this language will be discarded. ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL_C','##|E_PCLT_RPCSCE_NDFLTLNGPARSEFAIL##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_DLTCPSDFOON');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_DLTCPSDFOON', '##|E_PCLT_COMMONS_DLTCPSDFOON##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_DLTCPSDFOON', '##|E_PCLT_COMMONS_DLTCPSDFOON##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_DLTCPSDFOON','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_DIFFSDLS');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_DIFFSDLS', '##|E_PCLT_COMMONS_DIFFSDLS##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_DIFFSDLS', '##|E_PCLT_COMMONS_DIFFSDLS##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_DIFFSDLS','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_UNIQUEVIOL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_UNIQUEVIOL', '##|E_PCLT_COMMONS_UNIQUEVIOL##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_UNIQUEVIOL', '##|E_PCLT_COMMONS_UNIQUEVIOL##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_UNIQUEVIOL','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_SDLPTRTONONEXIST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_SDLPTRTONONEXIST', 'необходимый для отображения (сообщения по шаблону ИД: @@|rer_id@@|)) уровень детализации определён быть таким же, как у композита [ИД: @@|red_id@@|], но последнего в каталоге нет');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_SDLPTRTONONEXIST', 'for message template (ID: @@|rer_id@@|) representation required detailization level is referenced to be the same as of another composite, but referenced composite (ID: @@|red_id@@|) is missing');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_SDLPTRTONONEXIST','##|E_PCLT_RPCSCE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_RPCSCE_DRLNE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_RPCSCE_DRLNE', '@@|drlne@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_RPCSCE_DRLNE', '@@|drlne@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_RPCSCE_DRLNE','##|E_PCLT_RPCSCE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_AHS2PE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_AHS2PE', '##|E_PCLT_AHS2PE_PREFIX##|@@|pclt_ahs2pe_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_AHS2PE', '##|E_PCLT_AHS2PE_PREFIX##|@@|pclt_ahs2pe_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_AHS2PE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_AHS2PE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_AHS2PE_PREFIX', 'Произошла ошибка при чтении шаблона (параметризуемого сообщения) в тексте. Ошибка: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_AHS2PE_PREFIX', 'An error occured in ad-hoc parsing of text, that''s supposed to be a template for message:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_AHS2PE_PREFIX','##|E_PCLT_AHS2PE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_AHS2PE_MISSINGCOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_AHS2PE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPST##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_AHS2PE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPST##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_AHS2PE_MISSINGCOMPST','##|E_PCLT_AHS2PE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_AHS2PE_PARSEFAIL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_AHS2PE_PARSEFAIL', 'данный текст не парсится в шаблон без ошибок. Список ошибок выданый парсером: @@|ll_errs_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_AHS2PE_PARSEFAIL', 'the given text won''t parse into a template. Parse error(s): @@|ll_errs_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_AHS2PE_PARSEFAIL','##|E_PCLT_AHS2PE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APSTPTE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APSTPTE', '##|E_PCLT_APSTPTE_PREFIX##|@@|pclt_apstpte_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APSTPTE', '##|E_PCLT_APSTPTE_PREFIX##|@@|pclt_apstpte_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APSTPTE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APSTPTE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APSTPTE_PREFIX', 'Произошла ошибка при прибавлен локализованой версии шаблона к локализуемому шаблону: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APSTPTE_PREFIX', 'An error occured when adding a localized template version to localizable template:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APSTPTE_PREFIX','##|E_PCLT_APSTPTE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APSTPTE_TPLUNQVIOL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APSTPTE_TPLUNQVIOL', '##|E_PCLT_COMMONS_UNIQUEVIOL##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APSTPTE_TPLUNQVIOL', '##|E_PCLT_COMMONS_UNIQUEVIOL##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APSTPTE_TPLUNQVIOL','##|E_PCLT_APSTPTE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APSTPTE_DLTCPSDFOON');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APSTPTE_DLTCPSDFOON', '##|E_PCLT_COMMONS_DLTCPSDFOON##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APSTPTE_DLTCPSDFOON', '##|E_PCLT_COMMONS_DLTCPSDFOON##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APSTPTE_DLTCPSDFOON','##|E_PCLT_APSTPTE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APTTPTE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APTTPTE', '##|E_PCLT_APTTPTE_PREFIX##|@@|pclt_apttpte_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APTTPTE', '##|E_PCLT_APTTPTE_PREFIX##|@@|pclt_apttpte_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APTTPTE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APTTPTE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APTTPTE_PREFIX', 'Произошла ошибка при слиянии 2-ух наборов локалицаций в один шаблон: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APTTPTE_PREFIX', 'An error occured when when merging 2 localizations sets into one templatestructure:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APTTPTE_PREFIX','##|E_PCLT_APTTPTE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APTTPTE_APSTPTE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APTTPTE_APSTPTE', '##|E_PCLT_APSTPTE##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APTTPTE_APSTPTE', '##|E_PCLT_APSTPTE##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APTTPTE_APSTPTE','##|E_PCLT_APTTPTE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_APTTPTE_DIFFSDLS');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_APTTPTE_DIFFSDLS', '##|E_PCLT_COMMONS_DIFFSDLS##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_APTTPTE_DIFFSDLS', '##|E_PCLT_COMMONS_DIFFSDLS##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_APTTPTE_DIFFSDLS','##|E_PCLT_APTTPTE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE', '##|E_PCLT_P2TE_PREFIX##|@@|pclt_p2te_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE', '##|E_PCLT_P2TE_PREFIX##|@@|pclt_p2te_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_PREFIX', 'Произошла ошибка (@@|short_err_mark@@|) при реализации сообщения из шаблона: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_PREFIX', 'An error (@@|short_err_mark@@|) occurred, when trying to realize a message from a template: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_PREFIX','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_MISSINGCOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_MISSINGCOMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_MISSINGCOMPST','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_MISSINGLNGCOMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_MISSINGLNGCOMPST', '(для языка "@@|lng@@|") ##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_MISSINGLNGCOMPST', '(for language "@@|lng@@|") ##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_MISSINGLNGCOMPST','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_COMPCYCL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_COMPCYCL', '##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_COMPCYCL', '##|E_PCLT_COMMONS_CCYCL##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_COMPCYCL','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_SDLDF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_SDLDF', '##|E_PCLT_SDLDF##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_SDLDF', '##|E_PCLT_SDLDF##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_SDLDF','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_USUPMARK');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_USUPMARK', 'неизвестный маркер обнаружен в шаблоне [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"]. @@|ssm@@| Содержимое под маркером: @@|contents@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_USUPMARK', 'unsupported marker appeara in the template [ID: @@|tpl_id@@|; language: "@@|lng@@|"]. @@|ssm@@| Marked text chunk: @@|contents@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_USUPMARK','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_NOPARAMVAL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_NOPARAMVAL', 'для параметра "@@|param_id@@|" к реализации шаблона [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"] не указано значение');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_NOPARAMVAL', 'no value specified for parameter "@@|param_id@@|" of template [ID: @@|tpl_id@@|; lng: "@@|lng@@|"]');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_NOPARAMVAL','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_REPRSFAIL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_REPRSFAIL', 'произошла ошибка при репарсинге значения параметра "@@|param_id@@|" при реализации шаблона [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"]. Ошибка: @@|rpcsce@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_REPRSFAIL', 'an error occurred, when reparsing a value specified for parameter "@@|param_id@@|" of template [ID: @@|tpl_id@@|; lng: "@@|lng@@|"]: @@|rpcsce@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_REPRSFAIL','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_REPRSDEPTH');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_REPRSDEPTH', 'достигнута максимальная глубина репарсинга (@@|reparsing_depth@@|). Дальнейшее углубление остановлено на репарсинге значения параметра "@@|param_id@@|" при реализации шаблона [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"]');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_REPRSDEPTH', 'reparsing depth maximum (@@|reparsing_depth@@|) reached, - halted a reparsing of a value specified for parameter "@@|param_id@@|" of template [ID: @@|tpl_id@@|; lng: "@@|lng@@|"]');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_REPRSDEPTH','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_REPRSLEN');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_REPRSLEN', 'достигнута максимальная длина (@@|max_len@@|) сторки подготавливаемой к репарсингу, при репарсинге значения параметра "@@|param_id@@|" при реализации шаблона [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"]');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_REPRSLEN', 'the text, that is to be reparsed, length maximum (@@|max_len@@|) reached, when reparsing a value specified for parameter "@@|param_id@@|" of template [ID: @@|tpl_id@@|; lng: "@@|lng@@|"]');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_REPRSLEN','##|E_PCLT_P2TE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_P2TE_INSTLEN');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_P2TE_INSTLEN', 'достигнута максимальная длина (@@|max_len@@|) реализации сообщения из шаблона [ИД: @@|tpl_id@@|; язык: "@@|lng@@|"]');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_P2TE_INSTLEN', 'the realization length maximum (@@|max_len@@|) is reached, when realizing template [ID: @@|tpl_id@@|; lng: "@@|lng@@|"]');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_P2TE_INSTLEN','##|E_PCLT_P2TE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF', '##|E_PCLT_SDLDF_PREFIX##|@@|pclt_sdldf_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF', '##|E_PCLT_SDLDF_PREFIX##|@@|pclt_sdldf_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_PREFIX', 'Произошла ошибка при определении шаблоном {ИД: "@@|tpl_id@@|"} требуемого для отображения уровня детализации: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_PREFIX', 'An error occured when trying to determine required by the template {ID: "@@|tpl_id@@|"} representation detalization level: ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_PREFIX','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_MISSCMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_MISSCMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_MISSCMPST', '##|E_PCLT_COMMONS_MISSINGCOMPSTBYRER##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_MISSCMPST','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_CMPZPARAMREF');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_CMPZPARAMREF', 'необходимый уровень детализации для отображения шаблона [ИД: @@|tpl_id@@|], указан быть таким же, как у шаблона, который подставляется под параметр [ИД: @@|param_id@@|]');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_CMPZPARAMREF', 'of template (ID: @@|tpl_id@@|) for message representation required detailization level is referenced to be the same as is one of composite put behind parameter (ID: @@|param_id@@|)');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_CMPZPARAMREF','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_MISSPARAM');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_MISSPARAM', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, однако такой параметр вообще отсутствует на входе в реализацию шаблона');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_MISSPARAM', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, but referenced parameter is missing in realization input');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_MISSPARAM','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_WRNGPRMTYP');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_WRNGPRMTYP', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, однако под параметр подставлен не шаблон');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_WRNGPRMTYP', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, but referenced parameter value is not a template');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_WRNGPRMTYP','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_WRNGPRMCMPST');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_WRNGPRMCMPST', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, однако под параметр подставлен шаблон [ИД: @@|wrng_tpl_id@@|] - каталогу неизвестный');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_WRNGPRMCMPST', '##|E_PCLT_SDLDF_CMPZPARAMREF##|, but referenced parameter value is set to a template [ID: @@|wrng_tpl_id@@|], which is not in the catalog');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_WRNGPRMCMPST','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_REFCYCL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_REFCYCL', 'у данного шаблона для отображения требуемый уровнь детализации такой же, как у указанного - при определении требуемого уровня детализации (остановлен на шаблоне [ИД: @@|tpl_id@@|]) обнаружен цикл таких ссылок. Буфер зацикленных шаблонов: @@|super_buf@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_REFCYCL', 'for message (of given template) representation required detailization level is referenced to be the same as is defined for the referenced template - in a group of such definitions a referential cycle is detected. Procedure of level requirements determination halted on template [ID: @@|tpl_id@@|]. Cycled tpls buffer: @@|super_buf@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_REFCYCL','##|E_PCLT_SDLDF##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLT_SDLDF_ESDL');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLT_SDLDF_ESDL', 'у шаблона [ИД: @@|tpl_id@@|] для отображения требуемый уровнь детализации ошибочен. @@|esdl_reason@@| Вместо определённого используется требование бесконечного уровня');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLT_SDLDF_ESDL', 'for message (of template [ИД: @@|tpl_id@@|]) representation required detailization level is errornous. @@|esdl_reason@@| The requirement of infinite level is used instead');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCLT_SDLDF_ESDL','##|E_PCLT_SDLDF##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCSC');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC', '##|E_PCSC_PREFIX##| @@|pclt_wpcsc_err_details@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC', '##|E_PCSC_PREFIX##| @@|pclt_wpcsc_err_details@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCSC_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_PREFIX', 'Произошла ошибка в связи с каталогом [ИД: @@|cat_id@@|] шаблонов стандартных локализуемых детализуемых сообщений. ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_PREFIX', 'An error occured in context of messages templates catalog [ID: @@|cat_id@@|].');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_PREFIX','##|E_PCSC##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCSC_CFHIE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_CFHIE', '##|E_PCSC_CFHIE_PREFIX##| @@|pclt_cfhie_err_details@@|\n##|E_PCSC_CFHIE_POSTFIX##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_CFHIE', '##|E_PCSC_CFHIE_PREFIX##| @@|pclt_cfhie_err_details@@|\n##|E_PCSC_CFHIE_POSTFIX##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_CFHIE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCSC_CFHIE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_CFHIE_PREFIX', 'Произошла одна или несколько ошибок при попытке инициализировать каталог [ИД: @@|cat_id@@|] из данных определённых через воплощение класса "HasStaticRawPCSTs": ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_CFHIE_PREFIX', 'One on more errors occurred when trying to initialize a catalog [ID: @@|cat_id@@|] from an instance of class "HasStaticRawPCSTs": ');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_CFHIE_PREFIX','##|E_PCSC_CFHIE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCSC_CFHIE_APTTPTE_L');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_CFHIE_APTTPTE_L', '\n ** Ошибки сборки множества шаблонов, из которых необходимо сформировать каталог: @@|cole_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_CFHIE_APTTPTE_L', '\n ** Errors of collecting templates for catalog formation input: @@|cole_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_CFHIE_APTTPTE_L','##|E_PCSC_CFHIE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCSC_CFHIE_RPCSCE_L');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_CFHIE_RPCSCE_L', '\n ** Ошибки чтения и формирования образа каталога: @@|cre_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_CFHIE_RPCSCE_L', '\n ** Catalog parsing errors: @@|cre_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_CFHIE_RPCSCE_L','##|E_PCSC_CFHIE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCSC_CFHIE_POSTFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCSC_CFHIE_POSTFIX', 'С упущениями, но всё же каталог (частично) считан.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCSC_CFHIE_POSTFIX', 'Despite of losses, the catalog is (partly) read.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (4,'E_PCSC_CFHIE_POSTFIX','##|E_PCSC_CFHIE##|');

------------------------------------------
-- PCLT-DB templates

INSERT INTO tpls (pclt_id) VALUES('DB_ERROR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'DB_ERROR', 'Провал операции в связи с БД. Состояние: "@@|seState@@|". Уровень: @@|seNativeError@@|. Сообщение: "@@|seErrorMsg@@|".');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'DB_ERROR', 'Operation with DB failed. State: "@@|seState@@|". Layer: @@|seNativeError@@|. Message: "@@|seErrorMsg@@|".');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'DB_ERROR','##|LLEXCPT##|');

INSERT INTO tpls (pclt_id) VALUES('ARFDBE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE', 'Ошибка при чтении объекта из БД. ##|ARFDBE_OBJ_TYPE##| ##|ARFDBE_OBJ_PK##| ##|ARFDBE_DET##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE', 'An error occurred, when tried to read an object from DB. ##|ARFDBE_OBJ_TYPE##| ##|ARFDBE_OBJ_PK##| ##|ARFDBE_DET##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE','##|ARFDBE_DET##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_OBJ_TYPE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_OBJ_TYPE', 'Тип объекта: @@|read_object_type@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_OBJ_TYPE', 'Object type: @@|read_object_type@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_OBJ_TYPE','##|ARFDBE##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_SDLR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_SDLR', '@@|sdl_reference@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_SDLR', '@@|sdl_reference@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_SDLR','@@|sdl_reference@@|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_OBJ_PK');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_OBJ_PK', 'Первичный ключ: @@|obj_pk@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_OBJ_PK', 'Object primary key: @@|obj_pk@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_OBJ_PK','##|ARFDBE_SDLR##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET', '@@|arfdbe_err_details@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET', '@@|arfdbe_err_details@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET','##|ARFDBE_SDLR##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET_RCVERR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET_RCVERR', '##|DB_ERROR##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET_RCVERR', '##|DB_ERROR##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET_RCVERR','##|DB_ERROR##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET_NOTFND');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET_NOTFND', 'Объект не найден!');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET_NOTFND', 'Object not found!');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET_NOTFND','##|ARFDBE_DET##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET_TOOMUCHRES');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET_TOOMUCHRES', 'Запрос к БД вернул слишком много результатов, при допустимом максимуме - @@|max_rows_count@@| строк.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET_TOOMUCHRES', 'DB query returned too many rows. Allowed rows count maximum is @@|max_rows_count@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET_TOOMUCHRES','##|ARFDBE_DET##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET_PARSERR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET_PARSERR', 'Провал перевода данных из формата БД в оперативный формат: ##|LLEXCPT##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET_PARSERR', 'Failed to parse object data from DB format to operative one: ##|LLEXCPT##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET_PARSERR','##|ARFDBE_DET##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_DET_SUBREADE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'ARFDBE_DET_SUBREADE', 'Провал подоперации, которая также связана с чтением из БД: @@|sub_arfdbe@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'ARFDBE_DET_SUBREADE', 'Subroutine, that is also about reading from DB, failed: @@|sub_arfdbe@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (2,'ARFDBE_DET_SUBREADE','##|ARFDBE_DET##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_DFCNTBUE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_DFCNTBUE', '##|E_PCLTC_DFCNTBUE_PREFIX##|@@|pclt_dfcntbue_err_details@@|.');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_DFCNTBUE', '##|E_PCLTC_DFCNTBUE_PREFIX##|@@|pclt_dfcntbue_err_details@@|.');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_DFCNTBUE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_DFCNTBUE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_DFCNTBUE_PREFIX', 'Произошла ошибка при попытке спустить флаг сигнализирующий о том, что доступна новая версия каталога [ИД: @@|cat_id@@|]: ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_DFCNTBUE_PREFIX', 'An error occured when trying to drop flag, which signalizes, that there is a new catalog [ID: @@|cat_id@@|] version is available:');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_DFCNTBUE_PREFIX','##|E_PCLTC_DFCNTBUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_DFCNTBUE_NOMODIFY');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_DFCNTBUE_NOMODIFY', 'запрос в БД на изменение таблицы содержащей флаг выполнен без ошибок, но и СУДБ отметила, что никакие данные не подвергались изменениям');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_DFCNTBUE_NOMODIFY', 'modifying DB query was executed without errors, however DBMS returned, that no row was actually modified');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_DFCNTBUE_NOMODIFY','##|E_PCLTC_DFCNTBUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_DFCNTBUE_DBERR');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_DFCNTBUE_DBERR', '##|DB_ERROR##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_DFCNTBUE_DBERR', '##|DB_ERROR##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_DFCNTBUE_DBERR','##|E_PCLTC_DFCNTBUE##|');

INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE', '##|E_PCLTC_CUE_PREFIX##| @@|pclt_cue_err_details@@|\n##|E_PCLTC_CUE_POSTFIX##|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE', '##|E_PCLTC_CUE_PREFIX##|@@|pclt_cue_err_details@@|\n##|E_PCLTC_CUE_POSTFIX##|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE','##|LLEXCPT##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_PREFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_PREFIX', 'Произошла одна или несколько ошибок при попытке обновить оперативную версию каталога [ИД: @@|cat_id@@|] (исторник обновления: БД): ');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_PREFIX', 'One or more errors occurred when trying to update operative version of catalog [ID: @@|cat_id@@|] (update source: DB):');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_PREFIX','##|E_PCLTC_CUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_ARFDBE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_ARFDBE', '\n ** Ошибка чтения из БД: @@|arfdbe@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_ARFDBE', '\n ** An error, when reading from DB: @@|arfdbe@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_ARFDBE','##|E_PCLTC_CUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_DFCNTBUE');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_DFCNTBUE', '\n ** Ошибка сброса флага новой версии каталога: @@|dfcntbue@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_DFCNTBUE', '\n ** An error, when dropping a flag of a new catalog version: @@|dfcntbue@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_DFCNTBUE','##|E_PCLTC_CUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_RLATCE_L');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_RLATCE_L', '\n ** Ошибки чтения и формирования каталога: @@|cre_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_RLATCE_L', '\n ** Catalog parsing errors: @@|cre_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_RLATCE_L','##|E_PCLTC_CUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_APTTPTE_L');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_APTTPTE_L', '\n ** Ошибки сборки множества шаблонов, из которых необходимо сформировать каталог: @@|cole_list@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_APTTPTE_L', '\n ** Errors of collecting templates for catalog formation input: @@|cole_list@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_APTTPTE_L','##|E_PCLTC_CUE##|');
INSERT INTO tpls (pclt_id) VALUES('E_PCLTC_CUE_POSTFIX');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('rus', 'E_PCLTC_CUE_POSTFIX', 'Каталог считан: @@|cat_read_wasit@@|');
INSERT INTO tpls_localized (lng, pclt_id, structured_text) VALUES('eng', 'E_PCLTC_CUE_POSTFIX', 'Catalog loaded: @@|cat_read_wasit@@|');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'E_PCLTC_CUE_POSTFIX','##|E_PCLTC_CUE##|');

-- These templates ar not for content but for representation requirement referencing that determines "ARFDBE" group templates requirements
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_SDLR.Text.PCLT.Config.LaT_InnerConfig');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'ARFDBE_SDLR.Text.PCLT.Config.LaT_InnerConfig','##|E_PCLTC_CUE_ARFDBE##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.RawCatalogDataReadFromDBResult');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.RawCatalogDataReadFromDBResult','##|E_PCLTC_CUE_ARFDBE##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.CatalogReadFromDBResult');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.CatalogReadFromDBResult','##|E_PCLTC_CUE_ARFDBE##|');
INSERT INTO tpls (pclt_id) VALUES('ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.CatalogNeedsToBeUpdated_DoesIt');
INSERT INTO tpls_inclusions_in_collections (tpls_collection_id, pclt_id, tpl_dflt_req_sdl) VALUES (5,'ARFDBE_SDLR.Database.PCLT.InterfaceWithDB.CatalogNeedsToBeUpdated_DoesIt','##|E_PCLTC_CUE_ARFDBE##|');
