Skip to content

Commit 9b09050

Browse files
committed
Merge branch 'main' into mbg2
2 parents 37aab06 + 73cf42b commit 9b09050

22 files changed

Lines changed: 4266 additions & 118 deletions

__mocks__/lucide-react.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,3 +74,13 @@ export function Link2Off(props: Readonly<{ size?: number; className?: string }>)
7474
export function Settings(props: Readonly<{ size?: number; className?: string }>): ReactElement {
7575
return <svg data-testid="settings-icon" {...props} />;
7676
}
77+
78+
/**
79+
* Stub for the Plus icon used by the token chip's suggestion-dropdown toggle.
80+
*
81+
* @param props - SVG props forwarded from the component.
82+
* @returns A ReactElement SVG element used as a plus icon stub in tests.
83+
*/
84+
export function Plus(props: Readonly<{ size?: number; className?: string }>): ReactElement {
85+
return <svg data-testid="plus-icon" {...props} />;
86+
}

contributions/localizedStrings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"%interlinearizer_viewOption_showFreeTranslation%": "Show free translation",
3434
"%interlinearizer_projectSettings_showFreeTranslation%": "Show Free Translation",
3535
"%interlinearizer_projectSettings_showFreeTranslationDescription%": "Display a free-translation input beneath each segment's tokens or baseline text",
36+
"%interlinearizer_viewOption_showSuggestions%": "Show suggestions",
3637
"%interlinearizer_glossInput_placeholder%": "gloss",
3738
"%interlinearizer_freeTranslationInput_placeholder%": "Free translation",
3839
"%interlinearizer_morphemeEditor_splitLabel%": "Split into morphemes",

0 commit comments

Comments
 (0)