Exemple #1
0
        void TweetItemLanguageCtor(TweetItem ti)
        {
            ti.tsReply.Text = dil_.GetString("ITEM_MENU_1", cInfo_);
            ti.tsReTweet.Text = dil_.GetString("ITEM_MENU_2", cInfo_);
            ti.tsMessage.Text = dil_.GetString("ITEM_MENU_3", cInfo_);
            ti.SetMenuText(ti.tsFavorite, dil_.GetString(ti.ItemTweet.isFavorite ? "ITEM_MENU_5" : "ITEM_MENU_4", cInfo_));
            ti.tsDelete.Text = dil_.GetString("ITEM_MENU_6", cInfo_);
            ti.tsUserInfo.Text = dil_.GetString("ITEM_MENU_7", cInfo_);

            ti.lTime.Text = String.Format(dil_.GetString("ITEM_MENU_8",cInfo_),
                ToRelativeDate(ti.ItemTweet.CreateAt),
                ti.ItemTweet.Source);

            ti.tsUnfollow.Text = dil_.GetString("ITEM_MENU_9", cInfo_);
        }