// Start is called before the first frame update
 void Start()
 {
     TranslationManager.scene = "Intro";
     CHANGE_THE_WAY_YOU_PLAY  = TranslationManager.Get("change_the_way_you_play") != string.Empty ? TranslationManager.Get("change_the_way_you_play") : "CHANGE THE WAY YOU PLAY";
     DISCOVER_CASH_TOURNAMENT_POWERED_BY_SEEMBA = TranslationManager.Get("discover_cash_tournament_powered_by_seemba") != string.Empty ? TranslationManager.Get("discover_cash_tournament_powered_by_seemba") : "DISCOVER CASH TOURNAMENTS POWERED BY SEEMBA";
     challenges.text = TranslationManager.Get("challenges") != string.Empty ? TranslationManager.Get("challenges") : challenges.text;
     _continue.text  = TranslationManager.Get("continue") != string.Empty ? TranslationManager.Get("continue") : _continue.text;
     Debug.Log("CHANGE_THE_WAY_YOU_PLAY :" + CHANGE_THE_WAY_YOU_PLAY);
     Debug.Log("DISCOVER_CASH_TOURNAMENT_POWERED_BY_SEEMBA :" + DISCOVER_CASH_TOURNAMENT_POWERED_BY_SEEMBA);
 }
Example #2
0
        private void InitOnGoingChallenge(GenericChallenge challenge)
        {
            GameObject newItem = Instantiate(ListItemPrefab) as GameObject;
            OnGoingGameListItemController controller = newItem.GetComponent <OnGoingGameListItemController>();

            controller.challengeResultId.text = challenge._id;
            controller.challengeId.text       = challenge._id;
            SetControllerTitle(challenge, controller);
            if (challenge.status.Equals("results pending") || challenge.status.Equals("pending") || challenge.status.Equals("on going"))
            {
                TranslationManager.scene     = "Home";
                controller.pending_text.text = TranslationManager.Get("pending");
                controller.SeeResult.transform.localScale = Vector3.zero;
                controller.Result.gameObject.SetActive(true);
                controller.Result.onClick.AddListener(async() =>
                {
                    LoaderManager.Get.LoaderController.ShowLoader(null);
                    ChallengeManager.CurrentChallengeId = challenge._id;
                    Debug.LogWarning(ChallengeManager.CurrentChallengeId);
                    Challenge mCurrentChallenge       = await ChallengeManager.Get.getChallenge(ChallengeManager.CurrentChallengeId);
                    ChallengeManager.CurrentChallenge = mCurrentChallenge;
                    ChallengeManager.Get.ShowResult();
                    LoaderManager.Get.LoaderController.HideLoader();
                });
                controller.SeeResult.gameObject.SetActive(false);
            }
            else if (challenge.status.Equals("see results for user 1"))
            {
                controller.pending_text.text = HomeTranslationController.GAME_FINISHED;
                controller.SeeResult.transform.localScale = Vector3.one;
                controller.SeeResult.gameObject.SetActive(true);
                controller.SeeResult.onClick.AddListener(async() =>
                {
                    ChallengeManager.CurrentChallengeId = challenge._id;
                    LoaderManager.Get.LoaderController.ShowLoader(null);

                    Challenge mUpdatedChallenge = await ChallengeManager.Get.UpdateChallengeStatusToFinishedAsync(token, ChallengeManager.CurrentChallengeId);
                    Challenge Selectedchallenge = await ChallengeManager.Get.getChallenge(ChallengeManager.CurrentChallengeId);

                    ChallengeManager.CurrentChallenge = Selectedchallenge;
                    ChallengeManager.Get.ShowResult();
                    LoaderManager.Get.LoaderController.HideLoader();
                });
                controller.Result.gameObject.SetActive(false);
            }
            string date = challenge.createdAt.ToString().Substring(0, challenge.createdAt.ToString().IndexOf("T"));
            string hour = challenge.createdAt.ToString().Substring(challenge.createdAt.ToString().IndexOf("T") + 1, 5).Replace(":", "H") + "MIN";

            controller.status.text = date + " " + HomeTranslationController.AT + " " + hour;
            newItem.transform.SetParent(ContentPanel.transform);
            RectTransform myLayoutElement = newItem.GetComponent <RectTransform>();

            myLayoutElement.transform.localScale = Vector3.one;
        }
        private void ChargeSucceeded()
        {
            SeembaAnalyticsManager.Get.SendCreditEvent("Credit Succeeded", WalletScript.LastCredit);
            float credit = float.Parse(UserManager.Get.GetCurrentMoneyCredit()) + WalletScript.LastCredit;

            TranslationManager.scene = "Home";
            object[] _params = { TranslationManager.Get("congratulations"), TranslationManager.Get("transaction_accepted"), credit.ToString() + "€", "(+" + WalletScript.LastCredit + CurrencyManager.CURRENT_CURRENCY + ")", TranslationManager.Get("ok") + " !" };
            LoaderManager.Get.LoaderController.HideLoader();
            PopupManager.Get.PopupController.ShowPopup(PopupType.POPUP_CONGRATS, _params);
            UserManager.Get.UpdateUserMoneyCredit(credit.ToString());
        }
 void Start()
 {
     TranslationManager.scene = "Bracket";
     Tour1.text               = TranslationManager.Get("tour1");
     SemiFinal.text           = TranslationManager.Get("semi_final");
     Final.text               = TranslationManager.Get("final");
     Champion.text            = TranslationManager.Get("champion");
     Play.text                = TranslationManager.Get("play");
     TranslationManager.scene = "Home";
     Back.text                = TranslationManager.Get("back_button");
 }
Example #5
0
 // Start is called before the first frame update
 void Start()
 {
     TranslationManager.scene = "Profile";
     games_won.text           = TranslationManager.Get("games_won") != string.Empty ? TranslationManager.Get("games_won") : games_won.text;
     in_a_row.text            = TranslationManager.Get("in_a_row") != string.Empty ? TranslationManager.Get("in_a_row") : in_a_row.text;
     favourite.text           = TranslationManager.Get("favourite") != string.Empty ? TranslationManager.Get("favourite") : favourite.text;
     verified.text            = TranslationManager.Get("verified") != string.Empty ? TranslationManager.Get("verified") : verified.text;
     pending.text             = TranslationManager.Get("pending") != string.Empty ? TranslationManager.Get("pending") : pending.text;
     unverified.text          = TranslationManager.Get("unverified") != string.Empty ? TranslationManager.Get("unverified") : unverified.text;
     history.text             = TranslationManager.Get("history") != string.Empty ? TranslationManager.Get("history") : history.text;
 }
Example #6
0
        public void ShowDuelsPopup(object[] _param, string note = null)
        {
            _params = _param;
            ShowPopupContent(PopupManager.Get.PopupController.PopupDuels.gameObject);
            PopupManager.Get.PopupController.PopupDuels.SetBool("Show", true);
            TranslationManager.scene = "Home";
            entry_fee.text           = TranslationManager.Get("entry_fee") + " " + _param[0];
            gain.text = _param[1].ToString();
            if (_param[2].Equals(ChallengeManager.CHALLENGE_WIN_TYPE_BUBBLES))
            {
                bubbles_text.gameObject.SetActive(true);
                bubbles_image.gameObject.SetActive(true);
            }
            else
            {
                entry_fee.text += CurrencyManager.CURRENT_CURRENCY;
                gain.text      += CurrencyManager.CURRENT_CURRENCY;
                bubbles_text.gameObject.SetActive(false);
                bubbles_image.gameObject.SetActive(false);
            }
            confirm_duels.onClick.RemoveAllListeners();

            if (note != null && note.Equals("PlayAgain"))
            {
                confirm_duels.onClick.AddListener(() =>
                {
                    EventsController.Get.playAgain();
                });
            }
            else
            {
                confirm_duels.onClick.AddListener(() =>
                {
                    HidePopupContent(popup_duels_animator);
                    if (_params[3].ToString().Equals(ChallengeManager.CHALLENGE_TYPE_1V1))
                    {
                        StartCoroutine(StartDuels());
                    }

                    if (_params[3].ToString().Equals(ChallengeManager.CHALLENGE_TYPE_BRACKET))
                    {
                        StartCoroutine(StartTournament());
                    }
                });
            }
            if (_params[3].ToString().Equals(ChallengeManager.CHALLENGE_TYPE_1V1))
            {
                SeembaAnalyticsManager.Get.SendDuelInfoEvent("Duel Popup", float.Parse(_param[0].ToString()), float.Parse(_param[1].ToString()), _param[2].ToString());
            }
            else
            {
                SeembaAnalyticsManager.Get.SendTournamentInfoEvent("Tournament Popup", float.Parse(_param[0].ToString()), float.Parse(_param[1].ToString()), _param[2].ToString());
            }
        }
        IEnumerator WithdrawFailed(string headertext, string headertext2, string msg)
        {
            ViewsEvents.Get.Menu.ScrollSnap.LerpToPage(0);
            BottomMenuController.Get.selectSettings();
            ViewsEvents.Get.SettingsClick();
            yield return(new WaitForSeconds(0.2f));

            ViewsEvents.Get.WinMoneyClick();
            LoaderManager.Get.LoaderController.HideLoader();
            object[] _params = { headertext, headertext2, msg, TranslationManager.Get("continue") };
            PopupManager.Get.PopupController.ShowPopup(PopupType.POPUP_PAYMENT_FAILED, _params);
        }
Example #8
0
 void SetLoadingTexts()
 {
     TranslationManager.scene = "Loader";
     SETTING_LANGUAGE         = TranslationManager.Get("setting_language");
     CHECKING_CONNECTION      = TranslationManager.Get("checking_connection");
     RECONNECTING             = TranslationManager.Get("reconnecting");
     DONWLOADING      = TranslationManager.Get("downloading");
     LOADING          = TranslationManager.Get("loading");
     FIRST_CHALLENGE  = TranslationManager.Get("first_challenge_load");
     SAVING           = TranslationManager.Get("saving");
     ACCOUNT_CREATING = TranslationManager.Get("account_creating");
 }
Example #9
0
 // Start is called before the first frame update
 void Start()
 {
     TranslationManager.scene = "ReplayChallenge";
     sorry.text         = TranslationManager.Get("sorry") != string.Empty ? TranslationManager.Get("sorry") : sorry.text;
     bug.text           = TranslationManager.Get("bug") != string.Empty ? TranslationManager.Get("bug") : bug.text;
     replay_now.text    = TranslationManager.Get("replay_now") != string.Empty ? TranslationManager.Get("replay_now") : replay_now.text;
     game_id.text       = TranslationManager.Get("game_id") != string.Empty ? TranslationManager.Get("game_id") : game_id.text;
     date.text          = TranslationManager.Get("date") != string.Empty ? TranslationManager.Get("date") : date.text;
     prize.text         = TranslationManager.Get("prize") != string.Empty ? TranslationManager.Get("prize") : prize.text;
     your_opponent.text = TranslationManager.Get("your_opponent") != string.Empty ? TranslationManager.Get("your_opponent") : your_opponent.text;
     is_waiting.text    = TranslationManager.Get("is_waiting") != string.Empty ? TranslationManager.Get("is_waiting") : is_waiting.text;
     play_now.text      = TranslationManager.Get("play_now") != string.Empty ? TranslationManager.Get("play_now") : play_now.text;
 }
 // Start is called before the first frame update
 void Start()
 {
     TranslationManager.scene = "Home";
     BackButton.text          = TranslationManager.Get("back_button");
     TranslationManager.scene = "PersonalInfo";
     first_name.text          = TranslationManager.Get("first_name") != string.Empty ? TranslationManager.Get("first_name") : first_name.text;
     last_name.text           = TranslationManager.Get("last_name") != string.Empty ? TranslationManager.Get("last_name") : last_name.text;
     date_of_birth.text       = TranslationManager.Get("date_of_birth") != string.Empty ? TranslationManager.Get("date_of_birth") : date_of_birth.text;
     address.text             = TranslationManager.Get("address") != string.Empty ? TranslationManager.Get("address") : address.text;
     city.text    = TranslationManager.Get("city") != string.Empty ? TranslationManager.Get("city") : city.text;
     zip.text     = TranslationManager.Get("zip") != string.Empty ? TranslationManager.Get("zip") : zip.text;
     country.text = TranslationManager.Get("country") != string.Empty ? TranslationManager.Get("country") : country.text;
     phone.text   = TranslationManager.Get("phone") != string.Empty ? TranslationManager.Get("phone") : phone.text;
 }
Example #11
0
        public void Init()
        {
            TranslationManager.scene   = "Home";
            Challenge.text             = TranslationManager.Get("challenge") != string.Empty ? TranslationManager.Get("challenge") : Challenge.text;
            Selection.text             = TranslationManager.Get("selection") != string.Empty ? TranslationManager.Get("selection") : Selection.text;
            WinAndGet.text             = TranslationManager.Get("win_and_get") != string.Empty ? TranslationManager.Get("win_and_get") : WinAndGet.text;
            EntryFee.text              = TranslationManager.Get("entry_fee") != string.Empty ? TranslationManager.Get("entry_fee") : EntryFee.text;
            Bubbles.text               = TranslationManager.Get("bubbles") != string.Empty ? TranslationManager.Get("bubbles") : EntryFee.text;
            DuelConfirmButtonText.text = TranslationManager.Get("go") != string.Empty ? TranslationManager.Get("go") : DuelConfirmButtonText.text;

            Select.text                   = TranslationManager.Get("select") != string.Empty ? TranslationManager.Get("select") : Select.text;
            PaymentMethod.text            = TranslationManager.Get("payment_method") != string.Empty ? TranslationManager.Get("payment_method") : PaymentMethod.text;
            PaymentConfirmButtonText.text = TranslationManager.Get("confirm") != string.Empty ? TranslationManager.Get("confirm") : PaymentConfirmButtonText.text;
        }
 void Start()
 {
     TranslationManager.scene     = "Signup";
     create_your.text             = TranslationManager.Get("create_your") != string.Empty ? TranslationManager.Get("create_your") : create_your.text;
     account.text                 = TranslationManager.Get("account") != string.Empty ? TranslationManager.Get("account") : account.text;
     choose_a_username.text       = TranslationManager.Get("choose_a_username") != string.Empty ? TranslationManager.Get("choose_a_username") : choose_a_username.text;
     enter_your_email.text        = TranslationManager.Get("enter_your_email") != string.Empty ? TranslationManager.Get("enter_your_email") : enter_your_email.text;
     enter_your_password.text     = TranslationManager.Get("enter_your_password") != string.Empty ? TranslationManager.Get("enter_your_password") : enter_your_password.text;
     confirm_your_password.text   = TranslationManager.Get("confirm_your_password") != string.Empty ? TranslationManager.Get("confirm_your_password") : confirm_your_password.text;
     have_you_got_an_account.text = TranslationManager.Get("have_you_got_an_account") != string.Empty ? TranslationManager.Get("have_you_got_an_account") : have_you_got_an_account.text;
     signin.text    = TranslationManager.Get("signin") != string.Empty ? TranslationManager.Get("signin") : signin.text;
     create.text    = TranslationManager.Get("create") != string.Empty ? TranslationManager.Get("create") : create.text;
     TermsText.text = TranslationManager.Get("by_creating_this_account") + " <color=#FAB986>" + TranslationManager.Get("terms_conditions") + "</color> "
                      + TranslationManager.Get("and") + " <color=#FAB986>" + TranslationManager.Get("privacy_policy") + "</color>";
 }
Example #13
0
 private void Start()
 {
     if (SelectedText != null)
     {
         TranslationManager.scene = "Home";
         if (IsSelected)
         {
             SelectedText.text = TranslationManager.Get("selected");
         }
         else
         {
             SelectedText.text = TranslationManager.Get("select");
         }
     }
 }
Example #14
0
 public void ToggleSelected(bool selected)
 {
     TranslationManager.scene = "Home";
     if (selected)
     {
         SelectedText.text  = TranslationManager.Get("selected");
         SelectedText.color = Color.white;
         Amount.color       = Color.white;
         IsSelected         = true;
     }
     else
     {
         SelectedText.text  = TranslationManager.Get("select");
         SelectedText.color = SelectedOffColor;
         Amount.color       = AmountOffColor;
         IsSelected         = false;
     }
 }
 void Start()
 {
     TranslationManager.scene   = "BankingInfo";
     cardholder_full_name.text  = TranslationManager.Get("cardholder_full_name") != string.Empty ? TranslationManager.Get("cardholder_full_name") : cardholder_full_name.text;
     wrong_cardholder_name.text = TranslationManager.Get("wrong_cardholder_name") != string.Empty ? TranslationManager.Get("wrong_cardholder_name") : wrong_cardholder_name.text;
     card_number.text           = TranslationManager.Get("card_number") != string.Empty ? TranslationManager.Get("card_number") : card_number.text;
     wrong_card_number.text     = TranslationManager.Get("wrong_card_number") != string.Empty ? TranslationManager.Get("wrong_card_number") : wrong_card_number.text;
     expiry_date.text           = TranslationManager.Get("expiry_date") != string.Empty ? TranslationManager.Get("expiry_date") : expiry_date.text;
     wrong_expiry_date.text     = TranslationManager.Get("wrong_expiry_date") != string.Empty ? TranslationManager.Get("wrong_expiry_date") : wrong_expiry_date.text;
     security_code.text         = TranslationManager.Get("security_code") != string.Empty ? TranslationManager.Get("security_code") : security_code.text;
     wrong_security_code.text   = TranslationManager.Get("wrong_security_code") != string.Empty ? TranslationManager.Get("wrong_security_code") : wrong_security_code.text;
     i_agree_to_Seemba.text     = TranslationManager.Get("i_agree_to_Seemba") != string.Empty ? TranslationManager.Get("i_agree_to_Seemba") : i_agree_to_Seemba.text;
     and.text = TranslationManager.Get("and") != string.Empty ? TranslationManager.Get("and") : and.text;
     terms_conditions.text           = TranslationManager.Get("terms_conditions") != string.Empty ? TranslationManager.Get("terms_conditions") : terms_conditions.text;
     privacy_policy.text             = TranslationManager.Get("privacy_policy") != string.Empty ? TranslationManager.Get("privacy_policy") : privacy_policy.text;
     credit.text                     = TranslationManager.Get("credit") != string.Empty ? TranslationManager.Get("credit") : credit.text;
     secured_payment.text            = TranslationManager.Get("secured_payment") != string.Empty ? TranslationManager.Get("secured_payment") : secured_payment.text;
     transaction_fees_may_apply.text = TranslationManager.Get("transaction_fees_may_apply");
 }
Example #16
0
        public async void Withdraw(float amount)
        {
            WithdrawManager wm         = new WithdrawManager();
            var             user_token = UserManager.Get.getCurrentSessionToken();

            string withdrawResult = null;

            withdrawResult = await wm.Payout(user_token, amount);

            InfoPersonnelWithdraw.currentIdProof = null;
            InfoPersonnelWithdraw.currentIBAN    = null;
            if (withdrawResult == "ProhibitedLocation")
            {
                SeembaAnalyticsManager.Get.SendWithdrawalEvent("Withdrawal prohibited location", WithdrawPresenter.AmountToWithdraw);
                PopupManager.Get.PopupController.ShowPopup(PopupType.INFO_POPUP_PROHIBITED_LOCATION_WITHDRAW, PopupsText.Get.ProhibitedLocationWithdraw());
            }
            else if (withdrawResult == WithdrawManager.WITHDRAW_ERROR_AMOUNT_INSUFFICIENT)
            {
                SeembaAnalyticsManager.Get.SendWithdrawalEvent("Withdrawal amount insufficient", WithdrawPresenter.AmountToWithdraw);
                TranslationManager.scene = "Popups";
                EventsController.Get.withdrawFailed(TranslationManager.Get("withdrawal"), TranslationManager.Get("error"), WithdrawManager.WITHDRAW_INSUFFICIENT_AMOUNT_FAILED_MESSAGE);
            }
            else if (withdrawResult == WithdrawManager.WITHDRAW_ERROR_BALANCE_INSUFFICIENT)
            {
                SeembaAnalyticsManager.Get.SendWithdrawalEvent("Withdrawal balance insufficient", WithdrawPresenter.AmountToWithdraw);
                TranslationManager.scene = "Popups";
                EventsController.Get.withdrawFailed(TranslationManager.Get("withdrawal"), TranslationManager.Get("error"), WithdrawManager.WITHDRAW_INSUFFICIENT_FUNDS_FAILED_MESSAGE);
            }
            else if (withdrawResult == "error")
            {
                SeembaAnalyticsManager.Get.SendWithdrawalEvent("Withdrawal Error", WithdrawPresenter.AmountToWithdraw);
                TranslationManager.scene = "Popups";
                EventsController.Get.withdrawFailed(TranslationManager.Get("withdrawal"), TranslationManager.Get("error"), WithdrawManager.WITHDRAW_FAILED_MESSAGE);
            }
            else if (withdrawResult == WithdrawManager.WITHDRAW_SUCCEEDED_STATUS)
            {
                SeembaAnalyticsManager.Get.SendWithdrawalEvent("Withdrawal Succeeded", WithdrawPresenter.AmountToWithdraw);
                LoaderManager.Get.LoaderController.HideLoader();
                UserManager.Get.CurrentUser.money_credit = float.Parse((UserManager.Get.CurrentUser.money_credit - WithdrawPresenter.WithdrawMoney).ToString());
                EventsController.Get.withdrawSucceeded();
            }
        }
        private IEnumerator TakeSSAndShare()
        {
            yield return(new WaitForEndOfFrame());

            TranslationManager.scene = "Sharing";
            text = TranslationManager.Get("i_challenge_you_on") + " " + GamesManager.GAME_NAME + ". " + TranslationManager.Get("are_you_up") + GamesManager.GAME_ANDROID_URL + " \n" + GamesManager.GAME_IOS_URL;
            Texture2D ss = new Texture2D(Screen.width, Screen.height, TextureFormat.RGB24, false);

            ss.ReadPixels(new Rect(0, 0, Screen.width, Screen.height), 0, 0);
            ss.Apply();
            string filePath = Path.Combine(Application.temporaryCachePath, "shared img.png");

            File.WriteAllBytes(filePath, ss.EncodeToPNG());
            // To avoid memory leaks
            Destroy(ss);
            Debug.Log(text);
            new NativeShare().AddFile(filePath).SetText(text).Share();
            // Share on WhatsApp only, if installed (Android only)
            //if( NativeShare.TargetExists( "com.whatsapp" ) )
            //	new NativeShare().AddFile( filePath ).SetText( "Hello world!" ).SetTarget( "com.whatsapp" ).Share();
        }
 private void Pending()
 {
     TranslationManager.scene = "WithdrawalInfo";
     Iban.text = string.Empty;
     Iban.placeholder.GetComponent <Text>().text = TranslationManager.Get("already_uploaded");
 }
 void Start()
 {
     TranslationManager.scene = "Login";
     //--------------Signin------------
     welcome.text              = TranslationManager.Get("welcome") != string.Empty ? TranslationManager.Get("welcome") : welcome.text;
     back.text                 = TranslationManager.Get("back") != string.Empty ? TranslationManager.Get("back") : back.text;
     incorrect.text            = TranslationManager.Get("incorrect") != string.Empty ? TranslationManager.Get("incorrect") : incorrect.text;
     email_or_username.text    = TranslationManager.Get("email_or_username") != string.Empty ? TranslationManager.Get("email_or_username") : email_or_username.text;
     password.text             = TranslationManager.Get("password") != string.Empty ? TranslationManager.Get("password") : password.text;
     forgot_your_password.text = TranslationManager.Get("forgot_your_password") != string.Empty ? TranslationManager.Get("forgot_your_password") : forgot_your_password.text;
     magic_code.text           = TranslationManager.Get("magic_code") != string.Empty ? TranslationManager.Get("magic_code") : magic_code.text;
     new_player.text           = TranslationManager.Get("new_player") != string.Empty ? TranslationManager.Get("new_player") : new_player.text;
     create_account.text       = TranslationManager.Get("create_account") != string.Empty ? TranslationManager.Get("create_account") : create_account.text;
     _continue.text            = TranslationManager.Get("continue") != string.Empty ? TranslationManager.Get("continue") : _continue.text;
     //--------------Email------------
     reset_password.text = TranslationManager.Get("reset_password") != string.Empty ? TranslationManager.Get("reset_password") : reset_password.text;
     enter_your_email_below_to_reset_password.text = TranslationManager.Get("enter_your_email_below_to_reset_password") != string.Empty ? TranslationManager.Get("enter_your_email_below_to_reset_password") : enter_your_email_below_to_reset_password.text;
     email.text = TranslationManager.Get("email") != string.Empty ? TranslationManager.Get("email") : email.text;
     //--------------Code------------
     reset_password_code.text = TranslationManager.Get("reset_password") != string.Empty ? TranslationManager.Get("reset_password_code") : reset_password_code.text;
     Enter_the_code.text      = TranslationManager.Get("Enter_the_code") != string.Empty ? TranslationManager.Get("Enter_the_code") : Enter_the_code.text;
     code_expired.text        = TranslationManager.Get("code_expired") != string.Empty ? TranslationManager.Get("code_expired") : code_expired.text;
     resend.text = TranslationManager.Get("resend") != string.Empty ? TranslationManager.Get("resend") : resend.text;
     submit.text = TranslationManager.Get("submit") != string.Empty ? TranslationManager.Get("submit") : submit.text;
     //--------------Change Password------------
     reset_password_change.text  = TranslationManager.Get("reset_password") != string.Empty ? TranslationManager.Get("reset_password_code") : reset_password_change.text;
     Enter_the_new_password.text = TranslationManager.Get("Enter_the_new_password") != string.Empty ? TranslationManager.Get("Enter_the_new_password") : Enter_the_new_password.text;
     new_password.text           = TranslationManager.Get("new_password") != string.Empty ? TranslationManager.Get("new_password") : new_password.text;
     confirm_password.text       = TranslationManager.Get("confirm_password") != string.Empty ? TranslationManager.Get("confirm_password") : confirm_password.text;
     code_expired_change.text    = TranslationManager.Get("code_expired") != string.Empty ? TranslationManager.Get("code_expired") : code_expired_change.text;
     resend_change.text          = TranslationManager.Get("resend") != string.Empty ? TranslationManager.Get("resend") : resend_change.text;
     done.text = TranslationManager.Get("done") != string.Empty ? TranslationManager.Get("done") : done.text;
 }
Example #20
0
 public object[] Win()
 {
     return(new object[] { TranslationManager.Get("bubbles"), TranslationManager.Get("great") });
 }
Example #21
0
 void Start()
 {
     TranslationManager.scene = "Home";
     BackButton.text          = TranslationManager.Get("back_button");
     ContinuerButton.text     = TranslationManager.Get("continue");
 }
Example #22
0
 public object[] ForgetPassword()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("forgotten"), TranslationManager.Get("password"), TranslationManager.Get("email"), TranslationManager.Get("enter_your_email_below_to_reset_password"), TranslationManager.Get("submit") });
 }
Example #23
0
 public object[] CongratsWithdraw()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("withdrawal"), TranslationManager.Get("confirmed"), TranslationManager.Get("you_will_receive"), TranslationManager.Get("working_days"), TranslationManager.Get("great") });
 }
Example #24
0
 public object[] UpdatePassword()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("change"), TranslationManager.Get("password"), TranslationManager.Get("new_password"), TranslationManager.Get("confirm_password"), TranslationManager.Get("confirm") });
 }
Example #25
0
 public object[] CurrentPassword()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("change"), TranslationManager.Get("password"), TranslationManager.Get("current_password"), TranslationManager.Get("next") });
 }
Example #26
0
 public object[] PopupPayment()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("select"), TranslationManager.Get("payment_method"), TranslationManager.Get("select"), TranslationManager.Get("selected"), TranslationManager.Get("confirmed") });
 }
Example #27
0
 public object[] AgeVerification()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("age"), TranslationManager.Get("verification"), TranslationManager.Get("by_clicking"), TranslationManager.Get("confirm"), TranslationManager.Get("enter_age") });
 }
Example #28
0
 public object[] insufficient_bubbles()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("insufficient"), TranslationManager.Get("bubbles"), TranslationManager.Get("get_free_bubbles"), TranslationManager.Get("got_it") });
 }
Example #29
0
 public object[] insufficient_balance()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("insufficient"), TranslationManager.Get("balance"), TranslationManager.Get("credit_your_account") + "?", TranslationManager.Get("credit") });
 }
Example #30
0
 public object[] prohibited_location()
 {
     TranslationManager.scene = "Home";
     return(new object[] { TranslationManager.Get("prohibited"), TranslationManager.Get("location"), TranslationManager.Get("real_money_tournaments"), TranslationManager.Get("got_it") });
 }