chore: Store preferences in a variable when reused and rename prefs to preferences (#5450)

A little code cleanup on places where `preferences` is used more than one time and rename `prefs` to `preferences` to maintain consistency.
This commit is contained in:
Fijxu
2025-12-02 18:20:15 -03:00
committed by GitHub
parent b2ecd8abc3
commit 35d1d499bc
11 changed files with 25 additions and 26 deletions

View File

@@ -1,5 +1,5 @@
<!DOCTYPE html>
<html lang="<%= env.get("preferences").as(Preferences).locale %>">
<html lang="<%= preferences.locale %>">
<head>
<meta charset="utf-8">