feat(jellyfin): any stretch of a line's characters chosen by hand

The cut takes the longest word and knows no grammar, so 今日は reads as
こんにちは where it is 今日 and は. Any stretch of a line's characters can
now be chosen by hand: dragged across with a mouse, Shift+clicked from
the word or stretch chosen, or on a touch screen held on a character and
dragged on. It is looked up as one word, as it stands or as a form of
one, in one small request (the instance has the line's text already);
while it is chosen the line reads it as that word (きょう over 今日), and
what the dictionary lacks as one word is offered as a search on Jisho.

The line's words move into line_words.dart, out of the Watch screen.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-13 22:38:29 +02:00
commit 48ac84d92c
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -6786,7 +6786,20 @@ class AppLocalizationsEn extends AppLocalizations {
}
@override
String get watchTapAWord => 'Tap a word of the subtitles to look it up.';
String watchStretchNone(String text) {
return '$text isn\'t in the dictionary as one word.';
}
@override
String get watchStretchFailed =>
'Couldn\'t look it up. Choose it again to try once more.';
@override
String get watchStretchJisho => 'Search Jisho for it';
@override
String get watchTapAWord =>
'Tap a word of the subtitles to look it up, or drag across characters to look up any part of a line (on a touch screen, hold first).';
@override
String watchFormOf(String word) {