1
0
mirror of https://github.com/garraflavatra/rolens.git synced 2025-01-18 13:07:58 +00:00

Correct prefrences typos into preferences

This commit is contained in:
Romein van Buren 2023-05-31 18:24:54 +02:00
parent e7ff075744
commit b29502e3cc
Signed by: romein
GPG Key ID: 0EFF8478ADDF6C49
3 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@
connectionManager.createHost(); connectionManager.createHost();
} }
EventsOn('OpenPrefrences', () => settingsModalOpen = true); EventsOn('OpenPreferences', () => settingsModalOpen = true);
EventsOn('OpenAboutModal', () => aboutModalOpen = true); EventsOn('OpenAboutModal', () => aboutModalOpen = true);
</script> </script>

View File

@ -7,7 +7,7 @@
export let show = false; export let show = false;
</script> </script>
<Modal title="Prefrences" bind:show> <Modal title="Preferences" bind:show>
<div class="prefs"> <div class="prefs">
<label for="defaultLimit">Initial number of items to retrieve using one query (limit):</label> <label for="defaultLimit">Initial number of items to retrieve using one query (limit):</label>
<label class="field"> <label class="field">

View File

@ -26,7 +26,7 @@ func (a *App) Menu() *menu.Menu {
aboutMenu := appMenu.AddSubmenu("Rolens") aboutMenu := appMenu.AddSubmenu("Rolens")
aboutMenu.AddText("About Rolens", nil, menuCallbackEmit(a, "OpenAboutModal")) aboutMenu.AddText("About Rolens", nil, menuCallbackEmit(a, "OpenAboutModal"))
aboutMenu.AddSeparator() aboutMenu.AddSeparator()
aboutMenu.AddText("Prefrences…", keys.CmdOrCtrl(","), menuCallbackEmit(a, "OpenPrefrences")) aboutMenu.AddText("Preferences…", keys.CmdOrCtrl(","), menuCallbackEmit(a, "OpenPreferences"))
aboutMenu.AddSeparator() aboutMenu.AddSeparator()
aboutMenu.AddText("Open data directory…", nil, func(cd *menu.CallbackData) { a.ui.Reveal(a.Env.DataDirectory) }) aboutMenu.AddText("Open data directory…", nil, func(cd *menu.CallbackData) { a.ui.Reveal(a.Env.DataDirectory) })
aboutMenu.AddText("Open log directory…", nil, func(cd *menu.CallbackData) { a.ui.Reveal(a.Env.LogDirectory) }) aboutMenu.AddText("Open log directory…", nil, func(cd *menu.CallbackData) { a.ui.Reveal(a.Env.LogDirectory) })