touchstudy-core 0.1.64 → 0.1.65

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1027,8 +1027,9 @@ var useLanguage = function useLanguage(history) {
1027
1027
  var search = window.location.search;
1028
1028
  var searchParams = new URLSearchParams(search);
1029
1029
  if (!languageItem) {
1030
+ var _navigator$language, _navigator$language$s;
1030
1031
  var storedLanguage = getLanguage();
1031
- var browserLanguage = navigator.language;
1032
+ var browserLanguage = (_navigator$language = navigator.language) === null || _navigator$language === void 0 ? void 0 : (_navigator$language$s = _navigator$language.split("-")) === null || _navigator$language$s === void 0 ? void 0 : _navigator$language$s[0];
1032
1033
  var defaultLanguageCode = storedLanguage || browserLanguage;
1033
1034
  languageItem = LANGUAGES.find(function (i) {
1034
1035
  return i.code === defaultLanguageCode;
@@ -1383,7 +1384,6 @@ var Loading = function Loading() {
1383
1384
  var isLoading = reactRedux.useSelector(function (state) {
1384
1385
  return state.common.isLoading;
1385
1386
  });
1386
- localStorage.setItem("LAST_TIME_REQUETST", moment().utc().format("YYYY-MM-DD HH:mm:ss"));
1387
1387
  return isLoading ? React__default.createElement("div", {
1388
1388
  style: loadingStyle
1389
1389
  }, React__default.createElement("div", {
@@ -1909,6 +1909,7 @@ var correct_answer_for_each_student = "학생별 정답 여부";
1909
1909
  var information_by_question = "문항별 정보";
1910
1910
  var no_data = "데이터 없음";
1911
1911
  var internet_connection_was_lost = "인터넷 연결이 끊어졌습니다";
1912
+ var internet_connection_is_back = "인터넷 연결이 다시 돌아왔습니다";
1912
1913
  var problem = "문제";
1913
1914
  var number_problem = "{{number}}문제";
1914
1915
  var problems = "문제";
@@ -2537,6 +2538,7 @@ var lang_ko = {
2537
2538
  information_by_question: information_by_question,
2538
2539
  no_data: no_data,
2539
2540
  internet_connection_was_lost: internet_connection_was_lost,
2541
+ internet_connection_is_back: internet_connection_is_back,
2540
2542
  problem: problem,
2541
2543
  number_problem: number_problem,
2542
2544
  problems: problems,
@@ -3155,7 +3157,8 @@ var question_time_for_each_student$1 = "Question time for each student";
3155
3157
  var correct_answer_for_each_student$1 = "Correct answer for each student";
3156
3158
  var information_by_question$1 = "Information by question";
3157
3159
  var no_data$1 = "No data";
3158
- var internet_connection_was_lost$1 = "Internet connection was lost";
3160
+ var internet_connection_was_lost$1 = "The internet connection was lost";
3161
+ var internet_connection_is_back$1 = "The internet connection is back";
3159
3162
  var problem$1 = "Problem";
3160
3163
  var number_problem$1 = "No.{{number}}";
3161
3164
  var problems$1 = "Problems";
@@ -3784,6 +3787,7 @@ var lang_en = {
3784
3787
  information_by_question: information_by_question$1,
3785
3788
  no_data: no_data$1,
3786
3789
  internet_connection_was_lost: internet_connection_was_lost$1,
3790
+ internet_connection_is_back: internet_connection_is_back$1,
3787
3791
  problem: problem$1,
3788
3792
  number_problem: number_problem$1,
3789
3793
  problems: problems$1,