@oxyhq/services 6.9.4 → 6.9.5
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/lib/commonjs/ui/client.js +0 -7
- package/lib/commonjs/ui/client.js.map +1 -1
- package/lib/commonjs/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/commonjs/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/commonjs/ui/components/types.js +4 -0
- package/lib/commonjs/ui/screens/AppInfoScreen.js +66 -60
- package/lib/commonjs/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/FileManagementScreen.js +139 -79
- package/lib/commonjs/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/commonjs/ui/screens/SessionManagementScreen.js +39 -29
- package/lib/commonjs/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/module/ui/client.js +0 -1
- package/lib/module/ui/client.js.map +1 -1
- package/lib/module/ui/components/feedback/FormInput.js.map +1 -1
- package/lib/module/ui/components/icon/OxyIcon.js.map +1 -1
- package/lib/module/ui/components/types.js +2 -0
- package/lib/module/ui/screens/AppInfoScreen.js +66 -60
- package/lib/module/ui/screens/AppInfoScreen.js.map +1 -1
- package/lib/module/ui/screens/FileManagementScreen.js +139 -79
- package/lib/module/ui/screens/FileManagementScreen.js.map +1 -1
- package/lib/module/ui/screens/SessionManagementScreen.js +39 -29
- package/lib/module/ui/screens/SessionManagementScreen.js.map +1 -1
- package/lib/typescript/commonjs/ui/client.d.ts +0 -1
- package/lib/typescript/commonjs/ui/client.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/components/types.d.ts +18 -17
- package/lib/typescript/commonjs/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/commonjs/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/client.d.ts +0 -1
- package/lib/typescript/module/ui/client.d.ts.map +1 -1
- package/lib/typescript/module/ui/components/types.d.ts +18 -17
- package/lib/typescript/module/ui/components/types.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/AppInfoScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/FileManagementScreen.d.ts.map +1 -1
- package/lib/typescript/module/ui/screens/SessionManagementScreen.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/ui/client.ts +0 -1
- package/src/ui/components/feedback/FormInput.tsx +1 -1
- package/src/ui/components/icon/OxyIcon.tsx +1 -1
- package/src/ui/components/types.tsx +19 -17
- package/src/ui/screens/AppInfoScreen.tsx +63 -61
- package/src/ui/screens/FileManagementScreen.tsx +130 -121
- package/src/ui/screens/SessionManagementScreen.tsx +30 -28
- package/lib/commonjs/ui/components/AnimationExample.js +0 -213
- package/lib/commonjs/ui/components/AnimationExample.js.map +0 -1
- package/lib/commonjs/ui/components/ErrorBoundary.js +0 -145
- package/lib/commonjs/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/commonjs/ui/components/WebOxyProvider.js +0 -106
- package/lib/commonjs/ui/components/WebOxyProvider.js.map +0 -1
- package/lib/module/ui/components/AnimationExample.js +0 -209
- package/lib/module/ui/components/AnimationExample.js.map +0 -1
- package/lib/module/ui/components/ErrorBoundary.js +0 -139
- package/lib/module/ui/components/ErrorBoundary.js.map +0 -1
- package/lib/module/ui/components/WebOxyProvider.js +0 -102
- package/lib/module/ui/components/WebOxyProvider.js.map +0 -1
- package/lib/typescript/commonjs/ui/components/AnimationExample.d.ts +0 -4
- package/lib/typescript/commonjs/ui/components/AnimationExample.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts +0 -31
- package/lib/typescript/commonjs/ui/components/ErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/commonjs/ui/components/WebOxyProvider.d.ts +0 -52
- package/lib/typescript/commonjs/ui/components/WebOxyProvider.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/AnimationExample.d.ts +0 -4
- package/lib/typescript/module/ui/components/AnimationExample.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts +0 -31
- package/lib/typescript/module/ui/components/ErrorBoundary.d.ts.map +0 -1
- package/lib/typescript/module/ui/components/WebOxyProvider.d.ts +0 -52
- package/lib/typescript/module/ui/components/WebOxyProvider.d.ts.map +0 -1
- package/src/ui/components/AnimationExample.tsx +0 -195
- package/src/ui/components/ErrorBoundary.tsx +0 -154
- package/src/ui/components/WebOxyProvider.tsx +0 -117
|
@@ -25,6 +25,7 @@ import { Section, GroupedSection } from '../components';
|
|
|
25
25
|
import { useThemeStyles } from '../hooks/useThemeStyles';
|
|
26
26
|
import { useColorScheme } from '../hooks/useColorScheme';
|
|
27
27
|
import { useOxy } from '../context/OxyContext';
|
|
28
|
+
import { useI18n } from '../hooks/useI18n';
|
|
28
29
|
|
|
29
30
|
|
|
30
31
|
interface SystemInfo {
|
|
@@ -44,6 +45,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
44
45
|
}) => {
|
|
45
46
|
// Use useOxy() hook for OxyContext values
|
|
46
47
|
const { user, sessions, oxyServices, isAuthenticated } = useOxy();
|
|
48
|
+
const { t } = useI18n();
|
|
47
49
|
const [systemInfo, setSystemInfo] = useState<SystemInfo | null>(null);
|
|
48
50
|
const [isRunningSystemCheck, setIsRunningSystemCheck] = useState(false);
|
|
49
51
|
const [connectionStatus, setConnectionStatus] = useState<'checking' | 'connected' | 'disconnected' | 'unknown'>('unknown');
|
|
@@ -103,9 +105,9 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
103
105
|
const copyToClipboard = async (text: string, label: string) => {
|
|
104
106
|
try {
|
|
105
107
|
await Clipboard.setString(text);
|
|
106
|
-
toast.success(
|
|
108
|
+
toast.success(t('appInfo.toasts.copiedToClipboard', { label }));
|
|
107
109
|
} catch (error) {
|
|
108
|
-
toast.error('
|
|
110
|
+
toast.error(t('appInfo.toasts.copyFailed'));
|
|
109
111
|
}
|
|
110
112
|
};
|
|
111
113
|
|
|
@@ -126,9 +128,9 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
126
128
|
}
|
|
127
129
|
}
|
|
128
130
|
|
|
129
|
-
toast.success('
|
|
131
|
+
toast.success(t('appInfo.toasts.systemCheckSuccess'));
|
|
130
132
|
} catch (error) {
|
|
131
|
-
toast.error('
|
|
133
|
+
toast.error(t('appInfo.toasts.systemCheckFailed'));
|
|
132
134
|
} finally {
|
|
133
135
|
setIsRunningSystemCheck(false);
|
|
134
136
|
}
|
|
@@ -154,7 +156,7 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
154
156
|
|
|
155
157
|
const handleCopyFullReport = () => {
|
|
156
158
|
const report = generateFullReport();
|
|
157
|
-
copyToClipboard(report, '
|
|
159
|
+
copyToClipboard(report, t('appInfo.items.copyFullReport'));
|
|
158
160
|
};
|
|
159
161
|
|
|
160
162
|
return (
|
|
@@ -164,141 +166,141 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
164
166
|
<TouchableOpacity style={styles.cancelButton} onPress={onClose}>
|
|
165
167
|
<Ionicons name="close" size={24} color="#666" />
|
|
166
168
|
</TouchableOpacity>
|
|
167
|
-
<Text style={styles.headerTitle}>
|
|
169
|
+
<Text style={styles.headerTitle}>{t('appInfo.title')}</Text>
|
|
168
170
|
<View style={styles.placeholder} />
|
|
169
171
|
</View>
|
|
170
172
|
|
|
171
173
|
<ScrollView style={styles.content} showsVerticalScrollIndicator={false}>
|
|
172
174
|
{/* Package Information */}
|
|
173
|
-
<Section title=
|
|
175
|
+
<Section title={t('appInfo.sections.package')} >
|
|
174
176
|
<GroupedSection
|
|
175
177
|
items={[
|
|
176
178
|
{
|
|
177
179
|
id: 'name',
|
|
178
180
|
icon: 'information',
|
|
179
181
|
iconColor: themeStyles.colors.iconSecurity,
|
|
180
|
-
title: '
|
|
182
|
+
title: t('appInfo.items.name'),
|
|
181
183
|
subtitle: packageInfo.name,
|
|
182
|
-
onPress: () => copyToClipboard(packageInfo.name, '
|
|
184
|
+
onPress: () => copyToClipboard(packageInfo.name, t('appInfo.items.name')),
|
|
183
185
|
customContent: <OxyServicesLogo width={20} height={20} style={styles.settingIcon} />,
|
|
184
186
|
},
|
|
185
187
|
{
|
|
186
188
|
id: 'version',
|
|
187
189
|
icon: 'tag',
|
|
188
190
|
iconColor: themeStyles.colors.iconData,
|
|
189
|
-
title: '
|
|
191
|
+
title: t('appInfo.items.version'),
|
|
190
192
|
subtitle: packageInfo.version,
|
|
191
|
-
onPress: () => copyToClipboard(packageInfo.version, '
|
|
193
|
+
onPress: () => copyToClipboard(packageInfo.version, t('appInfo.items.version')),
|
|
192
194
|
},
|
|
193
195
|
{
|
|
194
196
|
id: 'description',
|
|
195
197
|
icon: 'file-document',
|
|
196
198
|
iconColor: themeStyles.colors.iconPersonalInfo,
|
|
197
|
-
title: '
|
|
198
|
-
subtitle: packageInfo.description || '
|
|
199
|
+
title: t('appInfo.items.description'),
|
|
200
|
+
subtitle: packageInfo.description || t('appInfo.items.noDescription'),
|
|
199
201
|
},
|
|
200
202
|
{
|
|
201
203
|
id: 'main-entry',
|
|
202
204
|
icon: 'code-tags',
|
|
203
205
|
iconColor: themeStyles.colors.iconStorage,
|
|
204
|
-
title: '
|
|
206
|
+
title: t('appInfo.items.mainEntry'),
|
|
205
207
|
subtitle: packageInfo.main || 'N/A',
|
|
206
|
-
onPress: () => copyToClipboard(packageInfo.main || 'N/A', '
|
|
208
|
+
onPress: () => copyToClipboard(packageInfo.main || 'N/A', t('appInfo.items.mainEntry')),
|
|
207
209
|
},
|
|
208
210
|
{
|
|
209
211
|
id: 'module-entry',
|
|
210
212
|
icon: 'library',
|
|
211
213
|
iconColor: themeStyles.colors.iconSharing,
|
|
212
|
-
title: '
|
|
214
|
+
title: t('appInfo.items.moduleEntry'),
|
|
213
215
|
subtitle: packageInfo.module || 'N/A',
|
|
214
|
-
onPress: () => copyToClipboard(packageInfo.module || 'N/A', '
|
|
216
|
+
onPress: () => copyToClipboard(packageInfo.module || 'N/A', t('appInfo.items.moduleEntry')),
|
|
215
217
|
},
|
|
216
218
|
{
|
|
217
219
|
id: 'types-entry',
|
|
218
220
|
icon: 'wrench',
|
|
219
221
|
iconColor: themeStyles.colors.iconPersonalInfo,
|
|
220
|
-
title: '
|
|
222
|
+
title: t('appInfo.items.typesEntry'),
|
|
221
223
|
subtitle: packageInfo.types || 'N/A',
|
|
222
|
-
onPress: () => copyToClipboard(packageInfo.types || 'N/A', '
|
|
224
|
+
onPress: () => copyToClipboard(packageInfo.types || 'N/A', t('appInfo.items.typesEntry')),
|
|
223
225
|
},
|
|
224
226
|
]}
|
|
225
227
|
/>
|
|
226
228
|
</Section>
|
|
227
229
|
|
|
228
230
|
{/* System Information */}
|
|
229
|
-
<Section title=
|
|
231
|
+
<Section title={t('appInfo.sections.system')} >
|
|
230
232
|
<GroupedSection
|
|
231
233
|
items={[
|
|
232
234
|
{
|
|
233
235
|
id: 'platform',
|
|
234
236
|
icon: 'cellphone',
|
|
235
237
|
iconColor: themeStyles.colors.iconSecurity,
|
|
236
|
-
title: '
|
|
238
|
+
title: t('appInfo.items.platform'),
|
|
237
239
|
subtitle: Platform.OS,
|
|
238
240
|
},
|
|
239
241
|
{
|
|
240
242
|
id: 'platform-version',
|
|
241
243
|
icon: 'chip',
|
|
242
244
|
iconColor: themeStyles.colors.iconData,
|
|
243
|
-
title: '
|
|
244
|
-
subtitle: systemInfo?.version || '
|
|
245
|
+
title: t('appInfo.items.platformVersion'),
|
|
246
|
+
subtitle: systemInfo?.version || t('common.status.loading'),
|
|
245
247
|
},
|
|
246
248
|
{
|
|
247
249
|
id: 'screen-width',
|
|
248
250
|
icon: 'resize',
|
|
249
251
|
iconColor: themeStyles.colors.iconStorage,
|
|
250
|
-
title: '
|
|
252
|
+
title: t('appInfo.items.screenWidth'),
|
|
251
253
|
subtitle: `${systemInfo?.screenDimensions.width || 0}px`,
|
|
252
254
|
},
|
|
253
255
|
{
|
|
254
256
|
id: 'screen-height',
|
|
255
257
|
icon: 'resize',
|
|
256
258
|
iconColor: themeStyles.colors.iconSharing,
|
|
257
|
-
title: '
|
|
259
|
+
title: t('appInfo.items.screenHeight'),
|
|
258
260
|
subtitle: `${systemInfo?.screenDimensions.height || 0}px`,
|
|
259
261
|
},
|
|
260
262
|
{
|
|
261
263
|
id: 'environment',
|
|
262
264
|
icon: 'cog',
|
|
263
265
|
iconColor: themeStyles.colors.iconPersonalInfo,
|
|
264
|
-
title: '
|
|
265
|
-
subtitle: __DEV__ ? '
|
|
266
|
+
title: t('appInfo.items.environment'),
|
|
267
|
+
subtitle: __DEV__ ? t('appInfo.items.development') : t('appInfo.items.production'),
|
|
266
268
|
},
|
|
267
269
|
]}
|
|
268
270
|
/>
|
|
269
271
|
</Section>
|
|
270
272
|
|
|
271
273
|
{/* User Information */}
|
|
272
|
-
<Section title=
|
|
274
|
+
<Section title={t('appInfo.sections.user')} >
|
|
273
275
|
<GroupedSection
|
|
274
276
|
items={[
|
|
275
277
|
{
|
|
276
278
|
id: 'auth-status',
|
|
277
279
|
icon: 'shield-check',
|
|
278
280
|
iconColor: isAuthenticated ? themeStyles.colors.iconPersonalInfo : themeStyles.colors.iconSharing,
|
|
279
|
-
title: '
|
|
280
|
-
subtitle: isAuthenticated ? '
|
|
281
|
+
title: t('appInfo.items.authStatus'),
|
|
282
|
+
subtitle: isAuthenticated ? t('appInfo.items.authenticated') : t('appInfo.items.notAuthenticated'),
|
|
281
283
|
},
|
|
282
284
|
...(user ? [
|
|
283
285
|
{
|
|
284
286
|
id: 'user-id',
|
|
285
287
|
icon: 'account',
|
|
286
288
|
iconColor: themeStyles.colors.iconSecurity,
|
|
287
|
-
title: '
|
|
289
|
+
title: t('appInfo.items.userId'),
|
|
288
290
|
subtitle: user.id,
|
|
289
|
-
onPress: () => copyToClipboard(user.id, '
|
|
291
|
+
onPress: () => copyToClipboard(user.id, t('appInfo.items.userId')),
|
|
290
292
|
},
|
|
291
293
|
{
|
|
292
294
|
id: 'username',
|
|
293
295
|
icon: 'at',
|
|
294
296
|
iconColor: themeStyles.colors.iconData,
|
|
295
|
-
title: '
|
|
297
|
+
title: t('appInfo.items.username'),
|
|
296
298
|
subtitle: user.username || 'N/A',
|
|
297
299
|
onPress: () => {
|
|
298
300
|
if (user?.username && navigate) {
|
|
299
301
|
navigate('Profile', { userId: user.id });
|
|
300
302
|
} else {
|
|
301
|
-
toast.info('
|
|
303
|
+
toast.info(t('appInfo.toasts.noUsernameOrNav'));
|
|
302
304
|
}
|
|
303
305
|
},
|
|
304
306
|
},
|
|
@@ -306,22 +308,22 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
306
308
|
id: 'email',
|
|
307
309
|
icon: 'mail',
|
|
308
310
|
iconColor: themeStyles.colors.iconStorage,
|
|
309
|
-
title: '
|
|
311
|
+
title: t('appInfo.items.email'),
|
|
310
312
|
subtitle: user.email || 'N/A',
|
|
311
313
|
},
|
|
312
314
|
{
|
|
313
315
|
id: 'premium-status',
|
|
314
316
|
icon: 'star',
|
|
315
317
|
iconColor: user.isPremium ? '#FFD700' : '#8E8E93',
|
|
316
|
-
title: '
|
|
317
|
-
subtitle: user.isPremium ? '
|
|
318
|
+
title: t('appInfo.items.premiumStatus'),
|
|
319
|
+
subtitle: user.isPremium ? t('appInfo.items.premium') : t('appInfo.items.standard'),
|
|
318
320
|
},
|
|
319
321
|
] : []),
|
|
320
322
|
{
|
|
321
323
|
id: 'active-sessions',
|
|
322
324
|
icon: 'account-group',
|
|
323
325
|
iconColor: themeStyles.colors.iconPersonalInfo,
|
|
324
|
-
title: '
|
|
326
|
+
title: t('appInfo.items.totalActiveSessions'),
|
|
325
327
|
subtitle: sessions?.length?.toString() || '0',
|
|
326
328
|
},
|
|
327
329
|
]}
|
|
@@ -329,39 +331,39 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
329
331
|
</Section>
|
|
330
332
|
|
|
331
333
|
{/* API Configuration */}
|
|
332
|
-
<Section title=
|
|
334
|
+
<Section title={t('appInfo.sections.api')} >
|
|
333
335
|
<GroupedSection
|
|
334
336
|
items={[
|
|
335
337
|
{
|
|
336
338
|
id: 'api-base-url',
|
|
337
339
|
icon: 'server',
|
|
338
340
|
iconColor: themeStyles.colors.iconSecurity,
|
|
339
|
-
title: '
|
|
340
|
-
subtitle: oxyServices?.getBaseURL() || '
|
|
341
|
-
onPress: () => copyToClipboard(oxyServices?.getBaseURL() || '
|
|
341
|
+
title: t('appInfo.items.apiBaseUrl'),
|
|
342
|
+
subtitle: oxyServices?.getBaseURL() || t('appInfo.items.notConfigured'),
|
|
343
|
+
onPress: () => copyToClipboard(oxyServices?.getBaseURL() || t('appInfo.items.notConfigured'), t('appInfo.items.apiBaseUrl')),
|
|
342
344
|
},
|
|
343
345
|
{
|
|
344
346
|
id: 'connection-status',
|
|
345
347
|
icon: connectionStatus === 'checking' ? 'sync' : connectionStatus === 'connected' ? 'wifi' : 'wifi-off',
|
|
346
348
|
iconColor: connectionStatus === 'checking' ? themeStyles.colors.iconStorage : connectionStatus === 'connected' ? themeStyles.colors.iconPersonalInfo : themeStyles.colors.iconSharing,
|
|
347
|
-
title: '
|
|
348
|
-
subtitle: connectionStatus === 'checking' ? '
|
|
349
|
+
title: t('appInfo.items.connectionStatus'),
|
|
350
|
+
subtitle: connectionStatus === 'checking' ? t('appInfo.items.checking') : connectionStatus === 'connected' ? t('appInfo.items.connected') : connectionStatus === 'disconnected' ? t('appInfo.items.disconnected') : t('appInfo.items.unknown'),
|
|
349
351
|
onPress: async () => {
|
|
350
352
|
setConnectionStatus('checking');
|
|
351
353
|
|
|
352
354
|
if (!oxyServices) {
|
|
353
355
|
setConnectionStatus('disconnected');
|
|
354
|
-
toast.error('
|
|
356
|
+
toast.error(t('appInfo.toasts.oxyServicesNotInitialized'));
|
|
355
357
|
return;
|
|
356
358
|
}
|
|
357
359
|
|
|
358
360
|
try {
|
|
359
361
|
await oxyServices.healthCheck();
|
|
360
362
|
setConnectionStatus('connected');
|
|
361
|
-
toast.success('
|
|
363
|
+
toast.success(t('appInfo.toasts.apiConnectionSuccess'));
|
|
362
364
|
} catch (error) {
|
|
363
365
|
setConnectionStatus('disconnected');
|
|
364
|
-
toast.error('
|
|
366
|
+
toast.error(t('appInfo.toasts.apiConnectionFailed'));
|
|
365
367
|
}
|
|
366
368
|
},
|
|
367
369
|
},
|
|
@@ -370,55 +372,55 @@ const AppInfoScreen: React.FC<BaseScreenProps> = ({
|
|
|
370
372
|
</Section>
|
|
371
373
|
|
|
372
374
|
{/* Build Information */}
|
|
373
|
-
<Section title=
|
|
375
|
+
<Section title={t('appInfo.sections.build')} >
|
|
374
376
|
<GroupedSection
|
|
375
377
|
items={[
|
|
376
378
|
{
|
|
377
379
|
id: 'build-timestamp',
|
|
378
380
|
icon: 'clock',
|
|
379
381
|
iconColor: themeStyles.colors.iconSecurity,
|
|
380
|
-
title: '
|
|
381
|
-
subtitle: systemInfo?.timestamp || '
|
|
382
|
-
onPress: () => copyToClipboard(systemInfo?.timestamp || '
|
|
382
|
+
title: t('appInfo.items.buildTimestamp'),
|
|
383
|
+
subtitle: systemInfo?.timestamp || t('common.status.loading'),
|
|
384
|
+
onPress: () => copyToClipboard(systemInfo?.timestamp || t('common.status.loading'), t('appInfo.items.buildTimestamp')),
|
|
383
385
|
},
|
|
384
386
|
{
|
|
385
387
|
id: 'react-native',
|
|
386
388
|
icon: 'react',
|
|
387
389
|
iconColor: '#61DAFB',
|
|
388
|
-
title: '
|
|
389
|
-
subtitle: '
|
|
390
|
+
title: t('appInfo.items.reactNative'),
|
|
391
|
+
subtitle: t('appInfo.items.reactNativeValue'),
|
|
390
392
|
},
|
|
391
393
|
{
|
|
392
394
|
id: 'js-engine',
|
|
393
395
|
icon: 'flash',
|
|
394
396
|
iconColor: themeStyles.colors.iconSharing,
|
|
395
|
-
title: '
|
|
396
|
-
subtitle: '
|
|
397
|
+
title: t('appInfo.items.jsEngine'),
|
|
398
|
+
subtitle: t('appInfo.items.jsEngineValue'),
|
|
397
399
|
},
|
|
398
400
|
]}
|
|
399
401
|
/>
|
|
400
402
|
</Section>
|
|
401
403
|
|
|
402
404
|
{/* Quick Actions */}
|
|
403
|
-
<Section title=
|
|
405
|
+
<Section title={t('appInfo.sections.quickActions')} >
|
|
404
406
|
<GroupedSection
|
|
405
407
|
items={[
|
|
406
408
|
{
|
|
407
409
|
id: 'copy-full-report',
|
|
408
410
|
icon: 'content-copy',
|
|
409
411
|
iconColor: themeStyles.colors.iconSecurity,
|
|
410
|
-
title: '
|
|
411
|
-
subtitle: '
|
|
412
|
+
title: t('appInfo.items.copyFullReport'),
|
|
413
|
+
subtitle: t('appInfo.items.copyFullReportSubtitle'),
|
|
412
414
|
onPress: handleCopyFullReport,
|
|
413
415
|
},
|
|
414
416
|
{
|
|
415
417
|
id: 'run-system-check',
|
|
416
418
|
icon: isRunningSystemCheck ? 'sync' : 'check-circle',
|
|
417
419
|
iconColor: isRunningSystemCheck ? '#FF9500' : '#34C759',
|
|
418
|
-
title: isRunningSystemCheck ? '
|
|
420
|
+
title: isRunningSystemCheck ? t('appInfo.items.runningSystemCheck') : t('appInfo.items.runSystemCheck'),
|
|
419
421
|
subtitle: isRunningSystemCheck
|
|
420
|
-
? '
|
|
421
|
-
: '
|
|
422
|
+
? t('appInfo.items.systemCheckRunning')
|
|
423
|
+
: t('appInfo.items.systemCheckSubtitle'),
|
|
422
424
|
onPress: runSystemCheck,
|
|
423
425
|
disabled: isRunningSystemCheck,
|
|
424
426
|
customContent: isRunningSystemCheck ? (
|