rename(bookerly): display as Bookerly Font instead of Bookerly Plugin on Plugins page

This commit is contained in:
justin committed 2026-04-22 19:31:45 -07:00
1 parent 0b1da901f1
commit 40270bb6d9
3 files changed
+5 -5

No files matched your search

+1 -1
View File
@@ -219,7 +219,7 @@ def patch_settings_cpp(repo_dir):
for first_key_line in [
' if (s.key && std::string(s.key) == "darkModeState") return "Dark Mode";\n',
' if (s.key && std::string(s.key) == "smallerFontsMode") return "Smaller Fonts";\n',
' if (s.type == SettingType::ACTION && s.action == SettingAction::BookerlyInstalled) return "Bookerly Plugin";\n',
' if (s.type == SettingType::ACTION && s.action == SettingAction::BookerlyInstalled) return "Bookerly Font";\n',
' return std::string(I18N.get(settings[index].nameId));\n',
]:
if first_key_line in content: