Skip to content

Commit

Permalink
[BasicUI] Add a translatable title to the settings page (#2661)
Browse files Browse the repository at this point in the history
Signed-off-by: Laurent Garnier <[email protected]>
  • Loading branch information
lolodomo authored Jul 22, 2024
1 parent bc73c9e commit 187f0b2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,7 @@ public CharSequence renderSettings() throws RenderException {
"enabled", "", false, sb);

return getSnippet("main_static") //
.replace("%title%", "Basic UI Settings") //
.replace("%title%", localizeText("@text/preferences.title")) //
.replace("%htmlclass%", "") //
.replace("%relpath%", "../") //
.replace("%script%", "settings.js") //
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ main.long-polling-mode-msg = SSE subscription failed ({error}): running in fallb
sitemaps-list-empty.info = It seems like you have not defined any sitemaps yet. To build one, please check the documentation for guidance.
sitemaps-list.welcome = Welcome!
sitemaps-list.available-sitemaps = Available sitemaps

# preferences

preferences.title = Preferences

0 comments on commit 187f0b2

Please sign in to comment.