Пример #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
 public static void Add_listing_msgs(Xowe_wiki wiki) {
   Xol_msg_mgr msg_mgr = wiki.Lang().Msg_mgr();
   msg_mgr.Itm_by_key_or_new("listings-unknown", "Unknown destination");
   msg_mgr.Itm_by_key_or_new("listings-desc", "Add tags for listing locations");
   msg_mgr.Itm_by_key_or_new("listings-phone", "phone");
   msg_mgr.Itm_by_key_or_new("listings-phone-symbol", "☎");
   msg_mgr.Itm_by_key_or_new("listings-fax", "fax");
   msg_mgr.Itm_by_key_or_new("listings-fax-symbol", "");
   msg_mgr.Itm_by_key_or_new("listings-email", "email");
   msg_mgr.Itm_by_key_or_new("listings-email-symbol", "");
   msg_mgr.Itm_by_key_or_new("listings-tollfree", "toll-free");
   msg_mgr.Itm_by_key_or_new("listings-tollfree-symbol", "");
   msg_mgr.Itm_by_key_or_new("listings-checkin", "Check-in: ~{0}", true);
   msg_mgr.Itm_by_key_or_new("listings-checkout", "check-out: ~{0}");
   msg_mgr.Itm_by_key_or_new("listings-desc", "Add tags for listing locations");
   msg_mgr.Itm_by_key_or_new("listings-position", "position: ~{0}");
   msg_mgr.Itm_by_key_or_new("listings-position-template", "");
 }
Пример #3
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");
 }