You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-sources/draft-sources.component.html
Copy file name to clipboardExpand all lines: src/SIL.XForge.Scripture/ClientApp/src/app/translate/draft-generation/draft-sources/draft-sources.stories.ts
+31-31Lines changed: 31 additions & 31 deletions
Original file line number
Diff line number
Diff line change
@@ -226,20 +226,11 @@ export const SelectAllAndSave: Story = {
226
226
...Template,
227
227
play: async({ canvasElement })=>{
228
228
constcanvas=within(canvasElement);
229
-
// Step 1: Draft source
230
-
// Select an English source and expect to see a warning that source and target languages are the same
229
+
230
+
// Step 1: Reference projects
231
+
// Select an English reference and expect to see a warning that source and target languages are the same
231
232
awaitselectSource(canvasElement,'P_EN');
232
233
expect(awaitwarning(canvasElement)).toContain('Source and target languages are both English');
233
-
// Switch to a Chinese source and expect the warning to disappear
234
-
awaitclearSource(canvasElement);
235
-
awaitselectSource(canvasElement,'P_ZH');
236
-
expect(awaitwarning(canvasElement)).toContain('Incorrect language codes will dramatically reduce draft quality.');
Copy file name to clipboardExpand all lines: src/SIL.XForge.Scripture/ClientApp/src/assets/i18n/non_checking_en.json
+2-3Lines changed: 2 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -319,16 +319,15 @@
319
319
"previous": "Previous",
320
320
"project_always_used": "Your project ({{ currentProjectShortName }}) will always be used to train the language model.",
321
321
"reference_projects": "Reference projects",
322
-
"same_language_as_given_language": "All these should be in the same language as the draft source ({{sourceLanguageDisplayName}}).",
323
-
"same_language_as_source": "All these should be in the same language as the draft source.",
324
322
"save_and_sync": "Save & sync",
325
323
"saving_draft_sources": "Saving draft sources",
326
324
"saving": "Saving",
327
325
"select_at_least_one_reference": "Please select at least one reference project before saving.",
328
326
"select_at_least_one_source_and_reference": "Please select at least one source and one reference project before saving.",
329
327
"select_at_least_one_source": "Please select at least one source project before saving.",
328
+
"select_primary_reference": "Select your primary reference project. This is the project that you refer to most often as you are translating.",
330
329
"select_project_to_translate": "Select the project to translate.",
331
-
"select_reference_project_considering_back_translation": "Select projects that should be used on the source side when training the language model. Choosing a back translation often improves the model.",
330
+
"some_projects_use_back_translation": "Some projects get better results by adding a back translation as another reference.",
332
331
"source_side_language_codes_differ": "All source and reference projects must be in the same language. Please select different source or reference projects.",
333
332
"state_connecting": "Connecting",
334
333
"state_sync_failed": "There was an error syncing",
0 commit comments