Пример #1
0
 private void Format_durations_init() {
   Xol_msg_mgr msg_mgr = lang.Msg_mgr();
   int len = Xol_duration_itm_.Ary_default.length;
   interval_msgs = new Xol_msg_itm[len];
   for (int i = 0; i < len; i++) {
     Xol_duration_itm itm = Xol_duration_itm_.Ary_default[i];
     byte[] msg_key = Bry_.Add(Bry_duration, itm.Name_bry());
     interval_msgs[i] = msg_mgr.Itm_by_key_or_new(msg_key);
   }
 }
Пример #2
0
 private void List_to_str_init() {
   Xol_msg_mgr msg_mgr = lang.Msg_mgr();
   Msg_and = msg_mgr.Val_by_str_or_empty("and");
   Msg_word_separator = msg_mgr.Val_by_str_or_empty("word-separator");
   Msg_comma_separator = msg_mgr.Val_by_str_or_empty("comma-separator");
 }