@g9tm/app-diagnostic 0.2.0 → 0.2.1
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/package.json +20 -12
- package/src/bytes.ts +48 -48
- package/src/host.ts +124 -124
- package/src/index.ts +30 -30
- package/src/live/bundle.ts +77 -77
- package/src/live/channel.ts +496 -496
- package/src/live/handlers.ts +426 -426
- package/src/live/models.ts +366 -360
- package/src/live/upload.ts +175 -175
- package/src/recording.ts +176 -176
- package/src/store.ts +39 -39
- package/src/strings.generated.ts +242 -242
- package/src/strings.ts +37 -37
- package/src/tester/archive.ts +83 -83
- package/src/tester/compose.ts +99 -99
- package/src/tester/feed.ts +182 -182
- package/src/tester/gesture.ts +61 -61
- package/src/tester/model.ts +125 -125
- package/src/tester/outbox.ts +131 -131
- package/src/tester/screen.ts +117 -117
- package/src/tester/store.ts +145 -145
- package/src/tester/timeline.ts +98 -98
- package/src/upload.ts +236 -236
- package/src/wire.ts +133 -133
package/src/strings.generated.ts
CHANGED
|
@@ -1,242 +1,242 @@
|
|
|
1
|
-
// GENERATED by scripts/gen-strings.mjs from the .NET package's resx (TesterStrings, LiveStrings) — do not edit.
|
|
2
|
-
// One wording for both clients: change the resx, then run the script.
|
|
3
|
-
|
|
4
|
-
export const fa = {
|
|
5
|
-
BackupUploadSubtitle: "دادههای شما در حال ارسال به پشتیبانی است. تا پایان، برنامه را نصب نگه دارید.",
|
|
6
|
-
BackupUploadTitle: "در حال آپلود پشتیبان",
|
|
7
|
-
LiveDiagnosticAdminConnected: "مدیر متصل شد",
|
|
8
|
-
LiveDiagnosticApplyingRestore: "در حال آمادهسازی و بازیابی روی دستگاه… چند لحظه صبر کنید.",
|
|
9
|
-
LiveDiagnosticCancel: "قطع دسترسی زنده",
|
|
10
|
-
LiveDiagnosticConnectedWaiting: "متصل شد — در انتظار اپراتور",
|
|
11
|
-
LiveDiagnosticConnecting: "در حال اتصال…",
|
|
12
|
-
LiveDiagnosticConsentSavedHint: "این پنجره را باز نگه دارید تا دسترسی زنده فعال بماند.",
|
|
13
|
-
LiveDiagnosticEtaMinutes: "حدود {0} دقیقه و {1} ثانیه باقی مانده",
|
|
14
|
-
LiveDiagnosticEtaSeconds: "حدود {0} ثانیه باقی مانده",
|
|
15
|
-
LiveDiagnosticOperatorConnected: "اپراتور متصل شد",
|
|
16
|
-
LiveDiagnosticPreparingBackup: "در حال آمادهسازی پشتیبان…",
|
|
17
|
-
LiveDiagnosticReceivingRestore: "در حال دریافت بازیابی…",
|
|
18
|
-
LiveDiagnosticReconnecting: "اتصال قطع شد — در حال اتصال مجدد…",
|
|
19
|
-
LiveDiagnosticRestoreAppliedCloseMessage: "بازیابی اعمال شد. برنامه برای تکمیل بازیابی بسته میشود.",
|
|
20
|
-
LiveDiagnosticRestoreCompleteMessage: "بازیابی با موفقیت اعمال شد. برنامه اکنون بسته میشود.",
|
|
21
|
-
LiveDiagnosticRestoreCompleteTitle: "بازیابی کامل شد",
|
|
22
|
-
LiveDiagnosticSubtitle: "پشتیبانی میتواند هنگام اتصال، دستگاه شما را بهصورت زنده ببیند.",
|
|
23
|
-
LiveDiagnosticTitle: "عیبیابی آنلاین",
|
|
24
|
-
LiveDiagnosticUnavailable: "عیبیابی آنلاین در دسترس نیست",
|
|
25
|
-
LiveDiagnosticUploadingBackup: "در حال آپلود پشتیبان…",
|
|
26
|
-
TesterAutoContextHeader: "— اطلاعات خودکار (در صورت نیاز پاک کنید) —",
|
|
27
|
-
TesterAutoContextNetwork: "اینترنت",
|
|
28
|
-
TesterAutoContextOffline: "قطع",
|
|
29
|
-
TesterAutoContextOnline: "وصل",
|
|
30
|
-
TesterAutoContextOpenSheets: "پنجرههای باز",
|
|
31
|
-
TesterAutoContextScreen: "مسیر صفحه",
|
|
32
|
-
TesterAutoContextSection: "بخش",
|
|
33
|
-
TesterAutoTitleFormat: "مشکل در بخش {0}",
|
|
34
|
-
TesterAutoTitleKindFormat: "{0} در بخش {1}",
|
|
35
|
-
TesterAutoTitleWithSiteFormat: "مشکل در بخش {0} — {1}",
|
|
36
|
-
TesterCancel: "لغو",
|
|
37
|
-
TesterEvidenceFilesFormat: "{0} فایل",
|
|
38
|
-
TesterEvidenceRecordingsFormat: "{0} فیلم",
|
|
39
|
-
TesterEvidenceScreenshotsFormat: "{0} عکس",
|
|
40
|
-
TesterEvidenceVoicesFormat: "{0} صدا",
|
|
41
|
-
TesterGestureInstructionThreeFingers: "با سه انگشت دو بار روی صفحه بزنید",
|
|
42
|
-
TesterGestureInstructionTwoFingers: "با دو انگشت دو بار روی صفحه بزنید",
|
|
43
|
-
TesterGestureInstructionTwoFingersExceptMap: "با دو انگشت دو بار روی صفحه بزنید (روی نقشه نه)",
|
|
44
|
-
TesterGestureIntroChangeHint: "روش باز کردن پنل را همینجا، زیر «حالت اشکالزدایی آزمونگر»، میتوانید عوض کنید.",
|
|
45
|
-
TesterGestureIntroMessageFormat: "حالت تستر روشن شد. در هر صفحهای از اپ {0} تا پنل گزارش باز شود و همان لحظه از صفحه عکس گرفته شود. بعد از «ارسال» پنل پنهان میشود. روش باز کردن را همینجا میتوانید عوض کنید.",
|
|
46
|
-
TesterGestureIntroNoGesture: "حالت تستر روشن شد. روی این دستگاه ژست لمسی نیست، پس دکمهٔ + روی صفحه میماند: با آن از صفحه عکس بگیرید و گزارش را شروع کنید.",
|
|
47
|
-
TesterGestureIntroTitle: "پنل گزارش آزمون",
|
|
48
|
-
TesterGestureModeLabel: "روش باز کردن پنل",
|
|
49
|
-
TesterGestureStepCapture: "همان لحظه از صفحه عکس گرفته میشود؛ روی آن خط بکشید و جای اشکال را علامت بزنید.",
|
|
50
|
-
TesterGestureStepEvidence: "از پنل، فیلم صفحه (با صدای خودتان)، پیام صوتی یا فایل هم اضافه کنید.",
|
|
51
|
-
TesterGestureStepSendFormat: "«ارسال» را بزنید و گزارش را با کدش (مانند {0}) در پروفایل ← «{1}» دنبال کنید.",
|
|
52
|
-
TesterGestureThreeFingers: "دو ضربه با سه انگشت",
|
|
53
|
-
TesterGestureTwoFingers: "دو ضربه با دو انگشت",
|
|
54
|
-
TesterGestureTwoFingersExceptMap: "دو ضربه با دو انگشت (جز روی نقشه)",
|
|
55
|
-
TesterPanelAttachmentAdded: "فایل پیوست شد.",
|
|
56
|
-
TesterPanelAttachmentCountFormat: "{0} پیوست",
|
|
57
|
-
TesterPanelDeleteConfirmMessage: "گزارش و همهی پیوستهای آن بهطور کامل حذف میشود. این کار برگشتپذیر نیست.",
|
|
58
|
-
TesterPanelDeleteConfirmTitle: "حذف گزارش؟",
|
|
59
|
-
TesterPanelDescriptionPlaceholder: "چه کاری کردید، چه انتظاری داشتید، چه دیدید",
|
|
60
|
-
TesterPanelDescriptionRequired: "این گزارش صدا یا ویدیو ندارد؛ در شرح بنویسید چه دیدید.",
|
|
61
|
-
TesterPanelDiscarded: "گزارش حذف شد.",
|
|
62
|
-
TesterPanelDraftCreated: "گزارش ساخته شد. حالا میتوانید تصویر، ویدیو، صدا و فایل اضافه کنید.",
|
|
63
|
-
TesterPanelFieldDescription: "شرح",
|
|
64
|
-
TesterPanelFieldKind: "نوع گزارش",
|
|
65
|
-
TesterPanelIncludeDatabaseBackup: "افزودن نسخهی پشتیبان پایگاه داده",
|
|
66
|
-
TesterPanelIncludeDatabaseBackupHint: "حجم گزارش را زیاد میکند؛ فقط وقتی لازم است که مشکل به دادههای روی دستگاه مربوط باشد.",
|
|
67
|
-
TesterPanelNoDraft: "ابتدا یک گزارش بسازید.",
|
|
68
|
-
TesterPanelNotSupported: "روی این دستگاه پشتیبانی نمیشود.",
|
|
69
|
-
TesterPanelPreparing: "در حال آمادهسازی گزارش…",
|
|
70
|
-
TesterPanelRecordingFailed: "ضبط صفحه ممکن نشد.",
|
|
71
|
-
TesterPanelRecordingSaved: "ویدیوی ضبطشده پیوست شد.",
|
|
72
|
-
TesterPanelRecordingStarted: "ضبط صفحه آغاز شد. برای پایان دوباره بزنید.",
|
|
73
|
-
TesterPanelReviewTitle: "ارسال گزارش آزمون",
|
|
74
|
-
TesterPanelScreenshotAdded: "تصویر صفحه پیوست شد.",
|
|
75
|
-
TesterPanelScreenshotFailed: "ثبت تصویر صفحه ممکن نشد.",
|
|
76
|
-
TesterPanelSendFailed: "ارسال گزارش آزمون ممکن نشد.",
|
|
77
|
-
TesterPanelSendQueued: "گزارش در صف ارسال قرار گرفت و با اتصال بعدی فرستاده میشود.",
|
|
78
|
-
TesterPanelSendSucceeded: "گزارش آزمون ارسال شد.",
|
|
79
|
-
TesterPanelUseAi: "تبدیل صدا و ویدیو به متن با هوش مصنوعی",
|
|
80
|
-
TesterPanelUseAiHint: "صدا به متن و ویدیو به چند تصویر خلاصه تبدیل میشود تا گزارش زودتر خوانده شود؛ اگر محتوای گزارش نباید پردازش شود، خاموشش کنید.",
|
|
81
|
-
TesterPanelVoiceFailed: "ضبط صدا ممکن نشد.",
|
|
82
|
-
TesterPanelVoiceListening: "در حال شنیدن… برای پایان، دوباره میکروفون را بزنید.",
|
|
83
|
-
TesterPanelVoiceSaved: "یادداشت صوتی پیوست شد.",
|
|
84
|
-
TesterPanelVoiceStarted: "ضبط صدا آغاز شد. برای پایان دوباره بزنید.",
|
|
85
|
-
TesterRecordingNoVoice: "ویدیو بدون صدا ضبط میشود؛ میکروفون در دسترس نبود.",
|
|
86
|
-
TesterRecordingStopTimedOut: "ضبط بهموقع متوقف نشد و کنار گذاشته شد؛ دکمه آزاد است و میتوانی دوباره ضبط کنی.",
|
|
87
|
-
TesterRecordingTimelineDisplayName: "رویدادهای اپ در طول ویدیو",
|
|
88
|
-
TesterRecordingVoiceDisplayName: "صدای ویدیو",
|
|
89
|
-
TesterReportCodeCopiedFormat: "کد {0} کپی شد",
|
|
90
|
-
TesterReportKindBug: "مشکل",
|
|
91
|
-
TesterReportKindFeature: "درخواست قابلیت تازه",
|
|
92
|
-
TesterReportKindImprovement: "پیشنهاد بهبود",
|
|
93
|
-
TesterReportKindInvestigation: "نیاز به بررسی بیشتر",
|
|
94
|
-
TesterReportMineBadge: "از این دستگاه",
|
|
95
|
-
TesterReportOutcomeDuplicate: "تکراری",
|
|
96
|
-
TesterReportOutcomeFixedInCode: "در کد درست شد",
|
|
97
|
-
TesterReportOutcomeJiraFormat: "در Jira ثبت شد: {0}",
|
|
98
|
-
TesterReportOutcomeNotABug: "باگ نیست",
|
|
99
|
-
TesterReportReceivedFormat: "گزارش {0} به سرور رسید.",
|
|
100
|
-
TesterReportStateDeleted: "بسته شد",
|
|
101
|
-
TesterReportStateProcessing: "در حال تبدیل به متن و تصویر",
|
|
102
|
-
TesterReportStateQueued: "در صف ارسال",
|
|
103
|
-
TesterReportStateReady: "آماده بررسی",
|
|
104
|
-
TesterReportStateReceived: "رسید",
|
|
105
|
-
TesterReportStateUploading: "در حال ارسال",
|
|
106
|
-
TesterReportUploadSubtitle: "تا پایان ارسال، برنامه را حذف نکنید.",
|
|
107
|
-
TesterReportUploadTitle: "در حال ارسال گزارش آزمون",
|
|
108
|
-
TesterReportsListEmpty: "هنوز گزارشی ثبت نشده است.",
|
|
109
|
-
TesterReportsListLoadFailed: "فهرست گزارشها از سرور نیامد. اتصال را بررسی کنید و دوباره باز کنید.",
|
|
110
|
-
TesterReportsListNotYet: "این دستگاه هنوز گزارشی نفرستاده؛ فهرست بعد از اولین گزارش باز میشود.",
|
|
111
|
-
TesterReportsListRefresh: "بهروزرسانی",
|
|
112
|
-
TesterReportsListSectionAllFormat: "همهی گزارشها ({0})",
|
|
113
|
-
TesterReportsListSectionQueued: "در صف این دستگاه",
|
|
114
|
-
TesterReportsListStatDone: "نتیجهدار",
|
|
115
|
-
TesterReportsListStatInReview: "در بررسی",
|
|
116
|
-
TesterReportsListStatQueued: "در صف",
|
|
117
|
-
TesterReportsListStatReady: "آماده",
|
|
118
|
-
TesterReportsListSubtitle: "همهٔ گزارشهای QA و وضعیت هر کدام",
|
|
119
|
-
TesterReportsListTitle: "گزارشهای آزمون",
|
|
120
|
-
TesterSendReport: "ارسال",
|
|
121
|
-
TesterShowButtonLabel: "دکمهٔ + همیشه دیده شود",
|
|
122
|
-
} as const;
|
|
123
|
-
|
|
124
|
-
export const en: Partial<Record<keyof typeof fa, string>> = {
|
|
125
|
-
BackupUploadSubtitle: "Sending your data to support. Keep the app installed until it finishes.",
|
|
126
|
-
BackupUploadTitle: "Uploading backup",
|
|
127
|
-
LiveDiagnosticAdminConnected: "Admin connected",
|
|
128
|
-
LiveDiagnosticApplyingRestore: "Applying restore — preparing your device… please wait.",
|
|
129
|
-
LiveDiagnosticCancel: "Disconnect live access",
|
|
130
|
-
LiveDiagnosticConnectedWaiting: "Connected — waiting for operator",
|
|
131
|
-
LiveDiagnosticConnecting: "Connecting…",
|
|
132
|
-
LiveDiagnosticConsentSavedHint: "Keep this screen open to keep live access active.",
|
|
133
|
-
LiveDiagnosticEtaMinutes: "about {0}m {1}s remaining",
|
|
134
|
-
LiveDiagnosticEtaSeconds: "about {0}s remaining",
|
|
135
|
-
LiveDiagnosticOperatorConnected: "Operator connected",
|
|
136
|
-
LiveDiagnosticPreparingBackup: "Preparing backup…",
|
|
137
|
-
LiveDiagnosticReceivingRestore: "Receiving restore…",
|
|
138
|
-
LiveDiagnosticReconnecting: "Connection lost — reconnecting…",
|
|
139
|
-
LiveDiagnosticRestoreAppliedCloseMessage: "Restore applied. The app will close to finish the restore.",
|
|
140
|
-
LiveDiagnosticRestoreCompleteMessage: "Restore applied successfully. The app will now close.",
|
|
141
|
-
LiveDiagnosticRestoreCompleteTitle: "Restore complete",
|
|
142
|
-
LiveDiagnosticSubtitle: "Support can see your device live while connected.",
|
|
143
|
-
LiveDiagnosticTitle: "Live Diagnostic",
|
|
144
|
-
LiveDiagnosticUnavailable: "Live Diagnostic unavailable",
|
|
145
|
-
LiveDiagnosticUploadingBackup: "Uploading backup…",
|
|
146
|
-
TesterAutoContextHeader: "— Filled in automatically (delete if not needed) —",
|
|
147
|
-
TesterAutoContextNetwork: "Network",
|
|
148
|
-
TesterAutoContextOffline: "Offline",
|
|
149
|
-
TesterAutoContextOnline: "Online",
|
|
150
|
-
TesterAutoContextOpenSheets: "Open sheets",
|
|
151
|
-
TesterAutoContextScreen: "Screen path",
|
|
152
|
-
TesterAutoContextSection: "Section",
|
|
153
|
-
TesterAutoTitleFormat: "Problem in {0}",
|
|
154
|
-
TesterAutoTitleKindFormat: "{0} in {1}",
|
|
155
|
-
TesterAutoTitleWithSiteFormat: "Problem in {0} — {1}",
|
|
156
|
-
TesterCancel: "Cancel",
|
|
157
|
-
TesterEvidenceFilesFormat: "Files: {0}",
|
|
158
|
-
TesterEvidenceRecordingsFormat: "Videos: {0}",
|
|
159
|
-
TesterEvidenceScreenshotsFormat: "Screenshots: {0}",
|
|
160
|
-
TesterEvidenceVoicesFormat: "Voice notes: {0}",
|
|
161
|
-
TesterGestureInstructionThreeFingers: "double tap the screen with three fingers",
|
|
162
|
-
TesterGestureInstructionTwoFingers: "double tap the screen with two fingers",
|
|
163
|
-
TesterGestureInstructionTwoFingersExceptMap: "double tap the screen with two fingers (not on the map)",
|
|
164
|
-
TesterGestureIntroChangeHint: "You can change how the panel opens right here, under Tester Debug Mode.",
|
|
165
|
-
TesterGestureIntroMessageFormat: "Tester mode is on. On any screen of the app, {0} to open the report panel and take a screenshot right away. The panel hides after you send the report. You can change how it opens right here.",
|
|
166
|
-
TesterGestureIntroNoGesture: "Tester mode is on. This device has no touch gesture, so the + button stays on screen: tap it to take a screenshot and start a report.",
|
|
167
|
-
TesterGestureIntroTitle: "Test report panel",
|
|
168
|
-
TesterGestureModeLabel: "Open the panel with",
|
|
169
|
-
TesterGestureStepCapture: "A screenshot is taken at once; draw on it to mark what is wrong.",
|
|
170
|
-
TesterGestureStepEvidence: "From the panel, add a screen video (with your voice), a voice note or a file.",
|
|
171
|
-
TesterGestureStepSendFormat: "Tap send, then follow the report by its code (like {0}) in Profile → «{1}».",
|
|
172
|
-
TesterGestureThreeFingers: "Double tap with three fingers",
|
|
173
|
-
TesterGestureTwoFingers: "Double tap with two fingers",
|
|
174
|
-
TesterGestureTwoFingersExceptMap: "Double tap with two fingers (not on the map)",
|
|
175
|
-
TesterPanelAttachmentAdded: "File attached.",
|
|
176
|
-
TesterPanelAttachmentCountFormat: "{0} attachments",
|
|
177
|
-
TesterPanelDeleteConfirmMessage: "The report and every attachment in it will be deleted. This cannot be undone.",
|
|
178
|
-
TesterPanelDeleteConfirmTitle: "Discard report?",
|
|
179
|
-
TesterPanelDescriptionPlaceholder: "What you did, what you expected, what you saw",
|
|
180
|
-
TesterPanelDescriptionRequired: "This report has no voice or video — describe what you saw.",
|
|
181
|
-
TesterPanelDiscarded: "Report discarded.",
|
|
182
|
-
TesterPanelDraftCreated: "Report created. You can now add screenshots, recordings, voice notes and files.",
|
|
183
|
-
TesterPanelFieldDescription: "Description",
|
|
184
|
-
TesterPanelFieldKind: "Report type",
|
|
185
|
-
TesterPanelIncludeDatabaseBackup: "Include database backup",
|
|
186
|
-
TesterPanelIncludeDatabaseBackupHint: "Makes the report much larger. Only needed when the problem involves the data on this device.",
|
|
187
|
-
TesterPanelNoDraft: "Create a report first.",
|
|
188
|
-
TesterPanelNotSupported: "Not supported on this device.",
|
|
189
|
-
TesterPanelPreparing: "Preparing report…",
|
|
190
|
-
TesterPanelRecordingFailed: "Screen recording failed.",
|
|
191
|
-
TesterPanelRecordingSaved: "Recording attached.",
|
|
192
|
-
TesterPanelRecordingStarted: "Screen recording started. Tap again to stop.",
|
|
193
|
-
TesterPanelReviewTitle: "Send test report",
|
|
194
|
-
TesterPanelScreenshotAdded: "Screenshot attached.",
|
|
195
|
-
TesterPanelScreenshotFailed: "Screen capture failed.",
|
|
196
|
-
TesterPanelSendFailed: "The test report could not be sent.",
|
|
197
|
-
TesterPanelSendQueued: "Report queued; it will be sent on the next connection.",
|
|
198
|
-
TesterPanelSendSucceeded: "Test report sent.",
|
|
199
|
-
TesterPanelUseAi: "Turn voice and video into text with AI",
|
|
200
|
-
TesterPanelUseAiHint: "The speech becomes text and the video a few summary frames, so the report is read sooner; switch it off when the report must not be processed.",
|
|
201
|
-
TesterPanelVoiceFailed: "Voice recording failed.",
|
|
202
|
-
TesterPanelVoiceListening: "Listening… tap the microphone again to stop.",
|
|
203
|
-
TesterPanelVoiceSaved: "Voice note attached.",
|
|
204
|
-
TesterPanelVoiceStarted: "Voice recording started. Tap again to stop.",
|
|
205
|
-
TesterRecordingNoVoice: "Recording without sound: the microphone was not available.",
|
|
206
|
-
TesterRecordingStopTimedOut: "The recording did not stop in time and was dropped; the button is free and you can record again.",
|
|
207
|
-
TesterRecordingTimelineDisplayName: "App events during the recording",
|
|
208
|
-
TesterRecordingVoiceDisplayName: "Recording's sound",
|
|
209
|
-
TesterReportCodeCopiedFormat: "{0} copied",
|
|
210
|
-
TesterReportKindBug: "Problem",
|
|
211
|
-
TesterReportKindFeature: "New feature request",
|
|
212
|
-
TesterReportKindImprovement: "Improvement",
|
|
213
|
-
TesterReportKindInvestigation: "Needs a closer look",
|
|
214
|
-
TesterReportMineBadge: "This device",
|
|
215
|
-
TesterReportOutcomeDuplicate: "Duplicate",
|
|
216
|
-
TesterReportOutcomeFixedInCode: "Fixed in code",
|
|
217
|
-
TesterReportOutcomeJiraFormat: "Filed in Jira: {0}",
|
|
218
|
-
TesterReportOutcomeNotABug: "Not a bug",
|
|
219
|
-
TesterReportReceivedFormat: "Report {0} reached the server.",
|
|
220
|
-
TesterReportStateDeleted: "Closed",
|
|
221
|
-
TesterReportStateProcessing: "Being turned into text and frames",
|
|
222
|
-
TesterReportStateQueued: "Queued",
|
|
223
|
-
TesterReportStateReady: "Ready for review",
|
|
224
|
-
TesterReportStateReceived: "Received",
|
|
225
|
-
TesterReportStateUploading: "Uploading",
|
|
226
|
-
TesterReportUploadSubtitle: "Keep the app installed until the upload finishes.",
|
|
227
|
-
TesterReportUploadTitle: "Sending test report",
|
|
228
|
-
TesterReportsListEmpty: "No reports yet.",
|
|
229
|
-
TesterReportsListLoadFailed: "Could not load the reports from the server. Check the connection and open the list again.",
|
|
230
|
-
TesterReportsListNotYet: "This device has not sent a report yet; the list opens after its first one.",
|
|
231
|
-
TesterReportsListRefresh: "Refresh",
|
|
232
|
-
TesterReportsListSectionAllFormat: "All reports ({0})",
|
|
233
|
-
TesterReportsListSectionQueued: "Waiting on this device",
|
|
234
|
-
TesterReportsListStatDone: "Resolved",
|
|
235
|
-
TesterReportsListStatInReview: "In review",
|
|
236
|
-
TesterReportsListStatQueued: "Queued",
|
|
237
|
-
TesterReportsListStatReady: "Ready",
|
|
238
|
-
TesterReportsListSubtitle: "Every QA report and where it stands",
|
|
239
|
-
TesterReportsListTitle: "Test reports",
|
|
240
|
-
TesterSendReport: "Send",
|
|
241
|
-
TesterShowButtonLabel: "Always show the + button",
|
|
242
|
-
};
|
|
1
|
+
// GENERATED by scripts/gen-strings.mjs from the .NET package's resx (TesterStrings, LiveStrings) — do not edit.
|
|
2
|
+
// One wording for both clients: change the resx, then run the script.
|
|
3
|
+
|
|
4
|
+
export const fa = {
|
|
5
|
+
BackupUploadSubtitle: "دادههای شما در حال ارسال به پشتیبانی است. تا پایان، برنامه را نصب نگه دارید.",
|
|
6
|
+
BackupUploadTitle: "در حال آپلود پشتیبان",
|
|
7
|
+
LiveDiagnosticAdminConnected: "مدیر متصل شد",
|
|
8
|
+
LiveDiagnosticApplyingRestore: "در حال آمادهسازی و بازیابی روی دستگاه… چند لحظه صبر کنید.",
|
|
9
|
+
LiveDiagnosticCancel: "قطع دسترسی زنده",
|
|
10
|
+
LiveDiagnosticConnectedWaiting: "متصل شد — در انتظار اپراتور",
|
|
11
|
+
LiveDiagnosticConnecting: "در حال اتصال…",
|
|
12
|
+
LiveDiagnosticConsentSavedHint: "این پنجره را باز نگه دارید تا دسترسی زنده فعال بماند.",
|
|
13
|
+
LiveDiagnosticEtaMinutes: "حدود {0} دقیقه و {1} ثانیه باقی مانده",
|
|
14
|
+
LiveDiagnosticEtaSeconds: "حدود {0} ثانیه باقی مانده",
|
|
15
|
+
LiveDiagnosticOperatorConnected: "اپراتور متصل شد",
|
|
16
|
+
LiveDiagnosticPreparingBackup: "در حال آمادهسازی پشتیبان…",
|
|
17
|
+
LiveDiagnosticReceivingRestore: "در حال دریافت بازیابی…",
|
|
18
|
+
LiveDiagnosticReconnecting: "اتصال قطع شد — در حال اتصال مجدد…",
|
|
19
|
+
LiveDiagnosticRestoreAppliedCloseMessage: "بازیابی اعمال شد. برنامه برای تکمیل بازیابی بسته میشود.",
|
|
20
|
+
LiveDiagnosticRestoreCompleteMessage: "بازیابی با موفقیت اعمال شد. برنامه اکنون بسته میشود.",
|
|
21
|
+
LiveDiagnosticRestoreCompleteTitle: "بازیابی کامل شد",
|
|
22
|
+
LiveDiagnosticSubtitle: "پشتیبانی میتواند هنگام اتصال، دستگاه شما را بهصورت زنده ببیند.",
|
|
23
|
+
LiveDiagnosticTitle: "عیبیابی آنلاین",
|
|
24
|
+
LiveDiagnosticUnavailable: "عیبیابی آنلاین در دسترس نیست",
|
|
25
|
+
LiveDiagnosticUploadingBackup: "در حال آپلود پشتیبان…",
|
|
26
|
+
TesterAutoContextHeader: "— اطلاعات خودکار (در صورت نیاز پاک کنید) —",
|
|
27
|
+
TesterAutoContextNetwork: "اینترنت",
|
|
28
|
+
TesterAutoContextOffline: "قطع",
|
|
29
|
+
TesterAutoContextOnline: "وصل",
|
|
30
|
+
TesterAutoContextOpenSheets: "پنجرههای باز",
|
|
31
|
+
TesterAutoContextScreen: "مسیر صفحه",
|
|
32
|
+
TesterAutoContextSection: "بخش",
|
|
33
|
+
TesterAutoTitleFormat: "مشکل در بخش {0}",
|
|
34
|
+
TesterAutoTitleKindFormat: "{0} در بخش {1}",
|
|
35
|
+
TesterAutoTitleWithSiteFormat: "مشکل در بخش {0} — {1}",
|
|
36
|
+
TesterCancel: "لغو",
|
|
37
|
+
TesterEvidenceFilesFormat: "{0} فایل",
|
|
38
|
+
TesterEvidenceRecordingsFormat: "{0} فیلم",
|
|
39
|
+
TesterEvidenceScreenshotsFormat: "{0} عکس",
|
|
40
|
+
TesterEvidenceVoicesFormat: "{0} صدا",
|
|
41
|
+
TesterGestureInstructionThreeFingers: "با سه انگشت دو بار روی صفحه بزنید",
|
|
42
|
+
TesterGestureInstructionTwoFingers: "با دو انگشت دو بار روی صفحه بزنید",
|
|
43
|
+
TesterGestureInstructionTwoFingersExceptMap: "با دو انگشت دو بار روی صفحه بزنید (روی نقشه نه)",
|
|
44
|
+
TesterGestureIntroChangeHint: "روش باز کردن پنل را همینجا، زیر «حالت اشکالزدایی آزمونگر»، میتوانید عوض کنید.",
|
|
45
|
+
TesterGestureIntroMessageFormat: "حالت تستر روشن شد. در هر صفحهای از اپ {0} تا پنل گزارش باز شود و همان لحظه از صفحه عکس گرفته شود. بعد از «ارسال» پنل پنهان میشود. روش باز کردن را همینجا میتوانید عوض کنید.",
|
|
46
|
+
TesterGestureIntroNoGesture: "حالت تستر روشن شد. روی این دستگاه ژست لمسی نیست، پس دکمهٔ + روی صفحه میماند: با آن از صفحه عکس بگیرید و گزارش را شروع کنید.",
|
|
47
|
+
TesterGestureIntroTitle: "پنل گزارش آزمون",
|
|
48
|
+
TesterGestureModeLabel: "روش باز کردن پنل",
|
|
49
|
+
TesterGestureStepCapture: "همان لحظه از صفحه عکس گرفته میشود؛ روی آن خط بکشید و جای اشکال را علامت بزنید.",
|
|
50
|
+
TesterGestureStepEvidence: "از پنل، فیلم صفحه (با صدای خودتان)، پیام صوتی یا فایل هم اضافه کنید.",
|
|
51
|
+
TesterGestureStepSendFormat: "«ارسال» را بزنید و گزارش را با کدش (مانند {0}) در پروفایل ← «{1}» دنبال کنید.",
|
|
52
|
+
TesterGestureThreeFingers: "دو ضربه با سه انگشت",
|
|
53
|
+
TesterGestureTwoFingers: "دو ضربه با دو انگشت",
|
|
54
|
+
TesterGestureTwoFingersExceptMap: "دو ضربه با دو انگشت (جز روی نقشه)",
|
|
55
|
+
TesterPanelAttachmentAdded: "فایل پیوست شد.",
|
|
56
|
+
TesterPanelAttachmentCountFormat: "{0} پیوست",
|
|
57
|
+
TesterPanelDeleteConfirmMessage: "گزارش و همهی پیوستهای آن بهطور کامل حذف میشود. این کار برگشتپذیر نیست.",
|
|
58
|
+
TesterPanelDeleteConfirmTitle: "حذف گزارش؟",
|
|
59
|
+
TesterPanelDescriptionPlaceholder: "چه کاری کردید، چه انتظاری داشتید، چه دیدید",
|
|
60
|
+
TesterPanelDescriptionRequired: "این گزارش صدا یا ویدیو ندارد؛ در شرح بنویسید چه دیدید.",
|
|
61
|
+
TesterPanelDiscarded: "گزارش حذف شد.",
|
|
62
|
+
TesterPanelDraftCreated: "گزارش ساخته شد. حالا میتوانید تصویر، ویدیو، صدا و فایل اضافه کنید.",
|
|
63
|
+
TesterPanelFieldDescription: "شرح",
|
|
64
|
+
TesterPanelFieldKind: "نوع گزارش",
|
|
65
|
+
TesterPanelIncludeDatabaseBackup: "افزودن نسخهی پشتیبان پایگاه داده",
|
|
66
|
+
TesterPanelIncludeDatabaseBackupHint: "حجم گزارش را زیاد میکند؛ فقط وقتی لازم است که مشکل به دادههای روی دستگاه مربوط باشد.",
|
|
67
|
+
TesterPanelNoDraft: "ابتدا یک گزارش بسازید.",
|
|
68
|
+
TesterPanelNotSupported: "روی این دستگاه پشتیبانی نمیشود.",
|
|
69
|
+
TesterPanelPreparing: "در حال آمادهسازی گزارش…",
|
|
70
|
+
TesterPanelRecordingFailed: "ضبط صفحه ممکن نشد.",
|
|
71
|
+
TesterPanelRecordingSaved: "ویدیوی ضبطشده پیوست شد.",
|
|
72
|
+
TesterPanelRecordingStarted: "ضبط صفحه آغاز شد. برای پایان دوباره بزنید.",
|
|
73
|
+
TesterPanelReviewTitle: "ارسال گزارش آزمون",
|
|
74
|
+
TesterPanelScreenshotAdded: "تصویر صفحه پیوست شد.",
|
|
75
|
+
TesterPanelScreenshotFailed: "ثبت تصویر صفحه ممکن نشد.",
|
|
76
|
+
TesterPanelSendFailed: "ارسال گزارش آزمون ممکن نشد.",
|
|
77
|
+
TesterPanelSendQueued: "گزارش در صف ارسال قرار گرفت و با اتصال بعدی فرستاده میشود.",
|
|
78
|
+
TesterPanelSendSucceeded: "گزارش آزمون ارسال شد.",
|
|
79
|
+
TesterPanelUseAi: "تبدیل صدا و ویدیو به متن با هوش مصنوعی",
|
|
80
|
+
TesterPanelUseAiHint: "صدا به متن و ویدیو به چند تصویر خلاصه تبدیل میشود تا گزارش زودتر خوانده شود؛ اگر محتوای گزارش نباید پردازش شود، خاموشش کنید.",
|
|
81
|
+
TesterPanelVoiceFailed: "ضبط صدا ممکن نشد.",
|
|
82
|
+
TesterPanelVoiceListening: "در حال شنیدن… برای پایان، دوباره میکروفون را بزنید.",
|
|
83
|
+
TesterPanelVoiceSaved: "یادداشت صوتی پیوست شد.",
|
|
84
|
+
TesterPanelVoiceStarted: "ضبط صدا آغاز شد. برای پایان دوباره بزنید.",
|
|
85
|
+
TesterRecordingNoVoice: "ویدیو بدون صدا ضبط میشود؛ میکروفون در دسترس نبود.",
|
|
86
|
+
TesterRecordingStopTimedOut: "ضبط بهموقع متوقف نشد و کنار گذاشته شد؛ دکمه آزاد است و میتوانی دوباره ضبط کنی.",
|
|
87
|
+
TesterRecordingTimelineDisplayName: "رویدادهای اپ در طول ویدیو",
|
|
88
|
+
TesterRecordingVoiceDisplayName: "صدای ویدیو",
|
|
89
|
+
TesterReportCodeCopiedFormat: "کد {0} کپی شد",
|
|
90
|
+
TesterReportKindBug: "مشکل",
|
|
91
|
+
TesterReportKindFeature: "درخواست قابلیت تازه",
|
|
92
|
+
TesterReportKindImprovement: "پیشنهاد بهبود",
|
|
93
|
+
TesterReportKindInvestigation: "نیاز به بررسی بیشتر",
|
|
94
|
+
TesterReportMineBadge: "از این دستگاه",
|
|
95
|
+
TesterReportOutcomeDuplicate: "تکراری",
|
|
96
|
+
TesterReportOutcomeFixedInCode: "در کد درست شد",
|
|
97
|
+
TesterReportOutcomeJiraFormat: "در Jira ثبت شد: {0}",
|
|
98
|
+
TesterReportOutcomeNotABug: "باگ نیست",
|
|
99
|
+
TesterReportReceivedFormat: "گزارش {0} به سرور رسید.",
|
|
100
|
+
TesterReportStateDeleted: "بسته شد",
|
|
101
|
+
TesterReportStateProcessing: "در حال تبدیل به متن و تصویر",
|
|
102
|
+
TesterReportStateQueued: "در صف ارسال",
|
|
103
|
+
TesterReportStateReady: "آماده بررسی",
|
|
104
|
+
TesterReportStateReceived: "رسید",
|
|
105
|
+
TesterReportStateUploading: "در حال ارسال",
|
|
106
|
+
TesterReportUploadSubtitle: "تا پایان ارسال، برنامه را حذف نکنید.",
|
|
107
|
+
TesterReportUploadTitle: "در حال ارسال گزارش آزمون",
|
|
108
|
+
TesterReportsListEmpty: "هنوز گزارشی ثبت نشده است.",
|
|
109
|
+
TesterReportsListLoadFailed: "فهرست گزارشها از سرور نیامد. اتصال را بررسی کنید و دوباره باز کنید.",
|
|
110
|
+
TesterReportsListNotYet: "این دستگاه هنوز گزارشی نفرستاده؛ فهرست بعد از اولین گزارش باز میشود.",
|
|
111
|
+
TesterReportsListRefresh: "بهروزرسانی",
|
|
112
|
+
TesterReportsListSectionAllFormat: "همهی گزارشها ({0})",
|
|
113
|
+
TesterReportsListSectionQueued: "در صف این دستگاه",
|
|
114
|
+
TesterReportsListStatDone: "نتیجهدار",
|
|
115
|
+
TesterReportsListStatInReview: "در بررسی",
|
|
116
|
+
TesterReportsListStatQueued: "در صف",
|
|
117
|
+
TesterReportsListStatReady: "آماده",
|
|
118
|
+
TesterReportsListSubtitle: "همهٔ گزارشهای QA و وضعیت هر کدام",
|
|
119
|
+
TesterReportsListTitle: "گزارشهای آزمون",
|
|
120
|
+
TesterSendReport: "ارسال",
|
|
121
|
+
TesterShowButtonLabel: "دکمهٔ + همیشه دیده شود",
|
|
122
|
+
} as const;
|
|
123
|
+
|
|
124
|
+
export const en: Partial<Record<keyof typeof fa, string>> = {
|
|
125
|
+
BackupUploadSubtitle: "Sending your data to support. Keep the app installed until it finishes.",
|
|
126
|
+
BackupUploadTitle: "Uploading backup",
|
|
127
|
+
LiveDiagnosticAdminConnected: "Admin connected",
|
|
128
|
+
LiveDiagnosticApplyingRestore: "Applying restore — preparing your device… please wait.",
|
|
129
|
+
LiveDiagnosticCancel: "Disconnect live access",
|
|
130
|
+
LiveDiagnosticConnectedWaiting: "Connected — waiting for operator",
|
|
131
|
+
LiveDiagnosticConnecting: "Connecting…",
|
|
132
|
+
LiveDiagnosticConsentSavedHint: "Keep this screen open to keep live access active.",
|
|
133
|
+
LiveDiagnosticEtaMinutes: "about {0}m {1}s remaining",
|
|
134
|
+
LiveDiagnosticEtaSeconds: "about {0}s remaining",
|
|
135
|
+
LiveDiagnosticOperatorConnected: "Operator connected",
|
|
136
|
+
LiveDiagnosticPreparingBackup: "Preparing backup…",
|
|
137
|
+
LiveDiagnosticReceivingRestore: "Receiving restore…",
|
|
138
|
+
LiveDiagnosticReconnecting: "Connection lost — reconnecting…",
|
|
139
|
+
LiveDiagnosticRestoreAppliedCloseMessage: "Restore applied. The app will close to finish the restore.",
|
|
140
|
+
LiveDiagnosticRestoreCompleteMessage: "Restore applied successfully. The app will now close.",
|
|
141
|
+
LiveDiagnosticRestoreCompleteTitle: "Restore complete",
|
|
142
|
+
LiveDiagnosticSubtitle: "Support can see your device live while connected.",
|
|
143
|
+
LiveDiagnosticTitle: "Live Diagnostic",
|
|
144
|
+
LiveDiagnosticUnavailable: "Live Diagnostic unavailable",
|
|
145
|
+
LiveDiagnosticUploadingBackup: "Uploading backup…",
|
|
146
|
+
TesterAutoContextHeader: "— Filled in automatically (delete if not needed) —",
|
|
147
|
+
TesterAutoContextNetwork: "Network",
|
|
148
|
+
TesterAutoContextOffline: "Offline",
|
|
149
|
+
TesterAutoContextOnline: "Online",
|
|
150
|
+
TesterAutoContextOpenSheets: "Open sheets",
|
|
151
|
+
TesterAutoContextScreen: "Screen path",
|
|
152
|
+
TesterAutoContextSection: "Section",
|
|
153
|
+
TesterAutoTitleFormat: "Problem in {0}",
|
|
154
|
+
TesterAutoTitleKindFormat: "{0} in {1}",
|
|
155
|
+
TesterAutoTitleWithSiteFormat: "Problem in {0} — {1}",
|
|
156
|
+
TesterCancel: "Cancel",
|
|
157
|
+
TesterEvidenceFilesFormat: "Files: {0}",
|
|
158
|
+
TesterEvidenceRecordingsFormat: "Videos: {0}",
|
|
159
|
+
TesterEvidenceScreenshotsFormat: "Screenshots: {0}",
|
|
160
|
+
TesterEvidenceVoicesFormat: "Voice notes: {0}",
|
|
161
|
+
TesterGestureInstructionThreeFingers: "double tap the screen with three fingers",
|
|
162
|
+
TesterGestureInstructionTwoFingers: "double tap the screen with two fingers",
|
|
163
|
+
TesterGestureInstructionTwoFingersExceptMap: "double tap the screen with two fingers (not on the map)",
|
|
164
|
+
TesterGestureIntroChangeHint: "You can change how the panel opens right here, under Tester Debug Mode.",
|
|
165
|
+
TesterGestureIntroMessageFormat: "Tester mode is on. On any screen of the app, {0} to open the report panel and take a screenshot right away. The panel hides after you send the report. You can change how it opens right here.",
|
|
166
|
+
TesterGestureIntroNoGesture: "Tester mode is on. This device has no touch gesture, so the + button stays on screen: tap it to take a screenshot and start a report.",
|
|
167
|
+
TesterGestureIntroTitle: "Test report panel",
|
|
168
|
+
TesterGestureModeLabel: "Open the panel with",
|
|
169
|
+
TesterGestureStepCapture: "A screenshot is taken at once; draw on it to mark what is wrong.",
|
|
170
|
+
TesterGestureStepEvidence: "From the panel, add a screen video (with your voice), a voice note or a file.",
|
|
171
|
+
TesterGestureStepSendFormat: "Tap send, then follow the report by its code (like {0}) in Profile → «{1}».",
|
|
172
|
+
TesterGestureThreeFingers: "Double tap with three fingers",
|
|
173
|
+
TesterGestureTwoFingers: "Double tap with two fingers",
|
|
174
|
+
TesterGestureTwoFingersExceptMap: "Double tap with two fingers (not on the map)",
|
|
175
|
+
TesterPanelAttachmentAdded: "File attached.",
|
|
176
|
+
TesterPanelAttachmentCountFormat: "{0} attachments",
|
|
177
|
+
TesterPanelDeleteConfirmMessage: "The report and every attachment in it will be deleted. This cannot be undone.",
|
|
178
|
+
TesterPanelDeleteConfirmTitle: "Discard report?",
|
|
179
|
+
TesterPanelDescriptionPlaceholder: "What you did, what you expected, what you saw",
|
|
180
|
+
TesterPanelDescriptionRequired: "This report has no voice or video — describe what you saw.",
|
|
181
|
+
TesterPanelDiscarded: "Report discarded.",
|
|
182
|
+
TesterPanelDraftCreated: "Report created. You can now add screenshots, recordings, voice notes and files.",
|
|
183
|
+
TesterPanelFieldDescription: "Description",
|
|
184
|
+
TesterPanelFieldKind: "Report type",
|
|
185
|
+
TesterPanelIncludeDatabaseBackup: "Include database backup",
|
|
186
|
+
TesterPanelIncludeDatabaseBackupHint: "Makes the report much larger. Only needed when the problem involves the data on this device.",
|
|
187
|
+
TesterPanelNoDraft: "Create a report first.",
|
|
188
|
+
TesterPanelNotSupported: "Not supported on this device.",
|
|
189
|
+
TesterPanelPreparing: "Preparing report…",
|
|
190
|
+
TesterPanelRecordingFailed: "Screen recording failed.",
|
|
191
|
+
TesterPanelRecordingSaved: "Recording attached.",
|
|
192
|
+
TesterPanelRecordingStarted: "Screen recording started. Tap again to stop.",
|
|
193
|
+
TesterPanelReviewTitle: "Send test report",
|
|
194
|
+
TesterPanelScreenshotAdded: "Screenshot attached.",
|
|
195
|
+
TesterPanelScreenshotFailed: "Screen capture failed.",
|
|
196
|
+
TesterPanelSendFailed: "The test report could not be sent.",
|
|
197
|
+
TesterPanelSendQueued: "Report queued; it will be sent on the next connection.",
|
|
198
|
+
TesterPanelSendSucceeded: "Test report sent.",
|
|
199
|
+
TesterPanelUseAi: "Turn voice and video into text with AI",
|
|
200
|
+
TesterPanelUseAiHint: "The speech becomes text and the video a few summary frames, so the report is read sooner; switch it off when the report must not be processed.",
|
|
201
|
+
TesterPanelVoiceFailed: "Voice recording failed.",
|
|
202
|
+
TesterPanelVoiceListening: "Listening… tap the microphone again to stop.",
|
|
203
|
+
TesterPanelVoiceSaved: "Voice note attached.",
|
|
204
|
+
TesterPanelVoiceStarted: "Voice recording started. Tap again to stop.",
|
|
205
|
+
TesterRecordingNoVoice: "Recording without sound: the microphone was not available.",
|
|
206
|
+
TesterRecordingStopTimedOut: "The recording did not stop in time and was dropped; the button is free and you can record again.",
|
|
207
|
+
TesterRecordingTimelineDisplayName: "App events during the recording",
|
|
208
|
+
TesterRecordingVoiceDisplayName: "Recording's sound",
|
|
209
|
+
TesterReportCodeCopiedFormat: "{0} copied",
|
|
210
|
+
TesterReportKindBug: "Problem",
|
|
211
|
+
TesterReportKindFeature: "New feature request",
|
|
212
|
+
TesterReportKindImprovement: "Improvement",
|
|
213
|
+
TesterReportKindInvestigation: "Needs a closer look",
|
|
214
|
+
TesterReportMineBadge: "This device",
|
|
215
|
+
TesterReportOutcomeDuplicate: "Duplicate",
|
|
216
|
+
TesterReportOutcomeFixedInCode: "Fixed in code",
|
|
217
|
+
TesterReportOutcomeJiraFormat: "Filed in Jira: {0}",
|
|
218
|
+
TesterReportOutcomeNotABug: "Not a bug",
|
|
219
|
+
TesterReportReceivedFormat: "Report {0} reached the server.",
|
|
220
|
+
TesterReportStateDeleted: "Closed",
|
|
221
|
+
TesterReportStateProcessing: "Being turned into text and frames",
|
|
222
|
+
TesterReportStateQueued: "Queued",
|
|
223
|
+
TesterReportStateReady: "Ready for review",
|
|
224
|
+
TesterReportStateReceived: "Received",
|
|
225
|
+
TesterReportStateUploading: "Uploading",
|
|
226
|
+
TesterReportUploadSubtitle: "Keep the app installed until the upload finishes.",
|
|
227
|
+
TesterReportUploadTitle: "Sending test report",
|
|
228
|
+
TesterReportsListEmpty: "No reports yet.",
|
|
229
|
+
TesterReportsListLoadFailed: "Could not load the reports from the server. Check the connection and open the list again.",
|
|
230
|
+
TesterReportsListNotYet: "This device has not sent a report yet; the list opens after its first one.",
|
|
231
|
+
TesterReportsListRefresh: "Refresh",
|
|
232
|
+
TesterReportsListSectionAllFormat: "All reports ({0})",
|
|
233
|
+
TesterReportsListSectionQueued: "Waiting on this device",
|
|
234
|
+
TesterReportsListStatDone: "Resolved",
|
|
235
|
+
TesterReportsListStatInReview: "In review",
|
|
236
|
+
TesterReportsListStatQueued: "Queued",
|
|
237
|
+
TesterReportsListStatReady: "Ready",
|
|
238
|
+
TesterReportsListSubtitle: "Every QA report and where it stands",
|
|
239
|
+
TesterReportsListTitle: "Test reports",
|
|
240
|
+
TesterSendReport: "Send",
|
|
241
|
+
TesterShowButtonLabel: "Always show the + button",
|
|
242
|
+
};
|
package/src/strings.ts
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
// The package's own texts (strings.generated.ts — the .NET package's resx, one wording for both clients). Persian is the
|
|
2
|
-
// neutral language, English beside it; a key missing in English shows the Persian. An app does not translate them; it
|
|
3
|
-
// only says which language is on screen.
|
|
4
|
-
import { en, fa } from './strings.generated.ts';
|
|
5
|
-
|
|
6
|
-
export type DiagLanguage = 'fa' | 'en';
|
|
7
|
-
export type DiagStringKey = keyof typeof fa;
|
|
8
|
-
|
|
9
|
-
export const diagStrings = { fa, en } as const;
|
|
10
|
-
|
|
11
|
-
/** .NET composite formatting subset: `{0}`, `{1}`, `{{` / `}}`. */
|
|
12
|
-
export function formatText(template: string, args: ReadonlyArray<unknown>): string {
|
|
13
|
-
if (args.length === 0) return template;
|
|
14
|
-
return template.replace(/\{\{|\}\}|\{(\d+)\}/g, (match: string, index?: string) => {
|
|
15
|
-
if (match === '{{') return '{';
|
|
16
|
-
if (match === '}}') return '}';
|
|
17
|
-
const value = args[Number(index)];
|
|
18
|
-
return value === undefined || value === null ? '' : String(value);
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
/** The text of `key` in `language`, formatted. */
|
|
23
|
-
export function diagText(key: DiagStringKey, language: DiagLanguage, ...args: ReadonlyArray<unknown>): string {
|
|
24
|
-
const raw = language === 'en' ? (en[key] ?? fa[key]) : fa[key];
|
|
25
|
-
return formatText(raw, args);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
/** A translate function bound to a language source (the app's own setting). */
|
|
29
|
-
export type DiagTranslate = (key: DiagStringKey, ...args: ReadonlyArray<unknown>) => string;
|
|
30
|
-
|
|
31
|
-
export function translator(language: () => DiagLanguage): DiagTranslate {
|
|
32
|
-
return (key, ...args) => diagText(key, language(), ...args);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
export function isDiagStringKey(key: string): key is DiagStringKey {
|
|
36
|
-
return Object.prototype.hasOwnProperty.call(fa, key);
|
|
37
|
-
}
|
|
1
|
+
// The package's own texts (strings.generated.ts — the .NET package's resx, one wording for both clients). Persian is the
|
|
2
|
+
// neutral language, English beside it; a key missing in English shows the Persian. An app does not translate them; it
|
|
3
|
+
// only says which language is on screen.
|
|
4
|
+
import { en, fa } from './strings.generated.ts';
|
|
5
|
+
|
|
6
|
+
export type DiagLanguage = 'fa' | 'en';
|
|
7
|
+
export type DiagStringKey = keyof typeof fa;
|
|
8
|
+
|
|
9
|
+
export const diagStrings = { fa, en } as const;
|
|
10
|
+
|
|
11
|
+
/** .NET composite formatting subset: `{0}`, `{1}`, `{{` / `}}`. */
|
|
12
|
+
export function formatText(template: string, args: ReadonlyArray<unknown>): string {
|
|
13
|
+
if (args.length === 0) return template;
|
|
14
|
+
return template.replace(/\{\{|\}\}|\{(\d+)\}/g, (match: string, index?: string) => {
|
|
15
|
+
if (match === '{{') return '{';
|
|
16
|
+
if (match === '}}') return '}';
|
|
17
|
+
const value = args[Number(index)];
|
|
18
|
+
return value === undefined || value === null ? '' : String(value);
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
/** The text of `key` in `language`, formatted. */
|
|
23
|
+
export function diagText(key: DiagStringKey, language: DiagLanguage, ...args: ReadonlyArray<unknown>): string {
|
|
24
|
+
const raw = language === 'en' ? (en[key] ?? fa[key]) : fa[key];
|
|
25
|
+
return formatText(raw, args);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/** A translate function bound to a language source (the app's own setting). */
|
|
29
|
+
export type DiagTranslate = (key: DiagStringKey, ...args: ReadonlyArray<unknown>) => string;
|
|
30
|
+
|
|
31
|
+
export function translator(language: () => DiagLanguage): DiagTranslate {
|
|
32
|
+
return (key, ...args) => diagText(key, language(), ...args);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
export function isDiagStringKey(key: string): key is DiagStringKey {
|
|
36
|
+
return Object.prototype.hasOwnProperty.call(fa, key);
|
|
37
|
+
}
|