whyuzeim 1.1.97 → 1.1.98

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.
@@ -0,0 +1,5 @@
1
+ 'use strict';
2
+
3
+ var img = "data:image/svg+xml,%3csvg width='20' height='20' viewBox='0 0 20 20' fill='none' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='M2.02273 10C2.02273 5.59427 5.59427 2.02273 10 2.02273C12.7648 2.02273 15.2025 3.42934 16.6342 5.56818H15.3182V7.34091H19.75V2.90909H17.9773V4.39303C16.2134 1.88804 13.2987 0.25 10 0.25C4.61522 0.25 0.25 4.61522 0.25 10H2.02273Z' fill='white' fill-opacity='0.4'/%3e%3cpath d='M9.99995 19.75C15.3847 19.75 19.75 15.3848 19.75 10H17.9772C17.9772 14.4057 14.4057 17.9773 9.99995 17.9773C7.23516 17.9773 4.79749 16.5707 3.36579 14.4318H4.68182V12.6591H0.25V17.0909H2.02273V15.607C3.7866 18.112 6.70132 19.75 9.99995 19.75Z' fill='white' fill-opacity='0.4'/%3e%3cpath fill-rule='evenodd' clip-rule='evenodd' d='M9.30758 5.23249L6.40385 13.4225C6.37904 13.5052 6.40799 13.5466 6.49072 13.5466H8.11631C8.19904 13.5466 8.25281 13.5052 8.27763 13.4225L8.74917 11.9458H11.7025L12.1865 13.4225C12.2113 13.5052 12.2651 13.5466 12.3478 13.5466H13.961C14.0437 13.5466 14.0727 13.5052 14.0479 13.4225L11.1938 5.23249C11.1689 5.14976 11.1152 5.1084 11.0324 5.1084H9.4689C9.38617 5.1084 9.3324 5.14976 9.30758 5.23249ZM11.2062 10.3947H9.25795L10.2134 7.44131H10.2507L11.2062 10.3947Z' fill='white' fill-opacity='0.4'/%3e%3c/svg%3e";
4
+
5
+ module.exports = img;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- export type Locale = 'en' | 'zh-TW';
2
+ export type Locale = 'en' | 'zh-TW' | 'ja' | 'ko';
3
3
  interface LocaleContextType {
4
4
  locale: Locale;
5
5
  setLocale: (locale: Locale) => void;
@@ -25,7 +25,7 @@ var loadTranslations = /*#__PURE__*/function () {
25
25
  while (1) switch (_context.prev = _context.next) {
26
26
  case 0:
27
27
  _context.t0 = locale;
28
- _context.next = _context.t0 === 'en' ? 3 : _context.t0 === 'zh-TW' ? 6 : 9;
28
+ _context.next = _context.t0 === 'en' ? 3 : _context.t0 === 'zh-TW' ? 6 : _context.t0 === 'ja' ? 9 : _context.t0 === 'ko' ? 12 : 15;
29
29
  break;
30
30
  case 3:
31
31
  _context.next = 5;
@@ -39,10 +39,20 @@ var loadTranslations = /*#__PURE__*/function () {
39
39
  return _context.abrupt("return", _context.sent["default"]);
40
40
  case 9:
41
41
  _context.next = 11;
42
- return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('../locales/en.js')); });
42
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('../locales/ja.js')); });
43
43
  case 11:
44
44
  return _context.abrupt("return", _context.sent["default"]);
45
45
  case 12:
46
+ _context.next = 14;
47
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('../locales/ko.js')); });
48
+ case 14:
49
+ return _context.abrupt("return", _context.sent["default"]);
50
+ case 15:
51
+ _context.next = 17;
52
+ return Promise.resolve().then(function () { return /*#__PURE__*/_interopNamespaceDefaultOnly(require('../locales/en.js')); });
53
+ case 17:
54
+ return _context.abrupt("return", _context.sent["default"]);
55
+ case 18:
46
56
  case "end":
47
57
  return _context.stop();
48
58
  }
package/cjs/index.js CHANGED
@@ -14,6 +14,8 @@ var index$9 = require('./HighlyCustomChat/index.js');
14
14
  var LocaleContext = require('./contexts/LocaleContext.js');
15
15
  var en = require('./locales/en.js');
16
16
  var zhTW = require('./locales/zh-TW.js');
17
+ var ja = require('./locales/ja.js');
18
+ var ko = require('./locales/ko.js');
17
19
 
18
20
 
19
21
 
@@ -33,3 +35,5 @@ exports.useLocale = LocaleContext.useLocale;
33
35
  exports.useTranslation = LocaleContext.useTranslation;
34
36
  exports.en = en;
35
37
  exports.zhTW = zhTW;
38
+ exports.ja = ja;
39
+ exports.ko = ko;
@@ -1,2 +1,4 @@
1
1
  export { default as en } from './en';
2
2
  export { default as zhTW } from './zh-TW';
3
+ export { default as ja } from './ja';
4
+ export { default as ko } from './ko';
@@ -0,0 +1,14 @@
1
+ 'use strict';
2
+
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
5
+ var en = require('./en.js');
6
+ var zhTW = require('./zh-TW.js');
7
+
8
+ var locales = {
9
+ en: en,
10
+ 'zh-TW': zhTW
11
+ };
12
+
13
+ exports.default = locales;
14
+ exports.locales = locales;
@@ -0,0 +1,153 @@
1
+ declare const _default: {
2
+ common: {
3
+ confirm: string;
4
+ cancel: string;
5
+ save: string;
6
+ edit: string;
7
+ delete: string;
8
+ search: string;
9
+ loading: string;
10
+ noData: string;
11
+ error: string;
12
+ success: string;
13
+ warning: string;
14
+ info: string;
15
+ close: string;
16
+ back: string;
17
+ next: string;
18
+ previous: string;
19
+ upload: string;
20
+ download: string;
21
+ refresh: string;
22
+ member: string;
23
+ members: string;
24
+ profile: string;
25
+ username: string;
26
+ description: string;
27
+ generating: string;
28
+ };
29
+ conversation: {
30
+ messages: string;
31
+ newMessage: string;
32
+ sendMessage: string;
33
+ typeMessage: string;
34
+ clearMessages: string;
35
+ deleteChat: string;
36
+ chatDeleted: string;
37
+ messageDeleted: string;
38
+ messageSent: string;
39
+ messageFailed: string;
40
+ noMessages: string;
41
+ loadingMessages: string;
42
+ loadMoreMessages: string;
43
+ endOfMessages: string;
44
+ sendMessageToGroup: string;
45
+ };
46
+ group: {
47
+ groups: string;
48
+ createGroup: string;
49
+ newGroup: string;
50
+ groupName: string;
51
+ groupDescription: string;
52
+ groupAvatar: string;
53
+ uploadAvatar: string;
54
+ groupMembers: string;
55
+ addMember: string;
56
+ removeMember: string;
57
+ leaveGroup: string;
58
+ deleteGroup: string;
59
+ groupSettings: string;
60
+ groupInfo: string;
61
+ memberCount: string;
62
+ adminCount: string;
63
+ groupCreated: string;
64
+ groupUpdated: string;
65
+ groupDeleted: string;
66
+ leftGroup: string;
67
+ memberAdded: string;
68
+ memberRemoved: string;
69
+ share: string;
70
+ shareGroup: string;
71
+ created: string;
72
+ admin: string;
73
+ joined: string;
74
+ };
75
+ chat: {
76
+ startChat: string;
77
+ continueChat: string;
78
+ endChat: string;
79
+ chatWith: string;
80
+ online: string;
81
+ offline: string;
82
+ typing: string;
83
+ lastSeen: string;
84
+ readReceipts: string;
85
+ delivered: string;
86
+ read: string;
87
+ unread: string;
88
+ };
89
+ userProfile: {
90
+ profile: string;
91
+ username: string;
92
+ email: string;
93
+ phone: string;
94
+ bio: string;
95
+ status: string;
96
+ settings: string;
97
+ editProfile: string;
98
+ changeAvatar: string;
99
+ changePassword: string;
100
+ logout: string;
101
+ accountSettings: string;
102
+ privacySettings: string;
103
+ notificationSettings: string;
104
+ };
105
+ search: {
106
+ search: string;
107
+ searchPlaceholder: string;
108
+ searchResults: string;
109
+ noResults: string;
110
+ searchUsers: string;
111
+ searchGroups: string;
112
+ searchMessages: string;
113
+ recentSearches: string;
114
+ clearSearchHistory: string;
115
+ friend: string;
116
+ group: string;
117
+ };
118
+ notifications: {
119
+ notifications: string;
120
+ markAsRead: string;
121
+ markAllAsRead: string;
122
+ clearNotifications: string;
123
+ noNotifications: string;
124
+ newNotification: string;
125
+ notificationSettings: string;
126
+ };
127
+ errors: {
128
+ networkError: string;
129
+ serverError: string;
130
+ unknownError: string;
131
+ timeout: string;
132
+ notFound: string;
133
+ forbidden: string;
134
+ unauthorized: string;
135
+ badRequest: string;
136
+ tooManyRequests: string;
137
+ };
138
+ actions: {
139
+ copy: string;
140
+ paste: string;
141
+ cut: string;
142
+ selectAll: string;
143
+ undo: string;
144
+ redo: string;
145
+ share: string;
146
+ report: string;
147
+ block: string;
148
+ unblock: string;
149
+ mute: string;
150
+ unmute: string;
151
+ };
152
+ };
153
+ export default _default;
@@ -0,0 +1,156 @@
1
+ 'use strict';
2
+
3
+ var ja = {
4
+ common: {
5
+ confirm: '確認',
6
+ cancel: 'キャンセル',
7
+ save: '保存',
8
+ edit: '編集',
9
+ "delete": '削除',
10
+ search: '検索',
11
+ loading: '読み込み中...',
12
+ noData: 'データがありません',
13
+ error: 'エラー',
14
+ success: '成功',
15
+ warning: '警告',
16
+ info: '情報',
17
+ close: '閉じる',
18
+ back: '戻る',
19
+ next: '次へ',
20
+ previous: '前へ',
21
+ upload: 'アップロード',
22
+ download: 'ダウンロード',
23
+ refresh: '更新',
24
+ member: 'メンバー',
25
+ members: 'メンバー',
26
+ profile: 'プロフィール',
27
+ username: 'ユーザー名',
28
+ description: '説明',
29
+ generating: '生成中...'
30
+ },
31
+ conversation: {
32
+ messages: 'メッセージ',
33
+ newMessage: '新しいメッセージ',
34
+ sendMessage: 'メッセージを送信',
35
+ typeMessage: 'メッセージを入力...',
36
+ clearMessages: 'メッセージをクリア',
37
+ deleteChat: 'チャットを削除',
38
+ chatDeleted: 'チャットが削除されました',
39
+ messageDeleted: 'メッセージが削除されました',
40
+ messageSent: 'メッセージが送信されました',
41
+ messageFailed: 'メッセージの送信に失敗しました',
42
+ noMessages: 'メッセージがありません',
43
+ loadingMessages: 'メッセージを読み込み中...',
44
+ loadMoreMessages: 'さらにメッセージを読み込む',
45
+ endOfMessages: 'これ以上メッセージはありません',
46
+ sendMessageToGroup: 'グループにメッセージを送信'
47
+ },
48
+ group: {
49
+ groups: 'グループ',
50
+ createGroup: 'グループを作成',
51
+ newGroup: '新しいグループ',
52
+ groupName: 'グループ名',
53
+ groupDescription: 'グループの説明',
54
+ groupAvatar: 'グループアバター',
55
+ uploadAvatar: 'アバターをアップロード',
56
+ groupMembers: 'グループメンバー',
57
+ addMember: 'メンバーを追加',
58
+ removeMember: 'メンバーを削除',
59
+ leaveGroup: 'グループを退出',
60
+ deleteGroup: 'グループを削除',
61
+ groupSettings: 'グループ設定',
62
+ groupInfo: 'グループ情報',
63
+ memberCount: '{count}人のメンバー',
64
+ adminCount: '{count}人の管理者',
65
+ groupCreated: 'グループが作成されました',
66
+ groupUpdated: 'グループが更新されました',
67
+ groupDeleted: 'グループが削除されました',
68
+ leftGroup: 'グループを退出しました',
69
+ memberAdded: 'メンバーが追加されました',
70
+ memberRemoved: 'メンバーが削除されました',
71
+ share: '共有',
72
+ shareGroup: 'グループを共有',
73
+ created: '作成済み',
74
+ admin: '管理者',
75
+ joined: '参加済み'
76
+ },
77
+ chat: {
78
+ startChat: 'チャットを開始',
79
+ continueChat: 'チャットを続ける',
80
+ endChat: 'チャットを終了',
81
+ chatWith: '{name}とチャット',
82
+ online: 'オンライン',
83
+ offline: 'オフライン',
84
+ typing: '入力中...',
85
+ lastSeen: '最終オンライン',
86
+ readReceipts: '既読確認',
87
+ delivered: '配信済み',
88
+ read: '既読',
89
+ unread: '未読'
90
+ },
91
+ userProfile: {
92
+ profile: 'プロフィール',
93
+ username: 'ユーザー名',
94
+ email: 'メールアドレス',
95
+ phone: '電話番号',
96
+ bio: '自己紹介',
97
+ status: 'ステータス',
98
+ settings: '設定',
99
+ editProfile: 'プロフィールを編集',
100
+ changeAvatar: 'アバターを変更',
101
+ changePassword: 'パスワードを変更',
102
+ logout: 'ログアウト',
103
+ accountSettings: 'アカウント設定',
104
+ privacySettings: 'プライバシー設定',
105
+ notificationSettings: '通知設定'
106
+ },
107
+ search: {
108
+ search: '検索',
109
+ searchPlaceholder: '検索...',
110
+ searchResults: '検索結果',
111
+ noResults: '結果が見つかりません',
112
+ searchUsers: 'ユーザーを検索',
113
+ searchGroups: 'グループを検索',
114
+ searchMessages: 'メッセージを検索',
115
+ recentSearches: '最近の検索',
116
+ clearSearchHistory: '検索履歴をクリア',
117
+ friend: '友達',
118
+ group: 'グループ'
119
+ },
120
+ notifications: {
121
+ notifications: '通知',
122
+ markAsRead: '既読にする',
123
+ markAllAsRead: 'すべて既読にする',
124
+ clearNotifications: '通知をクリア',
125
+ noNotifications: '通知がありません',
126
+ newNotification: '新しい通知',
127
+ notificationSettings: '通知設定'
128
+ },
129
+ errors: {
130
+ networkError: 'ネットワークエラー',
131
+ serverError: 'サーバーエラー',
132
+ unknownError: '不明なエラー',
133
+ timeout: 'リクエストタイムアウト',
134
+ notFound: '見つかりません',
135
+ forbidden: 'アクセス禁止',
136
+ unauthorized: '認証されていません',
137
+ badRequest: '不正なリクエスト',
138
+ tooManyRequests: 'リクエストが多すぎます'
139
+ },
140
+ actions: {
141
+ copy: 'コピー',
142
+ paste: '貼り付け',
143
+ cut: '切り取り',
144
+ selectAll: 'すべて選択',
145
+ undo: '元に戻す',
146
+ redo: 'やり直す',
147
+ share: '共有',
148
+ report: '報告',
149
+ block: 'ブロック',
150
+ unblock: 'ブロック解除',
151
+ mute: 'ミュート',
152
+ unmute: 'ミュート解除'
153
+ }
154
+ };
155
+
156
+ module.exports = ja;
@@ -0,0 +1,153 @@
1
+ declare const _default: {
2
+ common: {
3
+ confirm: string;
4
+ cancel: string;
5
+ save: string;
6
+ edit: string;
7
+ delete: string;
8
+ search: string;
9
+ loading: string;
10
+ noData: string;
11
+ error: string;
12
+ success: string;
13
+ warning: string;
14
+ info: string;
15
+ close: string;
16
+ back: string;
17
+ next: string;
18
+ previous: string;
19
+ upload: string;
20
+ download: string;
21
+ refresh: string;
22
+ member: string;
23
+ members: string;
24
+ profile: string;
25
+ username: string;
26
+ description: string;
27
+ generating: string;
28
+ };
29
+ conversation: {
30
+ messages: string;
31
+ newMessage: string;
32
+ sendMessage: string;
33
+ typeMessage: string;
34
+ clearMessages: string;
35
+ deleteChat: string;
36
+ chatDeleted: string;
37
+ messageDeleted: string;
38
+ messageSent: string;
39
+ messageFailed: string;
40
+ noMessages: string;
41
+ loadingMessages: string;
42
+ loadMoreMessages: string;
43
+ endOfMessages: string;
44
+ sendMessageToGroup: string;
45
+ };
46
+ group: {
47
+ groups: string;
48
+ createGroup: string;
49
+ newGroup: string;
50
+ groupName: string;
51
+ groupDescription: string;
52
+ groupAvatar: string;
53
+ uploadAvatar: string;
54
+ groupMembers: string;
55
+ addMember: string;
56
+ removeMember: string;
57
+ leaveGroup: string;
58
+ deleteGroup: string;
59
+ groupSettings: string;
60
+ groupInfo: string;
61
+ memberCount: string;
62
+ adminCount: string;
63
+ groupCreated: string;
64
+ groupUpdated: string;
65
+ groupDeleted: string;
66
+ leftGroup: string;
67
+ memberAdded: string;
68
+ memberRemoved: string;
69
+ share: string;
70
+ shareGroup: string;
71
+ created: string;
72
+ admin: string;
73
+ joined: string;
74
+ };
75
+ chat: {
76
+ startChat: string;
77
+ continueChat: string;
78
+ endChat: string;
79
+ chatWith: string;
80
+ online: string;
81
+ offline: string;
82
+ typing: string;
83
+ lastSeen: string;
84
+ readReceipts: string;
85
+ delivered: string;
86
+ read: string;
87
+ unread: string;
88
+ };
89
+ userProfile: {
90
+ profile: string;
91
+ username: string;
92
+ email: string;
93
+ phone: string;
94
+ bio: string;
95
+ status: string;
96
+ settings: string;
97
+ editProfile: string;
98
+ changeAvatar: string;
99
+ changePassword: string;
100
+ logout: string;
101
+ accountSettings: string;
102
+ privacySettings: string;
103
+ notificationSettings: string;
104
+ };
105
+ search: {
106
+ search: string;
107
+ searchPlaceholder: string;
108
+ searchResults: string;
109
+ noResults: string;
110
+ searchUsers: string;
111
+ searchGroups: string;
112
+ searchMessages: string;
113
+ recentSearches: string;
114
+ clearSearchHistory: string;
115
+ friend: string;
116
+ group: string;
117
+ };
118
+ notifications: {
119
+ notifications: string;
120
+ markAsRead: string;
121
+ markAllAsRead: string;
122
+ clearNotifications: string;
123
+ noNotifications: string;
124
+ newNotification: string;
125
+ notificationSettings: string;
126
+ };
127
+ errors: {
128
+ networkError: string;
129
+ serverError: string;
130
+ unknownError: string;
131
+ timeout: string;
132
+ notFound: string;
133
+ forbidden: string;
134
+ unauthorized: string;
135
+ badRequest: string;
136
+ tooManyRequests: string;
137
+ };
138
+ actions: {
139
+ copy: string;
140
+ paste: string;
141
+ cut: string;
142
+ selectAll: string;
143
+ undo: string;
144
+ redo: string;
145
+ share: string;
146
+ report: string;
147
+ block: string;
148
+ unblock: string;
149
+ mute: string;
150
+ unmute: string;
151
+ };
152
+ };
153
+ export default _default;