Skip to content

Add localisation support to SupporterDisplay#37494

Open
diquoks wants to merge 2 commits intoppy:masterfrom
diquoks:localisation/supporter-display
Open

Add localisation support to SupporterDisplay#37494
diquoks wants to merge 2 commits intoppy:masterfrom
diquoks:localisation/supporter-display

Conversation

@diquoks
Copy link
Copy Markdown
Contributor

@diquoks diquoks commented Apr 23, 2026

localised by the analogy with

currentLanguage.BindValueChanged(_ =>
// schedule required because `LocalisationManager` won't have new language set correctly yet.
Schedule(() =>
{
linkContainer.Clear();
linkContainer.NewLine();
const string url = @"https://opentabletdriver.net/Wiki/FAQ/General";
var formattedSource = MessageFormatter.FormatText(localisation.GetLocalisedString(TabletSettingsStrings.NoTabletDetectedDescription(url)));
linkContainer.AddLinks(formattedSource.Text, formattedSource.Links);
}), true);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant