feat(editor): text above is named by the language, shown on hover or a long press

Furigana was the only name for text set above text, though it carries
pinyin, a pronunciation or a translation as well. Its button and dialog
now say furigana in a Japanese studyset, pinyin in a Chinese one, and
text above elsewhere, each with an example of its own: the studyset's
languages reach the core's editors through ContentLanguages, which the
studyset's language scope now sets.

Read-only, the text above shows only under the pointer or after a long
press (another hides it), so the text can be read without it first; its
room stays, so no line moves. While editing, it shows over the pointer
above its dotted text; with the caret inside such text, the button
selects all of it and edits what it has, so it can be seen and changed
without finding its ends.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01MMm7usAo6q9ZZRoPkWjoxi
Signed-off-by: Tizian 「ティツィアーン」 <raisondetredev@pm.me>
This commit is contained in:
Tizian 「ティツィアーン」 2026-10-12 23:14:04 +02:00
commit a0b4fa969c
Signed by: raisondetredev
GPG key ID: 07F6FCF405488B64

View file

@ -2885,7 +2885,13 @@ class AppLocalizationsDe extends AppLocalizations {
String get formatSubscript => 'Tiefgestellt';
@override
String get formatRuby => 'Furigana (eine Lesung über dem Text)';
String get formatRuby => 'Text darüber (Aussprache, Übersetzung)';
@override
String get formatRubyFurigana => 'Furigana (eine Lesung über dem Text)';
@override
String get formatRubyPinyin => 'Pinyin (über den Schriftzeichen)';
@override
String get formatLink => 'Link';
@ -2909,7 +2915,19 @@ class AppLocalizationsDe extends AppLocalizations {
String get linkRemove => 'Link entfernen';
@override
String get rubyTitle => 'Furigana';
String get rubyTitle => 'Text darüber';
@override
String get rubyTitleFurigana => 'Furigana';
@override
String get rubyTitlePinyin => 'Pinyin';
@override
String get rubyText => 'Text';
@override
String get rubyHint => 'z. B. eine Aussprache oder eine Übersetzung';
@override
String get rubyReading => 'Lesung';
@ -2917,6 +2935,9 @@ class AppLocalizationsDe extends AppLocalizations {
@override
String get rubyReadingHint => 'In Kana, z. B. かんじ';
@override
String get rubyHintPinyin => 'Mit Tonzeichen, z. B. hànzì';
@override
String get rubySave => 'Speichern';